Project

General

Profile

Download (4.27 KB) Statistics
| Branch: | Tag: | Revision:
da64143d Benjamin Dauvergne
from django.conf.urls import patterns, url
de9427e2 Benjamin Dauvergne
from calebasse.cbv import ListView, CreateView, DeleteView, UpdateView
da64143d Benjamin Dauvergne
e3c5afd2 Jérôme Schneider
from models import PatientRecord
554289d5 Jérôme Schneider
from views import (patientrecord_home, patient_record, state_form,
29168b44 Jérôme Schneider
new_patient_record, patientrecord_delete, new_patient_contact,
729480ef Jérôme Schneider
new_patient_address, delete_patient_contact, delete_patient_address,
b464657d Mikaël Ates
update_paper_id, update_patient_address, update_patient_contact,
1d205fa9 Mikaël Ates
new_healthcare_treatment,
update_healthcare_treatment,
delete_healthcare_treatment,
new_healthcare_diagnostic,
update_healthcare_diagnostic,
delete_healthcare_diagnostic,
new_healthcare_notification,
update_healthcare_notification,
delete_healthcare_notification,
new_socialisation_duration,
c8083788 Mikaël Ates
update_socialisation_duration,
delete_socialisation_duration,
4a0ff5ea Frédéric Péters
update_patient_state,
delete_patient_state,
c8083788 Mikaël Ates
new_mdph_request,
update_mdph_request,
delete_mdph_request,
new_mdph_response,
update_mdph_response,
23937808 Frédéric Péters
delete_mdph_response,
17e36a37 Frédéric Péters
generate_rtf_form,
7bc87b6f Frédéric Péters
patientrecord_quotations,
create_directory)
f3407c83 Jérôme Schneider
from forms import EditPatientRecordForm
da64143d Benjamin Dauvergne
urlpatterns = patterns('',
f78e473c Jérôme Schneider
url(r'^$', patientrecord_home),
17e36a37 Frédéric Péters
url(r'^quotations$', patientrecord_quotations),
554289d5 Jérôme Schneider
url(r'^new$', new_patient_record),
e7898322 Jérôme Schneider
url(r'^(?P<pk>\d+)/view$', patient_record),
url(r'^(?P<pk>\d+)/delete$', patientrecord_delete),
729480ef Jérôme Schneider
url(r'^(?P<pk>\d+)/update/paper_id$', update_paper_id),
dfd4bd12 Jérôme Schneider
url(r'^(?P<patientrecord_id>\d+)/update-state$', state_form),
url(r'^(?P<patientrecord_id>\d+)/address/new$', new_patient_address),
4e9e8ae5 Jérôme Schneider
url(r'^(?P<patientrecord_id>\d+)/address/(?P<pk>\d+)/update$', update_patient_address),
dfd4bd12 Jérôme Schneider
url(r'^(?P<patientrecord_id>\d+)/address/(?P<pk>\d+)/del$', delete_patient_address),
url(r'^(?P<patientrecord_id>\d+)/contact/new$', new_patient_contact),
0ad2d82a Jérôme Schneider
url(r'^(?P<patientrecord_id>\d+)/contact/(?P<pk>\d+)/update$', update_patient_contact),
dfd4bd12 Jérôme Schneider
url(r'^(?P<patientrecord_id>\d+)/contact/(?P<pk>\d+)/del$', delete_patient_contact),
b464657d Mikaël Ates
url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/new$', new_healthcare_treatment),
1d205fa9 Mikaël Ates
url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/(?P<pk>\d+)/update$', update_healthcare_treatment),
url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/(?P<pk>\d+)/del$', delete_healthcare_treatment),
b8957f1d Jérôme Schneider
url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/new$', new_healthcare_diagnostic),
1d205fa9 Mikaël Ates
url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/(?P<pk>\d+)/update$', update_healthcare_diagnostic),
url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/(?P<pk>\d+)/del$', delete_healthcare_diagnostic),
b8957f1d Jérôme Schneider
url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/new$', new_healthcare_notification),
1d205fa9 Mikaël Ates
url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/(?P<pk>\d+)/update$', update_healthcare_notification),
url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/(?P<pk>\d+)/del$', delete_healthcare_notification),
00c7103f Mikaël Ates
url(r'^(?P<patientrecord_id>\d+)/socialisation/new$', new_socialisation_duration),
url(r'^(?P<patientrecord_id>\d+)/socialisation/(?P<pk>\d+)/update$', update_socialisation_duration),
url(r'^(?P<patientrecord_id>\d+)/socialisation/(?P<pk>\d+)/del$', delete_socialisation_duration),
4a0ff5ea Frédéric Péters
url(r'^(?P<patientrecord_id>\d+)/state/(?P<pk>\d+)/update$', update_patient_state),
url(r'^(?P<patientrecord_id>\d+)/state/(?P<pk>\d+)/del$', delete_patient_state),
c8083788 Mikaël Ates
url(r'^(?P<patientrecord_id>\d+)/mdph_request/new$', new_mdph_request),
url(r'^(?P<patientrecord_id>\d+)/mdph_request/(?P<pk>\d+)/update$', update_mdph_request),
url(r'^(?P<patientrecord_id>\d+)/mdph_request/(?P<pk>\d+)/del$', delete_mdph_request),
url(r'^(?P<patientrecord_id>\d+)/mdph_response/new$', new_mdph_response),
url(r'^(?P<patientrecord_id>\d+)/mdph_response/(?P<pk>\d+)/update$', update_mdph_response),
url(r'^(?P<patientrecord_id>\d+)/mdph_response/(?P<pk>\d+)/del$', delete_mdph_response),
23937808 Frédéric Péters
url(r'^(?P<patientrecord_id>\d+)/generate$', generate_rtf_form),
7bc87b6f Frédéric Péters
url(r'^(?P<patientrecord_id>\d+)/create-directory$', create_directory),
da64143d Benjamin Dauvergne
)