eHealth Infrastructure (v2019.6.1)

{
  "resourceType" : "StructureDefinition",
  "id" : "ehealth-plandefinition",
  "text" : {
    "status" : "generated",
    "div" : "<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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span title=\"null\">PlanDefinition</span><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.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</span></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\">This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact.</td></tr>\r\n<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\"/> <span title=\"null\">extension</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.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</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.4\" 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=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url</td></tr>\r\n<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.4\">0</span>..<span style=\"opacity: 0.4\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/datatypes.html#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\">PlanDefinitionRecommendation</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<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.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</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>()</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>\r\n<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..*</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>\r\n<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\"/> <span title=\"null\">version</span><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..1</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.4\" 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\"/></tr>\r\n<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=\"null\">topic</span><a name=\"PlanDefinition.topic\"> </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.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</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.4\" 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=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-ehealth-topic-type.html\">TopicType</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>\r\n<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\"/> <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: #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.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</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.4\" href=\"http://hl7.org/fhir/STU3/metadatatypes.html#RelatedArtifact\">RelatedArtifact</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span title=\"null\">library</span><a name=\"PlanDefinition.library\"> </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.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-ehealth-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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span title=\"null\">action</span><a name=\"PlanDefinition.action\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<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_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: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span title=\"null\">definition</span><a name=\"PlanDefinition.action.definition\"> </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.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<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>"
  },
  "url" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition",
  "version" : "2019.6.1",
  "name" : "ehealth-plandefinition",
  "title" : "eHealth PlanDefinition",
  "status" : "draft",
  "date" : "2019-12-04T13:16:07+00:00",
  "publisher" : "ehealth.sundhed.dk",
  "fhirVersion" : "3.0.2",
  "mapping" : [
    {
      "identity" : "workflow",
      "uri" : "http://hl7.org/fhir/workflow",
      "name" : "Workflow Mapping"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    },
    {
      "identity" : "objimpl",
      "uri" : "http://hl7.org/fhir/object-implementation",
      "name" : "Object Implementation Information"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "PlanDefinition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/PlanDefinition",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "PlanDefinition",
        "path" : "PlanDefinition",
        "short" : "This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact.",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-1",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression" : "contained.text.empty()",
            "xpath" : "not(parent::f:contained and f:text)",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source" : "DomainResource"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "workflow",
            "map" : "Definition"
          },
          {
            "identity" : "w5",
            "map" : "clinical.general"
          }
        ]
      },
      {
        "id" : "PlanDefinition.id",
        "path" : "PlanDefinition.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "PlanDefinition.meta",
        "path" : "PlanDefinition.meta",
        "short" : "Metadata about the resource",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "PlanDefinition.implicitRules",
        "path" : "PlanDefinition.implicitRules",
        "short" : "A set of rules under which this content was created",
        "definition" : "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" : "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "PlanDefinition.language",
        "path" : "PlanDefinition.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comment" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "extensible",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id" : "PlanDefinition.text",
        "path" : "PlanDefinition.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "condition" : [
          "dom-1"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "PlanDefinition.contained",
        "path" : "PlanDefinition.contained",
        "short" : "Contained, inline Resources",
        "definition" : "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" : "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" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.extension",
        "path" : "PlanDefinition.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "PlanDefinition.extension:recommendation",
        "path" : "PlanDefinition.extension",
        "sliceName" : "recommendation",
        "short" : "Recommendation state of the plan definition.",
        "definition" : "Defines the recommendation state of the plan definition.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ]
      },
      {
        "id" : "PlanDefinition.extension:intendedAudience",
        "path" : "PlanDefinition.extension",
        "sliceName" : "intendedAudience",
        "short" : "The intended audience of the plandefinition",
        "definition" : "Specifies that the plandefinition is only intended for use in the specified organisations. Leave blank if the plandefinition is intended for global use.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ]
      },
      {
        "id" : "PlanDefinition.extension:modifierRole",
        "path" : "PlanDefinition.extension",
        "sliceName" : "modifierRole",
        "short" : "Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.",
        "definition" : "Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ]
      },
      {
        "id" : "PlanDefinition.modifierExtension",
        "path" : "PlanDefinition.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.url",
        "path" : "PlanDefinition.url",
        "short" : "Logical URI to reference this plan definition (globally unique)",
        "definition" : "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" : "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" : "Allows the plan definition to be referenced by a single globally unique identifier.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.url",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.url"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "PlanDefinition.identifier",
        "path" : "PlanDefinition.identifier",
        "short" : "Additional identifier for the plan definition",
        "definition" : "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" : "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" : "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.identifier"
          },
          {
            "identity" : "objimpl",
            "map" : "no-gen-base"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "PlanDefinition.version",
        "path" : "PlanDefinition.version",
        "short" : "Business version of the plan definition",
        "definition" : "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" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.version"
          },
          {
            "identity" : "w5",
            "map" : "id.version"
          }
        ]
      },
      {
        "id" : "PlanDefinition.name",
        "path" : "PlanDefinition.name",
        "short" : "Name for this plan definition (computer friendly)",
        "definition" : "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" : "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" : "Support human navigation and code generation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.name",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "PlanDefinition.title",
        "path" : "PlanDefinition.title",
        "short" : "Name for this plan definition (human friendly)",
        "definition" : "A short, descriptive, user-friendly title for the plan definition.",
        "comment" : "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.title",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.title"
          }
        ]
      },
      {
        "id" : "PlanDefinition.type",
        "path" : "PlanDefinition.type",
        "short" : "order-set | protocol | eca-rule",
        "definition" : "The type of asset the plan definition represents, e.g. an order set, protocol, or event-condition-action rule.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PlanDefinitionType"
            }
          ],
          "strength" : "extensible",
          "description" : "The type of PlanDefinition",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/plan-definition-type"
          }
        }
      },
      {
        "id" : "PlanDefinition.status",
        "path" : "PlanDefinition.status",
        "short" : "draft | active | retired | unknown",
        "definition" : "The status of this plan definition. Enables tracking the life-cycle of the content.",
        "comment" : "Allows filtering of plan definitions that are appropriate for use vs. not.  \nThis is labeled as \"Is Modifier\" because applications should not use a retired plan definition without due consideration.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.status",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PublicationStatus"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "required",
          "description" : "The lifecycle status of a Value Set or Concept Map.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/publication-status"
          }
        },
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.status (different ValueSet)"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        ]
      },
      {
        "id" : "PlanDefinition.experimental",
        "path" : "PlanDefinition.experimental",
        "short" : "For testing purposes, not real usage",
        "definition" : "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" : "Allows filtering of plan definition that are appropriate for use vs. not. This is labeled as \"Is Modifier\" because applications should not use an experimental plan definition in production.",
        "requirements" : "Enables experimental content to be developed following the same lifecycle that would be used for a production-level plan definition.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.experimental",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.experimental"
          },
          {
            "identity" : "w5",
            "map" : "class"
          }
        ]
      },
      {
        "id" : "PlanDefinition.date",
        "path" : "PlanDefinition.date",
        "short" : "Date this was last changed",
        "definition" : "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" : "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" : [
          "Revision Date"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.date",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.date"
          },
          {
            "identity" : "w5",
            "map" : "when.recorded"
          }
        ]
      },
      {
        "id" : "PlanDefinition.publisher",
        "path" : "PlanDefinition.publisher",
        "short" : "Name of the publisher (organization or individual)",
        "definition" : "The name of the individual or organization that published the plan definition.",
        "comment" : "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" : "Helps establish the \"authority/credibility\" of the plan definition.  May also allow for contact.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.publisher",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.publisher (as string instead of Reference)"
          },
          {
            "identity" : "w5",
            "map" : "who.witness"
          }
        ]
      },
      {
        "id" : "PlanDefinition.description",
        "path" : "PlanDefinition.description",
        "short" : "Natural language description of the plan definition",
        "definition" : "A free text natural language description of the plan definition from a consumer's perspective.",
        "comment" : "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 'text' 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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "markdown"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.description"
          }
        ]
      },
      {
        "id" : "PlanDefinition.purpose",
        "path" : "PlanDefinition.purpose",
        "short" : "Why this plan definition is defined",
        "definition" : "Explaination of why this plan definition is needed and why it has been designed as it has.",
        "comment" : "This element does not describe the usage of the plan definition Instead  it provides traceability of ''why'' the resource is either needed or ''why'' 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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.purpose",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "markdown"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.purpose"
          },
          {
            "identity" : "objimpl",
            "map" : "no-gen-base"
          },
          {
            "identity" : "w5",
            "map" : "why"
          }
        ]
      },
      {
        "id" : "PlanDefinition.usage",
        "path" : "PlanDefinition.usage",
        "short" : "Describes the clinical usage of the asset",
        "definition" : "A detailed description of how the asset is used from a clinical perspective.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.usage",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.approvalDate",
        "path" : "PlanDefinition.approvalDate",
        "short" : "When the plan definition was approved by publisher",
        "definition" : "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
        "comment" : "The 'date' element may be more recent than the approval date because of minor changes / editorial corrections.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.approvalDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.approvalDate"
          },
          {
            "identity" : "objimpl",
            "map" : "no-gen-base"
          }
        ]
      },
      {
        "id" : "PlanDefinition.lastReviewDate",
        "path" : "PlanDefinition.lastReviewDate",
        "short" : "When the plan definition was last reviewed",
        "definition" : "The date on which the resource content was last reviewed. Review happens periodically after approval, but doesn't change the original approval date.",
        "comment" : "If specified, this is usually after the approval date.",
        "requirements" : "Gives a sense of how \"current\" the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.lastReviewDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.lastReviewDate"
          },
          {
            "identity" : "objimpl",
            "map" : "no-gen-base"
          }
        ]
      },
      {
        "id" : "PlanDefinition.effectivePeriod",
        "path" : "PlanDefinition.effectivePeriod",
        "short" : "When the plan definition is expected to be used",
        "definition" : "The period during which the plan definition content was or is planned to be in active use.",
        "comment" : "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" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.effectivePeriod",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.effectivePeriod"
          },
          {
            "identity" : "objimpl",
            "map" : "no-gen-base"
          }
        ]
      },
      {
        "id" : "PlanDefinition.useContext",
        "path" : "PlanDefinition.useContext",
        "short" : "Context the content is intended to support",
        "definition" : "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" : "When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.",
        "requirements" : "Assist in searching for appropriate content.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.useContext",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "UsageContext"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.useContext"
          }
        ]
      },
      {
        "id" : "PlanDefinition.jurisdiction",
        "path" : "PlanDefinition.jurisdiction",
        "short" : "Intended jurisdiction for plan definition (if applicable)",
        "definition" : "A legal or geographic region in which the plan definition is intended to be used.",
        "comment" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.jurisdiction",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Jurisdiction"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "extensible",
          "description" : "Countries and regions within which this artifact is targeted for use",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/jurisdiction"
          }
        },
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.jurisdiction"
          }
        ]
      },
      {
        "id" : "PlanDefinition.topic",
        "path" : "PlanDefinition.topic",
        "short" : "E.g. Education, Treatment, Assessment, etc",
        "definition" : "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" : "Repositories must be able to determine how to categorize the asset so that it can be found by topical searches.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.topic",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DefinitionTopic"
            }
          ],
          "strength" : "example",
          "valueSetReference" : {
            "reference" : "http://ehealth.sundhed.dk/vs/topic-type"
          }
        },
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.subjectCodableConcept"
          }
        ]
      },
      {
        "id" : "PlanDefinition.contributor",
        "path" : "PlanDefinition.contributor",
        "short" : "A content contributor",
        "definition" : "A contributor to the content of the asset, including authors, editors, reviewers, and endorsers.",
        "requirements" : "Consumers of the content must be able to quickly determine who contributed to the content of the asset.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.contributor",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Contributor"
          }
        ]
      },
      {
        "id" : "PlanDefinition.contact",
        "path" : "PlanDefinition.contact",
        "short" : "Contact details for the publisher",
        "definition" : "Contact details to assist a user in finding and communicating with the publisher.",
        "comment" : "May be a web site, an email address, a telephone number, etc.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.contact",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactDetail"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.contact"
          }
        ]
      },
      {
        "id" : "PlanDefinition.copyright",
        "path" : "PlanDefinition.copyright",
        "short" : "Use and/or publishing restrictions",
        "definition" : "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" : "Consumers must be able to determine any legal restrictions on the use of the plan definition and/or its content.",
        "alias" : [
          "License",
          "Restrictions"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.copyright",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "markdown"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.copyright"
          },
          {
            "identity" : "objimpl",
            "map" : "no-gen-base"
          }
        ]
      },
      {
        "id" : "PlanDefinition.relatedArtifact",
        "path" : "PlanDefinition.relatedArtifact",
        "short" : "Related artifacts for the asset",
        "definition" : "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" : "Each related artifact is either an attachment, or a reference to another resource, but not both.",
        "requirements" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.relatedArtifact",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "RelatedArtifact"
          }
        ]
      },
      {
        "id" : "PlanDefinition.library",
        "path" : "PlanDefinition.library",
        "short" : "Logic used by the plan definition",
        "definition" : "A reference to a Library resource containing any formal logic used by the plan definition.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.library",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal",
        "path" : "PlanDefinition.goal",
        "short" : "What the plan is trying to accomplish",
        "definition" : "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" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.goal",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.id",
        "path" : "PlanDefinition.goal.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.extension",
        "path" : "PlanDefinition.goal.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.modifierExtension",
        "path" : "PlanDefinition.goal.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.category",
        "path" : "PlanDefinition.goal.category",
        "short" : "E.g. Treatment, dietary, behavioral, etc",
        "definition" : "Indicates a category the goal falls within.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.goal.category",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalCategory"
            }
          ],
          "strength" : "example",
          "description" : "Example codes for grouping goals for filtering or presentation",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/goal-category"
          }
        }
      },
      {
        "id" : "PlanDefinition.goal.description",
        "path" : "PlanDefinition.goal.description",
        "short" : "Code or text describing the goal",
        "definition" : "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".",
        "comment" : "If no code is available, use CodeableConcept.text.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.goal.description",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalDescription"
            }
          ],
          "strength" : "example",
          "description" : "Describes goals that can be achieved",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/clinical-findings"
          }
        }
      },
      {
        "id" : "PlanDefinition.goal.priority",
        "path" : "PlanDefinition.goal.priority",
        "short" : "high-priority | medium-priority | low-priority",
        "definition" : "Identifies the expected level of importance associated with reaching/sustaining the defined goal.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.goal.priority",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalPriority"
            }
          ],
          "strength" : "preferred",
          "description" : "Indicates the level of importance associated with reaching or sustaining a goal",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/goal-priority"
          }
        }
      },
      {
        "id" : "PlanDefinition.goal.start",
        "path" : "PlanDefinition.goal.start",
        "short" : "When goal pursuit begins",
        "definition" : "The event after which the goal should begin being pursued.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.goal.start",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalStartEvent"
            }
          ],
          "strength" : "example",
          "description" : "Identifies the types of events that might trigger the start of a goal",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/goal-start-event"
          }
        }
      },
      {
        "id" : "PlanDefinition.goal.addresses",
        "path" : "PlanDefinition.goal.addresses",
        "short" : "What does the goal address",
        "definition" : "Identifies problems, conditions, issues, or concerns the goal is intended to address.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.goal.addresses",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalAddresses"
            }
          ],
          "strength" : "example",
          "description" : "Identifies problems, conditions, issues, or concerns that goals may address",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-code"
          }
        }
      },
      {
        "id" : "PlanDefinition.goal.documentation",
        "path" : "PlanDefinition.goal.documentation",
        "short" : "Supporting documentation for the goal",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.goal.documentation",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "RelatedArtifact"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.target",
        "path" : "PlanDefinition.goal.target",
        "short" : "Target outcome for the goal",
        "definition" : "Indicates what should be done and within what timeframe.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.goal.target",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.target.id",
        "path" : "PlanDefinition.goal.target.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.target.extension",
        "path" : "PlanDefinition.goal.target.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.target.modifierExtension",
        "path" : "PlanDefinition.goal.target.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.target.measure",
        "path" : "PlanDefinition.goal.target.measure",
        "short" : "The parameter whose value is to be tracked",
        "definition" : "The parameter whose value is to be tracked, e.g. body weigth, blood pressure, or hemoglobin A1c level.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.goal.target.measure",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalTargetMeasure"
            }
          ],
          "strength" : "example",
          "description" : "Identifies types of parameters that can be tracked to determine goal achievement",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/observation-codes"
          }
        }
      },
      {
        "id" : "PlanDefinition.goal.target.detail[x]",
        "path" : "PlanDefinition.goal.target.detail[x]",
        "short" : "The target value to be achieved",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.goal.target.detail[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "PlanDefinition.goal.target.due",
        "path" : "PlanDefinition.goal.target.due",
        "short" : "Reach goal within",
        "definition" : "Indicates the timeframe after the start of the goal in which the goal should be met.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.goal.target.due",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Duration"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action",
        "path" : "PlanDefinition.action",
        "short" : "Action defined by the plan",
        "definition" : "An action to be taken as part of the plan.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Is a contained Definition"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.id",
        "path" : "PlanDefinition.action.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.extension",
        "path" : "PlanDefinition.action.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.modifierExtension",
        "path" : "PlanDefinition.action.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.label",
        "path" : "PlanDefinition.action.label",
        "short" : "User-visible label for the action (e.g. 1. or A.)",
        "definition" : "A user-visible label for the action.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.label",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.title",
        "path" : "PlanDefinition.action.title",
        "short" : "User-visible title",
        "definition" : "The title of the action displayed to a user.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.title",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.title"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.description",
        "path" : "PlanDefinition.action.description",
        "short" : "Short description of the action",
        "definition" : "A short description of the action used to provide a summary to display to the user.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.description"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.textEquivalent",
        "path" : "PlanDefinition.action.textEquivalent",
        "short" : "Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.textEquivalent",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.description"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.code",
        "path" : "PlanDefinition.action.code",
        "short" : "Code representing the meaning of the action or sub-actions",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.code",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.reason",
        "path" : "PlanDefinition.action.reason",
        "short" : "Why the action should be performed",
        "definition" : "A description of why this action is necessary or appropriate.",
        "comment" : "This is different than the clinical evidence documentation, it's an actual business description of the reason for performing the action.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.reason",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.documentation",
        "path" : "PlanDefinition.action.documentation",
        "short" : "Supporting documentation for the intended performer of the action",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.documentation",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "RelatedArtifact"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.goalId",
        "path" : "PlanDefinition.action.goalId",
        "short" : "What goals this action supports",
        "definition" : "Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.goalId",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.triggerDefinition",
        "path" : "PlanDefinition.action.triggerDefinition",
        "short" : "When the action should be triggered",
        "definition" : "A description of when the action should be triggered.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.triggerDefinition",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "TriggerDefinition"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.condition",
        "path" : "PlanDefinition.action.condition",
        "short" : "Whether or not the action is applicable",
        "definition" : "An expression that describes applicability criteria, or start/stop conditions for the action.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.condition",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.condition.id",
        "path" : "PlanDefinition.action.condition.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.condition.extension",
        "path" : "PlanDefinition.action.condition.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.condition.modifierExtension",
        "path" : "PlanDefinition.action.condition.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.condition.kind",
        "path" : "PlanDefinition.action.condition.kind",
        "short" : "applicability | start | stop",
        "definition" : "The kind of condition.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.condition.kind",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionConditionKind"
            }
          ],
          "strength" : "required",
          "description" : "Defines the kinds of conditions that can appear on actions",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-condition-kind"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.condition.description",
        "path" : "PlanDefinition.action.condition.description",
        "short" : "Natural language description of the condition",
        "definition" : "A brief, natural language description of the condition that effectively communicates the intended semantics.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.condition.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.condition.language",
        "path" : "PlanDefinition.action.condition.language",
        "short" : "Language of the expression",
        "definition" : "The media type of the language for the expression.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.condition.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.condition.expression",
        "path" : "PlanDefinition.action.condition.expression",
        "short" : "Boolean-valued expression",
        "definition" : "An expression that returns true or false, indicating whether or not the condition is satisfied.",
        "comment" : "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.condition.expression",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.input",
        "path" : "PlanDefinition.action.input",
        "short" : "Input data requirements",
        "definition" : "Defines input data requirements for the action.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.input",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "DataRequirement"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.output",
        "path" : "PlanDefinition.action.output",
        "short" : "Output data definition",
        "definition" : "Defines the outputs of the action, if any.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.output",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "DataRequirement"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.relatedAction",
        "path" : "PlanDefinition.action.relatedAction",
        "short" : "Relationship to another action",
        "definition" : "A relationship to another action such as \"before\" or \"30-60 minutes after start of\".",
        "comment" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.relatedAction",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.relatedAction.id",
        "path" : "PlanDefinition.action.relatedAction.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.relatedAction.extension",
        "path" : "PlanDefinition.action.relatedAction.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.relatedAction.modifierExtension",
        "path" : "PlanDefinition.action.relatedAction.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.relatedAction.actionId",
        "path" : "PlanDefinition.action.relatedAction.actionId",
        "short" : "What action is this related to",
        "definition" : "The element id of the related action.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.relatedAction.actionId",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.relatedAction.relationship",
        "path" : "PlanDefinition.action.relatedAction.relationship",
        "short" : "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
        "definition" : "The relationship of this action to the related action.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.relatedAction.relationship",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionRelationshipType"
            }
          ],
          "strength" : "required",
          "description" : "Defines the types of relationships between actions",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-relationship-type"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.relatedAction.offset[x]",
        "path" : "PlanDefinition.action.relatedAction.offset[x]",
        "short" : "Time offset for the relationship",
        "definition" : "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.relatedAction.offset[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Duration"
          },
          {
            "code" : "Range"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.timing[x]",
        "path" : "PlanDefinition.action.timing[x]",
        "short" : "When the action should take place",
        "definition" : "An optional value describing when the action should be performed.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.timing[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Timing"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.participant",
        "path" : "PlanDefinition.action.participant",
        "short" : "Who should participate in the action",
        "definition" : "Indicates who should participate in performing the action described.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.participant",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.participant.id",
        "path" : "PlanDefinition.action.participant.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.participant.extension",
        "path" : "PlanDefinition.action.participant.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.participant.modifierExtension",
        "path" : "PlanDefinition.action.participant.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.participant.type",
        "path" : "PlanDefinition.action.participant.type",
        "short" : "patient | practitioner | related-person",
        "definition" : "The type of participant in the action.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.participant.type",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionParticipantType"
            }
          ],
          "strength" : "required",
          "description" : "The type of participant for the action",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-participant-type"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.participant.role",
        "path" : "PlanDefinition.action.participant.role",
        "short" : "E.g. Nurse, Surgeon, Parent, etc",
        "definition" : "The role the participant should play in performing the described action.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.participant.role",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionParticipantRole"
            }
          ],
          "strength" : "example",
          "description" : "Defines roles played by participants for the action",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-participant-role"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.type",
        "path" : "PlanDefinition.action.type",
        "short" : "create | update | remove | fire-event",
        "definition" : "The type of action to perform (create, update, remove).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionType"
            }
          ],
          "strength" : "required",
          "description" : "The type of action to be performed",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-type"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.groupingBehavior",
        "path" : "PlanDefinition.action.groupingBehavior",
        "short" : "visual-group | logical-group | sentence-group",
        "definition" : "Defines the grouping behavior for the action and its children.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.groupingBehavior",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionGroupingBehavior"
            }
          ],
          "strength" : "required",
          "description" : "Defines organization behavior of a group",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-grouping-behavior"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.selectionBehavior",
        "path" : "PlanDefinition.action.selectionBehavior",
        "short" : "any | all | all-or-none | exactly-one | at-most-one | one-or-more",
        "definition" : "Defines the selection behavior for the action and its children.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.selectionBehavior",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionSelectionBehavior"
            }
          ],
          "strength" : "required",
          "description" : "Defines selection behavior of a group",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-selection-behavior"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.requiredBehavior",
        "path" : "PlanDefinition.action.requiredBehavior",
        "short" : "must | could | must-unless-documented",
        "definition" : "Defines the requiredness behavior for the action.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.requiredBehavior",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionRequiredBehavior"
            }
          ],
          "strength" : "required",
          "description" : "Defines requiredness behavior for selecting an action or an action group",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-required-behavior"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.precheckBehavior",
        "path" : "PlanDefinition.action.precheckBehavior",
        "short" : "yes | no",
        "definition" : "Defines whether the action should usually be preselected.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.precheckBehavior",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionPrecheckBehavior"
            }
          ],
          "strength" : "required",
          "description" : "Defines selection frequency behavior for an action or group",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-precheck-behavior"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.cardinalityBehavior",
        "path" : "PlanDefinition.action.cardinalityBehavior",
        "short" : "single | multiple",
        "definition" : "Defines whether the action can be selected multiple times.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.cardinalityBehavior",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionCardinalityBehavior"
            }
          ],
          "strength" : "required",
          "description" : "Defines behavior for an action or a group for how many times that item may be repeated",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/action-cardinality-behavior"
          }
        }
      },
      {
        "id" : "PlanDefinition.action.definition",
        "path" : "PlanDefinition.action.definition",
        "short" : "Description of the activity to be performed",
        "definition" : "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" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.definition",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
          }
        ],
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "Definition.definition"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.transform",
        "path" : "PlanDefinition.action.transform",
        "short" : "Transform to apply the template",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.transform",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/StructureMap"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue",
        "path" : "PlanDefinition.action.dynamicValue",
        "short" : "Dynamic aspects of the definition",
        "definition" : "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'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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.dynamicValue",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue.id",
        "path" : "PlanDefinition.action.dynamicValue.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue.extension",
        "path" : "PlanDefinition.action.dynamicValue.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "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" : "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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue.modifierExtension",
        "path" : "PlanDefinition.action.dynamicValue.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue.description",
        "path" : "PlanDefinition.action.dynamicValue.description",
        "short" : "Natural language description of the dynamic value",
        "definition" : "A brief, natural language description of the intended semantics of the dynamic value.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.dynamicValue.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue.path",
        "path" : "PlanDefinition.action.dynamicValue.path",
        "short" : "The path to the element to be set dynamically",
        "definition" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.dynamicValue.path",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue.language",
        "path" : "PlanDefinition.action.dynamicValue.language",
        "short" : "Language of the expression",
        "definition" : "The media type of the language for the expression.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.dynamicValue.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.dynamicValue.expression",
        "path" : "PlanDefinition.action.dynamicValue.expression",
        "short" : "An expression that provides the dynamic value for the customization",
        "definition" : "An expression specifying the value of the customized element.",
        "comment" : "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PlanDefinition.action.dynamicValue.expression",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.action",
        "path" : "PlanDefinition.action.action",
        "short" : "A sub-action",
        "definition" : "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" : 0,
        "max" : "*",
        "base" : {
          "path" : "PlanDefinition.action.action",
          "min" : 0,
          "max" : "*"
        },
        "contentReference" : "#PlanDefinition.action",
        "mapping" : [
          {
            "identity" : "workflow",
            "map" : "InverseRelationship of Definition.partOf"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "PlanDefinition",
        "path" : "PlanDefinition",
        "short" : "This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact."
      },
      {
        "id" : "PlanDefinition.extension",
        "path" : "PlanDefinition.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        }
      },
      {
        "id" : "PlanDefinition.extension:recommendation",
        "path" : "PlanDefinition.extension",
        "sliceName" : "recommendation",
        "short" : "Recommendation state of the plan definition.",
        "definition" : "Defines the recommendation state of the plan definition.",
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation"
          }
        ],
        "binding" : {
          "strength" : "required",
          "description" : "Value set of plan definition recommendation codes.",
          "valueSetReference" : {
            "reference" : "http://ehealth.sundhed.dk/vs/plandefinition-recommendation"
          }
        }
      },
      {
        "id" : "PlanDefinition.extension:intendedAudience",
        "path" : "PlanDefinition.extension",
        "sliceName" : "intendedAudience",
        "short" : "The intended audience of the plandefinition",
        "definition" : "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" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience"
          }
        ]
      },
      {
        "id" : "PlanDefinition.extension:modifierRole",
        "path" : "PlanDefinition.extension",
        "sliceName" : "modifierRole",
        "short" : "Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.",
        "definition" : "Maintainers of the plan definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.",
        "min" : 1,
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role"
          }
        ]
      },
      {
        "id" : "PlanDefinition.version",
        "path" : "PlanDefinition.version",
        "min" : 1
      },
      {
        "id" : "PlanDefinition.topic",
        "path" : "PlanDefinition.topic",
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DefinitionTopic"
            }
          ],
          "strength" : "example",
          "valueSetReference" : {
            "reference" : "http://ehealth.sundhed.dk/vs/topic-type"
          }
        }
      },
      {
        "id" : "PlanDefinition.relatedArtifact",
        "path" : "PlanDefinition.relatedArtifact",
        "definition" : "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."
      },
      {
        "id" : "PlanDefinition.library",
        "path" : "PlanDefinition.library",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-library"
          }
        ]
      },
      {
        "id" : "PlanDefinition.action.definition",
        "path" : "PlanDefinition.action.definition",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
          }
        ]
      }
    ]
  }
}