{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-09-06T08:40:06.019+00:00"
  },
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Schedule-1",
  "version": "1.6.0",
  "name": "GPConnect-Schedule-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": "Schedule",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Schedule",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Schedule.extension",
        "path": "Schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Schedule.extension:practitionerRole",
        "path": "Schedule.extension",
        "sliceName": "practitionerRole",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-PractitionerRole-1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Schedule.identifier.use",
        "path": "Schedule.identifier.use",
        "max": "0"
      },
      {
        "id": "Schedule.identifier.type",
        "path": "Schedule.identifier.type",
        "max": "0"
      },
      {
        "id": "Schedule.identifier.system",
        "path": "Schedule.identifier.system",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueUri": "https://fhir.nhs.uk/Id/gpconnect-schedule-identifier"
          }
        ]
      },
      {
        "id": "Schedule.identifier.value",
        "path": "Schedule.identifier.value",
        "min": 1
      },
      {
        "id": "Schedule.identifier.period",
        "path": "Schedule.identifier.period",
        "max": "0"
      },
      {
        "id": "Schedule.identifier.assigner",
        "path": "Schedule.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Schedule.active",
        "path": "Schedule.active",
        "max": "0"
      },
      {
        "id": "Schedule.serviceType",
        "path": "Schedule.serviceType",
        "max": "0"
      },
      {
        "id": "Schedule.specialty",
        "path": "Schedule.specialty",
        "max": "1"
      },
      {
        "id": "Schedule.actor",
        "path": "Schedule.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
          }
        ]
      },
      {
        "id": "Schedule.planningHorizon.start",
        "path": "Schedule.planningHorizon.start",
        "min": 1
      }
    ]
  }
}