eHealth Infrastructure (v2020.8)



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ehealth-plandefinition"/>
  <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 &amp; 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"/> PlanDefinition<a name="PlanDefinition"> </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/plandefinition.html">PlanDefinition</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact.</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="PlanDefinition.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-recommendation">ehealth-recommendation</span><a name="PlanDefinition.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>..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">Recommendation state of the plan definition.<br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-ehealth-recommendation.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation</a><br/><span style="font-weight:bold">Binding: </span><a href="ValueSet-ehealth-plandefinition-recommendation.html">PlanDefinition Recommendation</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>): TBD<br/><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_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-intendedAudience">ehealth-intendedAudience</span><a name="PlanDefinition.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 href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-ehealth-organization.html">eHealth Organization</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">The intended audience of the plandefinition<br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-ehealth-intendedAudience.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience</a></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-modifier-role">ehealth-modifier-role</span><a name="PlanDefinition.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..<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">(Complex)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.<br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-ehealth-modifier-role.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role</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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> version<a name="PlanDefinition.version"> </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 style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#string">string</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">Business version of the plan 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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> jurisdiction<a name="PlanDefinition.jurisdiction"> </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 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">Intended jurisdiction for plan definition (if applicable)</span><br/><span style="font-weight:bold">Binding: </span><a href="ValueSet-ehealth-jurisdiction.html">Jurisdiction</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#extensible" title="To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated.  If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.">extensible</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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> topic<a name="PlanDefinition.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"><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/datatypes.html#CodeableConcept">CodeableConcept</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">E.g. Education, Treatment, Assessment, etc</span><br/><span style="font-weight:bold">Binding: </span><a href="ValueSet-ehealth-topic-type.html">Topic Type</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set.  The value set merely provides examples of the types of concepts intended to be included.">example</a>)</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"/> <span title="Related artifacts such as additional documentation, justification, or bibliographic references. Each related artifact is either an attachment, or a reference to another resource, but not both. The relatedArtifact.resource attribute can be used to specify a DocumentReference resource.">relatedArtifact</span><a name="PlanDefinition.relatedArtifact"> </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 style="opacity: 0.5" href="http://hl7.org/fhir/STU3/metadatatypes.html#RelatedArtifact">RelatedArtifact</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">Related artifacts for the asset</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"/> library<a name="PlanDefinition.library"> </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-library.html">eHealth Library</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">Logic used by the plan 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_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: white; background-color: inherit" title="Element" class="hierarchy"/> action<a name="PlanDefinition.action"> </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"/><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"/></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_bck012.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_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/> extension<a name="PlanDefinition.action.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_bck014.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_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-overviewUsageMode">ehealth-overviewUsageMode</span><a name="PlanDefinition.action.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">0..*</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"><span style="opacity: 0.5">Extension</span><br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-ehealth-overviewUsageMode.html">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode</a><br/><span style="font-weight:bold">Binding: </span><a href="ValueSet-ehealth-overviewUsageMode.html">Overview Usage Mode</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>): Whether the element should appear in overview &quot;modes&quot; of operation.<br/><br/><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_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_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> definition<a name="PlanDefinition.action.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">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-activitydefinition.html">eHealth ActivityDefinition</a> | <a href="StructureDefinition-ehealth-plandefinition.html">eHealth PlanDefinition</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">Description of the activity to be performed</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-plandefinition"/>
  <name value="ehealth-plandefinition"/>
  <title value="eHealth PlanDefinition"/>
  <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="objimpl"/>
    <uri value="http://hl7.org/fhir/object-implementation"/>
    <name value="Object Implementation Information"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="PlanDefinition"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="PlanDefinition">
      <path value="PlanDefinition"/>
      <short
             value="This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact."/>
      <definition
                  value="This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical artifacts such as clinical decision support rules, order sets and protocols."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition"/>
        <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((&#39;#&#39;+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(&#39;#&#39;, $id))]))"/>
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.general"/>
      </mapping>
    </element>
    <element id="PlanDefinition.id">
      <path value="PlanDefinition.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="PlanDefinition.meta">
      <path value="PlanDefinition.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="PlanDefinition.implicitRules">
      <path value="PlanDefinition.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&#39;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="PlanDefinition.language">
      <path value="PlanDefinition.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="PlanDefinition.text">
      <path value="PlanDefinition.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 &quot;clinically safe&quot; 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 &quot;text blob&quot; 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="PlanDefinition.contained">
      <path value="PlanDefinition.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="PlanDefinition.extension">
      <path value="PlanDefinition.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="PlanDefinition.extension:recommendation">
      <path value="PlanDefinition.extension"/>
      <sliceName value="recommendation"/>
      <short value="Recommendation state of the plan definition."/>
      <definition
                  value="Defines the recommendation state of the plan definition."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation"/>
      </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() &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(.), &#39;value&#39;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
    </element>
    <element id="PlanDefinition.extension:intendedAudience">
      <path value="PlanDefinition.extension"/>
      <sliceName value="intendedAudience"/>
      <short value="The intended audience of the plandefinition"/>
      <definition
                  value="Specifies that the plandefinition is only intended for use in the specified organisations. Leave blank if the plandefinition is intended for global use."/>
      <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-intendedAudience"/>
      </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() &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(.), &#39;value&#39;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
    </element>
    <element id="PlanDefinition.extension:modifierRole">
      <path value="PlanDefinition.extension"/>
      <sliceName value="modifierRole"/>
      <short
             value="Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers."/>
      <definition
                  value="Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers."/>
      <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-modifier-role"/>
      </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() &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(.), &#39;value&#39;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
    </element>
    <element id="PlanDefinition.modifierExtension">
      <path value="PlanDefinition.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="PlanDefinition.url">
      <path value="PlanDefinition.url"/>
      <short
             value="Logical URI to reference this plan definition (globally unique)"/>
      <definition
                  value="An absolute URI that is used to identify this plan definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this plan definition is (or will be) published. The URL SHOULD include the major version of the plan definition. For more information see [Technical and Business Versions](http://hl7.org/fhir/STU3/resource.html#versions)."/>
      <comment
               value="Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred.  Multiple instances may share the same url if they have a distinct version."/>
      <requirements
                    value="Allows the plan definition to be referenced by a single globally unique identifier."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.url"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.url"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="PlanDefinition.identifier">
      <path value="PlanDefinition.identifier"/>
      <short value="Additional identifier for the plan definition"/>
      <definition
                  value="A formal identifier that is used to identify this plan definition when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
      <comment
               value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this plan definition outside of FHIR, where it is not possible to use the logical URI."/>
      <requirements
                    value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.identifier"/>
      </mapping>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="PlanDefinition.version">
      <path value="PlanDefinition.version"/>
      <short value="Business version of the plan definition"/>
      <definition
                  value="The identifier that is used to identify this version of the plan definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the plan definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
      <comment
               value="There may be different plan definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a refrence to a particular business version of the plan definition with the format [url]|[version]."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.version"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.version"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id.version"/>
      </mapping>
    </element>
    <element id="PlanDefinition.name">
      <path value="PlanDefinition.name"/>
      <short value="Name for this plan definition (computer friendly)"/>
      <definition
                  value="A natural language name identifying the plan definition. This name should be usable as an identifier for the module by machine processing applications such as code generation."/>
      <comment
               value="The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly."/>
      <requirements value="Support human navigation and code generation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.name"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="PlanDefinition.title">
      <path value="PlanDefinition.title"/>
      <short value="Name for this plan definition (human friendly)"/>
      <definition
                  value="A short, descriptive, user-friendly title for the plan definition."/>
      <comment
               value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.title"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.title"/>
      </mapping>
    </element>
    <element id="PlanDefinition.type">
      <path value="PlanDefinition.type"/>
      <short value="order-set | protocol | eca-rule"/>
      <definition
                  value="The type of asset the plan definition represents, e.g. an order set, protocol, or event-condition-action rule."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PlanDefinitionType"/>
        </extension>
        <strength value="extensible"/>
        <description value="The type of PlanDefinition"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/plan-definition-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.status">
      <path value="PlanDefinition.status"/>
      <short value="draft | active | retired | unknown"/>
      <definition
                  value="The status of this plan definition. Enables tracking the life-cycle of the content."/>
      <comment
               value="Allows filtering of plan definitions that are appropriate for use vs. not.  
This is labeled as &quot;Is Modifier&quot; because applications should not use a retired plan definition without due consideration."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.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="PublicationStatus"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="required"/>
        <description value="The lifecycle status of a Value Set or Concept Map."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/publication-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.status (different ValueSet)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="PlanDefinition.experimental">
      <path value="PlanDefinition.experimental"/>
      <short value="For testing purposes, not real usage"/>
      <definition
                  value="A boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage."/>
      <comment
               value="Allows filtering of plan definition that are appropriate for use vs. not. This is labeled as &quot;Is Modifier&quot; because applications should not use an experimental plan definition in production."/>
      <requirements
                    value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level plan definition."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.experimental"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.experimental"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="PlanDefinition.date">
      <path value="PlanDefinition.date"/>
      <short value="Date this was last changed"/>
      <definition
                  value="The date  (and optionally time) when the plan definition was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes."/>
      <comment
               value="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the plan definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <alias value="Revision Date"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.date"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.date"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="PlanDefinition.publisher">
      <path value="PlanDefinition.publisher"/>
      <short value="Name of the publisher (organization or individual)"/>
      <definition
                  value="The name of the individual or organization that published the plan definition."/>
      <comment
               value="Usually an organization, but may be an individual. The publisher (or steward) of the plan definition is the organization or individual primarily responsible for the maintenance and upkeep of the plan definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the plan definition. This item SHOULD be populated unless the information is available from context."/>
      <requirements
                    value="Helps establish the &quot;authority/credibility&quot; of the plan definition.  May also allow for contact."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.publisher"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.publisher (as string instead of Reference)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.witness"/>
      </mapping>
    </element>
    <element id="PlanDefinition.description">
      <path value="PlanDefinition.description"/>
      <short value="Natural language description of the plan definition"/>
      <definition
                  value="A free text natural language description of the plan definition from a consumer&#39;s perspective."/>
      <comment
               value="This description can be used to capture details such as why the plan definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the plan definition as conveyed in the &#39;text&#39; field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="markdown"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.description"/>
      </mapping>
    </element>
    <element id="PlanDefinition.purpose">
      <path value="PlanDefinition.purpose"/>
      <short value="Why this plan definition is defined"/>
      <definition
                  value="Explaination of why this plan definition is needed and why it has been designed as it has."/>
      <comment
               value="This element does not describe the usage of the plan definition Instead  it provides traceability of &#39;&#39;why&#39;&#39; the resource is either needed or &#39;&#39;why&#39;&#39; it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this plan definition."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.purpose"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="markdown"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.purpose"/>
      </mapping>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="PlanDefinition.usage">
      <path value="PlanDefinition.usage"/>
      <short value="Describes the clinical usage of the asset"/>
      <definition
                  value="A detailed description of how the asset is used from a clinical perspective."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.usage"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.approvalDate">
      <path value="PlanDefinition.approvalDate"/>
      <short value="When the plan definition was approved by publisher"/>
      <definition
                  value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
      <comment
               value="The &#39;date&#39; element may be more recent than the approval date because of minor changes / editorial corrections."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.approvalDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.approvalDate"/>
      </mapping>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
    </element>
    <element id="PlanDefinition.lastReviewDate">
      <path value="PlanDefinition.lastReviewDate"/>
      <short value="When the plan definition was last reviewed"/>
      <definition
                  value="The date on which the resource content was last reviewed. Review happens periodically after approval, but doesn&#39;t change the original approval date."/>
      <comment value="If specified, this is usually after the approval date."/>
      <requirements
                    value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.lastReviewDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.lastReviewDate"/>
      </mapping>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
    </element>
    <element id="PlanDefinition.effectivePeriod">
      <path value="PlanDefinition.effectivePeriod"/>
      <short value="When the plan definition is expected to be used"/>
      <definition
                  value="The period during which the plan definition content was or is planned to be in active use."/>
      <comment
               value="The effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015."/>
      <requirements
                    value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of a the plan definition are or are expected to be used instead."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.effectivePeriod"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.effectivePeriod"/>
      </mapping>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
    </element>
    <element id="PlanDefinition.useContext">
      <path value="PlanDefinition.useContext"/>
      <short value="Context the content is intended to support"/>
      <definition
                  value="The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate plan definition instances."/>
      <comment
               value="When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply."/>
      <requirements value="Assist in searching for appropriate content."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.useContext"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="UsageContext"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.useContext"/>
      </mapping>
    </element>
    <element id="PlanDefinition.jurisdiction">
      <path value="PlanDefinition.jurisdiction"/>
      <short value="Intended jurisdiction for plan definition (if applicable)"/>
      <definition
                  value="A legal or geographic region in which the plan definition is intended to be used."/>
      <comment
               value="It may be possible for the plan definition to be used in jurisdictions other than those for which it was originally designed or intended."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.jurisdiction"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://ehealth.sundhed.dk/vs/jurisdiction"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.jurisdiction"/>
      </mapping>
    </element>
    <element id="PlanDefinition.topic">
      <path value="PlanDefinition.topic"/>
      <short value="E.g. Education, Treatment, Assessment, etc"/>
      <definition
                  value="Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching."/>
      <requirements
                    value="Repositories must be able to determine how to categorize the asset so that it can be found by topical searches."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.topic"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <valueSetReference>
          <reference value="http://ehealth.sundhed.dk/vs/topic-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.subjectCodableConcept"/>
      </mapping>
    </element>
    <element id="PlanDefinition.contributor">
      <path value="PlanDefinition.contributor"/>
      <short value="A content contributor"/>
      <definition
                  value="A contributor to the content of the asset, including authors, editors, reviewers, and endorsers."/>
      <requirements
                    value="Consumers of the content must be able to quickly determine who contributed to the content of the asset."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.contributor"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Contributor"/>
      </type>
    </element>
    <element id="PlanDefinition.contact">
      <path value="PlanDefinition.contact"/>
      <short value="Contact details for the publisher"/>
      <definition
                  value="Contact details to assist a user in finding and communicating with the publisher."/>
      <comment
               value="May be a web site, an email address, a telephone number, etc."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.contact"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="ContactDetail"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.contact"/>
      </mapping>
    </element>
    <element id="PlanDefinition.copyright">
      <path value="PlanDefinition.copyright"/>
      <short value="Use and/or publishing restrictions"/>
      <definition
                  value="A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition."/>
      <requirements
                    value="Consumers must be able to determine any legal restrictions on the use of the plan definition and/or its content."/>
      <alias value="License"/>
      <alias value="Restrictions"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.copyright"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="markdown"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.copyright"/>
      </mapping>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
    </element>
    <element id="PlanDefinition.relatedArtifact">
      <path value="PlanDefinition.relatedArtifact"/>
      <short value="Related artifacts for the asset"/>
      <definition
                  value="Related artifacts such as additional documentation, justification, or bibliographic references. Each related artifact is either an attachment, or a reference to another resource, but not both. The relatedArtifact.resource attribute can be used to specify a DocumentReference resource."/>
      <comment
               value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
      <requirements
                    value="Assets must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.relatedArtifact"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="RelatedArtifact"/>
      </type>
    </element>
    <element id="PlanDefinition.library">
      <path value="PlanDefinition.library"/>
      <short value="Logic used by the plan definition"/>
      <definition
                  value="A reference to a Library resource containing any formal logic used by the plan definition."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.library"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"/>
      </type>
    </element>
    <element id="PlanDefinition.goal">
      <path value="PlanDefinition.goal"/>
      <short value="What the plan is trying to accomplish"/>
      <definition
                  value="Goals that describe what the activities within the plan are intended to achieve. For example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc."/>
      <requirements
                    value="Goal information needs to be captured for order sets, protocols, and care plan definitions to better describe the objectives of the protocol activities and to guide the creation of specific goals within the derived care plans and orders."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.goal"/>
        <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() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PlanDefinition.goal.id">
      <path value="PlanDefinition.goal.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="PlanDefinition.goal.extension">
      <path value="PlanDefinition.goal.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="PlanDefinition.goal.modifierExtension">
      <path value="PlanDefinition.goal.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="PlanDefinition.goal.category">
      <path value="PlanDefinition.goal.category"/>
      <short value="E.g. Treatment, dietary, behavioral, etc"/>
      <definition value="Indicates a category the goal falls within."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.goal.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="GoalCategory"/>
        </extension>
        <strength value="example"/>
        <description
                     value="Example codes for grouping goals for filtering or presentation"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/goal-category"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.goal.description">
      <path value="PlanDefinition.goal.description"/>
      <short value="Code or text describing the goal"/>
      <definition
                  value="Human-readable and/or coded description of a specific desired objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an obstacle course&quot; or &quot;dance with child at wedding&quot;."/>
      <comment value="If no code is available, use CodeableConcept.text."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.goal.description"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="GoalDescription"/>
        </extension>
        <strength value="example"/>
        <description value="Describes goals that can be achieved"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.goal.priority">
      <path value="PlanDefinition.goal.priority"/>
      <short value="high-priority | medium-priority | low-priority"/>
      <definition
                  value="Identifies the expected level of importance associated with reaching/sustaining the defined goal."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.goal.priority"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="GoalPriority"/>
        </extension>
        <strength value="preferred"/>
        <description
                     value="Indicates the level of importance associated with reaching or sustaining a goal"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/goal-priority"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.goal.start">
      <path value="PlanDefinition.goal.start"/>
      <short value="When goal pursuit begins"/>
      <definition
                  value="The event after which the goal should begin being pursued."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.goal.start"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="GoalStartEvent"/>
        </extension>
        <strength value="example"/>
        <description
                     value="Identifies the types of events that might trigger the start of a goal"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/goal-start-event"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.goal.addresses">
      <path value="PlanDefinition.goal.addresses"/>
      <short value="What does the goal address"/>
      <definition
                  value="Identifies problems, conditions, issues, or concerns the goal is intended to address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.goal.addresses"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="GoalAddresses"/>
        </extension>
        <strength value="example"/>
        <description
                     value="Identifies problems, conditions, issues, or concerns that goals may address"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-code"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.goal.documentation">
      <path value="PlanDefinition.goal.documentation"/>
      <short value="Supporting documentation for the goal"/>
      <definition
                  value="Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.goal.documentation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="RelatedArtifact"/>
      </type>
    </element>
    <element id="PlanDefinition.goal.target">
      <path value="PlanDefinition.goal.target"/>
      <short value="Target outcome for the goal"/>
      <definition
                  value="Indicates what should be done and within what timeframe."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.goal.target"/>
        <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() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PlanDefinition.goal.target.id">
      <path value="PlanDefinition.goal.target.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="PlanDefinition.goal.target.extension">
      <path value="PlanDefinition.goal.target.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="PlanDefinition.goal.target.modifierExtension">
      <path value="PlanDefinition.goal.target.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="PlanDefinition.goal.target.measure">
      <path value="PlanDefinition.goal.target.measure"/>
      <short value="The parameter whose value is to be tracked"/>
      <definition
                  value="The parameter whose value is to be tracked, e.g. body weigth, blood pressure, or hemoglobin A1c level."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.goal.target.measure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="GoalTargetMeasure"/>
        </extension>
        <strength value="example"/>
        <description
                     value="Identifies types of parameters that can be tracked to determine goal achievement"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/observation-codes"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.goal.target.detail[x]">
      <path value="PlanDefinition.goal.target.detail[x]"/>
      <short value="The target value to be achieved"/>
      <definition
                  value="The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. Whan a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.goal.target.detail[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
      </type>
      <type>
        <code value="Range"/>
      </type>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="PlanDefinition.goal.target.due">
      <path value="PlanDefinition.goal.target.due"/>
      <short value="Reach goal within"/>
      <definition
                  value="Indicates the timeframe after the start of the goal in which the goal should be met."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.goal.target.due"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Duration"/>
      </type>
    </element>
    <element id="PlanDefinition.action">
      <path value="PlanDefinition.action"/>
      <short value="Action defined by the plan"/>
      <definition value="An action to be taken as part of the plan."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action"/>
        <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() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <mapping>
        <identity value="workflow"/>
        <map value="Is a contained Definition"/>
      </mapping>
    </element>
    <element id="PlanDefinition.action.id">
      <path value="PlanDefinition.action.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="PlanDefinition.action.extension">
      <path value="PlanDefinition.action.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="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
    </element>
    <element id="PlanDefinition.action.extension:overviewUsageMode">
      <path value="PlanDefinition.action.extension"/>
      <sliceName value="overviewUsageMode"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode"/>
      </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() &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(.), &#39;value&#39;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
    </element>
    <element id="PlanDefinition.action.modifierExtension">
      <path value="PlanDefinition.action.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="PlanDefinition.action.label">
      <path value="PlanDefinition.action.label"/>
      <short value="User-visible label for the action (e.g. 1. or A.)"/>
      <definition value="A user-visible label for the action."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.label"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.title">
      <path value="PlanDefinition.action.title"/>
      <short value="User-visible title"/>
      <definition value="The title of the action displayed to a user."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.title"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.title"/>
      </mapping>
    </element>
    <element id="PlanDefinition.action.description">
      <path value="PlanDefinition.action.description"/>
      <short value="Short description of the action"/>
      <definition
                  value="A short description of the action used to provide a summary to display to the user."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.description"/>
      </mapping>
    </element>
    <element id="PlanDefinition.action.textEquivalent">
      <path value="PlanDefinition.action.textEquivalent"/>
      <short
             value="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system"/>
      <definition
                  value="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that may not be capable of interpreting it dynamically."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.textEquivalent"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.description"/>
      </mapping>
    </element>
    <element id="PlanDefinition.action.code">
      <path value="PlanDefinition.action.code"/>
      <short value="Code representing the meaning of the action or sub-actions"/>
      <definition
                  value="A code that provides meaning for the action or action group. For example, a section may have a LOINC code for a the section of a documentation template."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.code"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="PlanDefinition.action.reason">
      <path value="PlanDefinition.action.reason"/>
      <short value="Why the action should be performed"/>
      <definition
                  value="A description of why this action is necessary or appropriate."/>
      <comment
               value="This is different than the clinical evidence documentation, it&#39;s an actual business description of the reason for performing the action."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.reason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="PlanDefinition.action.documentation">
      <path value="PlanDefinition.action.documentation"/>
      <short
             value="Supporting documentation for the intended performer of the action"/>
      <definition
                  value="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.documentation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="RelatedArtifact"/>
      </type>
    </element>
    <element id="PlanDefinition.action.goalId">
      <path value="PlanDefinition.action.goalId"/>
      <short value="What goals this action supports"/>
      <definition
                  value="Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.goalId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="id"/>
      </type>
    </element>
    <element id="PlanDefinition.action.triggerDefinition">
      <path value="PlanDefinition.action.triggerDefinition"/>
      <short value="When the action should be triggered"/>
      <definition value="A description of when the action should be triggered."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.triggerDefinition"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="TriggerDefinition"/>
      </type>
    </element>
    <element id="PlanDefinition.action.condition">
      <path value="PlanDefinition.action.condition"/>
      <short value="Whether or not the action is applicable"/>
      <definition
                  value="An expression that describes applicability criteria, or start/stop conditions for the action."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.condition"/>
        <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() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PlanDefinition.action.condition.id">
      <path value="PlanDefinition.action.condition.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="PlanDefinition.action.condition.extension">
      <path value="PlanDefinition.action.condition.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="PlanDefinition.action.condition.modifierExtension">
      <path value="PlanDefinition.action.condition.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="PlanDefinition.action.condition.kind">
      <path value="PlanDefinition.action.condition.kind"/>
      <short value="applicability | start | stop"/>
      <definition value="The kind of condition."/>
      <comment
               value="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe when enter/exit criteria for an action."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.condition.kind"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionConditionKind"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Defines the kinds of conditions that can appear on actions"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/action-condition-kind"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.condition.description">
      <path value="PlanDefinition.action.condition.description"/>
      <short value="Natural language description of the condition"/>
      <definition
                  value="A brief, natural language description of the condition that effectively communicates the intended semantics."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.condition.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.condition.language">
      <path value="PlanDefinition.action.condition.language"/>
      <short value="Language of the expression"/>
      <definition value="The media type of the language for the expression."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.condition.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.condition.expression">
      <path value="PlanDefinition.action.condition.expression"/>
      <short value="Boolean-valued expression"/>
      <definition
                  value="An expression that returns true or false, indicating whether or not the condition is satisfied."/>
      <comment
               value="The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.condition.expression"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.input">
      <path value="PlanDefinition.action.input"/>
      <short value="Input data requirements"/>
      <definition value="Defines input data requirements for the action."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.input"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="DataRequirement"/>
      </type>
    </element>
    <element id="PlanDefinition.action.output">
      <path value="PlanDefinition.action.output"/>
      <short value="Output data definition"/>
      <definition value="Defines the outputs of the action, if any."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.output"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="DataRequirement"/>
      </type>
    </element>
    <element id="PlanDefinition.action.relatedAction">
      <path value="PlanDefinition.action.relatedAction"/>
      <short value="Relationship to another action"/>
      <definition
                  value="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;."/>
      <comment
               value="When an action depends on multiple actions, the meaning is that all actions are dependencies, rather than that any of the actions are a dependency."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.relatedAction"/>
        <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() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PlanDefinition.action.relatedAction.id">
      <path value="PlanDefinition.action.relatedAction.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="PlanDefinition.action.relatedAction.extension">
      <path value="PlanDefinition.action.relatedAction.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="PlanDefinition.action.relatedAction.modifierExtension">
      <path value="PlanDefinition.action.relatedAction.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="PlanDefinition.action.relatedAction.actionId">
      <path value="PlanDefinition.action.relatedAction.actionId"/>
      <short value="What action is this related to"/>
      <definition value="The element id of the related action."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.relatedAction.actionId"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
    </element>
    <element id="PlanDefinition.action.relatedAction.relationship">
      <path value="PlanDefinition.action.relatedAction.relationship"/>
      <short
             value="before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end"/>
      <definition value="The relationship of this action to the related action."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.relatedAction.relationship"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionRelationshipType"/>
        </extension>
        <strength value="required"/>
        <description value="Defines the types of relationships between actions"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-relationship-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.relatedAction.offset[x]">
      <path value="PlanDefinition.action.relatedAction.offset[x]"/>
      <short value="Time offset for the relationship"/>
      <definition
                  value="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.relatedAction.offset[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Duration"/>
      </type>
      <type>
        <code value="Range"/>
      </type>
    </element>
    <element id="PlanDefinition.action.timing[x]">
      <path value="PlanDefinition.action.timing[x]"/>
      <short value="When the action should take place"/>
      <definition
                  value="An optional value describing when the action should be performed."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.timing[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <type>
        <code value="Duration"/>
      </type>
      <type>
        <code value="Range"/>
      </type>
      <type>
        <code value="Timing"/>
      </type>
    </element>
    <element id="PlanDefinition.action.participant">
      <path value="PlanDefinition.action.participant"/>
      <short value="Who should participate in the action"/>
      <definition
                  value="Indicates who should participate in performing the action described."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.participant"/>
        <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() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PlanDefinition.action.participant.id">
      <path value="PlanDefinition.action.participant.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="PlanDefinition.action.participant.extension">
      <path value="PlanDefinition.action.participant.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="PlanDefinition.action.participant.modifierExtension">
      <path value="PlanDefinition.action.participant.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="PlanDefinition.action.participant.type">
      <path value="PlanDefinition.action.participant.type"/>
      <short value="patient | practitioner | related-person"/>
      <definition value="The type of participant in the action."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.participant.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionParticipantType"/>
        </extension>
        <strength value="required"/>
        <description value="The type of participant for the action"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-participant-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.participant.role">
      <path value="PlanDefinition.action.participant.role"/>
      <short value="E.g. Nurse, Surgeon, Parent, etc"/>
      <definition
                  value="The role the participant should play in performing the described action."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.participant.role"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionParticipantRole"/>
        </extension>
        <strength value="example"/>
        <description value="Defines roles played by participants for the action"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-participant-role"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.type">
      <path value="PlanDefinition.action.type"/>
      <short value="create | update | remove | fire-event"/>
      <definition
                  value="The type of action to perform (create, update, remove)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionType"/>
        </extension>
        <strength value="required"/>
        <description value="The type of action to be performed"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/action-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.groupingBehavior">
      <path value="PlanDefinition.action.groupingBehavior"/>
      <short value="visual-group | logical-group | sentence-group"/>
      <definition
                  value="Defines the grouping behavior for the action and its children."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.groupingBehavior"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionGroupingBehavior"/>
        </extension>
        <strength value="required"/>
        <description value="Defines organization behavior of a group"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-grouping-behavior"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.selectionBehavior">
      <path value="PlanDefinition.action.selectionBehavior"/>
      <short
             value="any | all | all-or-none | exactly-one | at-most-one | one-or-more"/>
      <definition
                  value="Defines the selection behavior for the action and its children."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.selectionBehavior"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionSelectionBehavior"/>
        </extension>
        <strength value="required"/>
        <description value="Defines selection behavior of a group"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-selection-behavior"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.requiredBehavior">
      <path value="PlanDefinition.action.requiredBehavior"/>
      <short value="must | could | must-unless-documented"/>
      <definition value="Defines the requiredness behavior for the action."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.requiredBehavior"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionRequiredBehavior"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Defines requiredness behavior for selecting an action or an action group"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-required-behavior"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.precheckBehavior">
      <path value="PlanDefinition.action.precheckBehavior"/>
      <short value="yes | no"/>
      <definition
                  value="Defines whether the action should usually be preselected."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.precheckBehavior"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionPrecheckBehavior"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Defines selection frequency behavior for an action or group"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-precheck-behavior"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.cardinalityBehavior">
      <path value="PlanDefinition.action.cardinalityBehavior"/>
      <short value="single | multiple"/>
      <definition
                  value="Defines whether the action can be selected multiple times."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.cardinalityBehavior"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ActionCardinalityBehavior"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Defines behavior for an action or a group for how many times that item may be repeated"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/action-cardinality-behavior"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.action.definition">
      <path value="PlanDefinition.action.definition"/>
      <short value="Description of the activity to be performed"/>
      <definition
                  value="A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken."/>
      <comment
               value="Note that the definition is optional, and if no definition is specified, a dynamicValue with a root (~) path can be used to define the entire resource dynamically."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.definition"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Definition.definition"/>
      </mapping>
    </element>
    <element id="PlanDefinition.action.transform">
      <path value="PlanDefinition.action.transform"/>
      <short value="Transform to apply the template"/>
      <definition
                  value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.transform"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
      </type>
    </element>
    <element id="PlanDefinition.action.dynamicValue">
      <path value="PlanDefinition.action.dynamicValue"/>
      <short value="Dynamic aspects of the definition"/>
      <definition
                  value="Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient&#39;s weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.dynamicValue"/>
        <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() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PlanDefinition.action.dynamicValue.id">
      <path value="PlanDefinition.action.dynamicValue.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="PlanDefinition.action.dynamicValue.extension">
      <path value="PlanDefinition.action.dynamicValue.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="PlanDefinition.action.dynamicValue.modifierExtension">
      <path value="PlanDefinition.action.dynamicValue.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="PlanDefinition.action.dynamicValue.description">
      <path value="PlanDefinition.action.dynamicValue.description"/>
      <short value="Natural language description of the dynamic value"/>
      <definition
                  value="A brief, natural language description of the intended semantics of the dynamic value."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.dynamicValue.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.dynamicValue.path">
      <path value="PlanDefinition.action.dynamicValue.path"/>
      <short value="The path to the element to be set dynamically"/>
      <definition
                  value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.dynamicValue.path"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.dynamicValue.language">
      <path value="PlanDefinition.action.dynamicValue.language"/>
      <short value="Language of the expression"/>
      <definition value="The media type of the language for the expression."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.dynamicValue.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.dynamicValue.expression">
      <path value="PlanDefinition.action.dynamicValue.expression"/>
      <short
             value="An expression that provides the dynamic value for the customization"/>
      <definition
                  value="An expression specifying the value of the customized element."/>
      <comment
               value="The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlanDefinition.action.dynamicValue.expression"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="PlanDefinition.action.action">
      <path value="PlanDefinition.action.action"/>
      <short value="A sub-action"/>
      <definition
                  value="Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlanDefinition.action.action"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <contentReference
                        value="http://hl7.org/fhir/StructureDefinition/PlanDefinition#PlanDefinition.action"/>
      <mapping>
        <identity value="workflow"/>
        <map value="InverseRelationship of Definition.partOf"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="PlanDefinition">
      <path value="PlanDefinition"/>
      <short
             value="This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact."/>
    </element>
    <element id="PlanDefinition.extension">
      <path value="PlanDefinition.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
    </element>
    <element id="PlanDefinition.extension:recommendation">
      <path value="PlanDefinition.extension"/>
      <sliceName value="recommendation"/>
      <short value="Recommendation state of the plan definition."/>
      <definition
                  value="Defines the recommendation state of the plan definition."/>
      <max value="1"/>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation"/>
      </type>
      <binding>
        <strength value="required"/>
        <description value="Value set of plan definition recommendation codes."/>
        <valueSetUri
                     value="http://ehealth.sundhed.dk/vs/plandefinition-recommendation"/>
      </binding>
    </element>
    <element id="PlanDefinition.extension:intendedAudience">
      <path value="PlanDefinition.extension"/>
      <sliceName value="intendedAudience"/>
      <short value="The intended audience of the plandefinition"/>
      <definition
                  value="Specifies that the plandefinition is only intended for use in the specified organisations. Leave blank if the plandefinition is intended for global use."/>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience"/>
      </type>
    </element>
    <element id="PlanDefinition.extension:modifierRole">
      <path value="PlanDefinition.extension"/>
      <sliceName value="modifierRole"/>
      <short
             value="Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers."/>
      <definition
                  value="Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers."/>
      <min value="1"/>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role"/>
      </type>
    </element>
    <element id="PlanDefinition.version">
      <path value="PlanDefinition.version"/>
      <min value="1"/>
    </element>
    <element id="PlanDefinition.jurisdiction">
      <path value="PlanDefinition.jurisdiction"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://ehealth.sundhed.dk/vs/jurisdiction"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.topic">
      <path value="PlanDefinition.topic"/>
      <binding>
        <strength value="example"/>
        <valueSetReference>
          <reference value="http://ehealth.sundhed.dk/vs/topic-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PlanDefinition.relatedArtifact">
      <path value="PlanDefinition.relatedArtifact"/>
      <definition
                  value="Related artifacts such as additional documentation, justification, or bibliographic references. Each related artifact is either an attachment, or a reference to another resource, but not both. The relatedArtifact.resource attribute can be used to specify a DocumentReference resource."/>
    </element>
    <element id="PlanDefinition.library">
      <path value="PlanDefinition.library"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"/>
      </type>
    </element>
    <element id="PlanDefinition.action.extension">
      <path value="PlanDefinition.action.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
    </element>
    <element id="PlanDefinition.action.extension:overviewUsageMode">
      <path value="PlanDefinition.action.extension"/>
      <sliceName value="overviewUsageMode"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode"/>
      </type>
    </element>
    <element id="PlanDefinition.action.definition">
      <path value="PlanDefinition.action.definition"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"/>
      </type>
    </element>
  </differential>
</StructureDefinition>