XML-code for CarePlan

<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="RE03" />
  <url value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE03" />
  <name value="CarePlan" />
  <status value="draft" />
  <description value="This profile contains all the information about the treatment and medication the patient has received. The profile also contains information about the patient's complications and the diagnostic samples and examinations." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="CarePlan" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CarePlan" />
  <derivation value="constraint" />
  <differential>
    <element id="CarePlan">
      <path value="CarePlan" />
      <short value="Healthcare plan for the patient" />
      <definition value="This profile contains all the information about the treatment and medication the patient has received. The profile also contains information about the patient's complication and the diagnostic samples and examinations." />
    </element>
    <element id="CarePlan.identifier">
      <path value="CarePlan.identifier" />
      <short value="Patient ID for the patient whom the care plan is for" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="CarePlan.identifier.use">
      <path value="CarePlan.identifier.use" />
      <max value="0" />
      <fixedCode value="official" />
    </element>
    <element id="CarePlan.identifier.type">
      <path value="CarePlan.identifier.type" />
      <max value="0" />
    </element>
    <element id="CarePlan.identifier.system">
      <path value="CarePlan.identifier.system" />
      <short value="Entry to Patient ID database" />
      <min value="1" />
    </element>
    <element id="CarePlan.identifier.value">
      <path value="CarePlan.identifier.value" />
      <short value="Entry for an unique value string for a patient ID" />
      <min value="1" />
    </element>
    <element id="CarePlan.identifier.period">
      <path value="CarePlan.identifier.period" />
      <max value="0" />
    </element>
    <element id="CarePlan.identifier.assigner">
      <path value="CarePlan.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="CarePlan.instantiatesCanonical">
      <path value="CarePlan.instantiatesCanonical" />
      <max value="0" />
    </element>
    <element id="CarePlan.instantiatesUri">
      <path value="CarePlan.instantiatesUri" />
      <max value="0" />
    </element>
    <element id="CarePlan.basedOn">
      <path value="CarePlan.basedOn" />
      <max value="0" />
    </element>
    <element id="CarePlan.replaces">
      <path value="CarePlan.replaces" />
      <max value="0" />
    </element>
    <element id="CarePlan.partOf">
      <path value="CarePlan.partOf" />
      <max value="0" />
    </element>
    <element id="CarePlan.status">
      <path value="CarePlan.status" />
      <fixedCode value="active" />
    </element>
    <element id="CarePlan.intent">
      <path value="CarePlan.intent" />
      <fixedCode value="plan" />
    </element>
    <element id="CarePlan.category">
      <path value="CarePlan.category" />
      <max value="0" />
    </element>
    <element id="CarePlan.title">
      <path value="CarePlan.title" />
      <short value="Treatment plan for AML" />
      <definition value="Treatment plan for a child with AML" />
      <max value="0" />
    </element>
    <element id="CarePlan.description">
      <path value="CarePlan.description" />
      <max value="0" />
    </element>
    <element id="CarePlan.subject">
      <path value="CarePlan.subject" />
      <definition value="Identifies the patient whose intended care is described by the plan." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE01" />
        <aggregation value="bundled" />
        <versioning value="specific" />
      </type>
    </element>
    <element id="CarePlan.subject.reference">
      <path value="CarePlan.subject.reference" />
      <max value="0" />
    </element>
    <element id="CarePlan.subject.type">
      <path value="CarePlan.subject.type" />
      <max value="0" />
    </element>
    <element id="CarePlan.subject.identifier">
      <path value="CarePlan.subject.identifier" />
      <max value="0" />
    </element>
    <element id="CarePlan.subject.display">
      <path value="CarePlan.subject.display" />
      <max value="0" />
    </element>
    <element id="CarePlan.encounter">
      <path value="CarePlan.encounter" />
      <max value="0" />
    </element>
    <element id="CarePlan.period">
      <path value="CarePlan.period" />
      <definition value="Indicates when the plan comes into effect and when the plan ends. Formats shall be DD-MM-YYYY" />
      <max value="0" />
    </element>
    <element id="CarePlan.period.start">
      <path value="CarePlan.period.start" />
      <definition value="The start of the period. The boundary is inclusive. Format shall be DD-MM-YYYY." />
      <max value="0" />
    </element>
    <element id="CarePlan.period.end">
      <path value="CarePlan.period.end" />
      <definition value="The end of the period. The boundary is inclusive. Format shall be DD-MM-YYYY." />
      <max value="0" />
    </element>
    <element id="CarePlan.created">
      <path value="CarePlan.created" />
      <max value="0" />
    </element>
    <element id="CarePlan.author">
      <path value="CarePlan.author" />
      <definition value="This element contains a reference to the central ward which is responsible for the overall treatment of the patient" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://SeamlessInteroperabilityBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE06" />
      </type>
    </element>
    <element id="CarePlan.author.reference">
      <path value="CarePlan.author.reference" />
      <max value="0" />
    </element>
    <element id="CarePlan.author.type">
      <path value="CarePlan.author.type" />
      <max value="0" />
    </element>
    <element id="CarePlan.author.identifier">
      <path value="CarePlan.author.identifier" />
      <max value="0" />
    </element>
    <element id="CarePlan.author.display">
      <path value="CarePlan.author.display" />
      <max value="0" />
    </element>
    <element id="CarePlan.contributor">
      <path value="CarePlan.contributor" />
      <definition value="Identifies the practitioners who provided the contents of the care plan." />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://SeamlessInteroperabilityBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE02" />
      </type>
    </element>
    <element id="CarePlan.contributor.reference">
      <path value="CarePlan.contributor.reference" />
      <max value="0" />
    </element>
    <element id="CarePlan.contributor.type">
      <path value="CarePlan.contributor.type" />
      <max value="0" />
    </element>
    <element id="CarePlan.contributor.identifier">
      <path value="CarePlan.contributor.identifier" />
      <max value="0" />
    </element>
    <element id="CarePlan.contributor.display">
      <path value="CarePlan.contributor.display" />
      <max value="0" />
    </element>
    <element id="CarePlan.careTeam">
      <path value="CarePlan.careTeam" />
      <max value="0" />
    </element>
    <element id="CarePlan.addresses">
      <path value="CarePlan.addresses" />
      <definition value="Identifies the diagnoses whose management are handled by this plan." />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://SeamlessInteroperabilityBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE04" />
      </type>
    </element>
    <element id="CarePlan.addresses.reference">
      <path value="CarePlan.addresses.reference" />
      <max value="0" />
    </element>
    <element id="CarePlan.addresses.type">
      <path value="CarePlan.addresses.type" />
      <max value="0" />
    </element>
    <element id="CarePlan.addresses.identifier">
      <path value="CarePlan.addresses.identifier" />
      <max value="0" />
    </element>
    <element id="CarePlan.addresses.display">
      <path value="CarePlan.addresses.display" />
      <max value="0" />
    </element>
    <element id="CarePlan.supportingInfo">
      <path value="CarePlan.supportingInfo" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE09" />
        <targetProfile value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE07" />
        <targetProfile value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE05" />
        <targetProfile value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE08" />
        <targetProfile value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE04" />
        <targetProfile value="http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE10" />
        <aggregation value="bundled" />
        <versioning value="specific" />
      </type>
    </element>
    <element id="CarePlan.supportingInfo.reference">
      <path value="CarePlan.supportingInfo.reference" />
      <max value="0" />
    </element>
    <element id="CarePlan.supportingInfo.type">
      <path value="CarePlan.supportingInfo.type" />
      <max value="0" />
    </element>
    <element id="CarePlan.supportingInfo.identifier">
      <path value="CarePlan.supportingInfo.identifier" />
      <max value="0" />
    </element>
    <element id="CarePlan.supportingInfo.display">
      <path value="CarePlan.supportingInfo.display" />
      <max value="0" />
    </element>
    <element id="CarePlan.goal">
      <path value="CarePlan.goal" />
      <max value="0" />
    </element>
    <element id="CarePlan.activity">
      <path value="CarePlan.activity" />
      <max value="0" />
    </element>
    <element id="CarePlan.note">
      <path value="CarePlan.note" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>