Class Appointment
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.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.AppointmentStatusEnumFactorystatic classAppointment.ParticipantRequiredstatic classAppointment.ParticipantRequiredEnumFactorystatic classAppointment.ParticipationStatusstatic classAppointment.ParticipationStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description 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 List<ServiceRequest>basedOnTargetThe actual objects that are the target of the reference (The service request this appointment is allocated to assess (e.g.protected CodeableConceptcancelationReasonThe coded reason for the appointment being cancelled.protected StringTypecommentAdditional comments about the appointment.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.protected 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_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_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.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 StringTypepatientInstructionWhile Appointment.comment 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 UnsignedIntTypepriorityThe priority of the appointment.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<CodeableConcept>reasonCodeThe coded reason that this appointment is being scheduled.protected List<Reference>reasonReferenceReason the appointment has been scheduled to take place, as specified using information from another resource.protected List<Resource>reasonReferenceTargetThe actual objects that are the target of the reference (Reason the appointment has been scheduled to take place, as specified using information from another resource.protected 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 slotprotected List<Slot>slotTargetThe actual objects that are the target of the reference (The slots from the participants' schedules that will be filled by the appointment.)static StringSP_ACTORSearch parameter: actorstatic StringSP_APPOINTMENT_TYPESearch parameter: appointment-typestatic StringSP_BASED_ONSearch parameter: based-onstatic StringSP_DATESearch parameter: datestatic 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_SERVICE_CATEGORYSearch parameter: service-categorystatic StringSP_SERVICE_TYPESearch parameter: service-typestatic StringSP_SLOTSearch parameter: slotstatic StringSP_SPECIALTYSearch parameter: specialtystatic StringSP_STATUSSearch parameter: statusstatic 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 statusstatic 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.protected List<Resource>supportingInformationTargetThe actual objects that are the target of the reference (Additional information to support the appointment provided when making the appointment.)-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Appointment()ConstructorAppointment(Enumeration<Appointment.AppointmentStatus> status)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, 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.
-
cancelationReason
protected CodeableConcept cancelationReason
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).
-
reasonCode
protected List<CodeableConcept> reasonCode
The coded reason that this appointment is being scheduled. This is more clinical than administrative.
-
reasonReference
protected List<Reference> reasonReference
Reason the appointment has been scheduled to take place, 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.
-
reasonReferenceTarget
protected List<Resource> reasonReferenceTarget
The actual objects that are the target of the reference (Reason the appointment has been scheduled to take place, 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 UnsignedIntType 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.
-
supportingInformation
protected List<Reference> supportingInformation
Additional information to support the appointment provided when making the appointment.
-
supportingInformationTarget
protected List<Resource> supportingInformationTarget
The actual objects that are the target of the reference (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.
-
slotTarget
protected List<Slot> slotTarget
The actual objects that are the target of the reference (The slots from the participants' schedules that will be filled by the 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.
-
comment
protected StringType comment
Additional comments about the appointment.
-
patientInstruction
protected StringType patientInstruction
While Appointment.comment 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).
-
basedOnTarget
protected List<ServiceRequest> basedOnTarget
The actual objects that are the target of the reference (The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).)
-
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_DATE
public static final String SP_DATE
Search parameter: dateDescription: Appointment date/time.
Type: date
Path: Appointment.start
- 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: Appointment.start
-
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_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_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_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
- 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
-
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_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_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_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_REASON_CODE
public static final String SP_REASON_CODE
Search parameter: reason-codeDescription: Coded reason this appointment is scheduled
Type: token
Path: Appointment.reasonCode
- 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: Coded reason this appointment is scheduled
Type: token
Path: Appointment.reasonCode
-
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_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_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
- 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
-
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_REASON_REFERENCE
public static final String SP_REASON_REFERENCE
Search parameter: reason-referenceDescription: Reason the appointment is to take place (resource)
Type: reference
Path: Appointment.reasonReference
- 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: Reason the appointment is to take place (resource)
Type: reference
Path: Appointment.reasonReference
-
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_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".
-
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
- 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
-
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_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
-
-
Constructor Detail
-
Appointment
public Appointment()
Constructor
-
Appointment
public Appointment(Enumeration<Appointment.AppointmentStatus> status)
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
-
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.
-
getCancelationReason
public CodeableConcept getCancelationReason()
- Returns:
cancelationReason(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.)
-
hasCancelationReason
public boolean hasCancelationReason()
-
setCancelationReason
public Appointment setCancelationReason(CodeableConcept value)
- Parameters:
value-cancelationReason(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
-
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
-
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
-
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).)
-
getReasonCode
public List<CodeableConcept> getReasonCode()
- Returns:
reasonCode(The coded reason that this appointment is being scheduled. This is more clinical than administrative.)
-
setReasonCode
public Appointment setReasonCode(List<CodeableConcept> theReasonCode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonCode
public boolean hasReasonCode()
-
addReasonCode
public CodeableConcept addReasonCode()
-
addReasonCode
public Appointment addReasonCode(CodeableConcept t)
-
getReasonCodeFirstRep
public CodeableConcept getReasonCodeFirstRep()
- Returns:
- The first repetition of repeating field
reasonCode, creating it if it does not already exist
-
getReasonReference
public List<Reference> getReasonReference()
- Returns:
reasonReference(Reason the appointment has been scheduled to take place, 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.)
-
setReasonReference
public Appointment setReasonReference(List<Reference> theReasonReference)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReasonReference
public boolean hasReasonReference()
-
addReasonReference
public Reference addReasonReference()
-
addReasonReference
public Appointment addReasonReference(Reference t)
-
getReasonReferenceFirstRep
public Reference getReasonReferenceFirstRep()
- Returns:
- The first repetition of repeating field
reasonReference, creating it if it does not already exist
-
getReasonReferenceTarget
@Deprecated public List<Resource> getReasonReferenceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getPriorityElement
public UnsignedIntType getPriorityElement()
- 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).). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
hasPriorityElement
public boolean hasPriorityElement()
-
hasPriority
public boolean hasPriority()
-
setPriorityElement
public Appointment setPriorityElement(UnsignedIntType 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).). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
getPriority
public int getPriority()
- Returns:
- 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).
-
setPriority
public Appointment setPriority(int value)
- Parameters:
value- 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.
-
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
-
getSupportingInformationTarget
@Deprecated public List<Resource> getSupportingInformationTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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
-
getSlotTarget
@Deprecated public List<Slot> getSlotTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addSlotTarget
@Deprecated public Slot addSlotTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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.
-
getCommentElement
public StringType getCommentElement()
- Returns:
comment(Additional comments about the appointment.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
hasCommentElement
public boolean hasCommentElement()
-
hasComment
public boolean hasComment()
-
setCommentElement
public Appointment setCommentElement(StringType value)
- Parameters:
value-comment(Additional comments about the appointment.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
getComment
public String getComment()
- Returns:
- Additional comments about the appointment.
-
setComment
public Appointment setComment(String value)
- Parameters:
value- Additional comments about the appointment.
-
getPatientInstructionElement
public StringType getPatientInstructionElement()
- Returns:
patientInstruction(While Appointment.comment 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).). This is the underlying object with id, value and extensions. The accessor "getPatientInstruction" gives direct access to the value
-
hasPatientInstructionElement
public boolean hasPatientInstructionElement()
-
hasPatientInstruction
public boolean hasPatientInstruction()
-
setPatientInstructionElement
public Appointment setPatientInstructionElement(StringType value)
- Parameters:
value-patientInstruction(While Appointment.comment 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).). This is the underlying object with id, value and extensions. The accessor "getPatientInstruction" gives direct access to the value
-
getPatientInstruction
public String getPatientInstruction()
- Returns:
- While Appointment.comment 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(String value)
- Parameters:
value- While Appointment.comment 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).
-
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
-
getBasedOnTarget
@Deprecated public List<ServiceRequest> getBasedOnTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addBasedOnTarget
@Deprecated public ServiceRequest addBasedOnTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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
-
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
-
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
-
-