{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/Appointment-BNet-Preg-AntenatalVisits",
  "name": "Appointment-BNet-Preg-AntenatalVisits",
  "status": "active",
  "date": "2025-07-22T13:48:23.9418897Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Number of antenatal visits received during the each trimester",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Appointment",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Appointment",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Appointment.id",
        "path": "Appointment.id",
        "short": "Unique resource identifier",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Appointment.status",
        "path": "Appointment.status",
        "short": "Fixed code for the status of this appointment",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Appointment.participant.actor.reference",
        "path": "Appointment.participant.actor.reference",
        "short": "Reference to the antenatal person patient",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Appointment.participant.status",
        "path": "Appointment.participant.status",
        "short": "Participation status of the actor",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Appointment.serviceType",
        "path": "Appointment.serviceType",
        "short": "The specific service that is to be performed during this appointment",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Appointment.serviceType.coding.system",
        "path": "Appointment.serviceType.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Appointment.serviceType.coding.code",
        "path": "Appointment.serviceType.coding.code",
        "fixedString": "134435003"
      },
      {
        "id": "Appointment.serviceType.coding.display",
        "path": "Appointment.serviceType.coding.display",
        "fixedString": "Routine antenatal care"
      },
      {
        "id": "Appointment.start",
        "path": "Appointment.start",
        "short": "When the antenatal visit took place",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Appointment.extension",
        "path": "Appointment.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Appointment.extension:totalFirstTriVisits",
        "path": "Appointment.extension",
        "sliceName": "totalFirstTriVisits",
        "definition": "Total number of visits to up to including this visit. The extension URL is: https://fhir.clevermed.com/StuctureDefinition/Appointment-totalFirstTriVisits",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.clevermed.com/StructureDefinition/Appointment-totalFirstTriVisits"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Appointment.extension:totalSecondTriVisits",
        "path": "Appointment.extension",
        "sliceName": "totalSecondTriVisits",
        "definition": "Total number of visits to up to including this visit. The extension URL is: https://fhir.clevermed.com/StuctureDefinition/Appointment-totalSecondTriVisits",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.clevermed.com/StructureDefinition/Appointment-totalSecondTriVisits"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Appointment.extension:totalThirdTriVisits",
        "path": "Appointment.extension",
        "sliceName": "totalThirdTriVisits",
        "definition": "Total number of visits to up to including this visit. The extension URL is: https://fhir.clevermed.com/StuctureDefinition/Appointment-totalThirdTriVisits",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.clevermed.com/StructureDefinition/Appointment-totalThirdTriVisits"
            ]
          }
        ],
        "isModifier": false
      }
    ]
  }
}