From e84623a1d7bf6f7e5db80cbfc96597e851043f06 Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Tue, 13 Jan 2015 16:25:51 +0700 Subject: [PATCH] xxx --- netforce_clinic/models/hd_case.py | 2 +- netforce_clinic/models/patient.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netforce_clinic/models/hd_case.py b/netforce_clinic/models/hd_case.py index a778e88..7b139d1 100644 --- a/netforce_clinic/models/hd_case.py +++ b/netforce_clinic/models/hd_case.py @@ -83,7 +83,7 @@ class HDCase(Model): "bp_start": fields.Char("Start BP"), "bp_stop": fields.Char("Finish BP"), "membrane_type": fields.Selection([("unsub","Unsub cellul"),("sub","Sub cellul"),("synthetic","Synthetic")],"Member Type"), - "hd_acc": fields.Selection([("o","O"),("i","I")],"HD Acc"), + "hd_acc": fields.Selection([("o","OPD"),("i","IPD")],"HD Acc"), "hd_mode": fields.Selection([("chronic","Chronic"),("acute","Acute")],"HD Moode"), "vascular_acc": fields.Many2One("clinic.vascular.access","Vascular Ac."), "bid_flow_rate": fields.Integer("Bid Flow Rate (ml/min)"), diff --git a/netforce_clinic/models/patient.py b/netforce_clinic/models/patient.py index 2cdff37..75f5927 100644 --- a/netforce_clinic/models/patient.py +++ b/netforce_clinic/models/patient.py @@ -46,7 +46,7 @@ class Patient(Model): "number": fields.Char("HN",required=True,search=True), "trt_no": fields.Char("TRT. No",search=True), "hn_no": fields.Char("HN Number",function="_get_hn_no"), - "hn": fields.Char("REF/HN",search=True), + "hn": fields.Char("REF/HN",search=False), "name": fields.Char("Name",required=True,search=True), "reg_date": fields.Date("Register Date",required=False,search=True), "birthday": fields.Date("Birthday",required=False,search=True),