---
schema_version: "1"
id: 7b69d4c29e54eb31d7c5df8cf3d6bddfea805a7d965c94b05672a5cb96ee6ba5
title: FHIR Reference Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/connect_requests_fhir_reference.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/connect_requests_fhir_reference.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 12ea125620c59d53c52de2fd3557500a511c1f292f048b84928bb3353299dcf5
description: The input representation for the Reference FHIR object.
---
# FHIR Reference Input

The input representation for the Reference FHIR object.

## Root XML tag

<FhirReferenceInput>

## JSON example

{
   "reference": {
      "referenceResource": "practitioner",
      "referenceId": "ABCId",
      "relationship": "Oncologist"
   }
}

## Properties

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d300166e52">Name</th>
              <th class="featureTableHeader vertical-align-top " id="d300166e54">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d300166e56">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d300166e58">Required or Optional</th>
              <th class="featureTableHeader vertical-align-top " id="d300166e60">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d300166e52" data-title="Name"><samp class="codeph nolang">referenceId</samp></td>
              <td class="entry" headers="d300166e54" data-title="Type">String</td>
              <td class="entry" headers="d300166e56" data-title="Description">The ID of the medication or practitioner (healthcare provider) record or the managing
                organization (account) record in the source system.</td>
              <td class="entry" headers="d300166e58" data-title="Required or Optional">Required<p class="p">Note: Optional if <samp class="codeph nolang">salesforceId</samp> is
                  specified.</p>
              </td>
              <td class="entry" headers="d300166e60" data-title="Available Version">53.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d300166e52" data-title="Name"><samp class="codeph nolang">referenceResource</samp></td>
              <td class="entry" headers="d300166e54" data-title="Type">String</td>
              <td class="entry" headers="d300166e56" data-title="Description">The FHIR resource referred to. For example, organization or practitioner.</td>
              <td class="entry" headers="d300166e58" data-title="Required or Optional">Required</td>
              <td class="entry" headers="d300166e60" data-title="Available Version">53.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d300166e52" data-title="Name"><samp class="codeph nolang">relationship</samp></td>
              <td class="entry" headers="d300166e54" data-title="Type">String</td>
              <td class="entry" headers="d300166e56" data-title="Description">The relationship between the patient and the healthcare provider or the managing
                organization, stored using the Reciprocal Roles records.</td>
              <td class="entry" headers="d300166e58" data-title="Required or Optional">Optional</td>
              <td class="entry" headers="d300166e60" data-title="Available Version">53.0</td>
            </tr>

            <tr>
              <td class="entry" headers="d300166e52" data-title="Name"><samp class="codeph nolang">salesforceId</samp></td>

              <td class="entry" headers="d300166e54" data-title="Type">String</td>

              <td class="entry" headers="d300166e56" data-title="Description">The Salesforce ID of the record that’s created in Salesforce.</td>

              <td class="entry" headers="d300166e58" data-title="Required or Optional">Required<p class="p">Note: Optional if <samp class="codeph nolang">referenceId</samp> is specified.</p>
              </td>

              <td class="entry" headers="d300166e60" data-title="Available Version">54.0</td>

            </tr>
          </tbody>
        </table>