<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="bc-DonorObservation" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/bc-DonorObservation" />
  <version value="1.3.3" />
  <name value="bc-DonorObservation" />
  <title value="bc-DonorObservation" />
  <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 Observation profile describing donor-related Observations, as defined by BabyConnect. &#xD;&#xA;These are observations about the donor, such as their age.&#xD;&#xA;* Donor-related Observations use the focus extension to point to the RelatedPerson (donor) they are about&#xD;&#xA;* Donor-related Observations refer to the EpisodeOfCare with Observation.context.reference&#xD;&#xA;&#xD;&#xA;Pattern: [[Donor-related Observation | https://informatiestandaarden.nictiz.nl/wiki/Gebz:FHIR_IG_bc-DonorObservation]]" />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <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="Observation" />
  <baseDefinition value="http://fhir.nl/fhir/StructureDefinition/nl-core-observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.extension:donor">
      <path value="Observation.extension" />
      <sliceName value="donor" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/observation-focusSTU3" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Observation.extension:donor.valueReference:valueReference">
      <path value="Observation.extension.valueReference" />
      <sliceName value="valueReference" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/bc-Donor" />
      </type>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/bc-Woman" />
      </type>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.value[x]:valueQuantity">
      <path value="Observation.value[x]" />
      <sliceName value="valueQuantity" />
      <type>
        <code value="Quantity" />
      </type>
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-7890" />
        <comment value="Leeftijd eiceldonor" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>