<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-HelpFromOthers" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-HelpFromOthers" />
  <version value="2.1.1" />
  <name value="Zib HelpFromOthers" />
  <title value="HCIM HelpFromOthers" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="HelpFromOthers as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 3.0, release 2017.&#xD;&#xA;&#xD;&#xA;There are often multiple people or parties involved in the care for a patient with a disorder or disability, particularly in the event of home care. Their efforts enable the patient to function more or less independently. This includes not only caregivers, but also professional help such as that offered by home care organizations, nurses, aids and helpers. Current doctors and staff from the facility to which a patient is admitted do not fall under this concept." />
  <purpose value="Information on help from others can provide a good estimate of the availability of the care required by the patient. If this care is not sufficiently available, measures can be taken to facilitate the required care. This plays a particularly important role in for example discharges from the hospital or from a nursing home." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-helpfromothers-v3.0-2017EN" />
    <uri value="https://zibs.nl/wiki/HelpFromOthers-v3.0(2017EN)" />
    <name value="HCIM HelpFromOthers-v3.0(2017EN)" />
  </mapping>
  <mapping>
    <identity value="hcim-basicelements-v1.0-2017EN" />
    <uri value="https://zibs.nl/wiki/BasicElements-v1.0(2017EN)" />
    <name value="HCIM BasicElements-v1.0(2017EN)" />
  </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.identifier">
      <path value="CarePlan.identifier" />
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.6" />
        <comment value="IdentificationNumber" />
      </mapping>
    </element>
    <element id="CarePlan.intent">
      <path value="CarePlan.intent" />
      <short value="plan" />
      <comment value="Although the HCIM is not really a (care) plan, this resource falls almost completely inline with the HCIM. From the 4 possible codes here, _plan_ comes closest. Therefore this element is fixed to _plan_." />
      <fixedCode value="plan" />
    </element>
    <element id="CarePlan.category">
      <path value="CarePlan.category" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="CarePlan.category.coding">
      <path value="CarePlan.category.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="CarePlan.category.coding:helpFromOthersCode">
      <path value="CarePlan.category.coding" />
      <sliceName value="helpFromOthersCode" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="CarePlan.category.coding:helpFromOthersCode.system">
      <path value="CarePlan.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="CarePlan.category.coding:helpFromOthersCode.code">
      <path value="CarePlan.category.coding.code" />
      <min value="1" />
      <fixedCode value="243114000" />
    </element>
    <element id="CarePlan.category.coding:helpFromOthersCode.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="CarePlan.category.coding.display" />
      <defaultValueString value="Supportive care" />
    </element>
    <element id="CarePlan.subject">
      <path value="CarePlan.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
      </type>
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.11" />
        <comment value="Subject" />
      </mapping>
    </element>
    <element id="CarePlan.context">
      <path value="CarePlan.context" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-Encounter" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare" />
      </type>
    </element>
    <element id="CarePlan.author">
      <path value="CarePlan.author" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-organization" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-careteam" />
      </type>
      <mapping>
        <identity value="hcim-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.7" />
        <comment value="Author" />
      </mapping>
    </element>
    <element id="CarePlan.author.extension">
      <path value="CarePlan.author.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="CarePlan.author.extension:practitionerRole">
      <path value="CarePlan.author.extension" />
      <sliceName value="practitionerRole" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference" />
      </type>
    </element>
    <element id="CarePlan.careTeam">
      <path value="CarePlan.careTeam" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-careteam" />
      </type>
    </element>
    <element id="CarePlan.activity">
      <path value="CarePlan.activity" />
      <short value="HelpFromOthers" />
      <alias value="HulpVanAnderen" />
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.1" />
        <comment value="HelpFromOthers" />
      </mapping>
    </element>
    <element id="CarePlan.activity.detail.category">
      <path value="CarePlan.activity.detail.category" />
      <short value="TypeOfHelp" />
      <definition value="The type of help offered by the person in question." />
      <alias value="SoortHulp" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="CarePlanActivityCategory" />
        </extension>
        <strength value="extensible" />
        <description value="SoortHulpCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.2.1--20171231000000" />
          <display value="SoortHulpCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.9" />
        <comment value="TypeOfHelp" />
      </mapping>
    </element>
    <element id="CarePlan.activity.detail.code">
      <path value="CarePlan.activity.detail.code" />
      <short value="Nature" />
      <definition value="The nature of the help/support provided to the patient." />
      <alias value="Aard" />
    </element>
    <element id="CarePlan.activity.detail.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="CarePlan.activity.detail.code.text" />
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.3" />
        <comment value="Nature" />
      </mapping>
    </element>
    <element id="CarePlan.activity.detail.scheduled[x]:scheduledString">
      <path value="CarePlan.activity.detail.scheduledString" />
      <sliceName value="scheduledString" />
      <short value="Frequency" />
      <definition value="The frequency of the provided support, e.g. daily/weekly." />
      <alias value="Frequentie" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.2" />
        <comment value="Frequency" />
      </mapping>
    </element>
    <element id="CarePlan.activity.detail.performer">
      <path value="CarePlan.activity.detail.performer" />
      <short value="Aid" />
      <definition value="An aid can be a health professional such as nurses, carers and helpers but also a caregiver or healthcare provider such as a home care organization.&#xD;&#xA;Either a reference to details of the health professional involved in the patient’s care, the details of the caregiver involved in the patient’s support or the details of the organization the health professional/aid works for in the event that it is not entered as a person." />
      <alias value="Hulpverlener" />
      <alias value="Zorgverlener" />
      <alias value="Mantelzorger" />
      <alias value="Zorgaanbieder" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-organization" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson" />
      </type>
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.5" />
        <comment value="Aid" />
      </mapping>
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.6" />
        <comment value="HealthProfessional" />
      </mapping>
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.7" />
        <comment value="Caregiver" />
      </mapping>
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.8" />
        <comment value="HealthcareProvider" />
      </mapping>
    </element>
    <element id="CarePlan.activity.detail.performer.extension">
      <path value="CarePlan.activity.detail.performer.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="CarePlan.activity.detail.performer.extension:practitionerRole">
      <path value="CarePlan.activity.detail.performer.extension" />
      <sliceName value="practitionerRole" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference" />
      </type>
    </element>
    <element id="CarePlan.activity.detail.description">
      <path value="CarePlan.activity.detail.description" />
      <short value="Comment" />
      <definition value="A comment on the help/support the patient receives from others." />
      <alias value="Toelichting" />
      <mapping>
        <identity value="hcim-helpfromothers-v3.0-2017EN" />
        <map value="NL-CM:3.2.4" />
        <comment value="Comment" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>