<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="IRD-Task" />
  <url value="https://health.linova.de/fhir/v1/IRD/Task" />
  <version value="1.0.0" />
  <name value="IRD_Task" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="true" />
  <type value="Task" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Task" />
  <derivation value="specialization" />
  <differential>
    <element id="Task">
      <path value="Task" />
      <definition value="A task represents an exercise assigned to a patient." />
    </element>
    <element id="Task.requester">
      <path value="Task.requester" />
      <definition value="The author of the task. The author might be an algorithm (automatically generated for the patient) or a manual task created or modified by a Practitioner." />
      <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="Task.owner">
      <path value="Task.owner" />
      <definition value="Person responsible for executing the task. A Practitioner Role can be assigned to indicate a Practitioner should help in the task execution." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://health.linova.de/fhir/v1/IRD/PractitionerRole" />
        <targetProfile value="https://health.linova.de/fhir/v1/IRD/Patient" />
      </type>
    </element>
    <element id="Task.extension">
      <path value="Task.extension" />
      <type>
        <code value="Extension" />
        <profile value="https://health.linova.de/fhir/v1/IRD/Extensions/Task" />
      </type>
    </element>
    <element id="Task.input">
      <path value="Task.input" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="Task.output">
      <path value="Task.output" />
      <min value="0" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>