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

57 lines
2.2 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="custom-dischargePatient-print-table" ng-if="displayStuff">
<div ng-if="visitSummary.dischargeDetails.date !=null && visitSummary.admissionDetails.date !=null">
<p class="placeholder-text">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}} was under treatment at <b clas="custom-bold-text">KALIGANJ UHC HOSPITAL </b>
from {{visitSummary.admissionDetails.date | bahmniDateTime}}
to
<span ng-if="visitSummary.dischargeDetails.date!=undefined && visitSummary.stopDateTime==null">
{{visitSummary.dischargeDetails.date | bahmniDateTime}}
</span>
<span ng-if="visitSummary.dischargeDetails.date==null && visitSummary.stopDateTime!=undefined">
{{visitSummary.stopDateTime | bahmniDateTime}}
</span>
</div>
</p>
</div>
</html>