Class ReferralRequest
- 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
Definition: Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organization.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/ReferralRequest
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for prioritystatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for recipientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for requesterstatic final String
Search parameter constant for datestatic final String
Search parameter constant for patientstatic final String
Search parameter constant for prioritystatic final String
Search parameter constant for recipientstatic final String
Search parameter constant for requesterstatic final String
Search parameter constant for specialtystatic final String
Search parameter constant for statusstatic final String
Search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for specialtystatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)Adds and returns a new value for recipient (who.actor)Adds and returns a new value for serviceRequested (what)addServiceRequested
(CodeableConceptDt theValue) Adds a given new value for serviceRequested (what)Adds and returns a new value for supportingInformation ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getDate()
Gets the value(s) for date (when.init).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for date (when.init).Gets the value(s) for dateSent (when.init).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for dateSent (when.init).Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for description ().Gets the value(s) for encounter (context).Gets the value(s) for fulfillmentTime (when.planned).Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for patient (who.focus).Gets the value(s) for priority (grade).Gets the value(s) for reason (why).Gets the value(s) for recipient (who.actor).Gets the value(s) for requester (who.author).Gets the value(s) for serviceRequested (what).Gets the first repetition for serviceRequested (what), creating it if it does not already exist.Gets the value(s) for specialty ().Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<ReferralStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for supportingInformation ().getType()
Gets the value(s) for type (class).boolean
isEmpty()
setDate
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for date (when.init)Sets the value for date (when.init)setDateSent
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for dateSent (when.init)setDateSent
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateSent (when.init)setDateSentWithSecondsPrecision
(Date theDate) Sets the value for dateSent (when.init)setDateWithSecondsPrecision
(Date theDate) Sets the value for date (when.init)setDescription
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription
(String theString) Sets the value for description ()setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)setFulfillmentTime
(PeriodDt theValue) Sets the value(s) for fulfillmentTime (when.planned)setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient (who.focus)setPriority
(CodeableConceptDt theValue) Sets the value(s) for priority (grade)setReason
(CodeableConceptDt theValue) Sets the value(s) for reason (why)setRecipient
(List<ResourceReferenceDt> theValue) Sets the value(s) for recipient (who.actor)setRequester
(ResourceReferenceDt theValue) Sets the value(s) for requester (who.author)setServiceRequested
(List<CodeableConceptDt> theValue) Sets the value(s) for serviceRequested (what)setSpecialty
(CodeableConceptDt theValue) Sets the value(s) for specialty ()setStatus
(ReferralStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<ReferralStatusEnum> theValue) Sets the value(s) for status (status)setSupportingInformation
(List<ResourceReferenceDt> theValue) Sets the value(s) for supportingInformation ()setType
(CodeableConceptDt theValue) Sets the value(s) for type (class)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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_STATUS
Search parameter constant for statusDescription: The status of the referral
Type: token
Path: ReferralRequest.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The status of the referral
Type: token
Path: ReferralRequest.status
-
SP_DATE
Search parameter constant for dateDescription: Creation or activation date
Type: date
Path: ReferralRequest.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: Creation or activation date
Type: date
Path: ReferralRequest.date
-
SP_TYPE
Search parameter constant for typeDescription: The type of the referral
Type: token
Path: ReferralRequest.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: The type of the referral
Type: token
Path: ReferralRequest.type
-
SP_SPECIALTY
Search parameter constant for specialtyDescription: The specialty that the referral is for
Type: token
Path: ReferralRequest.specialty
- See Also:
-
SPECIALTY
Fluent Client search parameter constant for specialtyDescription: The specialty that the referral is for
Type: token
Path: ReferralRequest.specialty
-
SP_PRIORITY
Search parameter constant for priorityDescription: The priority assigned to the referral
Type: token
Path: ReferralRequest.priority
- See Also:
-
PRIORITY
Fluent Client search parameter constant for priorityDescription: The priority assigned to the referral
Type: token
Path: ReferralRequest.priority
-
SP_RECIPIENT
Search parameter constant for recipientDescription: The person that the referral was sent to
Type: reference
Path: ReferralRequest.recipient
- See Also:
-
RECIPIENT
Fluent Client search parameter constant for recipientDescription: The person that the referral was sent to
Type: reference
Path: ReferralRequest.recipient
-
SP_PATIENT
Search parameter constant for patientDescription: Who the referral is about
Type: reference
Path: ReferralRequest.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Who the referral is about
Type: reference
Path: ReferralRequest.patient
-
SP_REQUESTER
Search parameter constant for requesterDescription:
Type: reference
Path: ReferralRequest.requester
- See Also:
-
REQUESTER
Fluent Client search parameter constant for requesterDescription:
Type: reference
Path: ReferralRequest.requester
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "ReferralRequest:patient". -
INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "ReferralRequest:recipient". -
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "ReferralRequest:requester".
-
-
Constructor Details
-
ReferralRequest
public ReferralRequest()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: The workflow status of the referral or transfer of care request
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: The workflow status of the referral or transfer of care request
-
setStatus
public ReferralRequest setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ReferralStatusEnum> theValue) Sets the value(s) for status (status)Definition: The workflow status of the referral or transfer of care request
-
setStatus
Sets the value(s) for status (status)Definition: The workflow status of the referral or transfer of care request
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: Business identifier that uniquely identifies the referral/care transfer request instance
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Business identifier that uniquely identifies the referral/care transfer request instance
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Business identifier that uniquely identifies the referral/care transfer request instance
-
addIdentifier
Adds a given new value for identifier (id)Definition: Business identifier that uniquely identifies the referral/care transfer request instance
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Business identifier that uniquely identifies the referral/care transfer request instance
-
getDateElement
Gets the value(s) for date (when.init). creating it if it does not exist. Will not returnnull
.Definition: Date/DateTime of creation for draft requests and date of activation for active requests
-
getDate
Gets the value(s) for date (when.init). creating it if it does not exist. This method may returnnull
.Definition: Date/DateTime of creation for draft requests and date of activation for active requests
-
setDate
Sets the value(s) for date (when.init)Definition: Date/DateTime of creation for draft requests and date of activation for active requests
-
setDateWithSecondsPrecision
Sets the value for date (when.init)Definition: Date/DateTime of creation for draft requests and date of activation for active requests
-
setDate
public ReferralRequest setDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for date (when.init)Definition: Date/DateTime of creation for draft requests and date of activation for active requests
-
getType
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull
.Definition: An indication of the type of referral (or where applicable the type of transfer of care) request
-
setType
Sets the value(s) for type (class)Definition: An indication of the type of referral (or where applicable the type of transfer of care) request
-
getSpecialty
Gets the value(s) for specialty (). creating it if it does not exist. Will not returnnull
.Definition: Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology
-
setSpecialty
Sets the value(s) for specialty ()Definition: Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology
-
getPriority
Gets the value(s) for priority (grade). creating it if it does not exist. Will not returnnull
.Definition: An indication of the urgency of referral (or where applicable the type of transfer of care) request
-
setPriority
Sets the value(s) for priority (grade)Definition: An indication of the urgency of referral (or where applicable the type of transfer of care) request
-
getPatient
Gets the value(s) for patient (who.focus). creating it if it does not exist. Will not returnnull
.Definition: The patient who is the subject of a referral or transfer of care request
-
setPatient
Sets the value(s) for patient (who.focus)Definition: The patient who is the subject of a referral or transfer of care request
-
getRequester
Gets the value(s) for requester (who.author). creating it if it does not exist. Will not returnnull
.Definition: The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral)
-
setRequester
Sets the value(s) for requester (who.author)Definition: The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral)
-
getRecipient
Gets the value(s) for recipient (who.actor). creating it if it does not exist. Will not returnnull
.Definition: The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request
-
setRecipient
Sets the value(s) for recipient (who.actor)Definition: The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request
-
addRecipient
Adds and returns a new value for recipient (who.actor)Definition: The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request
-
getEncounter
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull
.Definition: The encounter at which the request for referral or transfer of care is initiated
-
setEncounter
Sets the value(s) for encounter (context)Definition: The encounter at which the request for referral or transfer of care is initiated
-
getDateSentElement
Gets the value(s) for dateSent (when.init). creating it if it does not exist. Will not returnnull
.Definition: Date/DateTime the request for referral or transfer of care is sent by the author
-
getDateSent
Gets the value(s) for dateSent (when.init). creating it if it does not exist. This method may returnnull
.Definition: Date/DateTime the request for referral or transfer of care is sent by the author
-
setDateSent
Sets the value(s) for dateSent (when.init)Definition: Date/DateTime the request for referral or transfer of care is sent by the author
-
setDateSentWithSecondsPrecision
Sets the value for dateSent (when.init)Definition: Date/DateTime the request for referral or transfer of care is sent by the author
-
setDateSent
public ReferralRequest setDateSent(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateSent (when.init)Definition: Date/DateTime the request for referral or transfer of care is sent by the author
-
getReason
Gets the value(s) for reason (why). creating it if it does not exist. Will not returnnull
.Definition: Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management
-
setReason
Sets the value(s) for reason (why)Definition: Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management
-
getDescriptionElement
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull
.Definition: The reason element gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull
.Definition: The reason element gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary
-
setDescription
Sets the value(s) for description ()Definition: The reason element gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary
-
setDescription
Sets the value for description ()Definition: The reason element gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary
-
getServiceRequested
Gets the value(s) for serviceRequested (what). creating it if it does not exist. Will not returnnull
.Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
-
setServiceRequested
Sets the value(s) for serviceRequested (what)Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
-
addServiceRequested
Adds and returns a new value for serviceRequested (what)Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
-
addServiceRequested
Adds a given new value for serviceRequested (what)Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
- Parameters:
theValue
- The serviceRequested to add (must not benull
)
-
getServiceRequestedFirstRep
Gets the first repetition for serviceRequested (what), creating it if it does not already exist.Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
-
getSupportingInformation
Gets the value(s) for supportingInformation (). creating it if it does not exist. Will not returnnull
.Definition: Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. For example: Presenting problems/chief complaints Medical History Family History Alerts Allergy/Intolerance and Adverse Reactions Medications Observations/Assessments (may include cognitive and fundtional assessments) Diagnostic Reports Care Plan
-
setSupportingInformation
Sets the value(s) for supportingInformation ()Definition: Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. For example: Presenting problems/chief complaints Medical History Family History Alerts Allergy/Intolerance and Adverse Reactions Medications Observations/Assessments (may include cognitive and fundtional assessments) Diagnostic Reports Care Plan
-
addSupportingInformation
Adds and returns a new value for supportingInformation ()Definition: Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. For example: Presenting problems/chief complaints Medical History Family History Alerts Allergy/Intolerance and Adverse Reactions Medications Observations/Assessments (may include cognitive and fundtional assessments) Diagnostic Reports Care Plan
-
getFulfillmentTime
Gets the value(s) for fulfillmentTime (when.planned). creating it if it does not exist. Will not returnnull
.Definition: The period of time within which the services identified in the referral/transfer of care is specified or required to occur
-
setFulfillmentTime
Sets the value(s) for fulfillmentTime (when.planned)Definition: The period of time within which the services identified in the referral/transfer of care is specified or required to occur
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-