Class ReferralRequest

  • 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 ReferralRequest
    extends DomainResource
    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.
    See Also:
    Serialized Form
    • Field Detail

      • identifier

        protected List<Identifier> identifier
        Business identifier that uniquely identifies the referral/care transfer request instance.
      • date

        protected DateTimeType date
        Date/DateTime of creation for draft requests and date of activation for active requests.
      • type

        protected CodeableConcept type
        An indication of the type of referral (or where applicable the type of transfer of care) request.
      • specialty

        protected CodeableConcept specialty
        Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology.
      • priority

        protected CodeableConcept priority
        An indication of the urgency of referral (or where applicable the type of transfer of care) request.
      • patient

        protected Reference patient
        The patient who is the subject of a referral or transfer of care request.
      • patientTarget

        protected Patient patientTarget
        The actual object that is the target of the reference (The patient who is the subject of a referral or transfer of care request.)
      • requester

        protected Reference requester
        The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral).
      • requesterTarget

        protected Resource requesterTarget
        The actual object that is the target of the reference (The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral).)
      • recipient

        protected List<Reference> recipient
        The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request.
      • recipientTarget

        protected List<Resource> recipientTarget
        The actual objects that are the target of the reference (The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request.)
      • encounter

        protected Reference encounter
        The encounter at which the request for referral or transfer of care is initiated.
      • encounterTarget

        protected Encounter encounterTarget
        The actual object that is the target of the reference (The encounter at which the request for referral or transfer of care is initiated.)
      • dateSent

        protected DateTimeType dateSent
        Date/DateTime the request for referral or transfer of care is sent by the author.
      • reason

        protected CodeableConcept reason
        Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management.
      • description

        protected StringType description
        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.
      • serviceRequested

        protected List<CodeableConcept> serviceRequested
        The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion.
      • supportingInformation

        protected List<Reference> supportingInformation
        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.
      • supportingInformationTarget

        protected List<Resource> supportingInformationTarget
        The actual objects that are the target of the reference (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.)
      • fulfillmentTime

        protected Period fulfillmentTime
        The period of time within which the services identified in the referral/transfer of care is specified or required to occur.
    • Method Detail

      • getDateElement

        public DateTimeType getDateElement()
        Returns:
        date (Date/DateTime of creation for draft requests and date of activation for active requests.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
      • hasDate

        public boolean hasDate()
      • setDateElement

        public ReferralRequest setDateElement​(DateTimeType value)
        Parameters:
        value - date (Date/DateTime of creation for draft requests and date of activation for active requests.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
      • getDate

        public Date getDate()
        Returns:
        Date/DateTime of creation for draft requests and date of activation for active requests.
      • setDate

        public ReferralRequest setDate​(Date value)
        Parameters:
        value - Date/DateTime of creation for draft requests and date of activation for active requests.
      • getType

        public CodeableConcept getType()
        Returns:
        type (An indication of the type of referral (or where applicable the type of transfer of care) request.)
      • hasType

        public boolean hasType()
      • getSpecialty

        public CodeableConcept getSpecialty()
        Returns:
        specialty (Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology.)
      • setSpecialty

        public ReferralRequest setSpecialty​(CodeableConcept value)
        Parameters:
        value - specialty (Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology.)
      • getPriority

        public CodeableConcept getPriority()
        Returns:
        priority (An indication of the urgency of referral (or where applicable the type of transfer of care) request.)
      • getPatient

        public Reference getPatient()
        Returns:
        patient (The patient who is the subject of a referral or transfer of care request.)
      • getPatientTarget

        public Patient getPatientTarget()
        Returns:
        patient 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. (The patient who is the subject of a referral or transfer of care request.)
      • setPatientTarget

        public ReferralRequest setPatientTarget​(Patient value)
        Parameters:
        value - patient 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. (The patient who is the subject of a referral or transfer of care request.)
      • getRequester

        public Reference getRequester()
        Returns:
        requester (The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral).)
      • setRequester

        public ReferralRequest setRequester​(Reference value)
        Parameters:
        value - requester (The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral).)
      • getRequesterTarget

        public Resource getRequesterTarget()
        Returns:
        requester 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. (The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral).)
      • setRequesterTarget

        public ReferralRequest setRequesterTarget​(Resource value)
        Parameters:
        value - requester 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. (The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral).)
      • getRecipient

        public List<ReferencegetRecipient()
        Returns:
        recipient (The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request.)
      • addRecipient

        public Reference addRecipient()
        Returns:
        recipient (The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request.)
      • getRecipientTarget

        public List<ResourcegetRecipientTarget()
        Returns:
        recipient (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request.)
      • getEncounter

        public Reference getEncounter()
        Returns:
        encounter (The encounter at which the request for referral or transfer of care is initiated.)
      • getEncounterTarget

        public Encounter getEncounterTarget()
        Returns:
        encounter 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. (The encounter at which the request for referral or transfer of care is initiated.)
      • setEncounterTarget

        public ReferralRequest setEncounterTarget​(Encounter value)
        Parameters:
        value - encounter 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. (The encounter at which the request for referral or transfer of care is initiated.)
      • getDateSentElement

        public DateTimeType getDateSentElement()
        Returns:
        dateSent (Date/DateTime the request for referral or transfer of care is sent by the author.). This is the underlying object with id, value and extensions. The accessor "getDateSent" gives direct access to the value
      • setDateSentElement

        public ReferralRequest setDateSentElement​(DateTimeType value)
        Parameters:
        value - dateSent (Date/DateTime the request for referral or transfer of care is sent by the author.). This is the underlying object with id, value and extensions. The accessor "getDateSent" gives direct access to the value
      • getDateSent

        public Date getDateSent()
        Returns:
        Date/DateTime the request for referral or transfer of care is sent by the author.
      • setDateSent

        public ReferralRequest setDateSent​(Date value)
        Parameters:
        value - Date/DateTime the request for referral or transfer of care is sent by the author.
      • getReason

        public CodeableConcept getReason()
        Returns:
        reason (Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management.)
      • setReason

        public ReferralRequest setReason​(CodeableConcept value)
        Parameters:
        value - reason (Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management.)
      • getDescriptionElement

        public StringType getDescriptionElement()
        Returns:
        description (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.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
      • setDescriptionElement

        public ReferralRequest setDescriptionElement​(StringType value)
        Parameters:
        value - description (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.). 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 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

        public ReferralRequest setDescription​(String value)
        Parameters:
        value - 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.
      • getSupportingInformation

        public List<ReferencegetSupportingInformation()
        Returns:
        supportingInformation (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

        public Reference addSupportingInformation()
        Returns:
        supportingInformation (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.)
      • getSupportingInformationTarget

        public List<ResourcegetSupportingInformationTarget()
        Returns:
        supportingInformation (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. 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

        public Period getFulfillmentTime()
        Returns:
        fulfillmentTime (The period of time within which the services identified in the referral/transfer of care is specified or required to occur.)
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class DomainResource