AeHIN Medical Certificate of Cause of Death (MCCoD) Implementation Guide
0.1.0 - Draft for AeHIN Member Review
Asia
Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare. See the Directory of published versions
| Draft as of 2026-05-21 |
XML representation of the mccod-frame-b-model logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="mccod-frame-b-model"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition mccod-frame-b-model</b></p><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model" title="Logical model representing the data elements of Frame B (Other Medical
Data) of the WHO Medical Certificate of Cause of Death (MCCoD).
Frame B is OPTIONAL at the section level. However, certain sub-sections
SHOULD be populated based on the clinical context of the death:
- The Fetal or Infant Death sub-section SHOULD be populated when the
deceased was an infant or newborn (age at death less than 28 days),
or when the death was a stillbirth.
- The Women of Reproductive Age sub-section SHOULD be populated when
the deceased was female and aged 15–49 years at time of death.
- External cause elements SHOULD be populated when manner of death
is Assault, Accident, Legal Intervention, Intentional Self Harm,
or War.
These conditional requirements are enforced as warning-level invariants
in the MCCoDComposition profile, not as hard errors, consistent with
the optional nature of Frame B.
This model is derived from:
- WHO International Form of Medical Certificate of Cause of Death
- openEHR-EHR-EVALUATION.death_summary.v0 (CKM archetype)
- WHO SMART Guidelines L2 DAK data dictionary pattern">mccod-frame-b-model</a><a name="mccod-frame-b-model"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://build.fhir.org/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">MCCoD Frame B Logical Model — Other Medical Data</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData" title="General medical data about the circumstances of death including
surgery, autopsy, manner of death, and external cause details.
This sub-section is optional but SHOULD be populated when any
of its elements are known.">generalMedicalData</a><a name="mccod-frame-b-model.generalMedicalData"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">General Medical Data</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck111.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.surgeryPerformed" title="Documents whether surgery was performed within the 4 weeks
preceding death. Relevant for determining whether surgery may
have contributed to the cause of death.">surgeryPerformed</a><a name="mccod-frame-b-model.generalMedicalData.surgeryPerformed"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Surgery within last 4 weeks</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.surgeryPerformed.wasPerformed" title="Whether surgery was performed within the last 4 weeks before death.
Coded as: yes | no | unknown">wasPerformed</a><a name="mccod-frame-b-model.generalMedicalData.surgeryPerformed.wasPerformed"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Surgery performed (Yes/No/Unknown)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.surgeryPerformed.dateOfSurgery" title="Date surgery was performed. Required when wasPerformed is 'yes'.">dateOfSurgery</a><a name="mccod-frame-b-model.generalMedicalData.surgeryPerformed.dateOfSurgery"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date of surgery</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.surgeryPerformed.reasonForSurgery" title="Disease or condition for which surgery was performed.
Required when wasPerformed is 'yes'.
Free text as written by certifying practitioner.">reasonForSurgery</a><a name="mccod-frame-b-model.generalMedicalData.surgeryPerformed.reasonForSurgery"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for surgery</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck111.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.autopsy" title="Documents whether an autopsy was requested and whether findings
were used in the certification of cause of death.">autopsy</a><a name="mccod-frame-b-model.generalMedicalData.autopsy"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Autopsy</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.autopsy.wasRequested" title="Whether an autopsy was requested.
Coded as: yes | no | unknown">wasRequested</a><a name="mccod-frame-b-model.generalMedicalData.autopsy.wasRequested"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Autopsy requested (Yes/No/Unknown)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.autopsy.findingsUsedInCertification" title="Whether autopsy findings were used in the certification of the
cause of death. Applicable only when wasRequested is 'yes'.
Coded as: yes | no | unknown">findingsUsedInCertification</a><a name="mccod-frame-b-model.generalMedicalData.autopsy.findingsUsedInCertification"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Autopsy findings used in certification (Yes/No/Unknown)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck111.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.mannerOfDeath" title="The manner in which the death occurred. Drawn from the
mccod-manner-of-death-codes ValueSet.">mannerOfDeath</a><a name="mccod-frame-b-model.generalMedicalData.mannerOfDeath"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Manner of Death</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.mannerOfDeath.manner" title="Coded manner of death from mccod-manner-of-death-codes ValueSet.
Required binding: Disease | Assault | Accident | Legal Intervention |
Could Not Be Determined | Pending Investigation |
Intentional Self Harm | War | Unknown">manner</a><a name="mccod-frame-b-model.generalMedicalData.mannerOfDeath.manner"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Manner of death code</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck101.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.externalCause" title="Details of the external cause of death or poisoning.
SHOULD be populated when manner of death is one of:
Assault, Accident, Legal Intervention, Intentional Self Harm, War.
This conditional requirement is enforced as a warning-level
invariant in MCCoDComposition.">externalCause</a><a name="mccod-frame-b-model.generalMedicalData.externalCause"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">External Cause or Poisoning</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.externalCause.description" title="Free-text description of how the external cause occurred.
If poisoning, the poisoning agent SHALL be specified here.">description</a><a name="mccod-frame-b-model.generalMedicalData.externalCause.description"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Description of external cause</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.externalCause.dateOfInjury" title="Date on which the external cause (injury or poisoning) occurred.">dateOfInjury</a><a name="mccod-frame-b-model.generalMedicalData.externalCause.dateOfInjury"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date of injury</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.generalMedicalData.externalCause.placeOfOccurrence" title="Place where the external cause occurred.
Required binding to mccod-place-of-injury-codes ValueSet.
When coded as 'other', a text description SHALL be provided.">placeOfOccurrence</a><a name="mccod-frame-b-model.generalMedicalData.externalCause.placeOfOccurrence"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Place of occurrence</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath" title="Data elements specific to fetal or infant deaths.
CONDITIONAL GUIDANCE:
This sub-section SHOULD be populated when:
- The deceased was an infant aged less than 28 days at death, OR
- The death was recorded as a stillbirth
This is enforced as a warning-level invariant in MCCoDComposition
using Patient.birthDate compared to Composition.date.
When this section is intentionally omitted for a non-infant death,
the Composition.section[frameBFetalInfant].emptyReason SHALL be
provided.">fetalOrInfantDeath</a><a name="mccod-frame-b-model.fetalOrInfantDeath"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Fetal or Infant Death</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath.multiplePregnancy" title="Whether the death occurred in the context of a multiple pregnancy.
Coded as: yes | no | unknown">multiplePregnancy</a><a name="mccod-frame-b-model.fetalOrInfantDeath.multiplePregnancy"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Multiple pregnancy (Yes/No/Unknown)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath.stillborn" title="Whether the death was a stillbirth (fetal death after 28 weeks
of gestation with no signs of life after delivery).
Coded as: yes | no | unknown">stillborn</a><a name="mccod-frame-b-model.fetalOrInfantDeath.stillborn"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Stillborn (Yes/No/Unknown)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath.hoursSurvived" title="Number of hours the infant survived if death occurred within
24 hours of birth. Applicable only when stillborn is 'no'.">hoursSurvived</a><a name="mccod-frame-b-model.fetalOrInfantDeath.hoursSurvived"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#integer">integer</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Hours survived if death within 24 hours</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath.birthWeightGrams" title="Birth weight of the infant or fetus in grams.">birthWeightGrams</a><a name="mccod-frame-b-model.fetalOrInfantDeath.birthWeightGrams"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#integer">integer</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Birth weight in grams</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath.completedWeeksOfPregnancy" title="Gestational age at birth expressed as completed weeks of pregnancy.">completedWeeksOfPregnancy</a><a name="mccod-frame-b-model.fetalOrInfantDeath.completedWeeksOfPregnancy"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#integer">integer</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Number of completed weeks of pregnancy</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath.ageOfMotherYears" title="Age of the mother at the time of birth/delivery, in years.">ageOfMotherYears</a><a name="mccod-frame-b-model.fetalOrInfantDeath.ageOfMotherYears"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#integer">integer</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Age of mother in years</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.fetalOrInfantDeath.perinatalMaternalConditions" title="Conditions of the mother that affected the fetus or newborn,
relevant to a perinatal death. Free text as written by the
certifying practitioner.">perinatalMaternalConditions</a><a name="mccod-frame-b-model.fetalOrInfantDeath.perinatalMaternalConditions"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Perinatal maternal conditions</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.womenOfReproductiveAge" title="Data elements specific to deaths of women of reproductive age (15–49).
CONDITIONAL GUIDANCE:
This sub-section SHOULD be populated when:
- The deceased was recorded as female, AND
- Age at death was between 15 and 49 years (inclusive)
This is enforced as a warning-level invariant in MCCoDComposition
using Patient.gender and calculated age at death.
When this section is intentionally omitted for a male deceased or
a female outside reproductive age, the
Composition.section[frameBPregnancy].emptyReason SHALL be provided.">womenOfReproductiveAge</a><a name="mccod-frame-b-model.womenOfReproductiveAge"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Women of Reproductive Age</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.womenOfReproductiveAge.pregnantWithinPastYear" title="Whether the deceased was pregnant at any point during the year
preceding death. This is the outer gating question for this section.
Coded as: yes | no | unknown
Cardinality 1..1 within the womenOfReproductiveAge backbone —
if this backbone is present, this question SHALL be answered.">pregnantWithinPastYear</a><a name="mccod-frame-b-model.womenOfReproductiveAge.pregnantWithinPastYear"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Was the deceased pregnant within past year? (Yes/No/Unknown)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.womenOfReproductiveAge.pregnancyTiming" title="The timing of the pregnancy relative to the time of death.
Applicable only when pregnantWithinPastYear is 'yes'.
Required binding to mccod-pregnancy-status-codes ValueSet:
- When she died
- Within the 42 days preceding her death
- Within 43 days up to 1 year preceding her death
- Exact pregnancy timing unknown">pregnancyTiming</a><a name="mccod-frame-b-model.womenOfReproductiveAge.pregnancyTiming"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Timing of pregnancy relative to death</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-b-model-definitions.html#mccod-frame-b-model.womenOfReproductiveAge.pregnancyContributedToDeath" title="Whether the pregnancy contributed to the death of the woman.
Applicable only when pregnantWithinPastYear is 'yes'.
Coded as: yes | no | unknown">pregnancyContributedToDeath</a><a name="mccod-frame-b-model.womenOfReproductiveAge.pregnancyContributedToDeath"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Did pregnancy contribute to death? (Yes/No/Unknown)</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
</text>
<url
value="http://mccod.w3datanet.com/fhir/StructureDefinition/mccod-frame-b-model"/>
<version value="0.1.0"/>
<name value="MCCoDFrameBModel"/>
<title value="MCCoD Frame B Logical Model — Other Medical Data"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2026-05-21"/>
<publisher value="Asia eHealth Information Network (AeHIN)"/>
<contact>
<name value="Asia eHealth Information Network (AeHIN)"/>
<telecom>
<system value="url"/>
<value value="https://www.asiaehealthinformationnetwork.org"/>
</telecom>
</contact>
<contact>
<name value="AeHIN Secretariat"/>
<telecom>
<system value="url"/>
<value value="https://www.asiaehealthinformationnetwork.org"/>
</telecom>
</contact>
<description
value="Logical model representing the data elements of Frame B (Other Medical
Data) of the WHO Medical Certificate of Cause of Death (MCCoD).
Frame B is OPTIONAL at the section level. However, certain sub-sections
SHOULD be populated based on the clinical context of the death:
- The Fetal or Infant Death sub-section SHOULD be populated when the
deceased was an infant or newborn (age at death less than 28 days),
or when the death was a stillbirth.
- The Women of Reproductive Age sub-section SHOULD be populated when
the deceased was female and aged 15–49 years at time of death.
- External cause elements SHOULD be populated when manner of death
is Assault, Accident, Legal Intervention, Intentional Self Harm,
or War.
These conditional requirements are enforced as warning-level invariants
in the MCCoDComposition profile, not as hard errors, consistent with
the optional nature of Frame B.
This model is derived from:
- WHO International Form of Medical Certificate of Cause of Death
- openEHR-EHR-EVALUATION.death_summary.v0 (CKM archetype)
- WHO SMART Guidelines L2 DAK data dictionary pattern"/>
<jurisdiction>
<coding>
<system value="http://un.org"/>
<code value="142"/>
<display value="Asia"/>
</coding>
<coding>
<system value="http://hl7.org"/>
<code value="X1"/>
<display value="Asia"/>
</coding>
</jurisdiction>
<copyright value="Copyright 2026 AeHIN. Licensed under CC0-1.0."/>
<fhirVersion value="4.0.1"/>
<mapping>
<identity value="WHO-MCCoD"/>
<uri
value="https://www.who.int/standards/classifications/classification-of-diseases/mccod"/>
<name value="WHO Medical Certificate of Cause of Death"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<uri value="https://ckm.openehr.org/ckm/archetypes/1013.1.5605"/>
<name value="openEHR death_summary archetype (v0)"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<uri value="http://mccod.w3datanet.com/fhir"/>
<name value="AeHIN MCCoD FHIR IG Profiles"/>
</mapping>
<kind value="logical"/>
<abstract value="false"/>
<type
value="http://mccod.w3datanet.com/fhir/StructureDefinition/mccod-frame-b-model"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
<derivation value="specialization"/>
<snapshot>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
<valueString value="4.0.1"/>
</extension>
<element id="mccod-frame-b-model">
<path value="mccod-frame-b-model"/>
<short value="MCCoD Frame B Logical Model — Other Medical Data"/>
<definition
value="Logical model representing the data elements of Frame B (Other Medical
Data) of the WHO Medical Certificate of Cause of Death (MCCoD).
Frame B is OPTIONAL at the section level. However, certain sub-sections
SHOULD be populated based on the clinical context of the death:
- The Fetal or Infant Death sub-section SHOULD be populated when the
deceased was an infant or newborn (age at death less than 28 days),
or when the death was a stillbirth.
- The Women of Reproductive Age sub-section SHOULD be populated when
the deceased was female and aged 15–49 years at time of death.
- External cause elements SHOULD be populated when manner of death
is Assault, Accident, Legal Intervention, Intentional Self Harm,
or War.
These conditional requirements are enforced as warning-level invariants
in the MCCoDComposition profile, not as hard errors, consistent with
the optional nature of Frame B.
This model is derived from:
- WHO International Form of Medical Certificate of Cause of Death
- openEHR-EHR-EVALUATION.death_summary.v0 (CKM archetype)
- WHO SMART Guidelines L2 DAK data dictionary pattern"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<isModifier value="false"/>
</element>
<element id="mccod-frame-b-model.generalMedicalData">
<path value="mccod-frame-b-model.generalMedicalData"/>
<short value="General Medical Data"/>
<definition
value="General medical data about the circumstances of death including
surgery, autopsy, manner of death, and external cause details.
This sub-section is optional but SHOULD be populated when any
of its elements are known."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.generalMedicalData"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Other medical data (surgery, autopsy, manner, external cause)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/other_medical_data"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="Composition.section[frameBGeneral]"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.id">
<path value="mccod-frame-b-model.generalMedicalData.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.extension">
<path value="mccod-frame-b-model.generalMedicalData.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.modifierExtension">
<path value="mccod-frame-b-model.generalMedicalData.modifierExtension"/>
<short value="Extensions that cannot be ignored even if unrecognized"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<requirements
value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
<alias value="extensions"/>
<alias value="user content"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.surgeryPerformed">
<path value="mccod-frame-b-model.generalMedicalData.surgeryPerformed"/>
<short value="Surgery within last 4 weeks"/>
<definition
value="Documents whether surgery was performed within the 4 weeks
preceding death. Relevant for determining whether surgery may
have contributed to the cause of death."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Was surgery performed within the last 4 weeks?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.id">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.extension">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.modifierExtension">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.modifierExtension"/>
<short value="Extensions that cannot be ignored even if unrecognized"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<requirements
value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
<alias value="extensions"/>
<alias value="user content"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.wasPerformed">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.wasPerformed"/>
<short value="Surgery performed (Yes/No/Unknown)"/>
<definition
value="Whether surgery was performed within the last 4 weeks before death.
Coded as: yes | no | unknown"/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.wasPerformed"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Surgery: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history/performed"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed.valueCodeableConcept"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.dateOfSurgery">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.dateOfSurgery"/>
<short value="Date of surgery"/>
<definition
value="Date surgery was performed. Required when wasPerformed is 'yes'."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.dateOfSurgery"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="date"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — If yes please specify date of surgery"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history/date"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed.effectiveDateTime"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.reasonForSurgery">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.reasonForSurgery"/>
<short value="Reason for surgery"/>
<definition
value="Disease or condition for which surgery was performed.
Required when wasPerformed is 'yes'.
Free text as written by certifying practitioner."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.reasonForSurgery"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If yes please specify reason for surgery (disease or condition)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history/reason"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed.component[reason].valueString"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.autopsy">
<path value="mccod-frame-b-model.generalMedicalData.autopsy"/>
<short value="Autopsy"/>
<definition
value="Documents whether an autopsy was requested and whether findings
were used in the certification of cause of death."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.generalMedicalData.autopsy"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Was an autopsy requested?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/autopsy"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDAutopsyPerformed"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.autopsy.id">
<path value="mccod-frame-b-model.generalMedicalData.autopsy.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.autopsy.extension">
<path value="mccod-frame-b-model.generalMedicalData.autopsy.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.autopsy.modifierExtension">
<path
value="mccod-frame-b-model.generalMedicalData.autopsy.modifierExtension"/>
<short value="Extensions that cannot be ignored even if unrecognized"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<requirements
value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
<alias value="extensions"/>
<alias value="user content"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.autopsy.wasRequested">
<path
value="mccod-frame-b-model.generalMedicalData.autopsy.wasRequested"/>
<short value="Autopsy requested (Yes/No/Unknown)"/>
<definition
value="Whether an autopsy was requested.
Coded as: yes | no | unknown"/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.autopsy.wasRequested"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Autopsy: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/autopsy/requested"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDAutopsyPerformed.valueCodeableConcept"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.autopsy.findingsUsedInCertification">
<path
value="mccod-frame-b-model.generalMedicalData.autopsy.findingsUsedInCertification"/>
<short value="Autopsy findings used in certification (Yes/No/Unknown)"/>
<definition
value="Whether autopsy findings were used in the certification of the
cause of death. Applicable only when wasRequested is 'yes'.
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.autopsy.findingsUsedInCertification"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If yes were the findings used in the certification?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/autopsy/findings_used"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDAutopsyPerformed.component[findingsUsed].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.mannerOfDeath">
<path value="mccod-frame-b-model.generalMedicalData.mannerOfDeath"/>
<short value="Manner of Death"/>
<definition
value="The manner in which the death occurred. Drawn from the
mccod-manner-of-death-codes ValueSet."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.generalMedicalData.mannerOfDeath"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Manner of death"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/manner_of_death"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDMannerOfDeath"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.mannerOfDeath.id">
<path value="mccod-frame-b-model.generalMedicalData.mannerOfDeath.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.mannerOfDeath.extension">
<path
value="mccod-frame-b-model.generalMedicalData.mannerOfDeath.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.mannerOfDeath.modifierExtension">
<path
value="mccod-frame-b-model.generalMedicalData.mannerOfDeath.modifierExtension"/>
<short value="Extensions that cannot be ignored even if unrecognized"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<requirements
value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
<alias value="extensions"/>
<alias value="user content"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.mannerOfDeath.manner">
<path
value="mccod-frame-b-model.generalMedicalData.mannerOfDeath.manner"/>
<short value="Manner of death code"/>
<definition
value="Coded manner of death from mccod-manner-of-death-codes ValueSet.
Required binding: Disease | Assault | Accident | Legal Intervention |
Could Not Be Determined | Pending Investigation |
Intentional Self Harm | War | Unknown"/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.mannerOfDeath.manner"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Manner of death checkbox"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/manner_of_death/DV_CODED_TEXT"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDMannerOfDeath.valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.externalCause">
<path value="mccod-frame-b-model.generalMedicalData.externalCause"/>
<short value="External Cause or Poisoning"/>
<definition
value="Details of the external cause of death or poisoning.
SHOULD be populated when manner of death is one of:
Assault, Accident, Legal Intervention, Intentional Self Harm, War.
This conditional requirement is enforced as a warning-level
invariant in MCCoDComposition."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.generalMedicalData.externalCause"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — If external cause or poisoning"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDInjuryIncident"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.externalCause.id">
<path value="mccod-frame-b-model.generalMedicalData.externalCause.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.extension">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.modifierExtension">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.modifierExtension"/>
<short value="Extensions that cannot be ignored even if unrecognized"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<requirements
value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
<alias value="extensions"/>
<alias value="user content"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.description">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.description"/>
<short value="Description of external cause"/>
<definition
value="Free-text description of how the external cause occurred.
If poisoning, the poisoning agent SHALL be specified here."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.description"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Please describe how external cause occurred (if poisoning please specify poisoning agent)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause/description"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDInjuryIncident.component[description].valueString"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.dateOfInjury">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.dateOfInjury"/>
<short value="Date of injury"/>
<definition
value="Date on which the external cause (injury or poisoning) occurred."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.dateOfInjury"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="date"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Date of injury"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause/date_of_injury"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDInjuryIncident.effectiveDateTime"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.placeOfOccurrence">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.placeOfOccurrence"/>
<short value="Place of occurrence"/>
<definition
value="Place where the external cause occurred.
Required binding to mccod-place-of-injury-codes ValueSet.
When coded as 'other', a text description SHALL be provided."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.placeOfOccurrence"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Place of Occurrence of the external cause"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause/place_of_occurrence"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDInjuryIncident.component[placeOfOccurrence].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath">
<path value="mccod-frame-b-model.fetalOrInfantDeath"/>
<short value="Fetal or Infant Death"/>
<definition
value="Data elements specific to fetal or infant deaths.
CONDITIONAL GUIDANCE:
This sub-section SHOULD be populated when:
- The deceased was an infant aged less than 28 days at death, OR
- The death was recorded as a stillbirth
This is enforced as a warning-level invariant in MCCoDComposition
using Patient.birthDate compared to Composition.date.
When this section is intentionally omitted for a non-infant death,
the Composition.section[frameBFetalInfant].emptyReason SHALL be
provided."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.fetalOrInfantDeath"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Fetal or infant Death"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="Composition.section[frameBFetalInfant]"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.id">
<path value="mccod-frame-b-model.fetalOrInfantDeath.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.extension">
<path value="mccod-frame-b-model.fetalOrInfantDeath.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.modifierExtension">
<path value="mccod-frame-b-model.fetalOrInfantDeath.modifierExtension"/>
<short value="Extensions that cannot be ignored even if unrecognized"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<requirements
value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
<alias value="extensions"/>
<alias value="user content"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.multiplePregnancy">
<path value="mccod-frame-b-model.fetalOrInfantDeath.multiplePregnancy"/>
<short value="Multiple pregnancy (Yes/No/Unknown)"/>
<definition
value="Whether the death occurred in the context of a multiple pregnancy.
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.fetalOrInfantDeath.multiplePregnancy"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Multiple pregnancy: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/multiple_pregnancy"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[multiplePregnancy].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.stillborn">
<path value="mccod-frame-b-model.fetalOrInfantDeath.stillborn"/>
<short value="Stillborn (Yes/No/Unknown)"/>
<definition
value="Whether the death was a stillbirth (fetal death after 28 weeks
of gestation with no signs of life after delivery).
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.fetalOrInfantDeath.stillborn"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Stillborn?: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/stillborn"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[stillborn].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.hoursSurvived">
<path value="mccod-frame-b-model.fetalOrInfantDeath.hoursSurvived"/>
<short value="Hours survived if death within 24 hours"/>
<definition
value="Number of hours the infant survived if death occurred within
24 hours of birth. Applicable only when stillborn is 'no'."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.fetalOrInfantDeath.hoursSurvived"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If death within 24h specify number of hours survived"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/hours_survived"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[hoursSurvived].valueInteger"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.birthWeightGrams">
<path value="mccod-frame-b-model.fetalOrInfantDeath.birthWeightGrams"/>
<short value="Birth weight in grams"/>
<definition value="Birth weight of the infant or fetus in grams."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.fetalOrInfantDeath.birthWeightGrams"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Birth weight (in grams)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/birth_weight"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[birthWeight].valueInteger"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.fetalOrInfantDeath.completedWeeksOfPregnancy">
<path
value="mccod-frame-b-model.fetalOrInfantDeath.completedWeeksOfPregnancy"/>
<short value="Number of completed weeks of pregnancy"/>
<definition
value="Gestational age at birth expressed as completed weeks of pregnancy."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.fetalOrInfantDeath.completedWeeksOfPregnancy"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Number of completed weeks of pregnancy"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/gestational_age"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[gestationalAge].valueInteger"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.ageOfMotherYears">
<path value="mccod-frame-b-model.fetalOrInfantDeath.ageOfMotherYears"/>
<short value="Age of mother in years"/>
<definition
value="Age of the mother at the time of birth/delivery, in years."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.fetalOrInfantDeath.ageOfMotherYears"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Age of mother (years)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/mother_age"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[motherAge].valueInteger"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.fetalOrInfantDeath.perinatalMaternalConditions">
<path
value="mccod-frame-b-model.fetalOrInfantDeath.perinatalMaternalConditions"/>
<short value="Perinatal maternal conditions"/>
<definition
value="Conditions of the mother that affected the fetus or newborn,
relevant to a perinatal death. Free text as written by the
certifying practitioner."/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.fetalOrInfantDeath.perinatalMaternalConditions"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If death was perinatal, please state conditions of mother that affected the fetus and newborn"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/maternal_conditions"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[maternalConditions].valueString"/>
</mapping>
</element>
<element id="mccod-frame-b-model.womenOfReproductiveAge">
<path value="mccod-frame-b-model.womenOfReproductiveAge"/>
<short value="Women of Reproductive Age"/>
<definition
value="Data elements specific to deaths of women of reproductive age (15–49).
CONDITIONAL GUIDANCE:
This sub-section SHOULD be populated when:
- The deceased was recorded as female, AND
- Age at death was between 15 and 49 years (inclusive)
This is enforced as a warning-level invariant in MCCoDComposition
using Patient.gender and calculated age at death.
When this section is intentionally omitted for a male deceased or
a female outside reproductive age, the
Composition.section[frameBPregnancy].emptyReason SHALL be provided."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="mccod-frame-b-model.womenOfReproductiveAge"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — For women of reproductive age"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="Composition.section[frameBPregnancy]"/>
</mapping>
</element>
<element id="mccod-frame-b-model.womenOfReproductiveAge.id">
<path value="mccod-frame-b-model.womenOfReproductiveAge.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="mccod-frame-b-model.womenOfReproductiveAge.extension">
<path value="mccod-frame-b-model.womenOfReproductiveAge.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.womenOfReproductiveAge.modifierExtension">
<path
value="mccod-frame-b-model.womenOfReproductiveAge.modifierExtension"/>
<short value="Extensions that cannot be ignored even if unrecognized"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<requirements
value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
<alias value="extensions"/>
<alias value="user content"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.womenOfReproductiveAge.pregnantWithinPastYear">
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnantWithinPastYear"/>
<short
value="Was the deceased pregnant within past year? (Yes/No/Unknown)"/>
<definition
value="Whether the deceased was pregnant at any point during the year
preceding death. This is the outer gating question for this section.
Coded as: yes | no | unknown
Cardinality 1..1 within the womenOfReproductiveAge backbone —
if this backbone is present, this question SHALL be answered."/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnantWithinPastYear"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Was the deceased pregnant within past year?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status/pregnant_within_year"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDPregnancyStatus.component[pregnantWithinYear].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.womenOfReproductiveAge.pregnancyTiming">
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnancyTiming"/>
<short value="Timing of pregnancy relative to death"/>
<definition
value="The timing of the pregnancy relative to the time of death.
Applicable only when pregnantWithinPastYear is 'yes'.
Required binding to mccod-pregnancy-status-codes ValueSet:
- When she died
- Within the 42 days preceding her death
- Within 43 days up to 1 year preceding her death
- Exact pregnancy timing unknown"/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnancyTiming"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — If yes, was she pregnant: timing options"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status/timing"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDPregnancyStatus.component[pregnancyTiming].valueCodeableConcept"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.womenOfReproductiveAge.pregnancyContributedToDeath">
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnancyContributedToDeath"/>
<short value="Did pregnancy contribute to death? (Yes/No/Unknown)"/>
<definition
value="Whether the pregnancy contributed to the death of the woman.
Applicable only when pregnantWithinPastYear is 'yes'.
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<base>
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnancyContributedToDeath"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Did the pregnancy contribute to the death: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status/contributed_to_death"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDPregnancyStatus.component[contributedToDeath].valueCodeableConcept"/>
</mapping>
</element>
</snapshot>
<differential>
<element id="mccod-frame-b-model">
<path value="mccod-frame-b-model"/>
<short value="MCCoD Frame B Logical Model — Other Medical Data"/>
<definition
value="Logical model representing the data elements of Frame B (Other Medical
Data) of the WHO Medical Certificate of Cause of Death (MCCoD).
Frame B is OPTIONAL at the section level. However, certain sub-sections
SHOULD be populated based on the clinical context of the death:
- The Fetal or Infant Death sub-section SHOULD be populated when the
deceased was an infant or newborn (age at death less than 28 days),
or when the death was a stillbirth.
- The Women of Reproductive Age sub-section SHOULD be populated when
the deceased was female and aged 15–49 years at time of death.
- External cause elements SHOULD be populated when manner of death
is Assault, Accident, Legal Intervention, Intentional Self Harm,
or War.
These conditional requirements are enforced as warning-level invariants
in the MCCoDComposition profile, not as hard errors, consistent with
the optional nature of Frame B.
This model is derived from:
- WHO International Form of Medical Certificate of Cause of Death
- openEHR-EHR-EVALUATION.death_summary.v0 (CKM archetype)
- WHO SMART Guidelines L2 DAK data dictionary pattern"/>
</element>
<element id="mccod-frame-b-model.generalMedicalData">
<path value="mccod-frame-b-model.generalMedicalData"/>
<short value="General Medical Data"/>
<definition
value="General medical data about the circumstances of death including
surgery, autopsy, manner of death, and external cause details.
This sub-section is optional but SHOULD be populated when any
of its elements are known."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Other medical data (surgery, autopsy, manner, external cause)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/other_medical_data"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="Composition.section[frameBGeneral]"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.surgeryPerformed">
<path value="mccod-frame-b-model.generalMedicalData.surgeryPerformed"/>
<short value="Surgery within last 4 weeks"/>
<definition
value="Documents whether surgery was performed within the 4 weeks
preceding death. Relevant for determining whether surgery may
have contributed to the cause of death."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Was surgery performed within the last 4 weeks?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.wasPerformed">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.wasPerformed"/>
<short value="Surgery performed (Yes/No/Unknown)"/>
<definition
value="Whether surgery was performed within the last 4 weeks before death.
Coded as: yes | no | unknown"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Surgery: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history/performed"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed.valueCodeableConcept"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.dateOfSurgery">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.dateOfSurgery"/>
<short value="Date of surgery"/>
<definition
value="Date surgery was performed. Required when wasPerformed is 'yes'."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="date"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — If yes please specify date of surgery"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history/date"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed.effectiveDateTime"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.surgeryPerformed.reasonForSurgery">
<path
value="mccod-frame-b-model.generalMedicalData.surgeryPerformed.reasonForSurgery"/>
<short value="Reason for surgery"/>
<definition
value="Disease or condition for which surgery was performed.
Required when wasPerformed is 'yes'.
Free text as written by certifying practitioner."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If yes please specify reason for surgery (disease or condition)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/surgical_history/reason"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDSurgeryPerformed.component[reason].valueString"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.autopsy">
<path value="mccod-frame-b-model.generalMedicalData.autopsy"/>
<short value="Autopsy"/>
<definition
value="Documents whether an autopsy was requested and whether findings
were used in the certification of cause of death."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Was an autopsy requested?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/autopsy"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDAutopsyPerformed"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.autopsy.wasRequested">
<path
value="mccod-frame-b-model.generalMedicalData.autopsy.wasRequested"/>
<short value="Autopsy requested (Yes/No/Unknown)"/>
<definition
value="Whether an autopsy was requested.
Coded as: yes | no | unknown"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Autopsy: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/autopsy/requested"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDAutopsyPerformed.valueCodeableConcept"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.autopsy.findingsUsedInCertification">
<path
value="mccod-frame-b-model.generalMedicalData.autopsy.findingsUsedInCertification"/>
<short value="Autopsy findings used in certification (Yes/No/Unknown)"/>
<definition
value="Whether autopsy findings were used in the certification of the
cause of death. Applicable only when wasRequested is 'yes'.
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If yes were the findings used in the certification?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/autopsy/findings_used"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDAutopsyPerformed.component[findingsUsed].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.mannerOfDeath">
<path value="mccod-frame-b-model.generalMedicalData.mannerOfDeath"/>
<short value="Manner of Death"/>
<definition
value="The manner in which the death occurred. Drawn from the
mccod-manner-of-death-codes ValueSet."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Manner of death"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/manner_of_death"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDMannerOfDeath"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.mannerOfDeath.manner">
<path
value="mccod-frame-b-model.generalMedicalData.mannerOfDeath.manner"/>
<short value="Manner of death code"/>
<definition
value="Coded manner of death from mccod-manner-of-death-codes ValueSet.
Required binding: Disease | Assault | Accident | Legal Intervention |
Could Not Be Determined | Pending Investigation |
Intentional Self Harm | War | Unknown"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="CodeableConcept"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Manner of death checkbox"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/manner_of_death/DV_CODED_TEXT"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDMannerOfDeath.valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.generalMedicalData.externalCause">
<path value="mccod-frame-b-model.generalMedicalData.externalCause"/>
<short value="External Cause or Poisoning"/>
<definition
value="Details of the external cause of death or poisoning.
SHOULD be populated when manner of death is one of:
Assault, Accident, Legal Intervention, Intentional Self Harm, War.
This conditional requirement is enforced as a warning-level
invariant in MCCoDComposition."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — If external cause or poisoning"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDInjuryIncident"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.description">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.description"/>
<short value="Description of external cause"/>
<definition
value="Free-text description of how the external cause occurred.
If poisoning, the poisoning agent SHALL be specified here."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Please describe how external cause occurred (if poisoning please specify poisoning agent)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause/description"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDInjuryIncident.component[description].valueString"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.dateOfInjury">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.dateOfInjury"/>
<short value="Date of injury"/>
<definition
value="Date on which the external cause (injury or poisoning) occurred."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="date"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Date of injury"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause/date_of_injury"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="MCCoDInjuryIncident.effectiveDateTime"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.generalMedicalData.externalCause.placeOfOccurrence">
<path
value="mccod-frame-b-model.generalMedicalData.externalCause.placeOfOccurrence"/>
<short value="Place of occurrence"/>
<definition
value="Place where the external cause occurred.
Required binding to mccod-place-of-injury-codes ValueSet.
When coded as 'other', a text description SHALL be provided."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="CodeableConcept"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Place of Occurrence of the external cause"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/external_cause/place_of_occurrence"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDInjuryIncident.component[placeOfOccurrence].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath">
<path value="mccod-frame-b-model.fetalOrInfantDeath"/>
<short value="Fetal or Infant Death"/>
<definition
value="Data elements specific to fetal or infant deaths.
CONDITIONAL GUIDANCE:
This sub-section SHOULD be populated when:
- The deceased was an infant aged less than 28 days at death, OR
- The death was recorded as a stillbirth
This is enforced as a warning-level invariant in MCCoDComposition
using Patient.birthDate compared to Composition.date.
When this section is intentionally omitted for a non-infant death,
the Composition.section[frameBFetalInfant].emptyReason SHALL be
provided."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Fetal or infant Death"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="Composition.section[frameBFetalInfant]"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.multiplePregnancy">
<path value="mccod-frame-b-model.fetalOrInfantDeath.multiplePregnancy"/>
<short value="Multiple pregnancy (Yes/No/Unknown)"/>
<definition
value="Whether the death occurred in the context of a multiple pregnancy.
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Multiple pregnancy: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/multiple_pregnancy"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[multiplePregnancy].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.stillborn">
<path value="mccod-frame-b-model.fetalOrInfantDeath.stillborn"/>
<short value="Stillborn (Yes/No/Unknown)"/>
<definition
value="Whether the death was a stillbirth (fetal death after 28 weeks
of gestation with no signs of life after delivery).
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Stillborn?: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/stillborn"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[stillborn].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.hoursSurvived">
<path value="mccod-frame-b-model.fetalOrInfantDeath.hoursSurvived"/>
<short value="Hours survived if death within 24 hours"/>
<definition
value="Number of hours the infant survived if death occurred within
24 hours of birth. Applicable only when stillborn is 'no'."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If death within 24h specify number of hours survived"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/hours_survived"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[hoursSurvived].valueInteger"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.birthWeightGrams">
<path value="mccod-frame-b-model.fetalOrInfantDeath.birthWeightGrams"/>
<short value="Birth weight in grams"/>
<definition value="Birth weight of the infant or fetus in grams."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Birth weight (in grams)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/birth_weight"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[birthWeight].valueInteger"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.fetalOrInfantDeath.completedWeeksOfPregnancy">
<path
value="mccod-frame-b-model.fetalOrInfantDeath.completedWeeksOfPregnancy"/>
<short value="Number of completed weeks of pregnancy"/>
<definition
value="Gestational age at birth expressed as completed weeks of pregnancy."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Number of completed weeks of pregnancy"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/gestational_age"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[gestationalAge].valueInteger"/>
</mapping>
</element>
<element id="mccod-frame-b-model.fetalOrInfantDeath.ageOfMotherYears">
<path value="mccod-frame-b-model.fetalOrInfantDeath.ageOfMotherYears"/>
<short value="Age of mother in years"/>
<definition
value="Age of the mother at the time of birth/delivery, in years."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="integer"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Age of mother (years)"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/mother_age"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[motherAge].valueInteger"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.fetalOrInfantDeath.perinatalMaternalConditions">
<path
value="mccod-frame-b-model.fetalOrInfantDeath.perinatalMaternalConditions"/>
<short value="Perinatal maternal conditions"/>
<definition
value="Conditions of the mother that affected the fetus or newborn,
relevant to a perinatal death. Free text as written by the
certifying practitioner."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — If death was perinatal, please state conditions of mother that affected the fetus and newborn"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/fetal_or_infant_death/maternal_conditions"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDFetalOrInfantDeath.component[maternalConditions].valueString"/>
</mapping>
</element>
<element id="mccod-frame-b-model.womenOfReproductiveAge">
<path value="mccod-frame-b-model.womenOfReproductiveAge"/>
<short value="Women of Reproductive Age"/>
<definition
value="Data elements specific to deaths of women of reproductive age (15–49).
CONDITIONAL GUIDANCE:
This sub-section SHOULD be populated when:
- The deceased was recorded as female, AND
- Age at death was between 15 and 49 years (inclusive)
This is enforced as a warning-level invariant in MCCoDComposition
using Patient.gender and calculated age at death.
When this section is intentionally omitted for a male deceased or
a female outside reproductive age, the
Composition.section[frameBPregnancy].emptyReason SHALL be provided."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — For women of reproductive age"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map value="Composition.section[frameBPregnancy]"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.womenOfReproductiveAge.pregnantWithinPastYear">
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnantWithinPastYear"/>
<short
value="Was the deceased pregnant within past year? (Yes/No/Unknown)"/>
<definition
value="Whether the deceased was pregnant at any point during the year
preceding death. This is the outer gating question for this section.
Coded as: yes | no | unknown
Cardinality 1..1 within the womenOfReproductiveAge backbone —
if this backbone is present, this question SHALL be answered."/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — Was the deceased pregnant within past year?"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status/pregnant_within_year"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDPregnancyStatus.component[pregnantWithinYear].valueCodeableConcept"/>
</mapping>
</element>
<element id="mccod-frame-b-model.womenOfReproductiveAge.pregnancyTiming">
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnancyTiming"/>
<short value="Timing of pregnancy relative to death"/>
<definition
value="The timing of the pregnancy relative to the time of death.
Applicable only when pregnantWithinPastYear is 'yes'.
Required binding to mccod-pregnancy-status-codes ValueSet:
- When she died
- Within the 42 days preceding her death
- Within 43 days up to 1 year preceding her death
- Exact pregnancy timing unknown"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="CodeableConcept"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map value="Frame B — If yes, was she pregnant: timing options"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status/timing"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDPregnancyStatus.component[pregnancyTiming].valueCodeableConcept"/>
</mapping>
</element>
<element
id="mccod-frame-b-model.womenOfReproductiveAge.pregnancyContributedToDeath">
<path
value="mccod-frame-b-model.womenOfReproductiveAge.pregnancyContributedToDeath"/>
<short value="Did pregnancy contribute to death? (Yes/No/Unknown)"/>
<definition
value="Whether the pregnancy contributed to the death of the woman.
Applicable only when pregnantWithinPastYear is 'yes'.
Coded as: yes | no | unknown"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<mapping>
<identity value="WHO-MCCoD"/>
<map
value="Frame B — Did the pregnancy contribute to the death: Yes / No / Unknown"/>
</mapping>
<mapping>
<identity value="openEHR"/>
<map value="death_summary/pregnancy_status/contributed_to_death"/>
</mapping>
<mapping>
<identity value="FHIR-MCCoD"/>
<map
value="MCCoDPregnancyStatus.component[contributedToDeath].valueCodeableConcept"/>
</mapping>
</element>
</differential>
</StructureDefinition>