<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logicalmodel-Estimateddateofdelivery_edd_-R4" />
  <url value="http://linkehr.com/fhir/logicalmodel-estimateddateofdelivery_edd_-R4" />
  <identifier>
    <system value="openEHR-CKM" />
    <value value="openEHR-EHR-EVALUATION.estimated_date_delivery.v0" />
  </identifier>
  <version value="0" />
  <name value="Estimateddateofdelivery_edd_" />
  <title value="Estimated date of delivery (EDD)" />
  <status value="draft" />
  <date value="2024-06-18" />
  <publisher value="openEHR" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.veratech.es" />
    </telecom>
  </contact>
  <description value="Estimated date of delivery for a pregnancy." />
  <purpose value="To record estimated due dated for a pregnancy, calculated or estimated by a variety of methods." />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="openEHR" />
    <uri value="http://openehr.org" />
    <name value="openEHR Mapping" />
  </mapping>
  <mapping>
    <identity value="openEHR-natural" />
    <uri value="http://openehr.org" />
    <name value="openEHR natural path" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="StructureDefinition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <snapshot>
    <element id="Estimated_date_of_delivery_(EDD)">
      <path value="Estimated_date_of_delivery_(EDD)" />
      <short value="Estimated date of delivery (EDD)" />
      <definition value="Estimated date of delivery for a pregnancy." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD)" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).protocol">
      <path value="Estimated_date_of_delivery_(EDD).protocol" />
      <short value="Item tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).protocol" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).protocol.Last_updated">
      <path value="Estimated_date_of_delivery_(EDD).protocol.Last_updated" />
      <short value="Last updated" />
      <definition value="The date any EDD was last updated." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).protocol.Last_updated" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).protocol.Last_updated.value">
      <path value="Estimated_date_of_delivery_(EDD).protocol.Last_updated.value" />
      <short value="Last updated" />
      <definition value="The date any EDD was last updated." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).protocol.Last_updated.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).protocol.Extension">
      <path value="Estimated_date_of_delivery_(EDD).protocol.Extension" />
      <short value="Extension" />
      <definition value="Additional information required to capture local content or to align with other reference models/formalisms." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).protocol.Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data">
      <path value="Estimated_date_of_delivery_(EDD).data" />
      <short value="Item tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.EDD_by_date_of_conception">
      <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_date_of_conception" />
      <short value="EDD by date of conception" />
      <definition value="The EDD calculated from a known date of conception." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_date_of_conception" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.EDD_by_date_of_conception.value">
      <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_date_of_conception.value" />
      <short value="EDD by date of conception" />
      <definition value="The EDD calculated from a known date of conception." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_date_of_conception.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.EDD_by_cycle">
      <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_cycle" />
      <short value="EDD by cycle" />
      <definition value="The EDD estimated from the onset of the last normal menstrual period by Naegle's method." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_cycle" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.EDD_by_cycle.value">
      <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_cycle.value" />
      <short value="EDD by cycle" />
      <definition value="The EDD estimated from the onset of the last normal menstrual period by Naegle's method." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.EDD_by_cycle.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.By_ultrasound">
      <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound" />
      <short value="By ultrasound" />
      <definition value="Details about an EDD estimated from the findings on a pregnancy ultrasound." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Date_of_ultrasound">
      <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Date_of_ultrasound" />
      <short value="Date of ultrasound" />
      <definition value="The date on which the ultrasound was carried out." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Date_of_ultrasound" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Date_of_ultrasound.value">
      <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Date_of_ultrasound.value" />
      <short value="Date of ultrasound" />
      <definition value="The date on which the ultrasound was carried out." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Date_of_ultrasound.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Gestation_by_scan">
      <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Gestation_by_scan" />
      <short value="Gestation by scan" />
      <definition value="The gestation estimated from the scan." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Gestation_by_scan" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Gestation_by_scan.value">
      <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Gestation_by_scan.value" />
      <short value="Gestation by scan" />
      <definition value="The gestation estimated from the scan." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.Gestation_by_scan.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Duration" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.By_ultrasound.EDD_by_ultrasound">
      <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.EDD_by_ultrasound" />
      <short value="EDD by ultrasound" />
      <definition value="Details about an EDD estimated from the findings on a pregnancy ultrasound." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.EDD_by_ultrasound" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.By_ultrasound.EDD_by_ultrasound.value">
      <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.EDD_by_ultrasound.value" />
      <short value="EDD by ultrasound" />
      <definition value="Details about an EDD estimated from the findings on a pregnancy ultrasound." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.By_ultrasound.EDD_by_ultrasound.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.Agreed_EDD">
      <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD" />
      <short value="Agreed EDD" />
      <definition value="Details about the EDD which is used as the basis for clinical decision-making during the pregnancy." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.EDD">
      <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.EDD" />
      <short value="EDD" />
      <definition value="The EDD which is to be used as the basis for clinical decision-making." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.EDD" />
        <min value="1" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.EDD.value">
      <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.EDD.value" />
      <short value="EDD" />
      <definition value="The EDD which is to be used as the basis for clinical decision-making." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.EDD.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.Rationale">
      <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.Rationale" />
      <short value="Rationale" />
      <definition value="The rationale for the 'EDD'." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.Rationale" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.Rationale.value">
      <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.Rationale.value" />
      <short value="Rationale" />
      <definition value="The rationale for the 'EDD'." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Estimated_date_of_delivery_(EDD).data.Agreed_EDD.Rationale.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
  </snapshot>
</StructureDefinition>