Project

General

Profile

Download (4.19 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / dossiers / urls.py @ 54318d2c

1
from django.conf.urls import patterns, url
2

    
3
from calebasse.cbv import ListView, CreateView, DeleteView, UpdateView
4

    
5
from models import PatientRecord
6
from forms import EditPatientRecordForm
7

    
8
urlpatterns = patterns('calebasse.dossiers.views',
9
        url(r'^$', 'patientrecord_home'),
10
        url(r'^quotations$', 'patientrecord_quotations'),
11
        url(r'^waiting-queue$', 'patientrecord_waiting_queue'),
12
        url(r'^new$', 'new_patient_record'),
13
        url(r'^(?P<pk>\d+)/view$', 'patient_record'),
14
        url(r'^(?P<pk>\d+)/tab1$', 'tab1_general'),
15
        url(r'^(?P<pk>\d+)/tab2$', 'tab2_fiche_adm'),
16
        url(r'^(?P<pk>\d+)/tab3$', 'tab3_addresses'),
17
        url(r'^(?P<pk>\d+)/tab4$', 'tab4_notifs'),
18
        url(r'^(?P<pk>\d+)/tab5$', 'tab5_old_acts'),
19
        url(r'^(?P<pk>\d+)/tab6$', 'tab6_next_rdv'),
20
        url(r'^(?P<pk>\d+)/tab7$', 'tab7_socialisation'),
21
        url(r'^(?P<pk>\d+)/tab8$', 'tab8_medical'),
22
        url(r'^(?P<pk>\d+)/delete$', 'patientrecord_delete'),
23
        url(r'^(?P<pk>\d+)/update/paper_id$', 'update_paper_id'),
24
        url(r'^(?P<patientrecord_id>\d+)/update-state$', 'state_form'),
25
        url(r'^(?P<patientrecord_id>\d+)/address/new$', 'new_patient_address'),
26
        url(r'^(?P<patientrecord_id>\d+)/address/(?P<pk>\d+)/update$', 'update_patient_address'),
27
        url(r'^(?P<patientrecord_id>\d+)/address/(?P<pk>\d+)/del$', 'delete_patient_address'),
28
        url(r'^(?P<patientrecord_id>\d+)/contact/new$', 'new_patient_contact'),
29
        url(r'^(?P<patientrecord_id>\d+)/contact/(?P<pk>\d+)/update$', 'update_patient_contact'),
30
        url(r'^(?P<patientrecord_id>\d+)/contact/(?P<pk>\d+)/del$', 'delete_patient_contact'),
31
        url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/new$', 'new_healthcare_treatment'),
32
        url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/(?P<pk>\d+)/update$', 'update_healthcare_treatment'),
33
        url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/(?P<pk>\d+)/del$', 'delete_healthcare_treatment'),
34
        url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/new$', 'new_healthcare_diagnostic'),
35
        url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/(?P<pk>\d+)/update$', 'update_healthcare_diagnostic'),
36
        url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/(?P<pk>\d+)/del$', 'delete_healthcare_diagnostic'),
37
        url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/new$', 'new_healthcare_notification'),
38
        url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/(?P<pk>\d+)/update$', 'update_healthcare_notification'),
39
        url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/(?P<pk>\d+)/del$', 'delete_healthcare_notification'),
40
        url(r'^(?P<patientrecord_id>\d+)/socialisation/new$', 'new_socialisation_duration'),
41
        url(r'^(?P<patientrecord_id>\d+)/socialisation/(?P<pk>\d+)/update$', 'update_socialisation_duration'),
42
        url(r'^(?P<patientrecord_id>\d+)/socialisation/(?P<pk>\d+)/del$', 'delete_socialisation_duration'),
43
        url(r'^(?P<patientrecord_id>\d+)/state/(?P<pk>\d+)/update$', 'update_patient_state'),
44
        url(r'^(?P<patientrecord_id>\d+)/state/(?P<pk>\d+)/del$', 'delete_patient_state'),
45
        url(r'^(?P<patientrecord_id>\d+)/mdph_request/new$', 'new_mdph_request'),
46
        url(r'^(?P<patientrecord_id>\d+)/mdph_request/(?P<pk>\d+)/update$', 'update_mdph_request'),
47
        url(r'^(?P<patientrecord_id>\d+)/mdph_request/(?P<pk>\d+)/del$', 'delete_mdph_request'),
48
        url(r'^(?P<patientrecord_id>\d+)/mdph_response/new$', 'new_mdph_response'),
49
        url(r'^(?P<patientrecord_id>\d+)/mdph_response/(?P<pk>\d+)/update$', 'update_mdph_response'),
50
        url(r'^(?P<patientrecord_id>\d+)/mdph_response/(?P<pk>\d+)/del$', 'delete_mdph_response'),
51
        url(r'^(?P<patientrecord_id>\d+)/generate$', 'generate_rtf_form'),
52
        url(r'^(?P<patientrecord_id>\d+)/create-directory$', 'create_directory', name="create_directory"),
53
        url(r'^(?P<patientrecord_id>\d+)/prescription-transport$', 'prescription_transport'),
54
        url(r'^(?P<patientrecord_id>\d+)/protection/new$', 'new_protection'),
55
        url(r'^(?P<patientrecord_id>\d+)/protection/(?P<pk>\d+)/update$', 'update_protection'),
56
        url(r'^(?P<patientrecord_id>\d+)/protection/(?P<pk>\d+)/del$', 'delete_protection'),)
(10-10/12)