Class Appointment
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.Appointment
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class Appointment extends DomainResource
A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppointment.AppointmentParticipantComponentstatic classAppointment.AppointmentStatusstatic classAppointment.AppointmentStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected List<Reference>accountThe set of accounts that is expected to be used for billing the activities that result from this Appointment.static ca.uhn.fhir.rest.gclient.ReferenceClientParamACTORFluent Client search parameter constant for actorstatic ca.uhn.fhir.rest.gclient.TokenClientParamAPPOINTMENT_TYPEFluent Client search parameter constant for appointment-typeprotected CodeableConceptappointmentTypeThe style of appointment or patient that has been booked in the slot (not service type).static ca.uhn.fhir.rest.gclient.ReferenceClientParamBASED_ONFluent Client search parameter constant for based-onprotected List<Reference>basedOnThe service request this appointment is allocated to assess (e.g.protected CodeableConceptcancellationReasonThe coded reason for the appointment being cancelled.protected DateTimeTypecreatedThe date that this appointment was initially created.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected StringTypedescriptionThe brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list.protected InstantTypeendDate/Time that the appointment is to conclude.static ca.uhn.fhir.rest.gclient.ReferenceClientParamGROUPFluent Client search parameter constant for groupprotected List<Identifier>identifierThis records identifiers associated with this appointment 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 (e.g.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ACTORConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_BASED_ONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_GROUPConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_LOCATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PRACTITIONERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_REASON_REFERENCEConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SLOTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUPPORTING_INFOConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamLOCATIONFluent Client search parameter constant for locationprotected PositiveIntTypeminutesDurationNumber of minutes that the appointment is to take.protected List<Annotation>noteAdditional notes/comments about the appointment.static ca.uhn.fhir.rest.gclient.TokenClientParamPART_STATUSFluent Client search parameter constant for part-statusprotected List<Appointment.AppointmentParticipantComponent>participantList of participants involved in the appointment.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected List<CodeableReference>patientInstructionWhile Appointment.note contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPRACTITIONERFluent Client search parameter constant for practitionerprotected CodeableConceptpriorityThe priority of the appointment.protected List<CodeableReference>reasonThe reason that this appointment is being scheduled.static ca.uhn.fhir.rest.gclient.TokenClientParamREASON_CODEFluent Client search parameter constant for reason-codestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamREASON_REFERENCEFluent Client search parameter constant for reason-referenceprotected List<Reference>replacesAppointment replaced by this Appointment in cases where there is a cancellation, the details of the cancellation can be found in the cancellationReason property (on the referenced resource).static ca.uhn.fhir.rest.gclient.DateClientParamREQUESTED_PERIODFluent Client search parameter constant for requested-periodprotected List<Period>requestedPeriodA set of date ranges (potentially including times) that the appointment is preferred to be scheduled within.static ca.uhn.fhir.rest.gclient.TokenClientParamSERVICE_CATEGORYFluent Client search parameter constant for service-categorystatic ca.uhn.fhir.rest.gclient.TokenClientParamSERVICE_TYPEFluent Client search parameter constant for service-typeprotected List<CodeableConcept>serviceCategoryA broad categorization of the service that is to be performed during this appointment.protected List<CodeableConcept>serviceTypeThe specific service that is to be performed during this appointment.protected List<Reference>slotThe slots from the participants' schedules that will be filled by the appointment.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSLOTFluent Client search parameter constant for slotstatic StringSP_ACTORSearch parameter: actorstatic StringSP_APPOINTMENT_TYPESearch parameter: appointment-typestatic StringSP_BASED_ONSearch parameter: based-onstatic StringSP_DATESearch parameter: datestatic StringSP_GROUPSearch parameter: groupstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_LOCATIONSearch parameter: locationstatic StringSP_PART_STATUSSearch parameter: part-statusstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_PRACTITIONERSearch parameter: practitionerstatic StringSP_REASON_CODESearch parameter: reason-codestatic StringSP_REASON_REFERENCESearch parameter: reason-referencestatic StringSP_REQUESTED_PERIODSearch parameter: requested-periodstatic StringSP_SERVICE_CATEGORYSearch parameter: service-categorystatic StringSP_SERVICE_TYPESearch parameter: service-typestatic StringSP_SLOTSearch parameter: slotstatic StringSP_SPECIALTYSearch parameter: specialtystatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBJECTSearch parameter: subjectstatic StringSP_SUPPORTING_INFOSearch parameter: supporting-infoprotected List<CodeableConcept>specialtyThe specialty of a practitioner that would be required to perform the service requested in this appointment.static ca.uhn.fhir.rest.gclient.TokenClientParamSPECIALTYFluent Client search parameter constant for specialtyprotected InstantTypestartDate/Time that the appointment is to take place.protected Enumeration<Appointment.AppointmentStatus>statusThe overall status of the Appointment.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected ReferencesubjectThe patient or group associated with the appointment, if they are to be present (usually) then they should also be included in the participant backbone element.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUPPORTING_INFOFluent Client search parameter constant for supporting-infoprotected List<Reference>supportingInformationAdditional information to support the appointment provided when making the appointment.-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Appointment()ConstructorAppointment(Appointment.AppointmentStatus status, Appointment.AppointmentParticipantComponent participant)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
This records identifiers associated with this appointment 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 (e.g. in CDA documents, or in written / printed documentation).
-
status
protected Enumeration<Appointment.AppointmentStatus> status
The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.
-
cancellationReason
protected CodeableConcept cancellationReason
The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.
-
serviceCategory
protected List<CodeableConcept> serviceCategory
A broad categorization of the service that is to be performed during this appointment.
-
serviceType
protected List<CodeableConcept> serviceType
The specific service that is to be performed during this appointment.
-
specialty
protected List<CodeableConcept> specialty
The specialty of a practitioner that would be required to perform the service requested in this appointment.
-
appointmentType
protected CodeableConcept appointmentType
The style of appointment or patient that has been booked in the slot (not service type).
-
reason
protected List<CodeableReference> reason
The reason that this appointment is being scheduled. This is more clinical than administrative. This can be coded, or as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.
-
priority
protected CodeableConcept priority
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).
-
description
protected StringType description
The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.
-
replaces
protected List<Reference> replaces
Appointment replaced by this Appointment in cases where there is a cancellation, the details of the cancellation can be found in the cancellationReason property (on the referenced resource).
-
supportingInformation
protected List<Reference> supportingInformation
Additional information to support the appointment provided when making the appointment.
-
start
protected InstantType start
Date/Time that the appointment is to take place.
-
end
protected InstantType end
Date/Time that the appointment is to conclude.
-
minutesDuration
protected PositiveIntType minutesDuration
Number of minutes that the appointment is to take. This can be less than the duration between the start and end times. For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work. Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end.
-
slot
protected List<Reference> slot
The slots from the participants' schedules that will be filled by the appointment.
-
account
protected List<Reference> account
The set of accounts that is expected to be used for billing the activities that result from this Appointment.
-
created
protected DateTimeType created
The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.
-
note
protected List<Annotation> note
Additional notes/comments about the appointment.
-
patientInstruction
protected List<CodeableReference> patientInstruction
While Appointment.note contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g. please bring your referral or fast from 8pm night before).
-
basedOn
protected List<Reference> basedOn
The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).
-
subject
protected Reference subject
The patient or group associated with the appointment, if they are to be present (usually) then they should also be included in the participant backbone element.
-
participant
protected List<Appointment.AppointmentParticipantComponent> participant
List of participants involved in the appointment.
-
requestedPeriod
protected List<Period> requestedPeriod
A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within. The duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system.
-
SP_ACTOR
public static final String SP_ACTOR
Search parameter: actorDescription: Any one of the individuals participating in the appointment
Type: reference
Path: Appointment.participant.actor
- See Also:
- Constant Field Values
-
ACTOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR
Fluent Client search parameter constant for actorDescription: Any one of the individuals participating in the appointment
Type: reference
Path: Appointment.participant.actor
-
INCLUDE_ACTOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:actor".
-
SP_APPOINTMENT_TYPE
public static final String SP_APPOINTMENT_TYPE
Search parameter: appointment-typeDescription: The style of appointment or patient that has been booked in the slot (not service type)
Type: token
Path: Appointment.appointmentType
- See Also:
- Constant Field Values
-
APPOINTMENT_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam APPOINTMENT_TYPE
Fluent Client search parameter constant for appointment-typeDescription: The style of appointment or patient that has been booked in the slot (not service type)
Type: token
Path: Appointment.appointmentType
-
SP_BASED_ON
public static final String SP_BASED_ON
Search parameter: based-onDescription: The service request this appointment is allocated to assess
Type: reference
Path: Appointment.basedOn
- See Also:
- Constant Field Values
-
BASED_ON
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
Fluent Client search parameter constant for based-onDescription: The service request this appointment is allocated to assess
Type: reference
Path: Appointment.basedOn
-
INCLUDE_BASED_ON
public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:based-on".
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: Appointment date/time.
Type: date
Path: (start | requestedPeriod.start).first()
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Appointment date/time.
Type: date
Path: (start | requestedPeriod.start).first()
-
SP_GROUP
public static final String SP_GROUP
Search parameter: groupDescription: One of the individuals of the appointment is this patient
Type: reference
Path: Appointment.participant.actor.where(resolve() is Group) | Appointment.subject.where(resolve() is Group)
- See Also:
- Constant Field Values
-
GROUP
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GROUP
Fluent Client search parameter constant for groupDescription: One of the individuals of the appointment is this patient
Type: reference
Path: Appointment.participant.actor.where(resolve() is Group) | Appointment.subject.where(resolve() is Group)
-
INCLUDE_GROUP
public static final ca.uhn.fhir.model.api.Include INCLUDE_GROUP
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:group".
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: An Identifier of the Appointment
Type: token
Path: Appointment.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An Identifier of the Appointment
Type: token
Path: Appointment.identifier
-
SP_LOCATION
public static final String SP_LOCATION
Search parameter: locationDescription: This location is listed in the participants of the appointment
Type: reference
Path: Appointment.participant.actor.where(resolve() is Location)
- See Also:
- Constant Field Values
-
LOCATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION
Fluent Client search parameter constant for locationDescription: This location is listed in the participants of the appointment
Type: reference
Path: Appointment.participant.actor.where(resolve() is Location)
-
INCLUDE_LOCATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:location".
-
SP_PART_STATUS
public static final String SP_PART_STATUS
Search parameter: part-statusDescription: The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.
Type: token
Path: Appointment.participant.status
- See Also:
- Constant Field Values
-
PART_STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PART_STATUS
Fluent Client search parameter constant for part-statusDescription: The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.
Type: token
Path: Appointment.participant.status
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: One of the individuals of the appointment is this patient
Type: reference
Path: Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient)
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: One of the individuals of the appointment is this patient
Type: reference
Path: Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient)
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:patient".
-
SP_PRACTITIONER
public static final String SP_PRACTITIONER
Search parameter: practitionerDescription: One of the individuals of the appointment is this practitioner
Type: reference
Path: Appointment.participant.actor.where(resolve() is Practitioner)
- See Also:
- Constant Field Values
-
PRACTITIONER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER
Fluent Client search parameter constant for practitionerDescription: One of the individuals of the appointment is this practitioner
Type: reference
Path: Appointment.participant.actor.where(resolve() is Practitioner)
-
INCLUDE_PRACTITIONER
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:practitioner".
-
SP_REASON_CODE
public static final String SP_REASON_CODE
Search parameter: reason-codeDescription: Reference to a concept (by class)
Type: token
Path: Appointment.reason.concept
- See Also:
- Constant Field Values
-
REASON_CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_CODE
Fluent Client search parameter constant for reason-codeDescription: Reference to a concept (by class)
Type: token
Path: Appointment.reason.concept
-
SP_REASON_REFERENCE
public static final String SP_REASON_REFERENCE
Search parameter: reason-referenceDescription: Reference to a resource (by instance)
Type: reference
Path: Appointment.reason.reference
- See Also:
- Constant Field Values
-
REASON_REFERENCE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REASON_REFERENCE
Fluent Client search parameter constant for reason-referenceDescription: Reference to a resource (by instance)
Type: reference
Path: Appointment.reason.reference
-
INCLUDE_REASON_REFERENCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_REASON_REFERENCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:reason-reference".
-
SP_REQUESTED_PERIOD
public static final String SP_REQUESTED_PERIOD
Search parameter: requested-periodDescription: During what period was the Appointment requested to take place
Type: date
Path: requestedPeriod
- See Also:
- Constant Field Values
-
REQUESTED_PERIOD
public static final ca.uhn.fhir.rest.gclient.DateClientParam REQUESTED_PERIOD
Fluent Client search parameter constant for requested-periodDescription: During what period was the Appointment requested to take place
Type: date
Path: requestedPeriod
-
SP_SERVICE_CATEGORY
public static final String SP_SERVICE_CATEGORY
Search parameter: service-categoryDescription: A broad categorization of the service that is to be performed during this appointment
Type: token
Path: Appointment.serviceCategory
- See Also:
- Constant Field Values
-
SERVICE_CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_CATEGORY
Fluent Client search parameter constant for service-categoryDescription: A broad categorization of the service that is to be performed during this appointment
Type: token
Path: Appointment.serviceCategory
-
SP_SERVICE_TYPE
public static final String SP_SERVICE_TYPE
Search parameter: service-typeDescription: The specific service that is to be performed during this appointment
Type: token
Path: Appointment.serviceType
- See Also:
- Constant Field Values
-
SERVICE_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_TYPE
Fluent Client search parameter constant for service-typeDescription: The specific service that is to be performed during this appointment
Type: token
Path: Appointment.serviceType
-
SP_SLOT
public static final String SP_SLOT
Search parameter: slotDescription: The slots that this appointment is filling
Type: reference
Path: Appointment.slot
- See Also:
- Constant Field Values
-
SLOT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SLOT
Fluent Client search parameter constant for slotDescription: The slots that this appointment is filling
Type: reference
Path: Appointment.slot
-
INCLUDE_SLOT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SLOT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:slot".
-
SP_SPECIALTY
public static final String SP_SPECIALTY
Search parameter: specialtyDescription: The specialty of a practitioner that would be required to perform the service requested in this appointment
Type: token
Path: Appointment.specialty
- See Also:
- Constant Field Values
-
SPECIALTY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY
Fluent Client search parameter constant for specialtyDescription: The specialty of a practitioner that would be required to perform the service requested in this appointment
Type: token
Path: Appointment.specialty
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: The overall status of the appointment
Type: token
Path: Appointment.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: The overall status of the appointment
Type: token
Path: Appointment.status
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: One of the individuals of the appointment is this patient
Type: reference
Path: Appointment.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: One of the individuals of the appointment is this patient
Type: reference
Path: Appointment.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:subject".
-
SP_SUPPORTING_INFO
public static final String SP_SUPPORTING_INFO
Search parameter: supporting-infoDescription: Additional information to support the appointment
Type: reference
Path: Appointment.supportingInformation
- See Also:
- Constant Field Values
-
SUPPORTING_INFO
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPORTING_INFO
Fluent Client search parameter constant for supporting-infoDescription: Additional information to support the appointment
Type: reference
Path: Appointment.supportingInformation
-
INCLUDE_SUPPORTING_INFO
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPORTING_INFO
Constant for fluent queries to be used to add include statements. Specifies the path value of "Appointment:supporting-info".
-
-
Constructor Detail
-
Appointment
public Appointment()
Constructor
-
Appointment
public Appointment(Appointment.AppointmentStatus status, Appointment.AppointmentParticipantComponent participant)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(This records identifiers associated with this appointment 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 (e.g. in CDA documents, or in written / printed documentation).)
-
setIdentifier
public Appointment setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public Appointment addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getStatusElement
public Enumeration<Appointment.AppointmentStatus> getStatusElement()
- Returns:
status(The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public Appointment setStatusElement(Enumeration<Appointment.AppointmentStatus> value)
- Parameters:
value-status(The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public Appointment.AppointmentStatus getStatus()
- Returns:
- The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.
-
setStatus
public Appointment setStatus(Appointment.AppointmentStatus value)
- Parameters:
value- The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.
-
getCancellationReason
public CodeableConcept getCancellationReason()
- Returns:
cancellationReason(The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.)
-
hasCancellationReason
public boolean hasCancellationReason()
-
setCancellationReason
public Appointment setCancellationReason(CodeableConcept value)
- Parameters:
value-cancellationReason(The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.)
-
getServiceCategory
public List<CodeableConcept> getServiceCategory()
- Returns:
serviceCategory(A broad categorization of the service that is to be performed during this appointment.)
-
setServiceCategory
public Appointment setServiceCategory(List<CodeableConcept> theServiceCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasServiceCategory
public boolean hasServiceCategory()
-
addServiceCategory
public CodeableConcept addServiceCategory()
-
addServiceCategory
public Appointment addServiceCategory(CodeableConcept t)
-
getServiceCategoryFirstRep
public CodeableConcept getServiceCategoryFirstRep()
- Returns:
- The first repetition of repeating field
serviceCategory, creating it if it does not already exist {3}
-
getServiceType
public List<CodeableConcept> getServiceType()
- Returns:
serviceType(The specific service that is to be performed during this appointment.)
-
setServiceType
public Appointment setServiceType(List<CodeableConcept> theServiceType)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasServiceType
public boolean hasServiceType()
-
addServiceType
public CodeableConcept addServiceType()
-
addServiceType
public Appointment addServiceType(CodeableConcept t)
-
getServiceTypeFirstRep
public CodeableConcept getServiceTypeFirstRep()
- Returns:
- The first repetition of repeating field
serviceType, creating it if it does not already exist {3}
-
getSpecialty
public List<CodeableConcept> getSpecialty()
- Returns:
specialty(The specialty of a practitioner that would be required to perform the service requested in this appointment.)
-
setSpecialty
public Appointment setSpecialty(List<CodeableConcept> theSpecialty)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSpecialty
public boolean hasSpecialty()
-
addSpecialty
public CodeableConcept addSpecialty()
-
addSpecialty
public Appointment addSpecialty(CodeableConcept t)
-
getSpecialtyFirstRep
public CodeableConcept getSpecialtyFirstRep()
- Returns:
- The first repetition of repeating field
specialty, creating it if it does not already exist {3}
-
getAppointmentType
public CodeableConcept getAppointmentType()
- Returns:
appointmentType(The style of appointment or patient that has been booked in the slot (not service type).)
-
hasAppointmentType
public boolean hasAppointmentType()
-
setAppointmentType
public Appointment setAppointmentType(CodeableConcept value)
- Parameters:
value-appointmentType(The style of appointment or patient that has been booked in the slot (not service type).)
-
getReason
public List<CodeableReference> getReason()
- Returns:
reason(The reason that this appointment is being scheduled. This is more clinical than administrative. This can be coded, or as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.)
-
setReason
public Appointment setReason(List<CodeableReference> theReason)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReason
public boolean hasReason()
-
addReason
public CodeableReference addReason()
-
addReason
public Appointment addReason(CodeableReference t)
-
getReasonFirstRep
public CodeableReference getReasonFirstRep()
- Returns:
- The first repetition of repeating field
reason, creating it if it does not already exist {3}
-
getPriority
public CodeableConcept getPriority()
- Returns:
priority(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).)
-
hasPriority
public boolean hasPriority()
-
setPriority
public Appointment setPriority(CodeableConcept value)
- Parameters:
value-priority(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).)
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public Appointment setDescriptionElement(StringType value)
- Parameters:
value-description(The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.
-
setDescription
public Appointment setDescription(String value)
- Parameters:
value- The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.
-
getReplaces
public List<Reference> getReplaces()
- Returns:
replaces(Appointment replaced by this Appointment in cases where there is a cancellation, the details of the cancellation can be found in the cancellationReason property (on the referenced resource).)
-
setReplaces
public Appointment setReplaces(List<Reference> theReplaces)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReplaces
public boolean hasReplaces()
-
addReplaces
public Reference addReplaces()
-
addReplaces
public Appointment addReplaces(Reference t)
-
getReplacesFirstRep
public Reference getReplacesFirstRep()
- Returns:
- The first repetition of repeating field
replaces, creating it if it does not already exist {3}
-
getSupportingInformation
public List<Reference> getSupportingInformation()
- Returns:
supportingInformation(Additional information to support the appointment provided when making the appointment.)
-
setSupportingInformation
public Appointment setSupportingInformation(List<Reference> theSupportingInformation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSupportingInformation
public boolean hasSupportingInformation()
-
addSupportingInformation
public Reference addSupportingInformation()
-
addSupportingInformation
public Appointment addSupportingInformation(Reference t)
-
getSupportingInformationFirstRep
public Reference getSupportingInformationFirstRep()
- Returns:
- The first repetition of repeating field
supportingInformation, creating it if it does not already exist {3}
-
getStartElement
public InstantType getStartElement()
- Returns:
start(Date/Time that the appointment is to take place.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
-
hasStartElement
public boolean hasStartElement()
-
hasStart
public boolean hasStart()
-
setStartElement
public Appointment setStartElement(InstantType value)
- Parameters:
value-start(Date/Time that the appointment is to take place.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
-
setStart
public Appointment setStart(Date value)
- Parameters:
value- Date/Time that the appointment is to take place.
-
getEndElement
public InstantType getEndElement()
- Returns:
end(Date/Time that the appointment is to conclude.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
-
hasEndElement
public boolean hasEndElement()
-
hasEnd
public boolean hasEnd()
-
setEndElement
public Appointment setEndElement(InstantType value)
- Parameters:
value-end(Date/Time that the appointment is to conclude.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
-
setEnd
public Appointment setEnd(Date value)
- Parameters:
value- Date/Time that the appointment is to conclude.
-
getMinutesDurationElement
public PositiveIntType getMinutesDurationElement()
- Returns:
minutesDuration(Number of minutes that the appointment is to take. This can be less than the duration between the start and end times. For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work. Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end.). This is the underlying object with id, value and extensions. The accessor "getMinutesDuration" gives direct access to the value
-
hasMinutesDurationElement
public boolean hasMinutesDurationElement()
-
hasMinutesDuration
public boolean hasMinutesDuration()
-
setMinutesDurationElement
public Appointment setMinutesDurationElement(PositiveIntType value)
- Parameters:
value-minutesDuration(Number of minutes that the appointment is to take. This can be less than the duration between the start and end times. For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work. Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end.). This is the underlying object with id, value and extensions. The accessor "getMinutesDuration" gives direct access to the value
-
getMinutesDuration
public int getMinutesDuration()
- Returns:
- Number of minutes that the appointment is to take. This can be less than the duration between the start and end times. For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work. Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end.
-
setMinutesDuration
public Appointment setMinutesDuration(int value)
- Parameters:
value- Number of minutes that the appointment is to take. This can be less than the duration between the start and end times. For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work. Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end.
-
getSlot
public List<Reference> getSlot()
- Returns:
slot(The slots from the participants' schedules that will be filled by the appointment.)
-
setSlot
public Appointment setSlot(List<Reference> theSlot)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSlot
public boolean hasSlot()
-
addSlot
public Appointment addSlot(Reference t)
-
getSlotFirstRep
public Reference getSlotFirstRep()
- Returns:
- The first repetition of repeating field
slot, creating it if it does not already exist {3}
-
getAccount
public List<Reference> getAccount()
- Returns:
account(The set of accounts that is expected to be used for billing the activities that result from this Appointment.)
-
setAccount
public Appointment setAccount(List<Reference> theAccount)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAccount
public boolean hasAccount()
-
addAccount
public Reference addAccount()
-
addAccount
public Appointment addAccount(Reference t)
-
getAccountFirstRep
public Reference getAccountFirstRep()
- Returns:
- The first repetition of repeating field
account, creating it if it does not already exist {3}
-
getCreatedElement
public DateTimeType getCreatedElement()
- Returns:
created(The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
hasCreatedElement
public boolean hasCreatedElement()
-
hasCreated
public boolean hasCreated()
-
setCreatedElement
public Appointment setCreatedElement(DateTimeType value)
- Parameters:
value-created(The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
getCreated
public Date getCreated()
- Returns:
- The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.
-
setCreated
public Appointment setCreated(Date value)
- Parameters:
value- The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.
-
getNote
public List<Annotation> getNote()
- Returns:
note(Additional notes/comments about the appointment.)
-
setNote
public Appointment setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public Appointment addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist {3}
-
getPatientInstruction
public List<CodeableReference> getPatientInstruction()
- Returns:
patientInstruction(While Appointment.note contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g. please bring your referral or fast from 8pm night before).)
-
setPatientInstruction
public Appointment setPatientInstruction(List<CodeableReference> thePatientInstruction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPatientInstruction
public boolean hasPatientInstruction()
-
addPatientInstruction
public CodeableReference addPatientInstruction()
-
addPatientInstruction
public Appointment addPatientInstruction(CodeableReference t)
-
getPatientInstructionFirstRep
public CodeableReference getPatientInstructionFirstRep()
- Returns:
- The first repetition of repeating field
patientInstruction, creating it if it does not already exist {3}
-
getBasedOn
public List<Reference> getBasedOn()
- Returns:
basedOn(The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).)
-
setBasedOn
public Appointment setBasedOn(List<Reference> theBasedOn)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBasedOn
public boolean hasBasedOn()
-
addBasedOn
public Reference addBasedOn()
-
addBasedOn
public Appointment addBasedOn(Reference t)
-
getBasedOnFirstRep
public Reference getBasedOnFirstRep()
- Returns:
- The first repetition of repeating field
basedOn, creating it if it does not already exist {3}
-
getSubject
public Reference getSubject()
- Returns:
subject(The patient or group associated with the appointment, if they are to be present (usually) then they should also be included in the participant backbone element.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public Appointment setSubject(Reference value)
- Parameters:
value-subject(The patient or group associated with the appointment, if they are to be present (usually) then they should also be included in the participant backbone element.)
-
getParticipant
public List<Appointment.AppointmentParticipantComponent> getParticipant()
- Returns:
participant(List of participants involved in the appointment.)
-
setParticipant
public Appointment setParticipant(List<Appointment.AppointmentParticipantComponent> theParticipant)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParticipant
public boolean hasParticipant()
-
addParticipant
public Appointment.AppointmentParticipantComponent addParticipant()
-
addParticipant
public Appointment addParticipant(Appointment.AppointmentParticipantComponent t)
-
getParticipantFirstRep
public Appointment.AppointmentParticipantComponent getParticipantFirstRep()
- Returns:
- The first repetition of repeating field
participant, creating it if it does not already exist {3}
-
getRequestedPeriod
public List<Period> getRequestedPeriod()
- Returns:
requestedPeriod(A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within. The duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system.)
-
setRequestedPeriod
public Appointment setRequestedPeriod(List<Period> theRequestedPeriod)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRequestedPeriod
public boolean hasRequestedPeriod()
-
addRequestedPeriod
public Period addRequestedPeriod()
-
addRequestedPeriod
public Appointment addRequestedPeriod(Period t)
-
getRequestedPeriodFirstRep
public Period getRequestedPeriodFirstRep()
- Returns:
- The first repetition of repeating field
requestedPeriod, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Appointment copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(Appointment dst)
-
typedCopy
protected Appointment typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-