<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-Pregnancy.PregnancyDuration" />
  <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.PregnancyDuration" />
  <name value="ZibPregnancyPregnancyDuration" />
  <title value="zib Pregnancy.PregnancyDuration" />
  <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 PregnancyDuration 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 PregnancyDuration concept (NL-CM:7.14.4) 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="57036006" />
        </coding>
      </patternCodeableConcept>
    </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" />
      <short value="PregnancyDuration" />
      <definition value="Duration of the pregnancy on the day on which the patient was asked. The duration can be given in days (d) or weeks (wk)." />
      <alias value="Zwangerschapsduur" />
      <type>
        <code value="Quantity" />
      </type>
      <mapping>
        <identity value="zib-pregnancy-v4.0-2020EN" />
        <map value="NL-CM:7.14.4" />
        <comment value="PregnancyDuration" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>