ReferralRequest

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.

FHIR Resource: ReferralRequest http://hl7.org/fhir/stu3/referralrequest.html

Required Profile

https://healthgorilla.com/fhir/StructureDefinition/hg-referral
https://api.healthgorilla.com/fhir/ReferralRequest

Supported Attributes

NameComment
identifier
status
intentorder
subjectPatient
authoredOn
requester
recipientSingle recipient only.
Practitioner or Organization
https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-recipientRecipient
Practitioner and Organization.
note
reasonCodeICD10
supportingInfoDiagnosticReport, DocumentReference, Binary
https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-deliveryOptions
https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-reply

FHIR Operations

The following operations are currently supported:

1.Read

HTTP RequestMethodAction
/ReferralRequest/{ID}GETRetrieve ReferralRequest resource by ID

2.Search

HTTP RequestMethodAction
/ReferralRequest?[parameter={value}]GETRetrieve ReferralRequest resources by the specified search criteria

Parameters:

NameTypeDescription
patientReferencePatient Identifier
identifierTokenExternal Identifier
statusToken
_lastUpdatedDategt, ge, eq
_offsetNumberDefault is 0
_countNumberDefault is 100
_includeUse to include linked Patient and related Observations into result Bundle.
https://www.hl7.org/fhir/STU3/search.html#include

Available values for include directive:

IncludeCriteriaResource
_includeReferralRequest:subjectPatient
_includeReferralRequest:requester.agentPractitioner
_includeReferralRequest:requester.onBehalfOfOrganization
_includeReferralRequest:recipientPractitioner and(or) Organization
_includeReferralRequest:supportingInfoDiagnosticReport, DocumentReference

Examples

2.1 Get referral with Health Gorilla identifier '0cb02b5bb9e7f9318af8dd67', include recipient and supported documents.

https://api.healthgorilla.com/fhir/Referralrequest
?identifier=https://www.healthgorilla.com|0cb02b5bb9e7f9318af8dd67
&_include=ReferralRequest:recipient
&_include=ReferralRequest:supportingInfo

2.2 Retrieve Referrals by patient updated in March 2020

https://api.healthgorilla.com/fhir/ReferralRequest
?patient=8063965523692105bfc35def
&_lastUpdated=eq2020-03

3. Download PDF

You can generate a PDF copy of the record using the following request:

HTTP RequestMethodAction
/ReferralRequest/{ID}/$pdfGETGenerate PDF

The result contains a link to a Binary resource (PDF) that can be downloaded.

Example

https://api.healthgorilla.com/fhir/ReferralRequest/8063965523692105bfc35def/$pdf
{
    "resourceType": "Parameters",
    "parameter": [
        {
            "name": "url",
            "valueString": "http://api.healthgorilla.com/fhir/Binary/bf5e745ba2f573534d447686"
        },
        {
            "name": "contentType",
            "valueString": "application/pdf"
        },
        {
            "name": "size",
            "valuePositiveInt": 13081
        }
    ]
}

4. Create

You can send a new referral request to the specified practitioner or organization.

HTTP RequestMethodAction
/ReferralRequestPOSTSubmit new referral

You can send a referral to

  • an existing HealthGorilla practitioner
  • any practitioner by fax or email
  • an existing HealthGorilla organization