<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="IRD-Goal" />
  <url value="https://health.linova.de/fhir/v1/IRD/Goal" />
  <version value="1.0.0" />
  <name value="IRD_Goal" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="true" />
  <type value="Goal" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Goal" />
  <derivation value="specialization" />
  <differential>
    <element id="Goal">
      <path value="Goal" />
      <definition value="A goal is a set of measurements or targets described by the Patient. At the end of a CarePlan, an assessment may be made which should be able to tell whether the goal was fullfilled by the Patient" />
    </element>
    <element id="Goal.expressedBy">
      <path value="Goal.expressedBy" />
      <definition value="Author of the goal" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://health.linova.de/fhir/v1/IRD/PractitionerRole" />
        <targetProfile value="https://health.linova.de/fhir/v1/IRD/CarePlan_Algorithm" />
      </type>
    </element>
    <element id="Goal.target.extension">
      <path value="Goal.target.extension" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="https://health.linova.de/fhir/v1/IRD/Extensions/Goal" />
      </type>
    </element>
  </differential>
</StructureDefinition>