Class AppointmentResponse
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.AppointmentResponse
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class AppointmentResponse extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR AppointmentResponse Resource ()Definition: A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/AppointmentResponse
- See Also:
- Serialized Form
-
-
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.ReferenceClientParamAPPOINTMENTFluent Client search parameter constant for appointmentstatic 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_APPOINTMENTConstant 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.rest.gclient.ReferenceClientParamLOCATIONFluent Client search parameter constant for locationstatic ca.uhn.fhir.rest.gclient.TokenClientParamPART_STATUSFluent Client search parameter constant for part-statusstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPRACTITIONERFluent Client search parameter constant for practitionerstatic StringSP_ACTORSearch parameter constant for actorstatic StringSP_APPOINTMENTSearch parameter constant for appointmentstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_LOCATIONSearch parameter constant for locationstatic StringSP_PART_STATUSSearch parameter constant for part-statusstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_PRACTITIONERSearch parameter constant for practitioner-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description AppointmentResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier ()AppointmentResponseaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier ()BoundCodeableConceptDt<ParticipantTypeEnum>addParticipantType()Add a value for participantType ()BoundCodeableConceptDt<ParticipantTypeEnum>addParticipantType(ParticipantTypeEnum theValue)Add a value for participantType () using an enumerated type.ResourceReferenceDtgetActor()Gets the value(s) for actor ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetAppointment()Gets the value(s) for appointment ().StringgetComment()Gets the value(s) for comment ().ca.uhn.fhir.model.primitive.StringDtgetCommentElement()Gets the value(s) for comment ().DategetEnd()Gets the value(s) for end ().ca.uhn.fhir.model.primitive.InstantDtgetEndElement()Gets the value(s) for end ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier ().IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (), creating it if it does not already exist.StringgetParticipantStatus()Gets the value(s) for participantStatus ().ca.uhn.fhir.model.primitive.BoundCodeDt<ParticipantStatusEnum>getParticipantStatusElement()Gets the value(s) for participantStatus ().List<BoundCodeableConceptDt<ParticipantTypeEnum>>getParticipantType()Gets the value(s) for participantType ().BoundCodeableConceptDt<ParticipantTypeEnum>getParticipantTypeFirstRep()Gets the first repetition for participantType (), creating it if it does not already exist.StringgetResourceName()DategetStart()Gets the value(s) for start ().ca.uhn.fhir.model.primitive.InstantDtgetStartElement()Gets the value(s) for start ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()booleanisEmpty()AppointmentResponsesetActor(ResourceReferenceDt theValue)Sets the value(s) for actor ()AppointmentResponsesetAppointment(ResourceReferenceDt theValue)Sets the value(s) for appointment ()AppointmentResponsesetComment(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for comment ()AppointmentResponsesetComment(String theString)Sets the value for comment ()AppointmentResponsesetEnd(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for end ()AppointmentResponsesetEnd(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for end ()AppointmentResponsesetEndWithMillisPrecision(Date theDate)Sets the value for end ()AppointmentResponsesetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier ()AppointmentResponsesetParticipantStatus(ParticipantStatusEnum theValue)Sets the value(s) for participantStatus ()AppointmentResponsesetParticipantStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ParticipantStatusEnum> theValue)Sets the value(s) for participantStatus ()AppointmentResponsesetParticipantType(ParticipantTypeEnum theValue)Sets the value(s), and clears any existing value(s) for participantType ()AppointmentResponsesetParticipantType(List<BoundCodeableConceptDt<ParticipantTypeEnum>> theValue)Sets the value(s) for participantType ()AppointmentResponsesetStart(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for start ()AppointmentResponsesetStart(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for start ()AppointmentResponsesetStartWithMillisPrecision(Date theDate)Sets the value for start ()-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_APPOINTMENT
public static final String SP_APPOINTMENT
Search parameter constant for appointmentDescription: The appointment that the response is attached to
Type: reference
Path: AppointmentResponse.appointment
- See Also:
- Constant Field Values
-
APPOINTMENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam APPOINTMENT
Fluent Client search parameter constant for appointmentDescription: The appointment that the response is attached to
Type: reference
Path: AppointmentResponse.appointment
-
SP_PART_STATUS
public static final String SP_PART_STATUS
Search parameter constant for part-statusDescription: The participants acceptance status for this appointment
Type: token
Path: AppointmentResponse.participantStatus
- 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 participants acceptance status for this appointment
Type: token
Path: AppointmentResponse.participantStatus
-
SP_ACTOR
public static final String SP_ACTOR
Search parameter constant for actorDescription: The Person, Location/HealthcareService or Device that this appointment response replies for
Type: reference
Path: AppointmentResponse.actor
- See Also:
- Constant Field Values
-
ACTOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR
Fluent Client search parameter constant for actorDescription: The Person, Location/HealthcareService or Device that this appointment response replies for
Type: reference
Path: AppointmentResponse.actor
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription: This Response is for this Patient
Type: reference
Path: AppointmentResponse.actor
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: This Response is for this Patient
Type: reference
Path: AppointmentResponse.actor
-
SP_PRACTITIONER
public static final String SP_PRACTITIONER
Search parameter constant for practitionerDescription: This Response is for this Practitioner
Type: reference
Path: AppointmentResponse.actor
- See Also:
- Constant Field Values
-
PRACTITIONER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER
Fluent Client search parameter constant for practitionerDescription: This Response is for this Practitioner
Type: reference
Path: AppointmentResponse.actor
-
SP_LOCATION
public static final String SP_LOCATION
Search parameter constant for locationDescription: This Response is for this Location
Type: reference
Path: AppointmentResponse.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 Response is for this Location
Type: reference
Path: AppointmentResponse.actor
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: An Identifier in this appointment response
Type: token
Path: AppointmentResponse.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 in this appointment response
Type: token
Path: AppointmentResponse.identifier
-
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 "AppointmentResponse:actor".
-
INCLUDE_APPOINTMENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_APPOINTMENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AppointmentResponse:appointment".
-
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 "AppointmentResponse:location".
-
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 "AppointmentResponse:patient".
-
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 "AppointmentResponse:practitioner".
-
-
Constructor Detail
-
AppointmentResponse
public AppointmentResponse()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull.Definition: This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
-
setIdentifier
public AppointmentResponse setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()Definition: This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier ()Definition: This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
-
addIdentifier
public AppointmentResponse addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()Definition: This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate
-
getAppointment
public ResourceReferenceDt getAppointment()
Gets the value(s) for appointment (). creating it if it does not exist. Will not returnnull.Definition:
-
setAppointment
public AppointmentResponse setAppointment(ResourceReferenceDt theValue)
Sets the value(s) for appointment ()Definition:
-
getStartElement
public ca.uhn.fhir.model.primitive.InstantDt getStartElement()
Gets the value(s) for start (). creating it if it does not exist. Will not returnnull.Definition: Date/Time that the appointment is to take place, or requested new start time
-
getStart
public Date getStart()
Gets the value(s) for start (). creating it if it does not exist. This method may returnnull.Definition: Date/Time that the appointment is to take place, or requested new start time
-
setStart
public AppointmentResponse setStart(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for start ()Definition: Date/Time that the appointment is to take place, or requested new start time
-
setStartWithMillisPrecision
public AppointmentResponse setStartWithMillisPrecision(Date theDate)
Sets the value for start ()Definition: Date/Time that the appointment is to take place, or requested new start time
-
setStart
public AppointmentResponse setStart(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for start ()Definition: Date/Time that the appointment is to take place, or requested new start time
-
getEndElement
public ca.uhn.fhir.model.primitive.InstantDt getEndElement()
Gets the value(s) for end (). creating it if it does not exist. Will not returnnull.Definition: This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
-
getEnd
public Date getEnd()
Gets the value(s) for end (). creating it if it does not exist. This method may returnnull.Definition: This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
-
setEnd
public AppointmentResponse setEnd(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for end ()Definition: This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
-
setEndWithMillisPrecision
public AppointmentResponse setEndWithMillisPrecision(Date theDate)
Sets the value for end ()Definition: This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
-
setEnd
public AppointmentResponse setEnd(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for end ()Definition: This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
-
getParticipantType
public List<BoundCodeableConceptDt<ParticipantTypeEnum>> getParticipantType()
Gets the value(s) for participantType (). creating it if it does not exist. Will not returnnull.Definition: Role of participant in the appointment
-
setParticipantType
public AppointmentResponse setParticipantType(List<BoundCodeableConceptDt<ParticipantTypeEnum>> theValue)
Sets the value(s) for participantType ()Definition: Role of participant in the appointment
-
addParticipantType
public BoundCodeableConceptDt<ParticipantTypeEnum> addParticipantType(ParticipantTypeEnum theValue)
Add a value for participantType () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use theaddParticipantType()method.Definition: Role of participant in the appointment
-
getParticipantTypeFirstRep
public BoundCodeableConceptDt<ParticipantTypeEnum> getParticipantTypeFirstRep()
Gets the first repetition for participantType (), creating it if it does not already exist.Definition: Role of participant in the appointment
-
addParticipantType
public BoundCodeableConceptDt<ParticipantTypeEnum> addParticipantType()
Add a value for participantType ()Definition: Role of participant in the appointment
-
setParticipantType
public AppointmentResponse setParticipantType(ParticipantTypeEnum theValue)
Sets the value(s), and clears any existing value(s) for participantType ()Definition: Role of participant in the appointment
-
getActor
public ResourceReferenceDt getActor()
Gets the value(s) for actor (). creating it if it does not exist. Will not returnnull.Definition: A Person, Location/HealthcareService or Device that is participating in the appointment
-
setActor
public AppointmentResponse setActor(ResourceReferenceDt theValue)
Sets the value(s) for actor ()Definition: A Person, Location/HealthcareService or Device that is participating in the appointment
-
getParticipantStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ParticipantStatusEnum> getParticipantStatusElement()
Gets the value(s) for participantStatus (). creating it if it does not exist. Will not returnnull.Definition: Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
-
getParticipantStatus
public String getParticipantStatus()
Gets the value(s) for participantStatus (). creating it if it does not exist. This method may returnnull.Definition: Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
-
setParticipantStatus
public AppointmentResponse setParticipantStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ParticipantStatusEnum> theValue)
Sets the value(s) for participantStatus ()Definition: Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
-
setParticipantStatus
public AppointmentResponse setParticipantStatus(ParticipantStatusEnum theValue)
Sets the value(s) for participantStatus ()Definition: Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
-
getCommentElement
public ca.uhn.fhir.model.primitive.StringDt getCommentElement()
Gets the value(s) for comment (). creating it if it does not exist. Will not returnnull.Definition: Additional comments about the appointment
-
getComment
public String getComment()
Gets the value(s) for comment (). creating it if it does not exist. This method may returnnull.Definition: Additional comments about the appointment
-
setComment
public AppointmentResponse setComment(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for comment ()Definition: Additional comments about the appointment
-
setComment
public AppointmentResponse setComment(String theString)
Sets the value for comment ()Definition: Additional comments about the appointment
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-