from django.conf.urls import patterns, url urlpatterns = patterns('calebasse.dossiers.views', url(r'^$', 'patientrecord_home'), url(r'^quotations$', 'patientrecord_quotations'), url(r'^waiting-queue$', 'patientrecord_waiting_queue'), url(r'^new$', 'new_patient_record'), url(r'^(?P\d+)/view$', 'patient_record'), url(r'^(?P\d+)/print$', 'patient_record_print', name='patientrecord_print'), url(r'^(?P\d+)/tab1$', 'tab1_general'), url(r'^(?P\d+)/tab2$', 'tab2_fiche_adm'), url(r'^(?P\d+)/tab3$', 'tab3_addresses'), url(r'^(?P\d+)/tab4$', 'tab4_notifs'), url(r'^(?P\d+)/tab5$', 'tab5_old_acts'), url(r'^(?P\d+)/tab6$', 'tab6_next_rdv'), url(r'^(?P\d+)/tab7$', 'tab7_socialisation'), url(r'^(?P\d+)/tab8$', 'tab8_medical'), url(r'^(?P\d+)/delete$', 'patientrecord_delete'), url(r'^(?P\d+)/update/paper_id$', 'update_paper_id'), url(r'^(?P\d+)/update-state$', 'state_form'), url(r'^(?P\d+)/address/new$', 'new_patient_address'), url(r'^(?P\d+)/address/(?P\d+)/update$', 'update_patient_address'), url(r'^(?P\d+)/address/(?P\d+)/del$', 'delete_patient_address'), url(r'^(?P\d+)/contact/new$', 'new_patient_contact'), url(r'^(?P\d+)/contact/(?P\d+)/update$', 'update_patient_contact'), url(r'^(?P\d+)/contact/(?P\d+)/del$', 'delete_patient_contact'), url(r'^(?P\d+)/healthcare_treatment/new$', 'new_healthcare_treatment'), url(r'^(?P\d+)/healthcare_treatment/(?P\d+)/update$', 'update_healthcare_treatment'), url(r'^(?P\d+)/healthcare_treatment/(?P\d+)/del$', 'delete_healthcare_treatment'), url(r'^(?P\d+)/healthcare_diagnostic/new$', 'new_healthcare_diagnostic'), url(r'^(?P\d+)/healthcare_diagnostic/(?P\d+)/update$', 'update_healthcare_diagnostic'), url(r'^(?P\d+)/healthcare_diagnostic/(?P\d+)/del$', 'delete_healthcare_diagnostic'), url(r'^(?P\d+)/healthcare_notification/new$', 'new_healthcare_notification'), url(r'^(?P\d+)/healthcare_notification/(?P\d+)/update$', 'update_healthcare_notification'), url(r'^(?P\d+)/healthcare_notification/(?P\d+)/del$', 'delete_healthcare_notification'), url(r'^(?P\d+)/socialisation/new$', 'new_socialisation_duration'), url(r'^(?P\d+)/socialisation/(?P\d+)/update$', 'update_socialisation_duration'), url(r'^(?P\d+)/socialisation/(?P\d+)/del$', 'delete_socialisation_duration'), url(r'^(?P\d+)/state/(?P\d+)/update$', 'update_patient_state'), url(r'^(?P\d+)/state/(?P\d+)/del$', 'delete_patient_state'), url(r'^(?P\d+)/mdph_request/new$', 'new_mdph_request'), url(r'^(?P\d+)/mdph_request/(?P\d+)/update$', 'update_mdph_request'), url(r'^(?P\d+)/mdph_request/(?P\d+)/del$', 'delete_mdph_request'), url(r'^(?P\d+)/mdph_response/new$', 'new_mdph_response'), url(r'^(?P\d+)/mdph_response/(?P\d+)/update$', 'update_mdph_response'), url(r'^(?P\d+)/mdph_response/(?P\d+)/del$', 'delete_mdph_response'), url(r'^(?P\d+)/generate$', 'generate_rtf_form'), url(r'^(?P\d+)/create-directory$', 'create_directory', name="create_directory"), url(r'^(?P\d+)/prescription-transport$', 'prescription_transport'), url(r'^(?P\d+)/protection/new$', 'new_protection'), url(r'^(?P\d+)/protection/(?P\d+)/update$', 'update_protection'), url(r'^(?P\d+)/protection/(?P\d+)/del$', 'delete_protection'),)