public class ReferralRequest extends BaseResource implements IResource
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
| Modifier and Type | Field and Description |
|---|---|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static TokenClientParam |
PRIORITY
Fluent Client search parameter constant for priority
|
static ReferenceClientParam |
RECIPIENT
Fluent Client search parameter constant for recipient
|
static ReferenceClientParam |
REQUESTER
Fluent Client search parameter constant for requester
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PRIORITY
Search parameter constant for priority
|
static String |
SP_RECIPIENT
Search parameter constant for recipient
|
static String |
SP_REQUESTER
Search parameter constant for requester
|
static String |
SP_SPECIALTY
Search parameter constant for specialty
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_TYPE
Search parameter constant for type
|
static TokenClientParam |
SPECIALTY
Fluent Client search parameter constant for specialty
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
ReferralRequest() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
ReferralRequest |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
ResourceReferenceDt |
addRecipient()
Adds and returns a new value for recipient (who.actor)
|
CodeableConceptDt |
addServiceRequested()
Adds and returns a new value for serviceRequested (what)
|
ReferralRequest |
addServiceRequested(CodeableConceptDt theValue)
Adds a given new value for serviceRequested (what)
|
ResourceReferenceDt |
addSupportingInformation()
Adds and returns a new value for supportingInformation ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getDate()
Gets the value(s) for date (when.init).
|
DateTimeDt |
getDateElement()
Gets the value(s) for date (when.init).
|
Date |
getDateSent()
Gets the value(s) for dateSent (when.init).
|
DateTimeDt |
getDateSentElement()
Gets the value(s) for dateSent (when.init).
|
String |
getDescription()
Gets the value(s) for description ().
|
StringDt |
getDescriptionElement()
Gets the value(s) for description ().
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (context).
|
PeriodDt |
getFulfillmentTime()
Gets the value(s) for fulfillmentTime (when.planned).
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient (who.focus).
|
CodeableConceptDt |
getPriority()
Gets the value(s) for priority (grade).
|
CodeableConceptDt |
getReason()
Gets the value(s) for reason (why).
|
List<ResourceReferenceDt> |
getRecipient()
Gets the value(s) for recipient (who.actor).
|
ResourceReferenceDt |
getRequester()
Gets the value(s) for requester (who.author).
|
String |
getResourceName() |
List<CodeableConceptDt> |
getServiceRequested()
Gets the value(s) for serviceRequested (what).
|
CodeableConceptDt |
getServiceRequestedFirstRep()
Gets the first repetition for serviceRequested (what),
creating it if it does not already exist.
|
CodeableConceptDt |
getSpecialty()
Gets the value(s) for specialty ().
|
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<ReferralStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
List<ResourceReferenceDt> |
getSupportingInformation()
Gets the value(s) for supportingInformation ().
|
CodeableConceptDt |
getType()
Gets the value(s) for type (class).
|
boolean |
isEmpty() |
ReferralRequest |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date (when.init)
|
ReferralRequest |
setDate(DateTimeDt theValue)
Sets the value(s) for date (when.init)
|
ReferralRequest |
setDateSent(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for dateSent (when.init)
|
ReferralRequest |
setDateSent(DateTimeDt theValue)
Sets the value(s) for dateSent (when.init)
|
ReferralRequest |
setDateSentWithSecondsPrecision(Date theDate)
Sets the value for dateSent (when.init)
|
ReferralRequest |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (when.init)
|
ReferralRequest |
setDescription(String theString)
Sets the value for description ()
|
ReferralRequest |
setDescription(StringDt theValue)
Sets the value(s) for description ()
|
ReferralRequest |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)
|
ReferralRequest |
setFulfillmentTime(PeriodDt theValue)
Sets the value(s) for fulfillmentTime (when.planned)
|
ReferralRequest |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
ReferralRequest |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (who.focus)
|
ReferralRequest |
setPriority(CodeableConceptDt theValue)
Sets the value(s) for priority (grade)
|
ReferralRequest |
setReason(CodeableConceptDt theValue)
Sets the value(s) for reason (why)
|
ReferralRequest |
setRecipient(List<ResourceReferenceDt> theValue)
Sets the value(s) for recipient (who.actor)
|
ReferralRequest |
setRequester(ResourceReferenceDt theValue)
Sets the value(s) for requester (who.author)
|
ReferralRequest |
setServiceRequested(List<CodeableConceptDt> theValue)
Sets the value(s) for serviceRequested (what)
|
ReferralRequest |
setSpecialty(CodeableConceptDt theValue)
Sets the value(s) for specialty ()
|
ReferralRequest |
setStatus(BoundCodeDt<ReferralStatusEnum> theValue)
Sets the value(s) for status (status)
|
ReferralRequest |
setStatus(ReferralStatusEnum theValue)
Sets the value(s) for status (status)
|
ReferralRequest |
setSupportingInformation(List<ResourceReferenceDt> theValue)
Sets the value(s) for supportingInformation ()
|
ReferralRequest |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (class)
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_STATUS
Description: The status of the referral
Type: token
Path: ReferralRequest.status
public static final TokenClientParam STATUS
Description: The status of the referral
Type: token
Path: ReferralRequest.status
public static final String SP_DATE
Description: Creation or activation date
Type: date
Path: ReferralRequest.date
public static final DateClientParam DATE
Description: Creation or activation date
Type: date
Path: ReferralRequest.date
public static final String SP_TYPE
Description: The type of the referral
Type: token
Path: ReferralRequest.type
public static final TokenClientParam TYPE
Description: The type of the referral
Type: token
Path: ReferralRequest.type
public static final String SP_SPECIALTY
Description: The specialty that the referral is for
Type: token
Path: ReferralRequest.specialty
public static final TokenClientParam SPECIALTY
Description: The specialty that the referral is for
Type: token
Path: ReferralRequest.specialty
public static final String SP_PRIORITY
Description: The priority assigned to the referral
Type: token
Path: ReferralRequest.priority
public static final TokenClientParam PRIORITY
Description: The priority assigned to the referral
Type: token
Path: ReferralRequest.priority
public static final String SP_RECIPIENT
Description: The person that the referral was sent to
Type: reference
Path: ReferralRequest.recipient
public static final ReferenceClientParam RECIPIENT
Description: The person that the referral was sent to
Type: reference
Path: ReferralRequest.recipient
public static final String SP_PATIENT
Description: Who the referral is about
Type: reference
Path: ReferralRequest.patient
public static final ReferenceClientParam PATIENT
Description: Who the referral is about
Type: reference
Path: ReferralRequest.patient
public static final String SP_REQUESTER
Description:
Type: reference
Path: ReferralRequest.requester
public static final ReferenceClientParam REQUESTER
Description:
Type: reference
Path: ReferralRequest.requester
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_RECIPIENT
public static final Include INCLUDE_REQUESTER
public ReferralRequest()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic BoundCodeDt<ReferralStatusEnum> getStatusElement()
null.
Definition: The workflow status of the referral or transfer of care request
public String getStatus()
null.
Definition: The workflow status of the referral or transfer of care request
public ReferralRequest setStatus(BoundCodeDt<ReferralStatusEnum> theValue)
Definition: The workflow status of the referral or transfer of care request
public ReferralRequest setStatus(ReferralStatusEnum theValue)
Definition: The workflow status of the referral or transfer of care request
public List<IdentifierDt> getIdentifier()
null.
Definition: Business identifier that uniquely identifies the referral/care transfer request instance
public ReferralRequest setIdentifier(List<IdentifierDt> theValue)
Definition: Business identifier that uniquely identifies the referral/care transfer request instance
public IdentifierDt addIdentifier()
Definition: Business identifier that uniquely identifies the referral/care transfer request instance
public ReferralRequest addIdentifier(IdentifierDt theValue)
Definition: Business identifier that uniquely identifies the referral/care transfer request instance
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Business identifier that uniquely identifies the referral/care transfer request instance
public DateTimeDt getDateElement()
null.
Definition: Date/DateTime of creation for draft requests and date of activation for active requests
public Date getDate()
null.
Definition: Date/DateTime of creation for draft requests and date of activation for active requests
public ReferralRequest setDate(DateTimeDt theValue)
Definition: Date/DateTime of creation for draft requests and date of activation for active requests
public ReferralRequest setDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: Date/DateTime of creation for draft requests and date of activation for active requests
public ReferralRequest setDateWithSecondsPrecision(Date theDate)
Definition: Date/DateTime of creation for draft requests and date of activation for active requests
public CodeableConceptDt getType()
null.
Definition: An indication of the type of referral (or where applicable the type of transfer of care) request
public ReferralRequest setType(CodeableConceptDt theValue)
Definition: An indication of the type of referral (or where applicable the type of transfer of care) request
public CodeableConceptDt getSpecialty()
null.
Definition: Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology
public ReferralRequest setSpecialty(CodeableConceptDt theValue)
Definition: Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology
public CodeableConceptDt getPriority()
null.
Definition: An indication of the urgency of referral (or where applicable the type of transfer of care) request
public ReferralRequest setPriority(CodeableConceptDt theValue)
Definition: An indication of the urgency of referral (or where applicable the type of transfer of care) request
public ResourceReferenceDt getPatient()
null.
Definition: The patient who is the subject of a referral or transfer of care request
public ReferralRequest setPatient(ResourceReferenceDt theValue)
Definition: The patient who is the subject of a referral or transfer of care request
public ResourceReferenceDt getRequester()
null.
Definition: The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral)
public ReferralRequest setRequester(ResourceReferenceDt theValue)
Definition: The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral)
public List<ResourceReferenceDt> getRecipient()
null.
Definition: The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request
public ReferralRequest setRecipient(List<ResourceReferenceDt> theValue)
Definition: The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request
public ResourceReferenceDt addRecipient()
Definition: The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request
public ResourceReferenceDt getEncounter()
null.
Definition: The encounter at which the request for referral or transfer of care is initiated
public ReferralRequest setEncounter(ResourceReferenceDt theValue)
Definition: The encounter at which the request for referral or transfer of care is initiated
public DateTimeDt getDateSentElement()
null.
Definition: Date/DateTime the request for referral or transfer of care is sent by the author
public Date getDateSent()
null.
Definition: Date/DateTime the request for referral or transfer of care is sent by the author
public ReferralRequest setDateSent(DateTimeDt theValue)
Definition: Date/DateTime the request for referral or transfer of care is sent by the author
public ReferralRequest setDateSent(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: Date/DateTime the request for referral or transfer of care is sent by the author
public ReferralRequest setDateSentWithSecondsPrecision(Date theDate)
Definition: Date/DateTime the request for referral or transfer of care is sent by the author
public CodeableConceptDt getReason()
null.
Definition: Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management
public ReferralRequest setReason(CodeableConceptDt theValue)
Definition: Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management
public StringDt getDescriptionElement()
null.
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
public String getDescription()
null.
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
public ReferralRequest setDescription(StringDt theValue)
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
public ReferralRequest setDescription(String theString)
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
public List<CodeableConceptDt> getServiceRequested()
null.
Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
public ReferralRequest setServiceRequested(List<CodeableConceptDt> theValue)
Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
public CodeableConceptDt addServiceRequested()
Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
public ReferralRequest addServiceRequested(CodeableConceptDt theValue)
Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
theValue - The serviceRequested to add (must not be null)public CodeableConceptDt getServiceRequestedFirstRep()
Definition: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion
public List<ResourceReferenceDt> getSupportingInformation()
null.
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
public ReferralRequest setSupportingInformation(List<ResourceReferenceDt> theValue)
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
public ResourceReferenceDt addSupportingInformation()
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
public PeriodDt getFulfillmentTime()
null.
Definition: The period of time within which the services identified in the referral/transfer of care is specified or required to occur
public ReferralRequest setFulfillmentTime(PeriodDt theValue)
Definition: The period of time within which the services identified in the referral/transfer of care is specified or required to occur
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.