<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ehealth-communication"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" 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 : 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_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> Communication<a name="Communication"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/communication.html">Communication</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">A communication is a conveyance of information from a sender to a receiver.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12.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_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/> extension<a name="Communication.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/extensibility.html#Extension">Extension</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Extension</span><br/><span style="font-weight:bold">Slice: </span>Unordered, Open by value:url</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.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_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <span title="Extension URL = http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam">ehealth-communication-recipientCareTeam</span><a name="Communication.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-careteam.html">eHealth CareTeam</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">CareTeam message recipient<br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-ehealth-communication-recipientCareTeam.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam</a></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.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_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <span title="Extension URL = http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam">ehealth-communication-senderCareTeam</span><a name="Communication.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-careteam.html">eHealth CareTeam</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">CareTeam message sender<br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-ehealth-communication-senderCareTeam.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam</a><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.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_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <span title="Extension URL = http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category">ehealth-restriction-category</span><a name="Communication.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Restriction category<br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-ehealth-restriction-category.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category</a><br/><span style="font-weight:bold">Binding: </span><a href="ValueSet-ehealth-restriction-category.html">Restriction Category</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> definition<a name="Communication.definition"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-plandefinition.html">eHealth PlanDefinition</a> | <a href="StructureDefinition-ehealth-activitydefinition.html">eHealth ActivityDefinition</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Instantiates protocol or definition</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> basedOn<a name="Communication.basedOn"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org/fhir/STU3/resource.html">Resource</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Request fulfilled by this communication</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> partOf<a name="Communication.partOf"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org/fhir/STU3/resource.html">Resource</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Part of this action</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> category<a name="Communication.category"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Message category</span><br/><span style="font-weight:bold">Binding: </span><a href="ValueSet-ehealth-communication-category.html">Communication Category</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <span title="Patient for which data is the topic of this communication.">subject</span><a name="Communication.subject"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-patient.html">eHealth Patient</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Focus of message</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <span title="Restrictions on who are allowed to read this particular message within the set of actors involved in the episode (identified in context). Setting no reference means no restrictions, while only referencing same entity as identified in sender corresponds to a private message.">recipient</span><a name="Communication.recipient"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-device.html">eHealth Device</a> | <a href="StructureDefinition-ehealth-patient.html">eHealth Patient</a> | <a href="StructureDefinition-ehealth-practitioner.html">eHealth Practitioner</a> | <a href="StructureDefinition-ehealth-relatedperson.html">eHealth RelatedPerson</a> | <a href="http://hl7.org/fhir/STU3/group.html">Group</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Message recipient</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> topic<a name="Communication.topic"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org/fhir/STU3/resource.html">Resource</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Focal resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <span title="Episode in which context the message occurs.">context</span><a name="Communication.context"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org/fhir/STU3/encounter.html">Encounter</a> | <a href="StructureDefinition-ehealth-episodeofcare.html">eHealth EpisodeOfCare</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Encounter or episode leading to message</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <span title="Who created the message.">sender</span><a name="Communication.sender"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; 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">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-device.html">eHealth Device</a> | <a href="StructureDefinition-ehealth-patient.html">eHealth Patient</a> | <a href="StructureDefinition-ehealth-practitioner.html">eHealth Practitioner</a> | <a href="StructureDefinition-ehealth-relatedperson.html">eHealth RelatedPerson</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Message sender</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> reasonReference<a name="Communication.reasonReference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-condition.html">eHealth Condition</a> | <a href="StructureDefinition-ehealth-observation.html">eHealth Observation</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference to a resource that has to be resolved externally to the resource that includes the reference.">r</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Why was communication done?</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> payload<a name="Communication.payload"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck004.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_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <span title="Slice contentString">contentString:contentString</span><a name="Communication.payload.contentString"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Message part content</span></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
</text>
<url
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication"/>
<name value="ehealth-communication"/>
<title value="eHealth Communication"/>
<status value="draft"/>
<date value="2021-01-07T13:26:31+00:00"/>
<publisher value="ehealth.sundhed.dk"/>
<fhirVersion value="3.0.2"/>
<mapping>
<identity value="workflow"/>
<uri value="http://hl7.org/fhir/workflow"/>
<name value="Workflow Mapping"/>
</mapping>
<mapping>
<identity value="w5"/>
<uri value="http://hl7.org/fhir/w5"/>
<name value="W5 Mapping"/>
</mapping>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="resource"/>
<abstract value="false"/>
<type value="Communication"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Communication"/>
<derivation value="constraint"/>
<snapshot>
<element id="Communication">
<path value="Communication"/>
<short
value="A communication is a conveyance of information from a sender to a receiver."/>
<definition
value="An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication"/>
<min value="0"/>
<max value="*"/>
</base>
<constraint>
<key value="dom-2"/>
<severity value="error"/>
<human
value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
<expression value="contained.contained.empty()"/>
<xpath value="not(parent::f:contained and f:contained)"/>
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<key value="dom-1"/>
<severity value="error"/>
<human
value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
<expression value="contained.text.empty()"/>
<xpath value="not(parent::f:contained and f:text)"/>
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<key value="dom-4"/>
<severity value="error"/>
<human
value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
<expression
value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
<xpath
value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<key value="dom-3"/>
<severity value="error"/>
<human
value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
<expression
value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()"/>
<xpath
value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<key value="com-1"/>
<severity value="error"/>
<human
value="Not Done Reason can only be specified if NotDone is "true""/>
<expression value="notDone or notDoneReason.exists().not()"/>
<xpath value="f:notDone/@value=true() or not(exists(f:notDoneReason))"/>
<source value="http://hl7.org/fhir/StructureDefinition/Communication"/>
</constraint>
<mapping>
<identity value="rim"/>
<map value="Entity. Role, or Act"/>
</mapping>
<mapping>
<identity value="workflow"/>
<map value="Event"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="workflow.encounter"/>
</mapping>
</element>
<element id="Communication.id">
<path value="Communication.id"/>
<short value="Logical id of this artifact"/>
<definition
value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
<comment
value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="id"/>
</type>
<isSummary value="true"/>
</element>
<element id="Communication.meta">
<path value="Communication.meta"/>
<short value="Metadata about the resource"/>
<definition
value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.meta"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Meta"/>
</type>
<isSummary value="true"/>
</element>
<element id="Communication.implicitRules">
<path value="Communication.implicitRules"/>
<short value="A set of rules under which this content was created"/>
<definition
value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
<comment
value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.
This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.implicitRules"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="uri"/>
</type>
<isModifier value="true"/>
<isSummary value="true"/>
</element>
<element id="Communication.language">
<path value="Communication.language"/>
<short value="Language of the resource content"/>
<definition value="The base language in which the resource is written."/>
<comment
value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.language"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
<valueReference>
<reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
</valueReference>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Language"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true"/>
</extension>
<strength value="extensible"/>
<description value="A human language."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/languages"/>
</valueSetReference>
</binding>
</element>
<element id="Communication.text">
<path value="Communication.text"/>
<short value="Text summary of the resource, for human interpretation"/>
<definition
value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
<comment
value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later."/>
<alias value="narrative"/>
<alias value="html"/>
<alias value="xhtml"/>
<alias value="display"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="DomainResource.text"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Narrative"/>
</type>
<condition value="dom-1"/>
<mapping>
<identity value="rim"/>
<map value="Act.text?"/>
</mapping>
</element>
<element id="Communication.contained">
<path value="Communication.contained"/>
<short value="Contained, inline Resources"/>
<definition
value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
<comment
value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
<alias value="inline resources"/>
<alias value="anonymous resources"/>
<alias value="contained resources"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="DomainResource.contained"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Resource"/>
</type>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Communication.extension">
<path value="Communication.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<rules value="open"/>
</slicing>
<short value="Extension"/>
<definition value="An Extension"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="DomainResource.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
</element>
<element id="Communication.extension:recipientCareTeam">
<path value="Communication.extension"/>
<sliceName value="recipientCareTeam"/>
<short value="CareTeam message recipient"/>
<definition value="CareTeam message recipient"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="DomainResource.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam"/>
</type>
<condition value="ele-1"/>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression value="hasValue() | (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
</element>
<element id="Communication.extension:senderCareTeam">
<path value="Communication.extension"/>
<sliceName value="senderCareTeam"/>
<short value="CareTeam message sender"/>
<definition value="CareTeam message sender"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="DomainResource.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam"/>
</type>
<condition value="ele-1"/>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression value="hasValue() | (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
</element>
<element id="Communication.extension:restrictionCategory">
<path value="Communication.extension"/>
<sliceName value="restrictionCategory"/>
<short value="Restriction category"/>
<definition value="Restriction category"/>
<min value="1"/>
<max value="*"/>
<base>
<path value="DomainResource.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category"/>
</type>
<condition value="ele-1"/>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression value="hasValue() | (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
</element>
<element id="Communication.modifierExtension">
<path value="Communication.modifierExtension"/>
<short value="Extensions that cannot be ignored"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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."/>
<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="DomainResource.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<isModifier value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Communication.identifier">
<path value="Communication.identifier"/>
<short value="Unique identifier"/>
<definition
value="Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.identifier"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Identifier"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.identifier"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="id"/>
</mapping>
</element>
<element id="Communication.definition">
<path value="Communication.definition"/>
<short value="Instantiates protocol or definition"/>
<definition
value="A protocol, guideline, or other definition that was adhered to in whole or in part by this communication event."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.definition"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.definition"/>
</mapping>
</element>
<element id="Communication.basedOn">
<path value="Communication.basedOn"/>
<short value="Request fulfilled by this communication"/>
<definition
value="An order, proposal or plan fulfilled in whole or in part by this Communication."/>
<comment
value="This must point to some sort of a 'Request' resource, such as CarePlan, CommunicationRequest, ReferralRequest, MedicationRequest, etc."/>
<alias value="fulfills"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.basedOn"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.basedOn"/>
</mapping>
</element>
<element id="Communication.partOf">
<path value="Communication.partOf"/>
<short value="Part of this action"/>
<definition value="Part of this action."/>
<alias value="container"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.partOf"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.partOf"/>
</mapping>
</element>
<element id="Communication.status">
<path value="Communication.status"/>
<short
value="preparation | in-progress | suspended | aborted | completed | entered-in-error"/>
<definition value="The status of the transmission."/>
<comment
value="This element is labeled as a modifier because the status contains the codes aborted and entered-in-error that mark the communication as not currently valid."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Communication.status"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<isModifier value="true"/>
<isSummary value="true"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="CommunicationStatus"/>
</extension>
<strength value="required"/>
<description value="The status of the communication."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/event-status"/>
</valueSetReference>
</binding>
<mapping>
<identity value="workflow"/>
<map value="Event.status"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="status"/>
</mapping>
</element>
<element id="Communication.notDone">
<path value="Communication.notDone"/>
<short value="Communication did not occur"/>
<definition
value="If true, indicates that the described communication event did not actually occur."/>
<comment
value="This element is labeled as a modifier because it marks the communication as a communication that did not occur. The more attributes are populated, the more constrained the negated statement is."/>
<requirements
value="Creating a Communication where notDone is true is intended for situations where there's a need for a specific statement in the record about something not being done. If the need is merely to indicate that a request wasn't fulfilled, that should be handled using Task."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Communication.notDone"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
<isModifier value="true"/>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.notDone"/>
</mapping>
</element>
<element id="Communication.notDoneReason">
<path value="Communication.notDoneReason"/>
<short value="Why communication did not occur"/>
<definition
value="Describes why the communication event did not occur in coded and/or textual form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Communication.notDoneReason"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<condition value="com-1"/>
<isSummary value="true"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="CommunicationNotDoneReason"/>
</extension>
<strength value="example"/>
<description
value="Codes for the reason why a communication was not done."/>
<valueSetReference>
<reference
value="http://hl7.org/fhir/ValueSet/communication-not-done-reason"/>
</valueSetReference>
</binding>
<mapping>
<identity value="workflow"/>
<map value="Event.notDoneReason"/>
</mapping>
</element>
<element id="Communication.category">
<path value="Communication.category"/>
<short value="Message category"/>
<definition
value="The type of message conveyed such as alert, notification, reminder, instruction, etc."/>
<comment
value="There may be multiple axes of categorization and one communication may serve multiple purposes."/>
<min value="1"/>
<max value="*"/>
<base>
<path value="Communication.category"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<strength value="required"/>
<valueSetReference>
<reference value="http://ehealth.sundhed.dk/vs/communication-category"/>
</valueSetReference>
</binding>
<mapping>
<identity value="workflow"/>
<map value="Event.code"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="class"/>
</mapping>
</element>
<element id="Communication.medium">
<path value="Communication.medium"/>
<short value="A channel of communication"/>
<definition
value="A channel that was used for this communication (e.g. email, fax)."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.medium"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="CommunicationMedium"/>
</extension>
<strength value="example"/>
<description
value="Codes for communication mediums such as phone, fax, email, in person, etc."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/v3-ParticipationMode"/>
</valueSetReference>
</binding>
</element>
<element id="Communication.subject">
<path value="Communication.subject"/>
<short value="Focus of message"/>
<definition
value="Patient for which data is the topic of this communication."/>
<alias value="patient"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Communication.subject"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.subject"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="who.focus"/>
</mapping>
</element>
<element id="Communication.recipient">
<path value="Communication.recipient"/>
<short value="Message recipient"/>
<definition
value="Restrictions on who are allowed to read this particular message within the set of actors involved in the episode (identified in context). Setting no reference means no restrictions, while only referencing same entity as identified in sender corresponds to a private message."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.recipient"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson"/>
</type>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
</type>
<mapping>
<identity value="w5"/>
<map value="who.focus"/>
</mapping>
</element>
<element id="Communication.topic">
<path value="Communication.topic"/>
<short value="Focal resources"/>
<definition
value="The resources which were responsible for or related to producing this communication."/>
<min value="1"/>
<max value="*"/>
<base>
<path value="Communication.topic"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
</type>
<mapping>
<identity value="w5"/>
<map value="context"/>
</mapping>
</element>
<element id="Communication.context">
<path value="Communication.context"/>
<short value="Encounter or episode leading to message"/>
<definition value="Episode in which context the message occurs."/>
<comment
value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
Episode in which context the message occurs."/>
<alias value="encounter"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Communication.context"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.context"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="context"/>
</mapping>
</element>
<element id="Communication.sent">
<path value="Communication.sent"/>
<short value="When sent"/>
<definition value="The time when this communication was sent."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Communication.sent"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
<mapping>
<identity value="workflow"/>
<map
value="Event.occurrenceDateTime (Invariant: maps to either sent OR received)"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="when.init"/>
</mapping>
</element>
<element id="Communication.received">
<path value="Communication.received"/>
<short value="When received"/>
<definition
value="The time when this communication arrived at the destination."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Communication.received"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
<mapping>
<identity value="workflow"/>
<map
value="Event.occurrenceDateTime (Invariant: maps to either sent OR received)"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="when.done"/>
</mapping>
</element>
<element id="Communication.sender">
<path value="Communication.sender"/>
<short value="Message sender"/>
<definition value="Who created the message."/>
<comment
value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
Who created the message."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Communication.sender"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson"/>
</type>
<mapping>
<identity value="workflow"/>
<map value="Event.performer.actor"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="who.actor"/>
</mapping>
</element>
<element id="Communication.reasonCode">
<path value="Communication.reasonCode"/>
<short value="Indication for message"/>
<definition value="The reason or justification for the communication."/>
<comment value="Textual reasons can be caprued using reasonCode.text."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.reasonCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<isSummary value="true"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="CommunicationReason"/>
</extension>
<strength value="example"/>
<description
value="Codes for describing reasons for the occurrence of a communication."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
</valueSetReference>
</binding>
<mapping>
<identity value="workflow"/>
<map value="Event.reasonCodableConcept"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value=".reasonCode"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="why"/>
</mapping>
</element>
<element id="Communication.reasonReference">
<path value="Communication.reasonReference"/>
<short value="Why was communication done?"/>
<definition
value="Indicates another resource whose existence justifies this communication."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.reasonReference"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="workflow"/>
<map value="Event.reasonReference"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value=".outboundRelationship[typeCode=RSON].target"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="why"/>
</mapping>
</element>
<element id="Communication.payload">
<path value="Communication.payload"/>
<short value="Message payload"/>
<definition
value="Text, attachment(s), or resource(s) that was communicated to the recipient."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.payload"/>
<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() | (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="Communication.payload.id">
<path value="Communication.payload.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<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>
<code value="string"/>
</type>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Communication.payload.extension">
<path value="Communication.payload.extension"/>
<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. In order 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 is allowed to 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>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Communication.payload.modifierExtension">
<path value="Communication.payload.modifierExtension"/>
<short value="Extensions that cannot be ignored"/>
<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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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."/>
<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"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<isModifier value="true"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Communication.payload.content[x]">
<path value="Communication.payload.content[x]"/>
<slicing>
<discriminator>
<type value="type"/>
<path value="$this"/>
</discriminator>
<ordered value="false"/>
<rules value="closed"/>
</slicing>
<short value="Message part content"/>
<definition
value="A communicated content (or for multi-part communications, one portion of the communication)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Communication.payload.content[x]"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="Communication.payload.content[x]:contentString">
<path value="Communication.payload.content[x]"/>
<sliceName value="contentString"/>
<short value="Message part content"/>
<definition
value="A communicated content (or for multi-part communications, one portion of the communication)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Communication.payload.content[x]"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="Communication.note">
<path value="Communication.note"/>
<short value="Comments made about the communication"/>
<definition
value="Additional notes or commentary about the communication by the sender, receiver or other interested parties."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Communication.note"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Annotation"/>
</type>
<mapping>
<identity value="workflow"/>
<map value="Event.note"/>
</mapping>
</element>
</snapshot>
<differential>
<element id="Communication">
<path value="Communication"/>
<short
value="A communication is a conveyance of information from a sender to a receiver."/>
</element>
<element id="Communication.extension">
<path value="Communication.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<rules value="open"/>
</slicing>
</element>
<element id="Communication.extension:recipientCareTeam">
<path value="Communication.extension"/>
<sliceName value="recipientCareTeam"/>
<short value="CareTeam message recipient"/>
<definition value="CareTeam message recipient"/>
<type>
<code value="Extension"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam"/>
</type>
</element>
<element id="Communication.extension:senderCareTeam">
<path value="Communication.extension"/>
<sliceName value="senderCareTeam"/>
<short value="CareTeam message sender"/>
<definition value="CareTeam message sender"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Extension"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam"/>
</type>
</element>
<element id="Communication.extension:restrictionCategory">
<path value="Communication.extension"/>
<sliceName value="restrictionCategory"/>
<short value="Restriction category"/>
<definition value="Restriction category"/>
<min value="1"/>
<max value="*"/>
<type>
<code value="Extension"/>
<profile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category"/>
</type>
</element>
<element id="Communication.definition">
<path value="Communication.definition"/>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition"/>
</type>
</element>
<element id="Communication.basedOn">
<path value="Communication.basedOn"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
</type>
</element>
<element id="Communication.partOf">
<path value="Communication.partOf"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
</type>
</element>
<element id="Communication.category">
<path value="Communication.category"/>
<min value="1"/>
<binding>
<strength value="required"/>
<valueSetUri value="http://ehealth.sundhed.dk/vs/communication-category"/>
</binding>
</element>
<element id="Communication.subject">
<path value="Communication.subject"/>
<definition
value="Patient for which data is the topic of this communication."/>
<min value="1"/>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"/>
</type>
</element>
<element id="Communication.recipient">
<path value="Communication.recipient"/>
<definition
value="Restrictions on who are allowed to read this particular message within the set of actors involved in the episode (identified in context). Setting no reference means no restrictions, while only referencing same entity as identified in sender corresponds to a private message."/>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson"/>
</type>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
</type>
</element>
<element id="Communication.topic">
<path value="Communication.topic"/>
<min value="1"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
</type>
</element>
<element id="Communication.context">
<path value="Communication.context"/>
<definition value="Episode in which context the message occurs."/>
<comment
value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
Episode in which context the message occurs."/>
<min value="1"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare"/>
</type>
</element>
<element id="Communication.sender">
<path value="Communication.sender"/>
<definition value="Who created the message."/>
<comment
value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
Who created the message."/>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson"/>
</type>
</element>
<element id="Communication.reasonReference">
<path value="Communication.reasonReference"/>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition"/>
</type>
<type>
<code value="Reference"/>
<targetProfile
value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"/>
</type>
</element>
<element id="Communication.payload.contentString:contentString">
<path value="Communication.payload.contentString"/>
<sliceName value="contentString"/>
<type>
<code value="string"/>
</type>
</element>
</differential>
</StructureDefinition>