From be2a43a37d12cedb365f819586a177e24df2b177 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Sat, 10 Jun 2017 03:07:54 +0700 Subject: [PATCH] new patient --- netforce_clinic/actions/new_patient.xml | 5 + .../actions/report_hdcase_summary.xml | 2 +- .../layouts/clinic_patient_form.xml | 4 + .../layouts/clinic_patient_list.xml | 3 + .../layouts/clinic_visit_board.xml | 4 +- netforce_clinic/layouts/new_patient.xml | 30 +++++ netforce_clinic/models/__init__.py | 2 + netforce_clinic/models/new_patient.py | 123 ++++++++++++++++++ netforce_clinic/models/new_patient_line.py | 17 +++ netforce_clinic/models/patient_move.py | 4 +- .../models/report_hdcase_summary.py | 13 ++ .../templates/report_hdcase_summary.hbs | 35 ++++- 12 files changed, 235 insertions(+), 7 deletions(-) create mode 100644 netforce_clinic/actions/new_patient.xml create mode 100644 netforce_clinic/layouts/new_patient.xml create mode 100644 netforce_clinic/models/new_patient.py create mode 100644 netforce_clinic/models/new_patient_line.py diff --git a/netforce_clinic/actions/new_patient.xml b/netforce_clinic/actions/new_patient.xml new file mode 100644 index 0000000..0210087 --- /dev/null +++ b/netforce_clinic/actions/new_patient.xml @@ -0,0 +1,5 @@ + + form_view + new.patient + clinic_menu + diff --git a/netforce_clinic/actions/report_hdcase_summary.xml b/netforce_clinic/actions/report_hdcase_summary.xml index 9b44bff..aae5039 100644 --- a/netforce_clinic/actions/report_hdcase_summary.xml +++ b/netforce_clinic/actions/report_hdcase_summary.xml @@ -1,5 +1,5 @@ - HDCase Summary(v2) + HDCase Summary report report.hdcase.summary report_hdcase_summary diff --git a/netforce_clinic/layouts/clinic_patient_form.xml b/netforce_clinic/layouts/clinic_patient_form.xml index 8a6a94d..ae27786 100644 --- a/netforce_clinic/layouts/clinic_patient_form.xml +++ b/netforce_clinic/layouts/clinic_patient_form.xml @@ -173,4 +173,8 @@ + +