349 lines
14 KiB
HTML
349 lines
14 KiB
HTML
![]() |
<style>
|
||
|
.cod {
|
||
|
width: auto;
|
||
|
min-width: 397px;
|
||
|
background-color: white;
|
||
|
border: 1px solid lightgrey;
|
||
|
padding: 10px;
|
||
|
margin-left: -2px;
|
||
|
}
|
||
|
|
||
|
.report {
|
||
|
background-color: white;
|
||
|
border: 1px solid lightgrey;
|
||
|
width: 390px;
|
||
|
padding: 20px;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
.timeInterval {
|
||
|
width: 356px;
|
||
|
background-color: white;
|
||
|
border: 1px solid lightgrey;
|
||
|
padding: 10px;
|
||
|
margin-left: -2px;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
.otherSignificant {
|
||
|
padding: 2px 0px 2px 6px;
|
||
|
width: 640px;
|
||
|
}
|
||
|
|
||
|
@media print {
|
||
|
.otherSignificant {
|
||
|
padding: 2px 0px 2px 6px;
|
||
|
width: 370px;
|
||
|
}
|
||
|
|
||
|
.report {
|
||
|
background-color: white;
|
||
|
border: 1px solid lightgrey;
|
||
|
width: 180px;
|
||
|
padding: 20px;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
.cod {
|
||
|
width: auto;
|
||
|
min-width: 270px;
|
||
|
background-color: white;
|
||
|
border: 1px solid lightgrey;
|
||
|
padding: 10px;
|
||
|
margin-left: -2px;
|
||
|
}
|
||
|
|
||
|
.timeInterval {
|
||
|
width: 180px;
|
||
|
background-color: white;
|
||
|
border: 1px solid lightgrey;
|
||
|
padding: 10px;
|
||
|
margin-left: -2px;
|
||
|
font-size: 11px;
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
|
||
|
<div>
|
||
|
<table style=" margin-top: -6px;">
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td style="padding: 2px 0px 2px 6px">
|
||
|
<span class="custom-bold-text" ng-if="patient.birthdate"><b>Date of Birth of Deceased:
|
||
|
</b></span><span>{{patient.birthdate | bahmniDate}}</span>
|
||
|
<span class="custom-bold-text" ng-if="visitSummary.admissionDetails.date"> <b>Date of
|
||
|
Admission: </b> </span><span>{{visitSummary.admissionDetails.date | bahmniDate}}</span>
|
||
|
<span class="custom-bold-text" ng-if="bedDetails.bedNumber"> <b>Ward No: </b>
|
||
|
</span><span>{{bedDetails.bedNumber}}</span>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
|
||
|
<td style="padding: 2px 0px 2px 6px">
|
||
|
<span ng-if="dateAndTimeOfDeath"><b>Date and Time Of Death: </b> {{dateAndTimeOfDeath |
|
||
|
bahmniDateTime}}</span>
|
||
|
<span ng-if="DeceasedNID && nidOf"> <b>NID
|
||
|
No:</b>{{DeceasedNID}}<span> ({{nidOf}})</span></span>
|
||
|
<span ng-if="SpouseNID && nidOf"> <b>NID
|
||
|
No:</b>{{SpouseNID}}<span> ({{nidOf}})</span></span>
|
||
|
<span ng-if="ParentsNID && nidOf"> <b>NID
|
||
|
No:</b>{{ParentsNID}}<span> ({{ParentsNID}})</span></span>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<div ng-if="lineA.value" style="margin-top: 5px;margin-bottom: 5px">
|
||
|
<span style="padding: 16px 0px 16px 6px;font-size: 14px;font-weight: bold;">
|
||
|
Frame A: Medical data: Part 1 and 2
|
||
|
</span>
|
||
|
</div>
|
||
|
<div ng-if="lineA.value" style="background-color:white; display:flex; word-wrap: break-word;">
|
||
|
<div class="report">
|
||
|
<div style="position: relative;top: 10px;">
|
||
|
<span>
|
||
|
<b>1</b>
|
||
|
</span>
|
||
|
<br>
|
||
|
<span>Report disease or condition directly leading to death on line a</span>
|
||
|
<br>
|
||
|
<br>
|
||
|
<span>Report chain of events in due to order (if applicable)</span>
|
||
|
<br>
|
||
|
<br>
|
||
|
<span>State the underlying cause on the lowest used line</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div style="background-color:white; border: 1px solid lightgrey;width:30px; padding:10px;margin-left: -1px;">
|
||
|
|
||
|
|
||
|
<svg style="position: relative; top: 18px; left: 2px;" width="50px" height="50px" viewbox="0 0 400 400">
|
||
|
<path stroke="gray" stroke-width="50" fill="none" d="M200 350 A 100 100 0 0 1 200 150
|
||
|
M200 150 200 125 225 150 200 175Z" />
|
||
|
</svg>
|
||
|
<br>
|
||
|
<svg style="position: relative; top: 5px; left:2px;" width="50px" height="50px" viewbox="0 0 400 400">
|
||
|
<path stroke="gray" stroke-width="50" fill="none" d="M200 350 A 100 100 0 0 1 200 150
|
||
|
M200 150 200 125 225 150 200 175Z" />
|
||
|
</svg>
|
||
|
<br>
|
||
|
<svg style="position: relative; top: -7px; left: 2px;" width="50px" height="50px" viewbox="0 0 400 400">
|
||
|
<path stroke="gray" stroke-width="50" fill="none"
|
||
|
d="M200 350 A 100 100 0 0 1 200 150
|
||
|
M200 150 200 125 225 150 200 175Z" />
|
||
|
</svg>
|
||
|
|
||
|
</div>
|
||
|
<div style="background-color:white; margin-left: -1px; font-size: 12px;">
|
||
|
<div style="background-color:white; border: 1px solid lightgrey; padding:10px ; margin-left: -2px;">
|
||
|
|
||
|
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;height:16px;">
|
||
|
a
|
||
|
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px; height:15px;">
|
||
|
b
|
||
|
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;height:15px;">
|
||
|
|
||
|
c
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white;border: 1px solid lightgrey; padding:10px 10px 19px 10px;margin-left: -2px;margin-top: -1px;height:16px;">
|
||
|
|
||
|
d
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div style="background-color:white; margin-left: -2px;font-size: 12px; ">
|
||
|
<div class="cod">
|
||
|
|
||
|
<b>Cause of death</b>
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;height:16px;">
|
||
|
{{lineA.value}}
|
||
|
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;height:15px;">
|
||
|
{{applicableB.value}}
|
||
|
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;height:15px;">
|
||
|
|
||
|
{{lineC.value}}
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white;border: 1px solid lightgrey; padding:10px 10px 19px 10px;margin-left: -2px;margin-top: -1px;height:16px;">
|
||
|
|
||
|
{{dueD.value}}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div style="background-color:white; margin-left: -2px;">
|
||
|
<div class="timeInterval">
|
||
|
|
||
|
<b>Time interval from onset to death</b>
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;font-size: 12px;height:16px;">
|
||
|
{{timeA.value| bahmniDateTime}}
|
||
|
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;font-size: 12px;height:15px;">
|
||
|
{{timeB.value| bahmniDateTime}}
|
||
|
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white; border: 1px solid lightgrey; padding:10px ;margin-left: -2px;margin-top: -1px;font-size: 12px;height:15px;">
|
||
|
|
||
|
{{timeC.value| bahmniDateTime}}
|
||
|
</div>
|
||
|
<div
|
||
|
style="background-color:white;border: 1px solid lightgrey; padding:10px 10px 19px 10px;margin-left: -2px;margin-top: -1px;font-size: 12px;height:16px;">
|
||
|
|
||
|
{{timeD.value| bahmniDateTime}}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div style="background-color:white; display:flex;margin-top: -2px;">
|
||
|
<table>
|
||
|
|
||
|
<tr ng-if="otherSignificantCondition">
|
||
|
<td style="padding: 2px 0px 2px 6px">
|
||
|
<div style="margin-left: 10px;padding: 5px; font-size: 12px;">
|
||
|
<span>
|
||
|
<b>2</b>
|
||
|
</span>
|
||
|
<br>
|
||
|
<span>Other significant conditions contributing to death</span>
|
||
|
<br>
|
||
|
<span>(time intervals can be included in brackets after the condition)</span>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="otherSignificant">
|
||
|
<div style="padding: 20px 20px 20px 0px; font-size: 12px;">
|
||
|
{{otherSignificantCondition.value}}
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div ng-if="frameBSurgeryPerformedLastWeek" style="margin-top: 5px;margin-bottom: 5px">
|
||
|
<span style="padding: 16px 0px 16px 6px;font-size: 14px;font-weight: bold;">
|
||
|
Frame B: Other medical data
|
||
|
</span>
|
||
|
</div>
|
||
|
<table>
|
||
|
|
||
|
<tr ng-if="frameBSurgeryPerformedLastWeek">
|
||
|
<td style="padding: 2px 0px 2px 6px">Was Surgery Performed Within The last four Week</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px; ">{{frameBSurgeryPerformedLastWeek}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="frameBSpecifyDate && frameBSurgeryPerformedLastWeek == 'True'">
|
||
|
<td style="padding: 2px 0px 2px 6px">If Yes Please Specify Date of Surgery</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{frameBSpecifyDate| bahmniDateTime}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="frameBSpecifyReason && frameBSurgeryPerformedLastWeek == 'True'">
|
||
|
<td style="padding: 2px 0px 2px 6px">If Yes Please Specify Reason for Surgery Disease or Condition</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{frameBSpecifyReason}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="frameBAutopsyRequested">
|
||
|
<td style="padding: 2px 0px 2px 6px">Was an Autopsy Requested?</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{frameBAutopsyRequested}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="frameBCertification">
|
||
|
<td style="padding: 2px 0px 2px 6px">If Yes, were the Findings used in the Certification</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{frameBCertification}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="mannerOfDeath">
|
||
|
<td style="padding: 2px 0px 2px 6px"><b>Manner of Death</b></td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{mannerOfDeath}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="externalPoisoning">
|
||
|
<td style="padding: 2px 0px 2px 6px"><b>If external cause or poisoning:</b></td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{externalPoisoning}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="dateOfInjury">
|
||
|
<td style="padding: 2px 0px 2px 6px"><b>Date of Injury</b></td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{dateOfInjury | bahmniDate}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="describePoisoning">
|
||
|
<td style="padding: 2px 0px 2px 6px"><span>Please describe how external cause occurred</span>
|
||
|
<br>
|
||
|
<span>(If poisoning please specify poisoning agent)</span>
|
||
|
</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{describePoisoning}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="placeOfOccurrence">
|
||
|
<td style="padding: 2px 0px 2px 6px"><b>Place of Occurrence of the external cause</b></td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{placeOfOccurrence}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="otherPlace">
|
||
|
<td style="padding: 2px 0px 2px 6px">Other Place (Please Specify):</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{otherPlace}}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div ng-if="multiplePregnancy" style="margin-top: 5px;margin-bottom: 5px">
|
||
|
<span style="padding: 16px 0px 16px 6px;font-size: 14px;font-weight: bold;">
|
||
|
Fetal or infant Death
|
||
|
</span>
|
||
|
</div>
|
||
|
<table>
|
||
|
|
||
|
<tr ng-if="multiplePregnancy">
|
||
|
<td style="padding: 2px 0px 2px 6px">Multiple Pregnancy</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{multiplePregnancy}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="stillBorn">
|
||
|
<td style="padding: 2px 0px 2px 6px">Stillborn?</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{stillBorn}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="numberOfHour">
|
||
|
<td style="padding: 2px 0px 2px 6px">If death within 24h specify number of hours survived</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{numberOfHour}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="birthWeight">
|
||
|
<td style="padding: 2px 0px 2px 6px">Birth weight (in grams)</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{birthWeight}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="weeksOfPregnancy">
|
||
|
<td style="padding: 2px 0px 2px 6px">Number of completed weeks of pregnancy</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{weeksOfPregnancy}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="ageOfMother">
|
||
|
<td style="padding: 2px 0px 2px 6px">Age of mother (years)</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{ageOfMother}}</td>
|
||
|
</tr>
|
||
|
<tr ng-if="newBorn">
|
||
|
<td style="padding: 2px 0px 2px 6px">If death was perinatal, please state conditions of mother that affected
|
||
|
the fetus and newborn</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{newBorn}}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div ng-if="womenReproductiveAge" style="margin-top: 5px;margin-bottom: 5px">
|
||
|
<span style="padding: 16px 0px 16px 6px;font-size: 14px;font-weight: bold;">
|
||
|
For women of reproductive age
|
||
|
</span>
|
||
|
</div>
|
||
|
<table>
|
||
|
|
||
|
<tr ng-repeat="data in womenReproductiveAge">
|
||
|
<td style="padding: 2px 0px 2px 6px">{{data.concept.shortName}}</td>
|
||
|
<td style="padding: 2px 0px 2px 6px;width:370px;">{{data.value.shortName}}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</div>
|