{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-09-21T10:54:03.97+00:00"
  },
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Appointment-1",
  "version": "1.6.0",
  "name": "GPConnect-Appointment-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 Appointment resource provides information on the booking of a healthcare event.",
  "copyright": "Copyright © 2019 NHS Digital",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Appointment",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Appointment",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Appointment.extension",
        "path": "Appointment.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Appointment.extension:appointmentCancellationReason",
        "path": "Appointment.extension",
        "sliceName": "appointmentCancellationReason",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-AppointmentCancellationReason-1"
          }
        ]
      },
      {
        "id": "Appointment.extension:bookingOrganisation",
        "path": "Appointment.extension",
        "sliceName": "bookingOrganisation",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-BookingOrganisation-1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Appointment.extension:practitionerRole",
        "path": "Appointment.extension",
        "sliceName": "practitionerRole",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-PractitionerRole-1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Appointment.extension:deliveryChannel",
        "path": "Appointment.extension",
        "sliceName": "deliveryChannel",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-DeliveryChannel-2"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Appointment.identifier.use",
        "path": "Appointment.identifier.use",
        "max": "0"
      },
      {
        "id": "Appointment.identifier.type",
        "path": "Appointment.identifier.type",
        "max": "0"
      },
      {
        "id": "Appointment.identifier.system",
        "path": "Appointment.identifier.system",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueUri": "https://fhir.nhs.uk/Id/gpconnect-appointment-identifier"
          }
        ]
      },
      {
        "id": "Appointment.identifier.value",
        "path": "Appointment.identifier.value",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueString": "898976578"
          }
        ]
      },
      {
        "id": "Appointment.identifier.period",
        "path": "Appointment.identifier.period",
        "max": "0"
      },
      {
        "id": "Appointment.identifier.assigner",
        "path": "Appointment.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Appointment.status",
        "path": "Appointment.status",
        "example": [
          {
            "label": "General",
            "valueCode": "booked"
          }
        ]
      },
      {
        "id": "Appointment.specialty",
        "path": "Appointment.specialty",
        "max": "1"
      },
      {
        "id": "Appointment.specialty.coding.code",
        "path": "Appointment.specialty.coding.code",
        "example": [
          {
            "label": "General",
            "valueCode": "394733009"
          }
        ]
      },
      {
        "id": "Appointment.specialty.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Appointment.specialty.coding.display",
        "example": [
          {
            "label": "General",
            "valueString": "Medical specialty--OTHER--NOT LISTED"
          }
        ]
      },
      {
        "id": "Appointment.appointmentType",
        "path": "Appointment.appointmentType",
        "max": "0"
      },
      {
        "id": "Appointment.reason",
        "path": "Appointment.reason",
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ApptReason"
            }
          ],
          "strength": "required"
        }
      },
      {
        "id": "Appointment.reason.coding.system",
        "path": "Appointment.reason.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Appointment.reason.coding.version",
        "path": "Appointment.reason.coding.version",
        "max": "0"
      },
      {
        "id": "Appointment.reason.coding.code",
        "path": "Appointment.reason.coding.code",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueCode": "17436001"
          }
        ]
      },
      {
        "id": "Appointment.reason.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Appointment.reason.coding.display",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueString": "Medical consultation with outpatient"
          }
        ]
      },
      {
        "id": "Appointment.reason.coding.userSelected",
        "path": "Appointment.reason.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Appointment.indication",
        "path": "Appointment.indication",
        "max": "0"
      },
      {
        "id": "Appointment.priority",
        "path": "Appointment.priority",
        "short": "Gives the priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority)"
      },
      {
        "id": "Appointment.description",
        "path": "Appointment.description",
        "min": 1
      },
      {
        "id": "Appointment.supportingInformation",
        "path": "Appointment.supportingInformation",
        "max": "0"
      },
      {
        "id": "Appointment.start",
        "path": "Appointment.start",
        "min": 1
      },
      {
        "id": "Appointment.end",
        "path": "Appointment.end",
        "min": 1
      },
      {
        "id": "Appointment.slot",
        "path": "Appointment.slot",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Slot-1"
          }
        ]
      },
      {
        "id": "Appointment.slot.reference",
        "path": "Appointment.slot.reference",
        "example": [
          {
            "label": "General",
            "valueString": "Slot/79a37bc3-8d22-4805-b1a7-8cf8ceca9217"
          }
        ]
      },
      {
        "id": "Appointment.slot.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Appointment.slot.display",
        "example": [
          {
            "label": "General",
            "valueString": "Appointment Slot - Out of Hours GP Clinic - 19:30 - 19:45"
          }
        ]
      },
      {
        "id": "Appointment.comment",
        "path": "Appointment.comment",
        "short": "Any additional comments about the appointment",
        "example": [
          {
            "label": "General",
            "valueString": "Discussion on problem 'Increased pain in right arm.'"
          }
        ]
      },
      {
        "id": "Appointment.incomingReferral",
        "path": "Appointment.incomingReferral",
        "max": "0"
      },
      {
        "id": "Appointment.participant.actor",
        "path": "Appointment.participant.actor",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Device-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1"
          }
        ]
      },
      {
        "id": "Appointment.requestedPeriod",
        "path": "Appointment.requestedPeriod",
        "max": "0"
      }
    ]
  }
}