Data Model Libraries
    Preparing search index...

    Slot Class

    A slot of time on a schedule that may be available for booking appointments.

    FHIR Specification

    • 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.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getServiceCategory setServiceCategory addServiceCategory hasServiceCategory getServiceType setServiceType addServiceType hasServiceType getSpecialty setSpecialty addSpecialty hasSpecialty getAppointmentType setAppointmentType hasAppointmentType getSchedule setSchedule hasSchedule getStatusEnumType setStatusEnumType hasStatusEnumType getStatusElement setStatusElement hasStatusElement getStatus setStatus hasStatus getStartElement setStartElement hasStartElement getStart setStart hasStart getEndElement setEndElement hasEndElement getEnd setEnd hasEnd getOverbookedElement setOverbookedElement hasOverbookedElement getOverbooked setOverbooked hasOverbooked getCommentElement setCommentElement hasCommentElement getComment setComment hasComment fhirType isEmpty isRequiredFieldsEmpty copy toJSON getText setText hasText getContained setContained addContained hasContained getExtension setExtension hasExtension getExtensionByUrl addExtension removeExtension getModifierExtension setModifierExtension hasModifierExtension getModifierExtensionByUrl addModifierExtension removeModifierExtension resourceType getIdElement setIdElement hasIdElement getId setId hasId getMeta setMeta hasMeta getImplicitRulesElement setImplicitRulesElement hasImplicitRulesElement getImplicitRules setImplicitRules hasImplicitRules getLanguageElement setLanguageElement hasLanguageElement getLanguage setLanguage hasLanguage isResource isDataType isComplexDataType isPrimitive isBooleanPrimitive isStringPrimitive isNumberPrimitive isBigIntPrimitive isDateTimePrimitive copyValues initIdentifier initServiceCategory initServiceType initSpecialty

    Constructors

    Properties

    identifier?: Identifier[]

    Slot.identifier Element

    FHIR Specification

    • Short: External Ids for this item
    • Definition: External Ids for this item.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    serviceCategory?: CodeableConcept[]

    Slot.serviceCategory Element

    FHIR Specification

    • 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.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    serviceType?: CodeableConcept[]

    Slot.serviceType Element

    FHIR Specification

    • 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 availability 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 availability resource.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    specialty?: CodeableConcept[]

    Slot.specialty Element

    FHIR Specification

    • 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.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    appointmentType?: CodeableConcept

    Slot.appointmentType Element

    FHIR Specification

    • 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).
    • FHIR Type: CodeableConcept
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    schedule: null | Reference

    Slot.schedule Element

    FHIR Specification

    • 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.
    • FHIR Type: Reference
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    slotstatusEnum: SlotstatusEnum

    FHIR CodeSystem: Slotstatus

    status: null | EnumCodeType

    Slot.status Element

    FHIR Specification

    • Short: busy | free | busy-unavailable | busy-tentative | entered-in-error
    • Definition: busy | free | busy-unavailable | busy-tentative | entered-in-error.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: SlotstatusEnum

    start: null | InstantType

    Slot.start Element

    FHIR Specification

    • Short: Date/Time that the slot is to begin
    • Definition: Date/Time that the slot is to begin.
    • FHIR Type: instant
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    end: null | InstantType

    Slot.end Element

    FHIR Specification

    • Short: Date/Time that the slot is to conclude
    • Definition: Date/Time that the slot is to conclude.
    • FHIR Type: instant
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    overbooked?: BooleanType

    Slot.overbooked Element

    FHIR Specification

    • 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.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    comment?: StringType

    Slot.comment Element

    FHIR Specification

    • 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.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Methods

    • Parse the provided Slot JSON to instantiate the Slot data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR Slot

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to Slot

      Returns undefined | Slot

      Slot data model or undefined for Slot

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided value to the text property.

      Parameters

      Returns this

      this

    • Returns boolean

      true if the text property exists and has a value; false otherwise

    • Assigns the provided Resource array value to the contained property.

      Parameters

      • value: undefined | IResource[]

        the contained array value

      Returns this

      this

    • Returns boolean

      true if the contained property exists and has a value; false otherwise

    • Assigns the provided array of Extension values to the extension property.

      Parameters

      • extension: undefined | IExtension[]

        array of Extensions

      Returns this

      this

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Assigns the provided PrimitiveType value to the id property.

      Parameters

      • element: undefined | IdType

        the id value

      Returns this

      this

    • Returns undefined | string

      the id property value as a primitive value

    • Assigns the provided primitive value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the id property exists and has a value; false otherwise

    • Assigns the provided value to the meta property.

      Parameters

      • value: undefined | Meta

        the meta value

      Returns this

      this

    • Returns boolean

      true if the meta property exists and has a value; false otherwise

    • Assigns the provided primitive value to the implicitRules property.

      Parameters

      • value: undefined | string

        the implicitRules value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns undefined | string

      the language property value as a primitive value

    • Assigns the provided primitive value to the language property.

      Parameters

      • value: undefined | string

        the language value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the language property exists and has a value; false otherwise

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise