131 lines
4.7 KiB
XML
131 lines
4.7 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"/>-->
|
|
<!--<item string="New Dialyzer" method="new_dialyzer"/>-->
|
|
<item string="New Address" method="simple_address" perm="clinic_simple_address"/>
|
|
</button>
|
|
</head>
|
|
<field name="number"/>
|
|
<field name="trt_no"/>
|
|
<field name="type_id"/>
|
|
<field name="name"/>
|
|
<field name="reg_date"/>
|
|
<field name="doctor_id"/>
|
|
<field name="branch_id"/>
|
|
<field name="categ_id"/>
|
|
<field name="department_id" domain='[["branch_id","=",branch_id]]'/>
|
|
<tabs>
|
|
<tab string="General Information">
|
|
<group span="6" columns="1">
|
|
<field name="gender"/>
|
|
<field name="marital_status"/>
|
|
<field name="card_type"/>
|
|
<field name="card_no"/>
|
|
<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"/>
|
|
<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="Cycles">
|
|
<group span="8" columns="1">
|
|
<field name="cycles" nolabel="1">
|
|
<list>
|
|
<field name="cycle_id"/>
|
|
<field name="day"/>
|
|
</list>
|
|
</field>
|
|
</group>
|
|
<group span="4" columns="1">
|
|
<field name="cycle_id"/>
|
|
</group>
|
|
</tab>
|
|
<tab string="Accounting">
|
|
<field name="partner_id" domain='[["is_patient","=","true"]]'/>
|
|
</tab>
|
|
<tab string="Other">
|
|
<group form_layout="stacked">
|
|
<field name="active" span="2"/>
|
|
<field name="rm_remain_visit" span="2" attrs='{"invisible":[["active","=","true"]]}'/>
|
|
<field name="resign_date" span="2"/>
|
|
<field name="hn_no" span="2"/>
|
|
<newline/>
|
|
<field name="note"/>
|
|
</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>
|