<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="bc-ChildBirthAssistance" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/bc-ChildBirthAssistance" />
  <version value="1.3.3" />
  <name value="bc-ChildBirthAssistance" />
  <title value="bc-ChildBirthAssistance" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="email" />
      <value value="geboortezorg@nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="An Encounter profile describing (childbirth) assistance to a woman in labor as defined by BabyConnect.&#xD;&#xA;* The woman Patient is the subject of the Encounter&#xD;&#xA;* The place of birth is described in Encounter.class using a ConceptMap to map values to available FHIR codes&#xD;&#xA;* The Encounter.diagnosis element refers to the Pregnancy (Condition)&#xD;&#xA;* The Encounter.participant element containts a list of care providers that were present during delivery. Family members could also be included in this list.&#xD;&#xA;* Additional details can be defined at participant level, such as participant type and time of arrival. The latter uses an extension at participant level with a coded list of time of arrival.&#xD;&#xA;* Childbirth Assistance refers to the EpisodeOfCare with Encounter.EpisodeOfCare.reference" />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-encounter-v1.2-2015EN" />
    <uri value="https://zibs.nl/wiki/Encounter-v1.2(2015EN)" />
    <name value="HCIM Encounter-v1.2(2015EN)" />
  </mapping>
  <mapping>
    <identity value="hcim-encounter-v3.0-2016EN" />
    <uri value="https://zibs.nl/wiki/Encounter-v3.0(2016EN)" />
    <name value="HCIM Encounter-v3.0(2016EN)" />
  </mapping>
  <mapping>
    <identity value="hcim-encounter-v3.1-2017EN" />
    <uri value="https://zibs.nl/wiki/Encounter-v3.1(2017EN)" />
    <name value="HCIM Encounter-v3.1(2017EN)" />
  </mapping>
  <mapping>
    <identity value="hcim-healthprofessional-v1.2.1-2015EN" />
    <uri value="https://zibs.nl/wiki/HealthProfessional-v1.2.1(2015EN)" />
    <name value="HCIM HealthProfessional-v1.2.1(2015EN)" />
  </mapping>
  <mapping>
    <identity value="hcim-healthprofessional-v3.0-2016EN" />
    <uri value="https://zibs.nl/wiki/HealthProfessional-v3.0(2016EN)" />
    <name value="HCIM HealthProfessional-v3.0(2016EN)" />
  </mapping>
  <mapping>
    <identity value="hcim-healthprofessional-v3.2-2017EN" />
    <uri value="https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN)" />
    <name value="HCIM HealthProfessional-v3.2(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>
  <mapping>
    <identity value="gebz-peri-v2.3" />
    <uri value="https://decor.nictiz.nl/art-decor/decor-datasets--peri20-?id=2.16.840.1.113883.2.4.3.11.60.90.77.1.6&amp;effectiveDate=2016-09-08T00%3A00%3A00&amp;conceptId=2.16.840.1.113883.2.4.3.11.60.90.77.2.6.40050&amp;conceptEffectiveDate=2016-09-08T00%3A00%3A00" />
    <name value="Geboortezorg Perinatologie 2.3" />
  </mapping>
  <mapping>
    <identity value="gebz-peri-v3.2" />
    <uri value="https://decor.nictiz.nl/art-decor/decor-datasets-\-peri20-?id=2.16.840.1.113883.2.4.3.11.60.90.77.1.6&amp;effectiveDate=2016-09-08T00%3A00%3A00&amp;conceptId=2.16.840.1.113883.2.4.3.11.60.90.77.2.6.4&amp;conceptEffectiveDate=2016-09-08T00%3A00%3A00" />
    <name value="Geboortezorg 3.2" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Encounter" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/bc-Encounter" />
  <derivation value="constraint" />
  <differential>
    <element id="Encounter">
      <path value="Encounter" />
      <mapping>
        <identity value="gebz-peri-v2.3" />
        <map value="peri23-dataelement-80839" />
        <comment value="Partusassistentie" />
      </mapping>
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10710" />
        <comment value="Partusassistentie (Contact)" />
      </mapping>
    </element>
    <element id="Encounter.extension:timeWhenCalled">
      <path value="Encounter.extension" />
      <sliceName value="timeWhenCalled" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/bc-childbirthassistance-timecalled" />
      </type>
      <isModifier value="false" />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10726" />
        <comment value="OproepDatumTijd" />
      </mapping>
    </element>
    <element id="Encounter.extension:periodOfArrival">
      <path value="Encounter.extension" />
      <sliceName value="periodOfArrival" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/bc-encounter-arrival" />
      </type>
      <isModifier value="false" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.11.195--20140102000000" />
          <display value="Partus stadium" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="gebz-peri-v2.3" />
        <map value="peri23-dataelement-20650" />
        <comment value="Partusstadium assistente gearriveerd" />
      </mapping>
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10738" />
        <comment value="PartusStadiumWaarde" />
      </mapping>
    </element>
    <element id="Encounter.class">
      <path value="Encounter.class" />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10711" />
        <comment value="ContactType" />
      </mapping>
    </element>
    <element id="Encounter.type">
      <path value="Encounter.type" />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10735" />
        <comment value="ContactSoort" />
      </mapping>
    </element>
    <element id="Encounter.type:birthcareEncounterType">
      <path value="Encounter.type" />
      <sliceName value="birthcareEncounterType" />
    </element>
    <element id="Encounter.type:birthcareEncounterType.coding">
      <path value="Encounter.type.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct" />
        <code value="236973005" />
      </patternCoding>
    </element>
    <element id="Encounter.participant.type">
      <path value="Encounter.participant.type" />
      <definition value="Role of participant in encounter. Might have multiple types. Supervisor is expected to be RESP (responsible), Aanpakker kind is expected to be PRF (performer). If someone is both supervisor and aanpakker kind then those are two types not two codings one type." />
    </element>
    <element id="Encounter.participant.type.coding:healthProfessionalRole">
      <path value="Encounter.participant.type.coding" />
      <sliceName value="healthProfessionalRole" />
      <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.&#xD;&#xA;To make sure slicing functions correctly ChildBirthAssistance-type is set to 'required'. However alternate coding are still allowed." />
    </element>
    <element id="Encounter.participant.individual">
      <path value="Encounter.participant.individual" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.&#xD;&#xA;Note that the reference Encounter.participant.individual is also used for element peri32-dataelement-11029 Niet-zorgverlener (string). In this case, only element .display is populated." />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10801" />
        <comment value="Zorgverlener" />
      </mapping>
    </element>
    <element id="Encounter.participant.individual.extension:practitionerRole">
      <path value="Encounter.participant.individual.extension" />
      <sliceName value="practitionerRole" />
      <mapping>
        <identity value="gebz-peri-v2.3" />
        <map value="peri23-dataelement-82132" />
        <comment value="Rol partusassistent" />
      </mapping>
      <mapping>
        <identity value="gebz-peri-v2.3" />
        <map value="peri23-dataelement-40150" />
        <comment value="Rol aanpakker kind" />
      </mapping>
      <mapping>
        <identity value="gebz-peri-v2.3" />
        <map value="peri23-dataelement-40170" />
        <comment value="Rol supervisor" />
      </mapping>
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10712" />
        <comment value="ContactMet" />
      </mapping>
    </element>
    <element id="Encounter.period.start">
      <path value="Encounter.period.start" />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10716" />
        <comment value="AankomstDatumTijd" />
      </mapping>
    </element>
    <element id="Encounter.period.end">
      <path value="Encounter.period.end" />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10717" />
        <comment value="EindDatumTijd" />
      </mapping>
    </element>
    <element id="Encounter.serviceProvider">
      <path value="Encounter.serviceProvider" />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-10714" />
        <comment value="Locatie" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>