{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-09-21T10:54:31.69+00:00"
  },
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Slot-1",
  "version": "1.5.0",
  "name": "GPConnect-Slot-1",
  "status": "active",
  "date": "2024-01-22T11:39:06.3872207+00:00",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The Slot resource provides time-slots on a schedule that may be available to book for an appointment.",
  "copyright": "Copyright © 2019 NHS Digital",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Slot",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Slot",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Slot.extension",
        "path": "Slot.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Slot.extension:deliveryChannel",
        "path": "Slot.extension",
        "sliceName": "deliveryChannel",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-DeliveryChannel-2"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Slot.identifier.use",
        "path": "Slot.identifier.use",
        "max": "0"
      },
      {
        "id": "Slot.identifier.type",
        "path": "Slot.identifier.type",
        "max": "0"
      },
      {
        "id": "Slot.identifier.system",
        "path": "Slot.identifier.system",
        "min": 1
      },
      {
        "id": "Slot.identifier.value",
        "path": "Slot.identifier.value",
        "min": 1
      },
      {
        "id": "Slot.identifier.period",
        "path": "Slot.identifier.period",
        "max": "0"
      },
      {
        "id": "Slot.identifier.assigner",
        "path": "Slot.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory",
        "path": "Slot.serviceCategory",
        "max": "0"
      },
      {
        "id": "Slot.specialty",
        "path": "Slot.specialty",
        "max": "1"
      },
      {
        "id": "Slot.appointmentType",
        "path": "Slot.appointmentType",
        "max": "0"
      },
      {
        "id": "Slot.schedule",
        "path": "Slot.schedule",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Schedule-1"
          }
        ]
      },
      {
        "id": "Slot.schedule.reference",
        "path": "Slot.schedule.reference",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueString": "Schedule/b57e1f37-e88e-43ad-a9e9-79eeed7531dd"
          }
        ]
      },
      {
        "id": "Slot.schedule.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.schedule.display",
        "example": [
          {
            "label": "General",
            "valueString": "Appointment Schedule - Out of Hours GP Clinic"
          }
        ]
      },
      {
        "id": "Slot.status",
        "path": "Slot.status",
        "example": [
          {
            "label": "General",
            "valueCode": "free"
          }
        ]
      },
      {
        "id": "Slot.comment",
        "path": "Slot.comment",
        "example": [
          {
            "label": "General",
            "valueString": "This slot is only to be used for Out of Hours GP Clinic appointments."
          }
        ]
      }
    ]
  }
}