<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="80ae5e6a-8f4f-4e08-8d18-cebc4dee1b21" />
  <meta>
    <lastUpdated value="2020-05-05T12:25:25.672+00:00" />
  </meta>
  <url value="http://helict.de/fhir/StructureDefinition/ModeledPlanDefinition" />
  <name value="ModeledPlanDefinition" />
  <status value="draft" />
  <date value="2020-05-05T12:25:24.1079801+00:00" />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="objimpl" />
    <uri value="http://hl7.org/fhir/object-implementation" />
    <name value="Object Implementation Information" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="PlanDefinition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PlanDefinition" />
  <derivation value="constraint" />
  <differential>
    <element id="PlanDefinition.extension">
      <path value="PlanDefinition.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="PlanDefinition.extension:bpmnXml">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.extension" />
      <sliceName value="bpmnXml" />
      <short value="BPMN model that represents the plan definition content." />
      <definition value="BPMN model that represents the plan definition content. Only this data is used by the model editor." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://helict.de/fhir/StructureDefinition/Extension/BpmnXml" />
      </type>
    </element>
    <element id="PlanDefinition.extension:bpmnSvg">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.extension" />
      <sliceName value="bpmnSvg" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://helict.de/fhir/StructureDefinition/Extension/BpmnSvg" />
      </type>
    </element>
    <element id="PlanDefinition.name">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.name" />
      <short value="Name for this plan definition (machine friendly)" />
    </element>
    <element id="PlanDefinition.title">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.title" />
      <short value="Name for this plan definition (human readable)" />
    </element>
    <element id="PlanDefinition.status">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.status" />
      <definition value="The status of this plan definition. Enables tracking the life-cycle of the content" />
    </element>
    <element id="PlanDefinition.date">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.date" />
      <short value="Date last changed, e.g. after a clinical assessment" />
    </element>
    <element id="PlanDefinition.description">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.description" />
      <short value="Natural language description of the plan definition (human readable)" />
    </element>
    <element id="PlanDefinition.useContext">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.useContext" />
      <short value="The context that the plan definition is intended to support (e.g. diagnosis, indication, etc.)" />
    </element>
    <element id="PlanDefinition.jurisdiction">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.jurisdiction" />
      <definition value="A legal or geographic region in which the plan definition is intended to be used. (e.g. basque, lombardia, ...)" />
    </element>
    <element id="PlanDefinition.usage">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.usage" />
      <short value="Describes the clinical usage of the plan definition" />
      <definition value="Detailed description of how the plan definition is used from a clinical perspective." />
    </element>
    <element id="PlanDefinition.topic">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.topic" />
      <short value="need related topics, like physical therapy, cognitive training, risk factor modification" />
    </element>
    <element id="PlanDefinition.author">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.author" />
      <short value="Who authored the content (person, organization)" />
    </element>
    <element id="PlanDefinition.relatedArtifact">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.relatedArtifact" />
      <definition value="Related artifacts such as additional documentation, justification, or bibliographic references.&#xD;&#xA;clinical assessment reports" />
    </element>
    <element id="PlanDefinition.goal">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.goal" />
      <short value="Goal definitions, that are relevant within the plan definition." />
    </element>
    <element id="PlanDefinition.goal.description">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.goal.description" />
      <short value="Code or text describing the goal definition" />
    </element>
    <element id="PlanDefinition.goal.target">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.goal.target" />
      <short value="Target outcome for the goal definition" />
    </element>
    <element id="PlanDefinition.goal.target.measure">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.goal.target.measure" />
      <short value="The parameter whose value is to be tracked (observation feature)" />
    </element>
    <element id="PlanDefinition.goal.target.detail[x]">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.goal.target.detail[x]" />
      <short value="The target value that is to be achieved" />
    </element>
    <element id="PlanDefinition.action">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action" />
      <short value="Set of actions defined by the plan" />
    </element>
    <element id="PlanDefinition.action.title">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.title" />
      <short value="Human-readable title of the action" />
    </element>
    <element id="PlanDefinition.action.description">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.description" />
      <short value="Human-readable description of the action" />
    </element>
    <element id="PlanDefinition.action.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.code" />
      <short value="Code representing the meaning of the action or sub-actions. Type, e.g. training, questionnaire, assessment, etc." />
    </element>
    <element id="PlanDefinition.action.goalId">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.goalId" />
      <short value="Goals, this action is associated with." />
    </element>
    <element id="PlanDefinition.action.trigger">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.trigger" />
      <short value="Definitions, when the action should be triggered" />
    </element>
    <element id="PlanDefinition.action.trigger.type">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.trigger.type" />
      <definition value="Defines the type of the triggering event." />
    </element>
    <element id="PlanDefinition.action.trigger.name">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.trigger.name" />
      <short value="Name or URI, that identifies the event" />
    </element>
    <element id="PlanDefinition.action.trigger.timing[x]">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.trigger.timing[x]" />
      <short value="Timing, used for periodic trigger" />
    </element>
    <element id="PlanDefinition.action.trigger.condition">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.trigger.condition" />
      <short value="Conditional event, e.g. if a goal is reached, the activity is triggered" />
    </element>
    <element id="PlanDefinition.action.trigger.condition.language">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.trigger.condition.language" />
      <short value="text/cql | text/fhirpath | application/x-fhir-query | etc. - which one?" />
    </element>
    <element id="PlanDefinition.action.trigger.condition.expression">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.trigger.condition.expression" />
      <short value="Expression in specified language. boolean expression, z.B. fhir-path-to-goal[id=0815] == true" />
    </element>
    <element id="PlanDefinition.action.condition">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.condition" />
      <short value="Whether or not the action is applicable - start/STOP conditions for the action" />
      <definition value="An expression that describes applicability criteria or start/stop conditions for the action (e.g. goal is reached)." />
    </element>
    <element id="PlanDefinition.action.condition.expression.language">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.condition.expression.language" />
      <short value="text/cql | text/fhirpath | application/x-fhir-query | etc. - which one?" />
    </element>
    <element id="PlanDefinition.action.condition.expression.expression">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.condition.expression.expression" />
      <short value="Expression in specified language. boolean expression, z.B. fhir-path-to-goal[id=0815] == true" />
    </element>
    <element id="PlanDefinition.action.relatedAction">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.relatedAction" />
      <short value="Relationship to another action, implementing sequences" />
    </element>
    <element id="PlanDefinition.action.relatedAction.actionId">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.relatedAction.actionId" />
      <short value="id of the action, this action is related to" />
    </element>
    <element id="PlanDefinition.action.relatedAction.relationship">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.relatedAction.relationship" />
      <definition value="Defines the relationship of this action to the related action." />
    </element>
    <element id="PlanDefinition.action.relatedAction.offset[x]">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.relatedAction.offset[x]" />
      <short value="Time offset for the relationship, if there is one" />
    </element>
    <element id="PlanDefinition.action.timing[x]">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.timing[x]" />
      <definition value="An optional value describing when the action should be performed.&#xD;&#xA;What is the difference to trigger??" />
    </element>
    <element id="PlanDefinition.action.selectionBehavior">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.selectionBehavior" />
      <definition value="Defines the selection behavior for the action and its children.&#xD;&#xA;Maybe we can use this, if we have only a group of sub-actions (not a sub-Plan, without sequences), where we can choose what to do." />
    </element>
    <element id="PlanDefinition.action.definition[x]">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.definition[x]" />
      <short value="Can be a PlanDefinition, used for sub-processes -&gt; refinement in model" />
    </element>
    <element id="PlanDefinition.action.dynamicValue">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="PlanDefinition.action.dynamicValue" />
      <short value="Dynamic aspects of the definition. Maybe we can use this for individualization when creating a CarePlan instance." />
    </element>
    <element id="PlanDefinition.action.action">
      <path value="PlanDefinition.action.action" />
      <short value="A set of sub-actions." />
      <definition value="Maybe we can use this instead of a sub-PlanDefinition, if we only have a group of actions (without sequences, events, etc.), where we can choose what to do (see Aerobic training in stroke example).&#xD;&#xA;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." />
    </element>
  </differential>
</StructureDefinition>