<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.clevermed.com/StructureDefinition/Observation-BNet-Preg-SmokingReferralStatus" />
  <name value="Observation-BNet-Preg-SmokingReferralStatus" />
  <status value="draft" />
  <date value="2025-03-25T11:59:26.6362870Z" />
  <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="When this resource is present, a referral to a smoking cessation advisor has been provided. Further, the Boolean in this resource identifies whether the mother has accepted the referral." />
  <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="Smoking referral status" />
      <definition value="When this resource is present, a referral to a smoking cessation advisor has been provided. Further, the Boolean in this resource identifies whether the mother has accepted the referral." />
    </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="" />
    </element>
    <element id="Observation.code.coding.code">
      <path value="Observation.code.coding.code" />
      <short value="Required  code for - Observation-BNet-Preg-SmokingReferralStatus" />
      <min value="1" />
      <fixedCode value="365980008" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="boolean" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.id">
      <path value="Observation.id" />
      <short value="ID of the observation" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="Reference to patient resource" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>