<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.clevermed.com/StructureDefinition/Observation-BNet-Child-InfantFeedingMethod" />
  <name value="Observation-BNet-Child-InfantFeedingMethod" />
  <status value="active" />
  <date value="2025-09-09T15:50:46.3528707Z" />
  <publisher value="Clevermed Ltd." />
  <contact>
    <name value="Clevermed BadgerNet Spine FHIR Team" />
    <telecom>
      <system value="email" />
      <value value="support@clevermed.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Method by which the baby was fed at certain points after birth." />
  <copyright value="(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="Infant feeding method" />
      <definition value="Method by which the baby was fed at certain points after birth." />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.code.coding.system">
      <path value="Observation.code.coding.system" />
      <fixedUri value="SNOMED" />
    </element>
    <element id="Observation.code.coding.code">
      <path value="Observation.code.coding.code" />
      <short value="Required SNOMED code for - Observation-BNet-Child-InfantFeedingMethod" />
      <min value="1" />
      <fixedCode value="169740003" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <description value="The following is the allowable values for the methods by which the baby was first fed." />
        <valueSet value="https://clevermed.com/fhir/ValueSet/ValueSet-BNet-Preg-InfantFeedingMethod" />
      </binding>
    </element>
    <element id="Observation.id">
      <path value="Observation.id" />
      <short value="Unique resource identifier" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <short value="Date time of observation." />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.component.code">
      <path value="Observation.component.code" />
      <short value="Code to define the feeding update." />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.component.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <fixedUri value="https://fhir.clevermed.com/codesystem" />
    </element>
    <element id="Observation.component.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <description value="The following is the allowable values for the update types of which the baby was first fed." />
        <valueSet value="https://simplifier.net/badgernet/ValueSet-BNet-Preg-InfantFeedingUpdateType" />
      </binding>
    </element>
    <element id="Observation.component.valuePeriod.start">
      <path value="Observation.component.valuePeriod.start" />
      <short value="This element defines the date and time that breastfeeding was initiated after birth. It is mandatory when the infant feeding method response is any other than 'infant formula' or parental nutrition. It is only applicable for feeding types of 'Breastfeeding establishment: infant'" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.component.valuePeriod.end">
      <path value="Observation.component.valuePeriod.end" />
      <short value="This element defines the date and time that breastfeeding was ended after birth. It is only applicable for feeding types of 'Breastfeeding establishment: infant'" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="Fixed code for status of observation" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="Reference to the baby birth care record" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.extension.episodeOfCare">
      <path value="Observation.extension.episodeOfCare" />
      <short value="The episode(s) of care that establishes the context for this resource. In this case, it is a reference to the 'birth episode' episode of care. The extension URL is: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>