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:
  • Field Details

    • status

      The workflow status of the referral or transfer of care request.
    • 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

      Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology.
    • 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

      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

      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

      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

      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

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

      Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management.
    • 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

      The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion.
    • 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

      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

      The period of time within which the services identified in the referral/transfer of care is specified or required to occur.
    • SP_DATE

      public static final String SP_DATE
      See Also:
    • SP_REQUESTER

      public static final String SP_REQUESTER
      See Also:
    • SP_SPECIALTY

      public static final String SP_SPECIALTY
      See Also:
    • SP_PATIENT

      public static final String SP_PATIENT
      See Also:
    • SP_RECIPIENT

      public static final String SP_RECIPIENT
      See Also:
    • SP_TYPE

      public static final String SP_TYPE
      See Also:
    • SP_PRIORITY

      public static final String SP_PRIORITY
      See Also:
    • SP_STATUS

      public static final String SP_STATUS
      See Also:
  • Constructor Details

  • Method Details

    • getStatusElement

      Returns:
      status (The workflow status of the referral or transfer of care request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • hasStatusElement

      public boolean hasStatusElement()
    • hasStatus

      public boolean hasStatus()
    • setStatusElement

      Parameters:
      value - status (The workflow status of the referral or transfer of care request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • getStatus

      Returns:
      The workflow status of the referral or transfer of care request.
    • setStatus

      Parameters:
      value - The workflow status of the referral or transfer of care request.
    • getIdentifier

      Returns:
      identifier (Business identifier that uniquely identifies the referral/care transfer request instance.)
    • hasIdentifier

      public boolean hasIdentifier()
    • addIdentifier

      Returns:
      identifier (Business identifier that uniquely identifies the referral/care transfer request instance.)
    • addIdentifier

    • 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
    • hasDateElement

      public boolean hasDateElement()
    • hasDate

      public boolean hasDate()
    • setDateElement

      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

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

      public boolean hasType()
    • setType

      Parameters:
      value - type (An indication of the type of referral (or where applicable the type of transfer of care) request.)
    • 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.)
    • hasSpecialty

      public boolean hasSpecialty()
    • setSpecialty

      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

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

      public boolean hasPriority()
    • setPriority

      Parameters:
      value - priority (An indication of the urgency of referral (or where applicable the type of transfer of care) request.)
    • getPatient

      Returns:
      patient (The patient who is the subject of a referral or transfer of care request.)
    • hasPatient

      public boolean hasPatient()
    • setPatient

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

      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

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

      public boolean hasRequester()
    • setRequester

      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

      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

      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

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

      public boolean hasRecipient()
    • addRecipient

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

    • getRecipientTarget

      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

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

      public boolean hasEncounter()
    • setEncounter

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

      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

      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
    • hasDateSentElement

      public boolean hasDateSentElement()
    • hasDateSent

      public boolean hasDateSent()
    • setDateSentElement

      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

      Parameters:
      value - Date/DateTime the request for referral or transfer of care is sent by the author.
    • 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.)
    • hasReason

      public boolean hasReason()
    • setReason

      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

      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
    • hasDescriptionElement

      public boolean hasDescriptionElement()
    • hasDescription

      public boolean hasDescription()
    • setDescriptionElement

      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

      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

      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.
    • getServiceRequested

      Returns:
      serviceRequested (The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion.)
    • hasServiceRequested

      public boolean hasServiceRequested()
    • addServiceRequested

      Returns:
      serviceRequested (The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion.)
    • addServiceRequested

    • getSupportingInformation

      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.)
    • hasSupportingInformation

      public boolean hasSupportingInformation()
    • 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.)
    • addSupportingInformation

    • getSupportingInformationTarget

      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

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

      public boolean hasFulfillmentTime()
    • setFulfillmentTime

      Parameters:
      value - fulfillmentTime (The period of time within which the services identified in the referral/transfer of care is specified or required to occur.)
    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class DomainResource
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DomainResource
    • copy

      Specified by:
      copy in class DomainResource
    • typedCopy

    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class DomainResource
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class DomainResource
    • isEmpty

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

      Specified by:
      getResourceType in class Resource