Package org.hl7.fhir.dstu2.model
Class AppointmentResponse
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.AppointmentResponse
- 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
A reply to an appointment request for a patient and/or practitioner(s), such
as a confirmation or rejection.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Reference
A Person, Location/HealthcareService or Device that is participating in the appointment.protected Resource
The actual object that is the target of the reference (A Person, Location/HealthcareService or Device that is participating in the appointment.)protected Reference
Appointment that this response is replying to.protected Appointment
The actual object that is the target of the reference (Appointment that this response is replying to.)protected StringType
Additional comments about the appointment.protected InstantType
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.protected List
<Identifier> 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.protected Enumeration
<AppointmentResponse.ParticipantStatus> Participation status of the participant.protected List
<CodeableConcept> Role of participant in the appointment.static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected InstantType
Date/Time that the appointment is to take place, or requested new start time.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionAppointmentResponse
(Reference appointment, Enumeration<AppointmentResponse.ParticipantStatus> participantStatus) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getActor()
getEnd()
getStart()
boolean
hasActor()
boolean
boolean
boolean
boolean
hasEnd()
boolean
boolean
boolean
boolean
boolean
boolean
hasStart()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setActorTarget
(Resource value) setAppointment
(Reference value) setAppointmentTarget
(Appointment value) setComment
(String value) setCommentElement
(StringType value) setEndElement
(InstantType value) void
setProperty
(String name, Base value) setStartElement
(InstantType value) protected AppointmentResponse
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
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. -
appointment
Appointment that this response is replying to. -
appointmentTarget
The actual object that is the target of the reference (Appointment that this response is replying to.) -
start
Date/Time that the appointment is to take place, or requested new start time. -
end
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. -
participantType
Role of participant in the appointment. -
actor
A Person, Location/HealthcareService or Device that is participating in the appointment. -
actorTarget
The actual object that is the target of the reference (A Person, Location/HealthcareService or Device that is participating in the appointment.) -
participantStatus
Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty. -
comment
Additional comments about the appointment. -
SP_ACTOR
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_PRACTITIONER
- See Also:
-
SP_PARTSTATUS
- See Also:
-
SP_PATIENT
- See Also:
-
SP_APPOINTMENT
- See Also:
-
SP_LOCATION
- See Also:
-
-
Constructor Details
-
AppointmentResponse
public AppointmentResponse() -
AppointmentResponse
public AppointmentResponse(Reference appointment, Enumeration<AppointmentResponse.ParticipantStatus> participantStatus)
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(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.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(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
-
getAppointment
- Returns:
appointment
(Appointment that this response is replying to.)
-
hasAppointment
-
setAppointment
- Parameters:
value
-appointment
(Appointment that this response is replying to.)
-
getAppointmentTarget
- Returns:
appointment
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Appointment that this response is replying to.)
-
setAppointmentTarget
- Parameters:
value
-appointment
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Appointment that this response is replying to.)
-
getStartElement
- Returns:
start
(Date/Time that the appointment is to take place, or requested new start time.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
-
hasStartElement
-
hasStart
-
setStartElement
- Parameters:
value
-start
(Date/Time that the appointment is to take place, or requested new start time.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
-
getStart
- Returns:
- Date/Time that the appointment is to take place, or requested new start time.
-
setStart
- Parameters:
value
- Date/Time that the appointment is to take place, or requested new start time.
-
getEndElement
- Returns:
end
(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.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
-
hasEndElement
-
hasEnd
-
setEndElement
- Parameters:
value
-end
(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.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
-
getEnd
- Returns:
- 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
- Parameters:
value
- 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
- Returns:
participantType
(Role of participant in the appointment.)
-
hasParticipantType
-
addParticipantType
- Returns:
participantType
(Role of participant in the appointment.)
-
addParticipantType
-
getActor
- Returns:
actor
(A Person, Location/HealthcareService or Device that is participating in the appointment.)
-
hasActor
-
setActor
- Parameters:
value
-actor
(A Person, Location/HealthcareService or Device that is participating in the appointment.)
-
getActorTarget
- Returns:
actor
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A Person, Location/HealthcareService or Device that is participating in the appointment.)
-
setActorTarget
- Parameters:
value
-actor
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A Person, Location/HealthcareService or Device that is participating in the appointment.)
-
getParticipantStatusElement
- Returns:
participantStatus
(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.). This is the underlying object with id, value and extensions. The accessor "getParticipantStatus" gives direct access to the value
-
hasParticipantStatusElement
-
hasParticipantStatus
-
setParticipantStatusElement
public AppointmentResponse setParticipantStatusElement(Enumeration<AppointmentResponse.ParticipantStatus> value) - Parameters:
value
-participantStatus
(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.). This is the underlying object with id, value and extensions. The accessor "getParticipantStatus" gives direct access to the value
-
getParticipantStatus
- Returns:
- 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
- Parameters:
value
- 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
- 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
-
hasComment
-
setCommentElement
- 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
- Returns:
- Additional comments about the appointment.
-
setComment
- Parameters:
value
- Additional comments about the appointment.
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-