clinic/netforce_clinic/layouts/clinic_patient_form.xml

177 lines
6.8 KiB
XML
Raw Normal View History

2015-01-09 05:19:52 +00:00
<form model="clinic.patient" show_company="1">
2014-08-19 11:36:46 +00:00
<head>
2014-12-02 08:34:28 +00:00
<field name="type_id"/>
2014-08-19 11:36:46 +00:00
<button string="Options" dropdown="1">
2015-05-31 15:02:49 +00:00
<item string="Share" action="clinic_share_location"/>
2014-08-19 11:36:46 +00:00
</button>
</head>
2014-10-01 16:14:52 +00:00
<field name="number"/>
2015-01-09 05:19:52 +00:00
<field name="trt_no"/>
2015-03-17 01:49:03 +00:00
<field name="card_no" attrs='{"required":[["card_type","=","identification"]]}'/>
2014-12-02 07:08:20 +00:00
<field name="type_id"/>
2015-02-27 03:48:57 +00:00
<field name="title_id" required="1"/>
2015-03-13 16:31:58 +00:00
<field name="reg_date"/>
<field name="first_name" required="1"/>
<field name="last_name" required="1"/>
2015-05-07 08:10:23 +00:00
<field name="doctor_id" required="1"/>
<field name="department_id" required="1"/>
2015-03-06 05:15:19 +00:00
<field name="walkin"/>
2015-05-28 09:27:41 +00:00
<field name="vascular_acc"/>
2015-05-31 07:14:32 +00:00
<field name="location" readonly="1"/>
2015-03-02 07:27:39 +00:00
<field name="active" invisible="1"/>
2014-08-19 11:36:46 +00:00
<tabs>
2015-03-02 04:03:07 +00:00
<tab string="General">
2014-10-01 16:14:52 +00:00
<group span="6" columns="1">
2014-10-07 13:22:18 +00:00
<field name="gender"/>
<field name="marital_status"/>
2014-10-01 16:14:52 +00:00
<field name="card_type"/>
2014-10-02 00:34:58 +00:00
<field name="card_exp"/>
2014-10-02 07:36:13 +00:00
<field name="birthday"/>
<field name="age"/>
2015-01-09 05:19:52 +00:00
<field name="image"/>
2014-10-02 00:34:58 +00:00
<field name="mobile"/>
2014-10-01 16:14:52 +00:00
<field name="email"/>
2014-09-30 11:17:46 +00:00
</group>
2014-10-01 16:14:52 +00:00
<group span="6" columns="1">
2014-10-07 13:22:18 +00:00
<field name="job"/>
<field name="salary"/>
2015-03-17 02:04:48 +00:00
<field name="nation_id" onchange="onchange_nation"/>
2014-10-01 16:14:52 +00:00
<field name="race_id"/>
<field name="grad_id"/>
2015-01-29 14:55:05 +00:00
<field name="phone"/>
2014-10-01 16:14:52 +00:00
<field name="weight"/>
<field name="height"/>
2015-05-28 09:27:41 +00:00
<!--<field name="vascular_acc"/>-->
2015-01-09 05:19:52 +00:00
<field name="company_id" invisible="1"/>
2014-09-30 11:17:46 +00:00
</group>
2014-10-01 16:14:52 +00:00
</tab>
2015-05-28 09:27:41 +00:00
<tab string="Health Information" perm="clinic_patient_health">
2014-10-01 16:14:52 +00:00
<field name="smoke"/>
<field name="withdrawal"/>
<field name="first_hemodialysis"/>
<field name="hemodialysis"/>
<field name="first_treatment"/>
<field name="clinic_after"/>
<field name="clinic_after_name"/>
<field name="first_permanent_vascular_access"/>
<field name="first_tenckhoff_catheters"/>
<field name="start_date_clinic"/>
<field name="waiting_transplantation"/>
<field name="who_transplantation"/>
<field name="reason_of_chronic_renal_failure"/>
</tab>
2015-03-17 07:00:11 +00:00
<tab string="Cycle Setting">
2015-02-09 06:57:23 +00:00
<group span="8" columns="1">
<field name="cycles" nolabel="1">
<list>
2015-03-05 09:55:22 +00:00
<field name="department_id"/>
2015-02-09 06:57:23 +00:00
<field name="cycle_id"/>
<field name="day"/>
</list>
</field>
</group>
<group span="4" columns="1">
2015-03-15 13:40:17 +00:00
</group>
<group span="8" columns="1">
<template>
<div>
<p></p>
2015-03-17 10:04:14 +00:00
<b>Note: </b><span style="color:green"><b style="color:#3477b0">"Cycle"</b> ที่ระบุไว้ที่หน้านี้ จะเป็นข้อมูลต้นทางที่ระบบจะนำไปสร้าง Visit ล่วงหน้า</span></div>
2015-03-15 13:40:17 +00:00
</template>
</group>
<group span="4" columns="1">
2015-02-09 06:57:23 +00:00
</group>
</tab>
2015-05-07 08:10:23 +00:00
<!--
2015-03-20 11:16:17 +00:00
<tab string="Department">
<field name="department_id" string="Main Department"/>
2015-03-15 13:40:17 +00:00
<group span="8" columns="1">
<template>
<div>
<p></p>
2015-04-03 08:04:49 +00:00
<b>Note: </b><span style="color:green"><b style="color:#3477b0">"Main Department"</b> คือ สถานที่หลักที่ผู้ป่วยรักษา</span></div>
2015-03-20 11:16:17 +00:00
</template>
</group>
<group span="4" columns="1">
</group>
</tab>
2015-05-07 08:10:23 +00:00
-->
2015-05-31 07:14:32 +00:00
<!--
2015-03-20 11:16:17 +00:00
<tab string="HD Departments">
<field name="departments" nolabel="1"/>
<group span="8" columns="1">
<template>
<div>
<p></p>
<b>Note: </b><span style="color:green"><b style="color:#3477b0">"HD Departments"</b> คือ สถานที่ที่ผู้ป่วยสามารถรับการรักษา ซึ่งระบุได้มากกว่า 1 ที่</span></div>
2015-03-15 13:40:17 +00:00
</template>
</group>
<group span="4" columns="1">
</group>
2015-03-13 11:42:57 +00:00
</tab>
2015-05-31 07:14:32 +00:00
-->
2015-05-28 09:27:41 +00:00
<tab string="Accounting" perm="clinic_patient_account">
2015-02-20 01:52:14 +00:00
<field name="partner_id" domain='[["is_patient","=","true"]]'/>
2014-09-30 11:17:46 +00:00
</tab>
2015-05-07 08:10:23 +00:00
<tab string="Dispose Info">
<group>
<field name="dispose"/>
<field name="resign_date" attrs='{"required":[["dispose","=","true"]]}'/>
<field name="note" attrs='{"required":[["dispose","=","true"]]}'/>
2015-03-02 07:27:39 +00:00
<field name="state" invisible="1"/>
<field name="hn_no" invisible="1"/>
</group>
2014-10-29 09:10:19 +00:00
</tab>
2015-05-07 08:10:23 +00:00
<tab string="Log">
<group>
<field name="c_time"/>
<field name="w_time"/>
<field name="c_uid"/>
<field name="w_uid"/>
</group>
</tab>
2014-08-19 11:36:46 +00:00
</tabs>
<related>
2014-11-26 01:39:49 +00:00
<field name="addresses"/>
2015-01-23 09:41:12 +00:00
<field name="visits" readonly="1"/>
<field name="hd_cases" readonly="1"/>
<field name="dialyzers" readonly="1"/>
2015-02-20 01:52:14 +00:00
<field name="causes" nolabel="1">
<list>
<field name="cause_id"/>
<field name="date_cause"/>
</list>
<form>
<field name="cause_id"/>
<field name="date_cause"/>
</form>
</field>
<field name="comorbilities" nolabel="1">
<list>
<field name="comorbility_id"/>
<field name="ans"/>
<field name="analysis_date" mode="year"/>
</list>
<form>
<field name="comorbility_id"/>
<field name="ans"/>
<field name="analysis_date" mode="year"/>
</form>
</field>
<field name="morbilities" nolabel="1">
<list>
<field name="morbility_id"/>
<field name="ans"/>
<field name="analysis_date" mode="year"/>
</list>
<form>
<field name="morbility_id"/>
<field name="ans"/>
<field name="analysis_date" mode="year"/>
</form>
</field>
2014-11-26 01:39:49 +00:00
<field name="documents"/>
2014-10-01 10:52:21 +00:00
<field name="comments"/>
2014-08-19 11:36:46 +00:00
</related>
</form>