You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
3.0 KiB
50 lines
3.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<template id="report_patient_labtest">
|
|
<t t-call="web.html_container">
|
|
<t t-call="web.external_layout">
|
|
<t t-foreach="docs" t-as="o">
|
|
<div class="page">
|
|
<br />
|
|
<h3 style="text-decoration:underline;text-align:center;"><b>Lab Test Report</b></h3>
|
|
<br/>
|
|
<br/>
|
|
<table width="99%" style="margin-left:50px;margin-top:5px;border: None solid black;">
|
|
<tr>
|
|
<td style="width:50px;height:25px" ><span>Patient: </span><span t-att-style="style" t-esc="o.lab_requestor.patient.name"/></td>
|
|
<td style="width:50px;height:25px" ><span>Test : </span><span t-att-style="style" t-esc="o.test_request.lab_test"/></td>
|
|
<td style="width:50px;height:25px" ><span>Date: </span><span t-att-style="style" t-esc="o.lab_requesting_date"/></td>
|
|
</tr>
|
|
</table>
|
|
<br/>
|
|
<br/>
|
|
<table width="99%" style="border:1px solid black;padding-left:1.16cm;">
|
|
<thead>
|
|
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Content</th>
|
|
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Unit</th>
|
|
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Normal Range</th>
|
|
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Result</th>
|
|
</thead>
|
|
<tbody>
|
|
<t t-foreach="o.request_line" t-as="l">
|
|
<tr style="border:1px solid black">
|
|
<td style="border:1px solid black;text-align:center;"><span t-esc="l.test_content.content_type_name" style="font-size:16px;"/></td>
|
|
<td style="border:1px solid black;text-align:center;"><span t-esc="l.unit.code" style="font-size:16px;"/></td>
|
|
<td style="border:1px solid black;text-align:center;"><span t-esc="l.interval" style="font-size:16px;"/></td>
|
|
<td style="border:1px solid black;text-align:center;"><span t-esc="l.result" style="font-size:16px;"/></td>
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
</table>
|
|
<br/>
|
|
<br/>
|
|
</div>
|
|
<p style="page-break-after:always"></p>
|
|
</t>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</data>
|
|
|
|
</odoo>
|
|
|