<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.clevermed.com/StructureDefinition/Appointment-BNet-Child-PostnatalVisit" />
  <name value="Appointment-BNet-Child-PostnatalVisit" />
  <status value="active" />
  <date value="2025-07-22T13:48:24.4269368Z" />
  <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="Number of postnatal visits provided by the LMC in the six weeks after the 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="Appointment" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Appointment" />
  <derivation value="constraint" />
  <differential>
    <element id="Appointment.id">
      <path value="Appointment.id" />
      <short value="Unique resource identifier" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Appointment.status">
      <path value="Appointment.status" />
      <short value="Fixed code for the status of this appointment" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Appointment.participant.actor.reference">
      <path value="Appointment.participant.actor.reference" />
      <short value="Reference to the postnatal child" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Appointment.participant.status">
      <path value="Appointment.participant.status" />
      <short value="Participation status of the actor" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Appointment.serviceType">
      <path value="Appointment.serviceType" />
      <short value="The specific service that is to be performed during this appointment" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Appointment.serviceType.coding.system">
      <path value="Appointment.serviceType.coding.system" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Appointment.serviceType.coding.code">
      <path value="Appointment.serviceType.coding.code" />
      <fixedString value="169762003" />
    </element>
    <element id="Appointment.serviceType.coding.display">
      <path value="Appointment.serviceType.coding.display" />
      <fixedString value="Postnatal visit" />
    </element>
    <element id="Appointment.start">
      <path value="Appointment.start" />
      <short value="When the postnatal visit took place" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Appointment.extension">
      <path value="Appointment.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Appointment.extension:totalVisits">
      <path value="Appointment.extension" />
      <sliceName value="totalVisits" />
      <definition value="Total number of visits to up to including this visit. The extension URL is: https://fhir.clevermed.com/StuctureDefinition/Appointment-totalPostnatalVisits" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.clevermed.com/StructureDefinition/Appointment-totalPostnatalVisits" />
      </type>
      <isModifier value="false" />
    </element>
  </differential>
</StructureDefinition>