From 681715b5ed3d30d12621145ae3b269ff3b54b7a8 Mon Sep 17 00:00:00 2001 From: "Phongsan.b" Date: Thu, 21 Aug 2014 14:29:37 +0700 Subject: [PATCH] add hd case module --- clinic.egg-info/SOURCES.txt | 8 ++- clinic/actions/clinic_doctor.xml | 1 + clinic/actions/clinic_hd_case.xml | 8 +++ clinic/actions/clinic_hd_case_line.xml | 7 +++ clinic/actions/clinic_nurse.xml | 1 + clinic/layouts/clinic_doctor_form.xml | 6 ++ clinic/layouts/clinic_hd_case_form.xml | 26 +++++++++ clinic/layouts/clinic_hd_case_list.xml | 8 +++ clinic/layouts/clinic_nurse_form.xml | 6 ++ clinic/layouts/clinic_patient_form.xml | 3 + clinic/models/__init__.py | 2 + .../__pycache__/__init__.cpython-32.pyc | Bin 385 -> 517 bytes .../__pycache__/clinic_doctor.cpython-32.pyc | Bin 3113 -> 3259 bytes .../__pycache__/clinic_nurse.cpython-32.pyc | Bin 3102 -> 3247 bytes .../__pycache__/clinic_patient.cpython-32.pyc | Bin 6181 -> 6253 bytes .../__pycache__/clinic_visit.cpython-32.pyc | Bin 3021 -> 3021 bytes clinic/models/clinic_doctor.py | 2 + clinic/models/clinic_hd_case.py | 52 ++++++++++++++++++ clinic/models/clinic_hd_case_line.py | 17 ++++++ clinic/models/clinic_nurse.py | 2 + clinic/models/clinic_patient.py | 5 +- 21 files changed, 151 insertions(+), 3 deletions(-) create mode 100644 clinic/actions/clinic_hd_case.xml create mode 100644 clinic/actions/clinic_hd_case_line.xml create mode 100644 clinic/layouts/clinic_hd_case_form.xml create mode 100644 clinic/layouts/clinic_hd_case_list.xml create mode 100644 clinic/models/clinic_hd_case.py create mode 100644 clinic/models/clinic_hd_case_line.py diff --git a/clinic.egg-info/SOURCES.txt b/clinic.egg-info/SOURCES.txt index c09962f..ae6f6a2 100644 --- a/clinic.egg-info/SOURCES.txt +++ b/clinic.egg-info/SOURCES.txt @@ -1,3 +1,4 @@ +README setup.py clinic/__init__.py clinic.egg-info/PKG-INFO @@ -6,4 +7,9 @@ clinic.egg-info/dependency_links.txt clinic.egg-info/top_level.txt clinic/controllers/__init__.py clinic/models/__init__.py -clinic/models/clinic_patients.py \ No newline at end of file +clinic/models/clinic_doctor.py +clinic/models/clinic_hd_case.py +clinic/models/clinic_hd_case_line.py +clinic/models/clinic_nurse.py +clinic/models/clinic_patient.py +clinic/models/clinic_visit.py \ No newline at end of file diff --git a/clinic/actions/clinic_doctor.xml b/clinic/actions/clinic_doctor.xml index 1394a78..696afce 100644 --- a/clinic/actions/clinic_doctor.xml +++ b/clinic/actions/clinic_doctor.xml @@ -3,5 +3,6 @@ multi_view clinic.doctor [["All",[]],["Draft",[["state","=","draft"]]],["Active",[["state","=","active"]]],["Deactive",[["state","=","deactive"]]]] + list,page,form clinic_menu diff --git a/clinic/actions/clinic_hd_case.xml b/clinic/actions/clinic_hd_case.xml new file mode 100644 index 0000000..1097fdc --- /dev/null +++ b/clinic/actions/clinic_hd_case.xml @@ -0,0 +1,8 @@ + + HD Case + multi_view + clinic.hd.case + [["All",[]],["Draft",[["state","=","draft"]]],["Pending",[["state","=","pending"]]],["Confirm",[["state","=","corfirmed"]]]] + list,page,form + clinic_menu + diff --git a/clinic/actions/clinic_hd_case_line.xml b/clinic/actions/clinic_hd_case_line.xml new file mode 100644 index 0000000..e60f4f6 --- /dev/null +++ b/clinic/actions/clinic_hd_case_line.xml @@ -0,0 +1,7 @@ + + clinic_hd_case_line + Hd Case Detial + list + clinic.hd.case.line + clinic_menu + diff --git a/clinic/actions/clinic_nurse.xml b/clinic/actions/clinic_nurse.xml index d321c1b..8dd47cf 100644 --- a/clinic/actions/clinic_nurse.xml +++ b/clinic/actions/clinic_nurse.xml @@ -3,5 +3,6 @@ multi_view clinic.nurse [["All",[]],["Draft",[["state","=","draft"]]],["Active",[["state","=","active"]]],["Deactive",[["state","=","deactive"]]]] + list,page,form clinic_menu diff --git a/clinic/layouts/clinic_doctor_form.xml b/clinic/layouts/clinic_doctor_form.xml index 2aab969..fedde8b 100644 --- a/clinic/layouts/clinic_doctor_form.xml +++ b/clinic/layouts/clinic_doctor_form.xml @@ -19,6 +19,12 @@ + + + + + + diff --git a/clinic/layouts/clinic_hd_case_form.xml b/clinic/layouts/clinic_hd_case_form.xml new file mode 100644 index 0000000..5b698a1 --- /dev/null +++ b/clinic/layouts/clinic_hd_case_form.xml @@ -0,0 +1,26 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + diff --git a/clinic/layouts/clinic_hd_case_list.xml b/clinic/layouts/clinic_hd_case_list.xml new file mode 100644 index 0000000..9a65cb9 --- /dev/null +++ b/clinic/layouts/clinic_hd_case_list.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/clinic/layouts/clinic_nurse_form.xml b/clinic/layouts/clinic_nurse_form.xml index a0c4491..89ce74b 100644 --- a/clinic/layouts/clinic_nurse_form.xml +++ b/clinic/layouts/clinic_nurse_form.xml @@ -20,6 +20,12 @@ + + + + + + diff --git a/clinic/layouts/clinic_patient_form.xml b/clinic/layouts/clinic_patient_form.xml index df30526..2591afe 100644 --- a/clinic/layouts/clinic_patient_form.xml +++ b/clinic/layouts/clinic_patient_form.xml @@ -65,6 +65,9 @@ + + + diff --git a/clinic/models/__init__.py b/clinic/models/__init__.py index affba20..d135f53 100644 --- a/clinic/models/__init__.py +++ b/clinic/models/__init__.py @@ -2,3 +2,5 @@ from . import clinic_patient from . import clinic_doctor from . import clinic_nurse from . import clinic_visit +from . import clinic_hd_case +from . import clinic_hd_case_line diff --git a/clinic/models/__pycache__/__init__.cpython-32.pyc b/clinic/models/__pycache__/__init__.cpython-32.pyc index 4aadd5bc715e414533ad2a9ec12f283d1a418481..6ee129da23793e3703eb765409f24891d51c6117 100644 GIT binary patch delta 203 zcmZovA^IganE?qf0oe{fT%0md-bIyxA%&G8hk+rNl_83ifiVThX9M%u z7^2vKe0GLl4UUN!$rc)nKs}{=Kq5IOGcPkaJ|iVQIk7kuA})*}9uHKN>Zidz@tnUl V7Hy?CbWE0IjN;=0nkK*qg8(e?El>ae delta 71 zcmZo=X=Ikq;o;>Hkog>(%zy-#fNTdKE_RtH@50K;5UjyAu_Kw;PlI)`GNb?Gxr|X< LY(QxNMi2x5k^~CZ diff --git a/clinic/models/__pycache__/clinic_doctor.cpython-32.pyc b/clinic/models/__pycache__/clinic_doctor.cpython-32.pyc index 71d3587ef3f7ad3fa58c5f7618a5cb16059f50da..0e2e4cc2c37be65b50a0f6e52fd2cecef1735706 100644 GIT binary patch delta 526 zcmZXQKTpC?6vfZ2NTK`@Fc>g~IQR!dPy{QBlMF@|6BCCzpy3j!A(B{dad3d$p{rlO zIGHXcPOc_KKY(%6PvEStt-(f=iGPSyH4Gw<#srtJe+^t$~mG}vqY1%3bawM z1kDc?wG2IqW&p=Q@CevvLl%Y#`XsR*>W?OSHS>~^`(9tr^(kO+{>%ssXN3Q0k)am# zYUURubKd!J*B1h>f>rPuj>NJlH)F0#+ZST?40skihrW>J-GHE3hvpo*;8Jl{9=wRY z1TH|;#-IaS#DJj1po{$z;51ZT!axZ2<6^M?f|ng&XX4-zw1ksf!5}1}i5QWdAHn(X~ZKH)&y7VVeYYj+tt`remy1PQ##fU_@D)S=)YApOj_pE=jT2e=9%?U&w2pO)uD9rbCyQm7uqLM?=&hm{SYNZ&i}M91pf4fNQ( HAnN@9Jm5+> diff --git a/clinic/models/__pycache__/clinic_nurse.cpython-32.pyc b/clinic/models/__pycache__/clinic_nurse.cpython-32.pyc index b94fc05812caa7c281d4702e91f5bdb7d7457699..3d59319f0fbf3213605869ce2e40bade33ed062f 100644 GIT binary patch delta 525 zcmZXQKTpC?6vfZ2*h2Xupcv4^IQR!dPy{QB8;K^y$;6=!#Bhn!5C&_VOdMc$=xE{x za8c6F;HHjFE-ropXMJrAHk!QQ-rqUrzWd&7_CBX{V{vur@^h#Zh~Df9%`|Gz$H5YG z87yiAMgr|HP9xwkaL9!$3^nvgVj0?xrUW(nnleX0U&QyRU~&G;h>m8&{%P@%mI!M0 z7i9{;`6=HQ1#f~i@D@(QvROZ4Z%cbuV)g=f5xj)Hke2;`pm~oLJi6jjaaR$%ioOIc zLDMH-09?j^peJF7{nOwaG+x6%2=3#OaQ}kWJ>X_i;0pA#m)yW0Dx#C%Dh~2>=RPO@l32G>0xWz0z}-R^m6);d1NPYG r+c?9}4bhyvFF#Syo>A_oAJn`=)6T29Lsa<&a${~@ delta 381 zcmZXP%}T>i5QWbqHn(X~+eQklcIi*jA8SCeE4a{=JKbHOt0^TSzC^osaaV5K3U0LA z*H9n8mk@jby-B15g;@;qopU(z+hiF)e8d8J4_iYFTAi|P(htZ&_SqGL7jLY;bNMB^U@ CaY%sx diff --git a/clinic/models/__pycache__/clinic_patient.cpython-32.pyc b/clinic/models/__pycache__/clinic_patient.cpython-32.pyc index 6e6bc303c826eb36461212a387bc84736a954922..da7b23a97b86cc7f8592335e3388964493bc5169 100644 GIT binary patch delta 736 zcmZXS%}X0m6vfY-u_m#8$7E3|bQ7p3Viyi{Ra#RpP_f`gbyAd&8{!mE@dHXXS;Vyp z4+^cV)>zxx+E$%^z>SM;x^4f7F6+jH-kFIn1Hv%8_dDmFx$nN&>-*OinQd%p$iDo4 z6zL*5SNG^vx&r$K*nnLRmURTqeH5a25d)jxIuEiKDkzg7HmjxC<29{GYt3OzUC?mrF8Cvg2KaU$sVQSPz6bsU{*0pZ+Fj)*MvA|H_kDAJ zHK%M4TS2;f_AB@s_yGJJ`~yWf-@}mak?vwZpPe|Z>EnQ^jG3Z}nl}?AZ#u+JbpB89 zA^6B|Yb2CBsx!u}sML)IR7UkIL?<+z3{hLtY>m2R-7hM6HzQ+v1AYyDi?WPl6PDc$ z2jF*DCD?H|avLdd4=jF7(ZodKk{AV1un8zyXyIUCqef5=BDhan@rDo)g=k}Cp`~c?D%ZI0 z3o?Je#=^$hKOk0C{s4WMi7x}fD<0oD_q==W`)WCF@h+4E{Dt-3Pu@nN57A0B(G1K& zum;lumUk~w?MM`1-Ursf1zE__kij}>(q`l|>CS6no5FFo&*%93V0rRBJEK@-l>E~I zN-K41;)i18N8n>5HE^vXi771>Isu=8&ybY8Hs$!U7U6U7g>7!j<*aMOhLbLzy#!x@ zufaFqTO{Rtoi1OO>Y`iCP8?OV$DyK6k5EP|>EX5Pc8L2`{vG%p{9v~==t>?^8N+{6 z){Qt+u4>dp#}plRQB%=)o?3drE5*zpQULE@gJ6b`l6#MUn_=)SHl&dKlu-7o4c@cC z77Vizybm*MS031vRp3JmHav<}Pj$ctU|=@Al1ePDEL%gKmm+OW6End|F;TW!>X+*B w>_TFCDb0zr_$+&;Uh!Q1M#Eye;*LhGj$j?pq-BPpI&F$f)tXgb-A@$%1@Cs5F8}}l diff --git a/clinic/models/__pycache__/clinic_visit.cpython-32.pyc b/clinic/models/__pycache__/clinic_visit.cpython-32.pyc index ef35f80f0115f58373d5381b37160b258875b7f0..80a1348bbe164c810740acd7b6ec1ad5076d708a 100644 GIT binary patch delta 97 zcmX>repZ|pmBeSJY?fi($N>NhQx~@Y delta 97 zcmX>repZ|