<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-Pregnancy.EstimatedDateOfDelivery" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy.EstimatedDateOfDelivery" />
  <name value="ZibPregnancyEstimatedDateOfDelivery" />
  <title value="zib Pregnancy.EstimatedDateOfDelivery" />
  <status value="draft" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Pregnancy or gravidity is the condition in which a woman carries a fertilized egg, which grows into an embryo and then a fetus. A pregnancy of between 37 and 42 weeks is considered normal. “Term pregnancy” is 37 to 42 weeks. The term gravidity is also used for the number of times a woman has been pregnant. This and parity - the number of times a woman has given birth - provides insight into the patient’s obstetric history." />
  <purpose value="This Observation resource represents the EstimatedDateOfDelivery concept of the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) Pregnancy v4.0 (2020)](https://zibs.nl/wiki/Pregnancy-v4.0(2020EN))." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-pregnancy-v4.0-2020EN" />
    <uri value="https://zibs.nl/wiki/Pregnancy-v4.0(2020EN)" />
    <name value="zib Pregnancy-v4.0(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="true" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <comment value="This profile on the Observation resource represents the EstimatedDateOfDelivery concept (NL-CM:7.14.3) of zib Pregnancy. It can be used together with the [zib-Pregnancy](http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy) profile on the Observation resource, which groups references to the current and other resources on `Observation.hasMember`." />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="161714006" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effective[x]" />
      <sliceName value="effectiveDateTime" />
      <short value="DateOfEstimation" />
      <definition value="Date on which the delivery date is estimated." />
      <alias value="DatumBepaling" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-pregnancy-v4.0-2020EN" />
        <map value="NL-CM:7.14.11" />
        <comment value="DateOfEstimation" />
      </mapping>
    </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]:valueDateTime">
      <path value="Observation.value[x]" />
      <sliceName value="valueDateTime" />
      <short value="EstimatedDateOfDelivery" />
      <definition value="The date on which the pregnancy is expected to be 40w 0d (280 days). Different due dates are used at various points in the pregnancy." />
      <alias value="ATermeDatum" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-pregnancy-v4.0-2020EN" />
        <map value="NL-CM:7.14.3" />
        <comment value="EstimatedDateOfDelivery" />
      </mapping>
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <short value="EstimatingMethod" />
      <definition value="Method by which the delivery date is estimated." />
      <alias value="BepalingsMethode" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.14.1--20200901000000" />
      </binding>
      <mapping>
        <identity value="zib-pregnancy-v4.0-2020EN" />
        <map value="NL-CM:7.14.10" />
        <comment value="EstimatingMethod" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>