Data Model Libraries
    Preparing search index...

    AppointmentResponse Class

    A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.

    FHIR Specification

    • Short: A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
    • Definition: A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.
    • FHIR Version: 4.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getIdentifier setIdentifier addIdentifier hasIdentifier getAppointment setAppointment hasAppointment getStartElement setStartElement hasStartElement getStart setStart hasStart getEndElement setEndElement hasEndElement getEnd setEnd hasEnd getParticipantType setParticipantType addParticipantType hasParticipantType getActor setActor hasActor getParticipantStatusEnumType setParticipantStatusEnumType hasParticipantStatusEnumType getParticipantStatusElement setParticipantStatusElement hasParticipantStatusElement getParticipantStatus setParticipantStatus hasParticipantStatus 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 initParticipantType

    Constructors

    Properties

    identifier?: Identifier[]

    AppointmentResponse.identifier Element

    FHIR Specification

    • Short: External Ids for this item
    • Definition: This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    appointment: null | Reference

    AppointmentResponse.appointment Element

    FHIR Specification

    start?: InstantType

    AppointmentResponse.start Element

    FHIR Specification

    • Short: Time from appointment, or requested new start time
    • Definition: Date/Time that the appointment is to take place, or requested new start time.
    • Comment: This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the start time.
    • FHIR Type: instant
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    AppointmentResponse.end Element

    FHIR Specification

    • Short: Time from appointment, or requested new end time
    • Definition: This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
    • FHIR Type: instant
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    participantType?: CodeableConcept[]

    AppointmentResponse.participantType Element

    FHIR Specification

    • Short: Role of participant in the appointment
    • Definition: Role of participant in the appointment.
    • Comment: The role of the participant can be used to declare what the actor will be doing in the scope of the referenced appointment. If the actor is not specified, then it is expected that the actor will be filled in at a later stage of planning. This value SHALL be the same as specified on the referenced Appointment so that they can be matched, and subsequently updated.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    actor?: Reference

    AppointmentResponse.actor Element

    FHIR Specification

    participationstatusEnum: ParticipationstatusEnum

    FHIR CodeSystem: Participationstatus

    participantStatus: null | EnumCodeType

    AppointmentResponse.participantStatus Element

    FHIR Specification

    • Short: accepted | declined | tentative | needs-action
    • Definition: Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
    • Comment: This element is labeled as a modifier because the status contains the code entered-in-error that marks the participant as not currently valid.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: true
    • isModifierReason: Not known why this is labelled a modifier
    • isSummary: true

    CodeSystem Enumeration: ParticipationstatusEnum

    comment?: StringType

    AppointmentResponse.comment Element

    FHIR Specification

    • Short: Additional comments
    • Definition: Additional comments about the appointment.
    • Comment: This comment is particularly important when the responder is declining, tentatively accepting or requesting another time to indicate the reasons why.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR AppointmentResponse

      • OptionaloptSourceField: string

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

      Returns undefined | AppointmentResponse

      AppointmentResponse data model or undefined for AppointmentResponse

      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