NINS_CODE/bahmni_config/openmrs/apps/customDisplayControl/views/deathCertificate.html

75 lines
4.3 KiB
HTML
Raw Normal View History

2024-12-12 22:37:39 +06:00
<link rel="stylesheet" href="/bahmni_config/openmrs/apps/registration/registrationCardLayout/css/custom-display.css"/>
<link rel="stylesheet" href="/bahmni_config/openmrs/apps/registration/registrationCardLayout/css/custom-print.css"
media="print"/>
<div class="placeholder-text" style="background-color: gainsboro;height: 30px; line-height: 30px;">
<b> Name : <span class="custom-bold-text"> {{patient.name}} </span> &nbsp;&nbsp; | &nbsp;&nbsp;
Patient ID : <span class="custom-bold-text"> {{patient.identifier}}</span>&nbsp;&nbsp; | &nbsp;&nbsp;
Gender : <span ng-if="patient.gender == 'M' " class="custom-bold-text"> Male &nbsp;&nbsp; | &nbsp;&nbsp;</span>
<span ng-if="patient.gender == 'F' " class="custom-bold-text"> Female &nbsp;&nbsp; | &nbsp;&nbsp;</span>
<span ng-if="patient.gender == 'O' " class="custom-bold-text"> Other &nbsp;&nbsp; | &nbsp;&nbsp;</span>
Age : <span class="custom-bold-text" ng-bind-html="patient.ageText"></span></b>
<br><br>
</div>
<div class="placeholder-text" style="font-size: 14px;">
<table>
<tr style="border: none" ng-if="deathNotesCitizenship">
<td width="20%" style="border: none">Citizenship</td>
<td width="30%" style="border: none">{{deathNotesCitizenship}}</td>
<td width="50%" style="border: none"></td>
</tr>
<tr style="border: none" ng-if="deathNotesReligion">
<td width="20%" style="border: none">Religion</td>
<td width="30%" style="border: none">{{deathNotesReligion}}</td>
<td width="50%" style="border: none"></td>
</tr>
<tr style="border: none">
<td width="20%" style="border: none">Address</td>
<td width="30%" style="border: none">{{patient.address.address1 ? patient.address.address1 + "," : ""}}
{{patient.address.address2 ? patient.address.address2 + "," : ""}}
{{patient.address.address3 ? patient.address.address3 + "," : ""}}
{{patient.address.address4 ? patient.address.address4 + "," : ""}}
{{patient.address.address5 ? patient.address.address5 + "," : ""}}
{{patient.address.countyDistrict ? patient.address.countyDistrict + "," : ""}}
{{patient.address.stateProvince}}
</td>
<td width="50%" style="border: none"></td>
</tr>
</table>
</div>
<br>
<hr style="border-bottom: 1px solid #e8e0e0">
<br>
<br>
<p class="placeholder-text" style="font-size: 14px">To whomsoever it may concern,
<span ng-if="patient.gender == 'M' ">Mr </span>
<span ng-if="patient.gender == 'O' ">Mx </span>
<span ng-if="patient.gender == 'F' ">Ms </span>
<span class="custom-bold-text"> {{patient.name}}</span>,
<span ng-if="patient.gender == 'M' && patient.fatherName.value!=undefined">son of </span>
<span ng-if="patient.gender == 'F' && patient.fatherName.value!=undefined">daughter of </span>
<span ng-if="patient.gender == 'O' && patient.fatherName.value!=undefined">son of </span>
{{patient.fatherName.value}} <span ng-if="patient.fatherName.value != undefined">, </span>
<span ng-if="patient.gender == 'M' && patient.spouseName.value!=undefined">husband of </span>
<span ng-if="patient.gender == 'F'&& patient.spouseName.value!=undefined">wife of </span>
<span ng-if="patient.gender == 'O'&& patient.spouseName.value!=undefined">spouse of </span>
{{patient.spouseName.value}} <span ng-if="patient.spouseName.value != undefined">, </span>
residing at {{patient.address.address1}}
{{patient.address.address2}} {{patient.address.address3}}
{{patient.address.cityVillage}}{{patient.address.countyDistrict}}
{{patient.address.stateProvince}}
</span>
Aged <span ng-if="patient.age == 0" ng-bind-html="htmlLabel(patient.ageText)"></span>
<span ng-if="patient.age !== 0">{{patient.age}},</span>
Gender {{patient.gender}},
<span ng-if="patient.occupation.value.display != undefined"> Occupation {{patient.occupation.value.display}}</span>
was admitted at<span class="custom-bold-text"> {{ "HOSPITAL_NAME" | translate }} </span>,
{{visitSummary.admissionDetails | bahmniDateTime}} in <span class="capitalize">{{visitSummary.visitType}} Department.</span>
The Death Details of the patient are mentioned below,
<br><br>
</p>