clinic/netforce_clinic/layouts/clinic_patient_form.xml

113 lines
4.0 KiB
XML

<form model="clinic.patient">
<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="Simple Address" method="simple_address"/>
</button>
</head>
<field name="number"/>
<field name="type_id"/>
<field name="name"/>
<field name="hn"/>
<field name="reg_date"/>
<field name="partner_id"/>
<field name="categ_id"/>
<field name="doctor_id"/>
<field name="department_id"/>
<field name="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="picture"/>
<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="weight"/>
<field name="height"/>
<field name="phone"/>
</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="Cause Of Chronic Renal Failure">
<field name="causes" nolabel="1">
<list>
<field name="cause_id"/>
<field name="date_cause"/>
</list>
</field>
</tab>
<tab string="Co-marbid">
<separator string="Co-morbidity, before RRT"/>
<field name="comorbilities" nolabel="1">
<list>
<field name="comorbility_id"/>
<field name="ans"/>
<field name="analysis_date" mode="year"/>
</list>
</field>
</tab>
<tab string="Morbidity">
<separator string="Morbidity, After RRT"/>
<field name="morbilities" nolabel="1">
<list>
<field name="morbility_id"/>
<field name="ans"/>
<field name="analysis_date" mode="year"/>
</list>
</field>
</tab>
<tab string="Note">
<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" readonly="1"/>
<newline/>
<field name="note" nolabel="1"/>
</group>
</tab>
<tab string="Other">
<group form_layout="stacked">
<field name="cycle_id" span="2"/>
<field name="hn_num" span="2"/>
</group>
</tab>
</tabs>
<related>
<field name="addresses"/>
<field name="visits"/>
<field name="hd_cases"/>
<field name="dialyzers"/>
<field name="documents"/>
<field name="comments"/>
</related>
</form>