Patient

The FHIR R4 Patient resource represents demographic and administrative information about an individual receiving healthcare services. It is the central reference point for nearly all clinical resources in FHIR.

Use Cases

  • Register a new patient in the Health Gorilla network
  • Retrieve or match patient demographics across systems
  • Link clinical data (e.g., labs, medications, encounters) to the patient record

Base URLs

Required Scopes

  • patient.read for GET
  • patient.write for POST and PUT

For details, go to: OAuth 2.0 Authentication.

Search Parameters

Patient supports three search forms, and a request must use one of them:

  • identifier on its own.
  • A demographic search using any combination of the demographic filters.
  • A search on _lastUpdated on its own.
ParameterRequiredDescription
identifierRequired in the identifier searchReturns the patient carrying the given identifier.
_lastUpdatedRequired in its own search formFilters on when the record was last written in the Health Gorilla FHIR server. Accepts a comparison prefix, for example ge2025-01-01.
givenNoFilters on the given name.
familyNoFilters on the family name.
nameNoFilters on any part of the name.
genderNoFilters on the administrative gender.
birthdateNoFilters on the date of birth.
address-postalcodeNoFilters on the postal code in the patient address.
organization.identifierNoReturns the patients belonging to the organization carrying the given identifier. In STU3 this parameter is named organization.
_offsetNoSkips the given number of results.
_countNoLimits the number of results returned per page.

Only the postal code is searchable in the address. A general address parameter isn't supported. To retrieve a patient by FHIR id, use a read rather than a search.

Resource Attributes

AttributeDescriptionExampleFHIR Data TypeRequired
idUnique FHIR ID for the patientpat-78910idYes
identifierExternal patient IDsMRN: 123456, SSN: 999-12-3456Identifier[]No
nameFull patient nameJohn DoeHumanName[]Yes
genderPatient's gendermalecodeNo
birthDateDate of birth1985-06-21dateNo
telecomContact information555-555-5555, [email protected]ContactPoint[]No
addressPhysical or mailing address123 Main St, Sunnyvale, CAAddress[]No
deceasedBooleanIndicates if the patient is deceasedfalse, truebooleanNo
activeWhether the patient record is activetruebooleanNo
managingOrganizationOrganization responsible for the patientOrganization/{id}Reference(Organization)No
communication.languagePreferred languageen, esCodeableConceptNo
generalPractitionerReference to the primary care providerPractitioner/{id}ReferenceNo

Events

Patient records emit webhook events on create and update. For setup and payload format, see Webhooks & Polling.

Errors

All Patient operations return FHIR OperationOutcome for structured error responses. See Error Handling.

More Information