151 lines
5.9 KiB
XML
151 lines
5.9 KiB
XML
<form model="clinic.patient" show_company="1">
|
|
<head>
|
|
<field name="type_id"/>
|
|
<button string="Options" dropdown="1">
|
|
<!--<item string="Generate Visit" action="clinic_gen_visit"/>-->
|
|
</button>
|
|
</head>
|
|
<field name="number"/>
|
|
<field name="trt_no"/>
|
|
<field name="card_no" attrs='{"required":[["card_type","=","identification"]]}'/>
|
|
<field name="type_id"/>
|
|
<field name="title_id" required="1"/>
|
|
<field name="reg_date"/>
|
|
<field name="first_name" required="1"/>
|
|
<field name="last_name" required="1"/>
|
|
<field name="doctor_id"/>
|
|
<field name="walkin"/>
|
|
<field name="department_id" invisible="1"/>
|
|
<field name="active" invisible="1"/>
|
|
<tabs>
|
|
<tab string="General">
|
|
<group span="6" columns="1">
|
|
<field name="gender"/>
|
|
<field name="marital_status"/>
|
|
<field name="card_type"/>
|
|
<field name="card_exp"/>
|
|
<field name="birthday"/>
|
|
<field name="age"/>
|
|
<field name="image"/>
|
|
<field name="mobile"/>
|
|
<field name="email"/>
|
|
</group>
|
|
<group span="6" columns="1">
|
|
<field name="job"/>
|
|
<field name="salary"/>
|
|
<field name="nation_id" onchange="onchange_nation"/>
|
|
<field name="race_id"/>
|
|
<field name="grad_id"/>
|
|
<field name="phone"/>
|
|
<field name="weight"/>
|
|
<field name="height"/>
|
|
<field name="vascular_acc"/>
|
|
<field name="company_id" invisible="1"/>
|
|
</group>
|
|
</tab>
|
|
<tab string="Health Information">
|
|
<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>
|
|
<tab string="Cycle Setting">
|
|
<group span="8" columns="1">
|
|
<field name="cycles" nolabel="1">
|
|
<list>
|
|
<field name="department_id"/>
|
|
<field name="cycle_id"/>
|
|
<field name="day"/>
|
|
</list>
|
|
</field>
|
|
</group>
|
|
<group span="4" columns="1">
|
|
</group>
|
|
<group span="8" columns="1">
|
|
<template>
|
|
<div>
|
|
<p></p>
|
|
<b>Note: </b><span style="color:green"><b style="color:#3477b0">"Cycle"</b> ที่ระบุไว้ที่หน้านี้ จะเป็นข้อมูลต้นทางที่ระบบจะนำไปสร้าง Visit ล่วงหน้า</span></div>
|
|
</template>
|
|
</group>
|
|
<group span="4" columns="1">
|
|
</group>
|
|
</tab>
|
|
<tab string="Location">
|
|
<field name="departments"/>
|
|
<group span="8" columns="1">
|
|
<template>
|
|
<div>
|
|
<p></p>
|
|
<b>Note: </b><span style="color:green"><b style="color:#3477b0">"Location"</b> คือ สถานที่ที่ผู้ป่วยสามารถรับการรักษา ซึ่งระบุได้มากกว่า 1 ที่</span></div>
|
|
</template>
|
|
</group>
|
|
<group span="4" columns="1">
|
|
</group>
|
|
</tab>
|
|
<tab string="Accounting">
|
|
<field name="partner_id" domain='[["is_patient","=","true"]]'/>
|
|
</tab>
|
|
<tab string="Other">
|
|
<group layout_form="stacked">
|
|
<field name="dispose" span="3"/>
|
|
<field name="resign_date" attrs='{"required":[["dispose","=","true"]]}' span="4"/>
|
|
<field name="note" attrs='{"required":[["dispose","=","true"]]}' span="4"/>
|
|
<field name="state" invisible="1"/>
|
|
<field name="hn_no" invisible="1"/>
|
|
</group>
|
|
</tab>
|
|
</tabs>
|
|
<related>
|
|
<field name="addresses"/>
|
|
<field name="visits" readonly="1"/>
|
|
<field name="hd_cases" readonly="1"/>
|
|
<field name="dialyzers" readonly="1"/>
|
|
<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>
|
|
<field name="documents"/>
|
|
<field name="comments"/>
|
|
</related>
|
|
</form>
|