Skip to content
For LLMsView as Markdown·

Epic FHIR

Access electronic health records, patient data, and clinical observations via the Epic FHIR R4 API.

DetailValue
CategoryHealthcare
Base URLhttps://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4
AuthenticationOAuth2
Endpoints3
Connector keyepic-fhir

Using Epic FHIR in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Epic FHIR from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /Patient/{id}Get a patient by ID
GET /ObservationSearch observations
GET /EncounterSearch encounters

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /Patient/{id}

Get a patient by ID

DetailValue
Operation IDhealthcare.getPatient
MethodGET
Path/Patient/{id}

Parameters

NameLocationTypeRequired
idpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Epic FHIR connection from the Connection dropdown.
  3. In the Operation dropdown, select healthcare.getPatient.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Epic FHIR API reference.

GET /Observation

Search observations

DetailValue
Operation IDhealthcare.listObservations
MethodGET
Path/Observation

Parameters

NameLocationTypeRequired
patientquerystringNo
categoryquerystringNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Epic FHIR connection from the Connection dropdown.
  3. In the Operation dropdown, select healthcare.listObservations.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Epic FHIR API reference.

GET /Encounter

Search encounters

DetailValue
Operation IDhealthcare.listEncounters
MethodGET
Path/Encounter

Parameters

NameLocationTypeRequired
patientquerystringNo
datequerystringNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Epic FHIR connection from the Connection dropdown.
  3. In the Operation dropdown, select healthcare.listEncounters.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Epic FHIR API reference.