<?xml version="1.0" encoding="UTF-8"?>

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="mccod-frame-a-model"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition mccod-frame-a-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 &amp; 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-a-model-definitions.html#mccod-frame-a-model" title="Logical model representing the data elements of Frame A (Medical Data,
Parts 1 and 2) of the WHO Medical Certificate of Cause of Death (MCCoD).

Frame A is MANDATORY in its entirety. At minimum, the immediate cause
of death (line a) and the underlying cause of death MUST be present.
Lines b, c, and d are required if the preceding line is present and
a further antecedent cause exists. The underlying cause of death is
captured as a separate mandatory element and may differ from any of
lines a–d, consistent with WHO DORIS methodology for ICD-11.

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-a-model</a><a name="mccod-frame-a-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 A Logical Model — Cause of Death</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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain" title="The ordered chain of conditions leading to death, as reported by the
certifying practitioner. Line a is always mandatory. Lines b, c, d
are conditionally mandatory — required when the certifier identifies
a further antecedent cause for the preceding line.">causeOfDeathChain</a><a name="mccod-frame-a-model.causeOfDeathChain"> </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#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">Cause of Death Chain (Frame A Part 1)</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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineA" title="The disease, injury, or complication that directly caused death.
This is the condition that was the final step in the chain of events
leading to death. Always mandatory.">lineA</a><a name="mccod-frame-a-model.causeOfDeathChain.lineA"> </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#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">Line a — Immediate Cause of Death</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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineA.causeText" title="Free-text description of the immediate cause of death as written
by the certifying practitioner. Always mandatory regardless of
whether a coded value is also provided.">causeText</a><a name="mccod-frame-a-model.causeOfDeathChain.lineA.causeText"> </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#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">Cause description (text)</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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineA.causeCode" title="Coded representation of the immediate cause of death.
SHALL use ICD-10 or ICD-11 system URI. Text is always required
even when a code is present. Extensible binding to
mccod-cause-of-death-codes ValueSet.">causeCode</a><a name="mccod-frame-a-model.causeOfDeathChain.lineA.causeCode"> </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">Cause code (ICD-10 or ICD-11)</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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineA.onsetToDeathInterval" title="Approximate time between onset of the condition and death,
as reported by the certifying practitioner (e.g. \&quot;2 hours\&quot;,
\&quot;3 weeks\&quot;, \&quot;5 years\&quot;). Represented as a string to accommodate
the imprecise nature of clinician estimates.">onsetToDeathInterval</a><a name="mccod-frame-a-model.causeOfDeathChain.lineA.onsetToDeathInterval"> </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">Approximate interval from onset 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_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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineB" title="The disease or condition that gave rise to the immediate cause (line a).
Required when the certifier identifies a further antecedent cause.
Conditionally mandatory: if present, line a must also be present.">lineB</a><a name="mccod-frame-a-model.causeOfDeathChain.lineB"> </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">Line b — Antecedent 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_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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineB.causeText" title="Cause description (text)">causeText</a><a name="mccod-frame-a-model.causeOfDeathChain.lineB.causeText"> </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#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">Cause description (text)</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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineB.causeCode" title="Cause code (ICD-10 or ICD-11)">causeCode</a><a name="mccod-frame-a-model.causeOfDeathChain.lineB.causeCode"> </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">Cause code (ICD-10 or ICD-11)</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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineB.onsetToDeathInterval" title="Approximate interval from onset to death">onsetToDeathInterval</a><a name="mccod-frame-a-model.causeOfDeathChain.lineB.onsetToDeathInterval"> </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">Approximate interval from onset 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_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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineC" title="The disease or condition that gave rise to line b.
Conditionally mandatory: if present, line b must also be present.">lineC</a><a name="mccod-frame-a-model.causeOfDeathChain.lineC"> </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">Line c — Antecedent 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_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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineC.causeText" title="Cause description (text)">causeText</a><a name="mccod-frame-a-model.causeOfDeathChain.lineC.causeText"> </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#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">Cause description (text)</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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineC.causeCode" title="Cause code (ICD-10 or ICD-11)">causeCode</a><a name="mccod-frame-a-model.causeOfDeathChain.lineC.causeCode"> </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">Cause code (ICD-10 or ICD-11)</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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineC.onsetToDeathInterval" title="Approximate interval from onset to death">onsetToDeathInterval</a><a name="mccod-frame-a-model.causeOfDeathChain.lineC.onsetToDeathInterval"> </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">Approximate interval from onset 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_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: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineD" title="The disease or condition that gave rise to line c.
Conditionally mandatory: if present, line c must also be present.">lineD</a><a name="mccod-frame-a-model.causeOfDeathChain.lineD"> </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">Line d — Antecedent 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-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineD.causeText" title="Cause description (text)">causeText</a><a name="mccod-frame-a-model.causeOfDeathChain.lineD.causeText"> </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#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">Cause description (text)</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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineD.causeCode" title="Cause code (ICD-10 or ICD-11)">causeCode</a><a name="mccod-frame-a-model.causeOfDeathChain.lineD.causeCode"> </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">Cause code (ICD-10 or ICD-11)</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_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_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.causeOfDeathChain.lineD.onsetToDeathInterval" title="Approximate interval from onset to death">onsetToDeathInterval</a><a name="mccod-frame-a-model.causeOfDeathChain.lineD.onsetToDeathInterval"> </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">Approximate interval from onset 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_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: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.underlyingCauseOfDeath" title="The disease or injury that initiated the train of morbid events
leading directly to death, or the circumstances of accident or
violence which produced the fatal injury (WHO definition).

This element is MANDATORY and is captured separately from the
causal chain (lines a–d). Per WHO DORIS methodology for ICD-11,
the underlying cause of death may be a condition that does not
appear on any line of the causal chain — for example, when DORIS
applies a selection or modification rule that identifies a different
condition as the underlying cause.

The underlying cause is the primary basis for mortality statistics.">underlyingCauseOfDeath</a><a name="mccod-frame-a-model.underlyingCauseOfDeath"> </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#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">Underlying Cause of Death</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-a-model-definitions.html#mccod-frame-a-model.underlyingCauseOfDeath.causeText" title="Free-text description of the underlying cause of death.
Always mandatory regardless of whether a coded value is present.">causeText</a><a name="mccod-frame-a-model.underlyingCauseOfDeath.causeText"> </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#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">Underlying cause description (text)</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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.underlyingCauseOfDeath.causeCode" title="Coded representation of the underlying cause of death.
When ICD-11 and DORIS are used, this code is the DORIS-selected
underlying cause and SHALL use the ICD-11 MMS system URI.
When ICD-10 is used, this code is selected per ICD-10 mortality
coding rules and SHALL use the appropriate ICD-10 system URI.">causeCode</a><a name="mccod-frame-a-model.underlyingCauseOfDeath.causeCode"> </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">Underlying cause code (ICD-10 or ICD-11)</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_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: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.underlyingCauseOfDeath.dorisDerived" title="Indicates whether the underlying cause of death was derived using
the WHO DORIS tool for ICD-11. When true, the causeCode SHALL use
the ICD-11 MMS system URI. This element supports audit and
transparency of the coding process.">dorisDerived</a><a name="mccod-frame-a-model.underlyingCauseOfDeath.dorisDerived"> </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#boolean">boolean</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">Derived by DORIS tool</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_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: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.otherSignificantConditions" title="Other significant conditions that contributed to the death but were
not part of the direct causal chain reported in Part 1.
Time intervals may be noted alongside each condition.
Modeled as structured Condition resources, not free text.">otherSignificantConditions</a><a name="mccod-frame-a-model.otherSignificantConditions"> </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..*</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">Other Significant Conditions (Frame A Part 2)<br/></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_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.otherSignificantConditions.conditionText" title="Free-text description of the contributing condition as written by
the certifying practitioner. Always mandatory.">conditionText</a><a name="mccod-frame-a-model.otherSignificantConditions.conditionText"> </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#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">Condition description (text)</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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.otherSignificantConditions.conditionCode" title="Coded representation of the contributing condition.
Extensible binding to mccod-cause-of-death-codes ValueSet.">conditionCode</a><a name="mccod-frame-a-model.otherSignificantConditions.conditionCode"> </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">Condition code (ICD-10 or ICD-11)</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_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: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-mccod-frame-a-model-definitions.html#mccod-frame-a-model.otherSignificantConditions.timeInterval" title="Approximate time interval associated with this condition,
as noted in brackets after the condition per WHO MCCoD guidance
(e.g. \&quot;6 months\&quot;, \&quot;2 years\&quot;). Represented as a string.">timeInterval</a><a name="mccod-frame-a-model.otherSignificantConditions.timeInterval"> </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">Time interval</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-a-model"/>
  <version value="0.1.0"/>
  <name value="MCCoDFrameAModel"/>
  <title value="MCCoD Frame A Logical Model — Cause of Death"/>
  <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 A (Medical Data,&#xA;Parts 1 and 2) of the WHO Medical Certificate of Cause of Death (MCCoD).&#xA;&#xA;Frame A is MANDATORY in its entirety. At minimum, the immediate cause&#xA;of death (line a) and the underlying cause of death MUST be present.&#xA;Lines b, c, and d are required if the preceding line is present and&#xA;a further antecedent cause exists. The underlying cause of death is&#xA;captured as a separate mandatory element and may differ from any of&#xA;lines a–d, consistent with WHO DORIS methodology for ICD-11.&#xA;&#xA;This model is derived from:&#xA;- WHO International Form of Medical Certificate of Cause of Death&#xA;- openEHR-EHR-EVALUATION.death_summary.v0 (CKM archetype)&#xA;- 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-a-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-a-model">
      <path value="mccod-frame-a-model"/>
      <short value="MCCoD Frame A Logical Model — Cause of Death"/>
      <definition value="Logical model representing the data elements of Frame A (Medical Data,&#xA;Parts 1 and 2) of the WHO Medical Certificate of Cause of Death (MCCoD).&#xA;&#xA;Frame A is MANDATORY in its entirety. At minimum, the immediate cause&#xA;of death (line a) and the underlying cause of death MUST be present.&#xA;Lines b, c, and d are required if the preceding line is present and&#xA;a further antecedent cause exists. The underlying cause of death is&#xA;captured as a separate mandatory element and may differ from any of&#xA;lines a–d, consistent with WHO DORIS methodology for ICD-11.&#xA;&#xA;This model is derived from:&#xA;- WHO International Form of Medical Certificate of Cause of Death&#xA;- openEHR-EHR-EVALUATION.death_summary.v0 (CKM archetype)&#xA;- 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-a-model.causeOfDeathChain">
      <path value="mccod-frame-a-model.causeOfDeathChain"/>
      <short value="Cause of Death Chain (Frame A Part 1)"/>
      <definition value="The ordered chain of conditions leading to death, as reported by the&#xA;certifying practitioner. Line a is always mandatory. Lines b, c, d&#xA;are conditionally mandatory — required when the certifier identifies&#xA;a further antecedent cause for the preceding line."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain"/>
        <min value="1"/>
        <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() &gt; 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 A, Part 1, Section 1"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="Composition.section[frameA]"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.id">
      <path value="mccod-frame-a-model.causeOfDeathChain.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-a-model.causeOfDeathChain.extension">
      <path value="mccod-frame-a-model.causeOfDeathChain.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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.modifierExtension">
      <path value="mccod-frame-a-model.causeOfDeathChain.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.&#xA;&#xA;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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineA">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA"/>
      <short value="Line a — Immediate Cause of Death"/>
      <definition value="The disease, injury, or complication that directly caused death.&#xA;This is the condition that was the final step in the chain of events&#xA;leading to death. Always mandatory."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineA"/>
        <min value="1"/>
        <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() &gt; 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 A, Part 1, Section 1, Line a"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/immediate_cause"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=a)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineA.id">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.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-a-model.causeOfDeathChain.lineA.extension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineA.modifierExtension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.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.&#xA;&#xA;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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineA.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Free-text description of the immediate cause of death as written&#xA;by the certifying practitioner. Always mandatory regardless of&#xA;whether a coded value is also provided."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineA.causeText"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line a — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/immediate_cause/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineA.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Coded representation of the immediate cause of death.&#xA;SHALL use ICD-10 or ICD-11 system URI. Text is always required&#xA;even when a code is present. Extensible binding to&#xA;mccod-cause-of-death-codes ValueSet."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineA.causeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line a — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/immediate_cause/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineA.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate time between onset of the condition and death,&#xA;as reported by the certifying practitioner (e.g. \&quot;2 hours\&quot;,&#xA;\&quot;3 weeks\&quot;, \&quot;5 years\&quot;). Represented as a string to accommodate&#xA;the imprecise nature of clinician estimates."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineA.onsetToDeathInterval"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line a — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB"/>
      <short value="Line b — Antecedent Cause"/>
      <definition value="The disease or condition that gave rise to the immediate cause (line a).&#xA;Required when the certifier identifies a further antecedent cause.&#xA;Conditionally mandatory: if present, line a must also be present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineB"/>
        <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() &gt; 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 A, Part 1, Section 1, Line b (Due to)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[1]"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=b)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB.id">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.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-a-model.causeOfDeathChain.lineB.extension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineB.modifierExtension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.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.&#xA;&#xA;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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineB.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Cause description (text)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineB.causeText"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line b — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[1]/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Cause code (ICD-10 or ICD-11)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineB.causeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line b — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[1]/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate interval from onset to death"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineB.onsetToDeathInterval"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line b — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC"/>
      <short value="Line c — Antecedent Cause"/>
      <definition value="The disease or condition that gave rise to line b.&#xA;Conditionally mandatory: if present, line b must also be present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineC"/>
        <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() &gt; 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 A, Part 1, Section 1, Line c (Due to)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[2]"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=c)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC.id">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.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-a-model.causeOfDeathChain.lineC.extension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineC.modifierExtension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.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.&#xA;&#xA;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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineC.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Cause description (text)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineC.causeText"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line c — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[2]/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Cause code (ICD-10 or ICD-11)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineC.causeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line c — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[2]/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate interval from onset to death"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineC.onsetToDeathInterval"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line c — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD"/>
      <short value="Line d — Antecedent Cause"/>
      <definition value="The disease or condition that gave rise to line c.&#xA;Conditionally mandatory: if present, line c must also be present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineD"/>
        <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() &gt; 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 A, Part 1, Section 1, Line d (Due to)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[3]"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=d)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD.id">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.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-a-model.causeOfDeathChain.lineD.extension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineD.modifierExtension">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.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.&#xA;&#xA;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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.causeOfDeathChain.lineD.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Cause description (text)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineD.causeText"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line d — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[3]/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Cause code (ICD-10 or ICD-11)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineD.causeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line d — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[3]/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate interval from onset to death"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.causeOfDeathChain.lineD.onsetToDeathInterval"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line d — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath"/>
      <short value="Underlying Cause of Death"/>
      <definition value="The disease or injury that initiated the train of morbid events&#xA;leading directly to death, or the circumstances of accident or&#xA;violence which produced the fatal injury (WHO definition).&#xA;&#xA;This element is MANDATORY and is captured separately from the&#xA;causal chain (lines a–d). Per WHO DORIS methodology for ICD-11,&#xA;the underlying cause of death may be a condition that does not&#xA;appear on any line of the causal chain — for example, when DORIS&#xA;applies a selection or modification rule that identifies a different&#xA;condition as the underlying cause.&#xA;&#xA;The underlying cause is the primary basis for mortality statistics."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.underlyingCauseOfDeath"/>
        <min value="1"/>
        <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() &gt; 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 A, Part 1 — lowest used line (underlying cause per ICD rules)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/underlying_cause_of_death"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath.id">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.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-a-model.underlyingCauseOfDeath.extension">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.underlyingCauseOfDeath.modifierExtension">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.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.&#xA;&#xA;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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.underlyingCauseOfDeath.causeText">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.causeText"/>
      <short value="Underlying cause description (text)"/>
      <definition value="Free-text description of the underlying cause of death.&#xA;Always mandatory regardless of whether a coded value is present."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.underlyingCauseOfDeath.causeText"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A — underlying cause text"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/underlying_cause_of_death/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath.causeCode">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.causeCode"/>
      <short value="Underlying cause code (ICD-10 or ICD-11)"/>
      <definition value="Coded representation of the underlying cause of death.&#xA;When ICD-11 and DORIS are used, this code is the DORIS-selected&#xA;underlying cause and SHALL use the ICD-11 MMS system URI.&#xA;When ICD-10 is used, this code is selected per ICD-10 mortality&#xA;coding rules and SHALL use the appropriate ICD-10 system URI."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.underlyingCauseOfDeath.causeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A — underlying cause code"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/underlying_cause_of_death/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath.dorisDerived">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.dorisDerived"/>
      <short value="Derived by DORIS tool"/>
      <definition value="Indicates whether the underlying cause of death was derived using&#xA;the WHO DORIS tool for ICD-11. When true, the causeCode SHALL use&#xA;the ICD-11 MMS system URI. This element supports audit and&#xA;transparency of the coding process."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.underlyingCauseOfDeath.dorisDerived"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="N/A — process metadata"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="N/A"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath.extension:dorisDerived"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions">
      <path value="mccod-frame-a-model.otherSignificantConditions"/>
      <short value="Other Significant Conditions (Frame A Part 2)"/>
      <definition value="Other significant conditions that contributed to the death but were&#xA;not part of the direct causal chain reported in Part 1.&#xA;Time intervals may be noted alongside each condition.&#xA;Modeled as structured Condition resources, not free text."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="mccod-frame-a-model.otherSignificantConditions"/>
        <min value="0"/>
        <max value="*"/>
      </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() &gt; 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 A, Part 2 — Other significant conditions contributing to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions.id">
      <path value="mccod-frame-a-model.otherSignificantConditions.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-a-model.otherSignificantConditions.extension">
      <path value="mccod-frame-a-model.otherSignificantConditions.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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.otherSignificantConditions.modifierExtension">
      <path value="mccod-frame-a-model.otherSignificantConditions.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.&#xA;&#xA;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() &gt; 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(.), &quot;value&quot;)])"/>
        <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-a-model.otherSignificantConditions.conditionText">
      <path value="mccod-frame-a-model.otherSignificantConditions.conditionText"/>
      <short value="Condition description (text)"/>
      <definition value="Free-text description of the contributing condition as written by&#xA;the certifying practitioner. Always mandatory."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.otherSignificantConditions.conditionText"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 2 — condition text"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions.conditionCode">
      <path value="mccod-frame-a-model.otherSignificantConditions.conditionCode"/>
      <short value="Condition code (ICD-10 or ICD-11)"/>
      <definition value="Coded representation of the contributing condition.&#xA;Extensible binding to mccod-cause-of-death-codes ValueSet."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.otherSignificantConditions.conditionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 2 — condition code"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions.timeInterval">
      <path value="mccod-frame-a-model.otherSignificantConditions.timeInterval"/>
      <short value="Time interval"/>
      <definition value="Approximate time interval associated with this condition,&#xA;as noted in brackets after the condition per WHO MCCoD guidance&#xA;(e.g. \&quot;6 months\&quot;, \&quot;2 years\&quot;). Represented as a string."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="mccod-frame-a-model.otherSignificantConditions.timeInterval"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 2 — time interval in brackets"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="mccod-frame-a-model">
      <path value="mccod-frame-a-model"/>
      <short value="MCCoD Frame A Logical Model — Cause of Death"/>
      <definition value="Logical model representing the data elements of Frame A (Medical Data,&#xA;Parts 1 and 2) of the WHO Medical Certificate of Cause of Death (MCCoD).&#xA;&#xA;Frame A is MANDATORY in its entirety. At minimum, the immediate cause&#xA;of death (line a) and the underlying cause of death MUST be present.&#xA;Lines b, c, and d are required if the preceding line is present and&#xA;a further antecedent cause exists. The underlying cause of death is&#xA;captured as a separate mandatory element and may differ from any of&#xA;lines a–d, consistent with WHO DORIS methodology for ICD-11.&#xA;&#xA;This model is derived from:&#xA;- WHO International Form of Medical Certificate of Cause of Death&#xA;- openEHR-EHR-EVALUATION.death_summary.v0 (CKM archetype)&#xA;- WHO SMART Guidelines L2 DAK data dictionary pattern"/>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain">
      <path value="mccod-frame-a-model.causeOfDeathChain"/>
      <short value="Cause of Death Chain (Frame A Part 1)"/>
      <definition value="The ordered chain of conditions leading to death, as reported by the&#xA;certifying practitioner. Line a is always mandatory. Lines b, c, d&#xA;are conditionally mandatory — required when the certifier identifies&#xA;a further antecedent cause for the preceding line."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Section 1"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="Composition.section[frameA]"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineA">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA"/>
      <short value="Line a — Immediate Cause of Death"/>
      <definition value="The disease, injury, or complication that directly caused death.&#xA;This is the condition that was the final step in the chain of events&#xA;leading to death. Always mandatory."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Section 1, Line a"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/immediate_cause"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=a)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineA.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Free-text description of the immediate cause of death as written&#xA;by the certifying practitioner. Always mandatory regardless of&#xA;whether a coded value is also provided."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line a — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/immediate_cause/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineA.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Coded representation of the immediate cause of death.&#xA;SHALL use ICD-10 or ICD-11 system URI. Text is always required&#xA;even when a code is present. Extensible binding to&#xA;mccod-cause-of-death-codes ValueSet."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line a — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/immediate_cause/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineA.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineA.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate time between onset of the condition and death,&#xA;as reported by the certifying practitioner (e.g. \&quot;2 hours\&quot;,&#xA;\&quot;3 weeks\&quot;, \&quot;5 years\&quot;). Represented as a string to accommodate&#xA;the imprecise nature of clinician estimates."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line a — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB"/>
      <short value="Line b — Antecedent Cause"/>
      <definition value="The disease or condition that gave rise to the immediate cause (line a).&#xA;Required when the certifier identifies a further antecedent cause.&#xA;Conditionally mandatory: if present, line a must also be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Section 1, Line b (Due to)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[1]"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=b)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Cause description (text)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line b — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[1]/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Cause code (ICD-10 or ICD-11)"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line b — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[1]/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineB.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineB.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate interval from onset to death"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line b — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC"/>
      <short value="Line c — Antecedent Cause"/>
      <definition value="The disease or condition that gave rise to line b.&#xA;Conditionally mandatory: if present, line b must also be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Section 1, Line c (Due to)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[2]"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=c)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Cause description (text)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line c — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[2]/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Cause code (ICD-10 or ICD-11)"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line c — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[2]/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineC.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineC.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate interval from onset to death"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line c — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD"/>
      <short value="Line d — Antecedent Cause"/>
      <definition value="The disease or condition that gave rise to line c.&#xA;Conditionally mandatory: if present, line c must also be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Section 1, Line d (Due to)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[3]"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition (linePosition=d)"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD.causeText">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.causeText"/>
      <short value="Cause description (text)"/>
      <definition value="Cause description (text)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line d — text field"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[3]/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD.causeCode">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.causeCode"/>
      <short value="Cause code (ICD-10 or ICD-11)"/>
      <definition value="Cause code (ICD-10 or ICD-11)"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line d — coded"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/antecedent_cause[3]/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.causeOfDeathChain.lineD.onsetToDeathInterval">
      <path value="mccod-frame-a-model.causeOfDeathChain.lineD.onsetToDeathInterval"/>
      <short value="Approximate interval from onset to death"/>
      <definition value="Approximate interval from onset to death"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1, Line d — Time interval from onset to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/cause_of_death/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDCauseOfDeathCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath"/>
      <short value="Underlying Cause of Death"/>
      <definition value="The disease or injury that initiated the train of morbid events&#xA;leading directly to death, or the circumstances of accident or&#xA;violence which produced the fatal injury (WHO definition).&#xA;&#xA;This element is MANDATORY and is captured separately from the&#xA;causal chain (lines a–d). Per WHO DORIS methodology for ICD-11,&#xA;the underlying cause of death may be a condition that does not&#xA;appear on any line of the causal chain — for example, when DORIS&#xA;applies a selection or modification rule that identifies a different&#xA;condition as the underlying cause.&#xA;&#xA;The underlying cause is the primary basis for mortality statistics."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 1 — lowest used line (underlying cause per ICD rules)"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/underlying_cause_of_death"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath.causeText">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.causeText"/>
      <short value="Underlying cause description (text)"/>
      <definition value="Free-text description of the underlying cause of death.&#xA;Always mandatory regardless of whether a coded value is present."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A — underlying cause text"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/underlying_cause_of_death/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath.causeCode">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.causeCode"/>
      <short value="Underlying cause code (ICD-10 or ICD-11)"/>
      <definition value="Coded representation of the underlying cause of death.&#xA;When ICD-11 and DORIS are used, this code is the DORIS-selected&#xA;underlying cause and SHALL use the ICD-11 MMS system URI.&#xA;When ICD-10 is used, this code is selected per ICD-10 mortality&#xA;coding rules and SHALL use the appropriate ICD-10 system URI."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A — underlying cause code"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/underlying_cause_of_death/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.underlyingCauseOfDeath.dorisDerived">
      <path value="mccod-frame-a-model.underlyingCauseOfDeath.dorisDerived"/>
      <short value="Derived by DORIS tool"/>
      <definition value="Indicates whether the underlying cause of death was derived using&#xA;the WHO DORIS tool for ICD-11. When true, the causeCode SHALL use&#xA;the ICD-11 MMS system URI. This element supports audit and&#xA;transparency of the coding process."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="N/A — process metadata"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="N/A"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDUnderlyingCauseOfDeath.extension:dorisDerived"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions">
      <path value="mccod-frame-a-model.otherSignificantConditions"/>
      <short value="Other Significant Conditions (Frame A Part 2)"/>
      <definition value="Other significant conditions that contributed to the death but were&#xA;not part of the direct causal chain reported in Part 1.&#xA;Time intervals may be noted alongside each condition.&#xA;Modeled as structured Condition resources, not free text."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 2 — Other significant conditions contributing to death"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions.conditionText">
      <path value="mccod-frame-a-model.otherSignificantConditions.conditionText"/>
      <short value="Condition description (text)"/>
      <definition value="Free-text description of the contributing condition as written by&#xA;the certifying practitioner. Always mandatory."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 2 — condition text"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors/DV_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition.code.text"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions.conditionCode">
      <path value="mccod-frame-a-model.otherSignificantConditions.conditionCode"/>
      <short value="Condition code (ICD-10 or ICD-11)"/>
      <definition value="Coded representation of the contributing condition.&#xA;Extensible binding to mccod-cause-of-death-codes ValueSet."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 2 — condition code"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors/DV_CODED_TEXT"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition.code.coding"/>
      </mapping>
    </element>
    <element id="mccod-frame-a-model.otherSignificantConditions.timeInterval">
      <path value="mccod-frame-a-model.otherSignificantConditions.timeInterval"/>
      <short value="Time interval"/>
      <definition value="Approximate time interval associated with this condition,&#xA;as noted in brackets after the condition per WHO MCCoD guidance&#xA;(e.g. \&quot;6 months\&quot;, \&quot;2 years\&quot;). Represented as a string."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="WHO-MCCoD"/>
        <map value="Frame A, Part 2 — time interval in brackets"/>
      </mapping>
      <mapping>
        <identity value="openEHR"/>
        <map value="death_summary/contributing_factors/duration"/>
      </mapping>
      <mapping>
        <identity value="FHIR-MCCoD"/>
        <map value="MCCoDContributingCondition.extension:onsetToDeathInterval"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>