{
  "resourceType": "StructureDefinition",
  "id": "Slot",
  "meta": {
    "lastUpdated": "2021-01-01T21:58:31.578+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Base.Workflow"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "business"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    },
    {
      "url": "http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status",
      "valueCode": ".status = entered-in-error"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/Slot",
  "version": "4.6.0",
  "name": "Slot",
  "status": "draft",
  "date": "2021-01-01T21:58:31+00:00",
  "publisher": "Health Level Seven International (Patient Administration)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/pafm/index.cfm"
        }
      ]
    }
  ],
  "description": "A slot of time on a schedule that may be available for booking appointments.",
  "fhirVersion": "4.6.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "ical",
      "uri": "http://ietf.org/rfc/2445",
      "name": "iCalendar"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Slot",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "Slot",
        "path": "Slot",
        "short": "A slot of time on a schedule that may be available for booking appointments",
        "definition": "A slot of time on a schedule that may be available for booking appointments.",
        "min": 0,
        "max": "*",
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "ical",
            "map": "(refer to the Schedule resource for the header mapping details)"
          },
          {
            "identity": "w5",
            "map": "workflow.scheduling"
          }
        ]
      },
      {
        "id": "Slot.identifier",
        "path": "Slot.identifier",
        "short": "External Ids for this item",
        "definition": "External Ids for this item.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          }
        ]
      },
      {
        "id": "Slot.serviceCategory",
        "path": "Slot.serviceCategory",
        "short": "A broad categorization of the service that is to be performed during this appointment",
        "definition": "A broad categorization of the service that is to be performed during this appointment.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "service-category"
            }
          ],
          "strength": "example",
          "valueSet": "http://hl7.org/fhir/ValueSet/service-category"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          }
        ]
      },
      {
        "id": "Slot.serviceType",
        "path": "Slot.serviceType",
        "short": "The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the Schedule resource",
        "definition": "The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the Schedule resource.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "service-type"
            }
          ],
          "strength": "example",
          "valueSet": "http://hl7.org/fhir/ValueSet/service-type"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          }
        ]
      },
      {
        "id": "Slot.specialty",
        "path": "Slot.specialty",
        "short": "The specialty of a practitioner that would be required to perform the service requested in this appointment",
        "definition": "The specialty of a practitioner that would be required to perform the service requested in this appointment.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "specialty"
            }
          ],
          "strength": "preferred",
          "description": "Additional details about where the content was created (e.g. clinical specialty).",
          "valueSet": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          }
        ]
      },
      {
        "id": "Slot.appointmentType",
        "path": "Slot.appointmentType",
        "short": "The style of appointment or patient that may be booked in the slot (not service type)",
        "definition": "The style of appointment or patient that may be booked in the slot (not service type).",
        "comment": "A slot may be allow multiple appointment types, but when booked, would only be used for one of the given appointment types.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "appointment-type"
            }
          ],
          "strength": "preferred",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0276"
        },
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.class"
          }
        ]
      },
      {
        "id": "Slot.schedule",
        "path": "Slot.schedule",
        "short": "The schedule resource that this slot defines an interval of status information",
        "definition": "The schedule resource that this slot defines an interval of status information.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Schedule"
            ]
          }
        ],
        "isSummary": true
      },
      {
        "id": "Slot.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/build/StructureDefinition/committee-notes",
            "valueString": "This is not a modifier element as the status of the slot being busy is not a change in the interpretation of the slot."
          }
        ],
        "path": "Slot.status",
        "short": "busy | free | busy-unavailable | busy-tentative | entered-in-error",
        "definition": "busy | free | busy-unavailable | busy-tentative | entered-in-error.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SlotStatus"
            }
          ],
          "strength": "required",
          "description": "The free/busy status of the slot.",
          "valueSet": "http://hl7.org/fhir/ValueSet/slotstatus"
        },
        "mapping": [
          {
            "identity": "ical",
            "map": "FREEBUSY;FBTYPE=(freeBusyType):19980314T233000Z/19980315T003000Z If the freeBusyType is BUSY, then this value can be excluded"
          }
        ]
      },
      {
        "id": "Slot.start",
        "path": "Slot.start",
        "short": "Date/Time that the slot is to begin",
        "definition": "Date/Time that the slot is to begin.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "instant"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.planned"
          },
          {
            "identity": "ical",
            "map": "FREEBUSY;FBTYPE=FREE:(start)/19980315T003000Z If the freeBusyType is BUSY, then this value can be excluded"
          }
        ]
      },
      {
        "id": "Slot.end",
        "path": "Slot.end",
        "short": "Date/Time that the slot is to conclude",
        "definition": "Date/Time that the slot is to conclude.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "instant"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.planned"
          },
          {
            "identity": "ical",
            "map": "FREEBUSY:19980314T233000Z/(end) If the freeBusyType is BUSY, then this value can be excluded (as shown)"
          }
        ]
      },
      {
        "id": "Slot.overbooked",
        "path": "Slot.overbooked",
        "short": "This slot has already been overbooked, appointments are unlikely to be accepted for this time",
        "definition": "This slot has already been overbooked, appointments are unlikely to be accepted for this time.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "meaningWhenMissing": "If overbooked is missing, systems may assume that there are still appointments available"
      },
      {
        "id": "Slot.comment",
        "path": "Slot.comment",
        "short": "Comments on the slot to describe any extended information. Such as custom constraints on the slot",
        "definition": "Comments on the slot to describe any extended information. Such as custom constraints on the slot.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}