How to fetch Care Plan forms and Clinical Note forms via API/FHIR (Encounter only returns visit summary)

Situation
Hello everyone,

I’m working with a local OpenEMR instance (7.0.3) and trying to fetch data using:

  • Standard REST API

  • FHIR API

I’m able to retrieve some encounter-related data, but I’m struggling to access specific form-based data associated with encounters.

What I Can Fetch Successfully

Using:

FHIR API

GET /apis/default/fhir/Encounter/{uuid}

Returns encounter/visit summary details.

Standard API

GET /api/patient/{puuid}/encounter

Returns encounter summary.

Additionally:

GET /api/patient/{pid}/encounters/{eid}/soap_note
GET /api/patient/{pid}/encounters/{eid}/vitals

Successfully returns SOAP notes and vitals.

What I Cannot Fetch

Inside the OpenEMR UI, when viewing a specific patient → encounter, I see the following sections:

  • Visit Summary

  • Care Plan Form (I tried using the fhir endpoint GET /fhir/CarePlan but returned empty)

    • Medication

    • Procedure

    • Goal

    • (possibly other types)

  • Clinical Notes Form

    • History & Physical

    • Imaging Narrative (Category: Radiology)

    • Pathology Report Narrative (Category: Pathology)

    • Laboratory Report Narrative

  • SOAP

  • Vitals

However, I cannot find API endpoints (standard or FHIR) that return:

  • Care Plan form entries (medication/procedure/goal forms)

  • Clinical Notes form entries (radiology narrative, pathology narrative, etc.)

The FHIR Encounter endpoint only returns summary-level data.

My Questions

  1. Are Care Plan forms and Clinical Note forms exposed via:

    • A specific Standard API endpoint?

    • FHIR resources?

  2. Are these forms stored in the generic forms table and require custom retrieval?

  3. Is there a recommended way to fetch all form data associated with an encounter via API?

  4. If not exposed by default, what is the recommended extension approach?

I have tried different FHIR and standard endpoint that seemed plausible but I could fetch the data that I need. Any clarification on the correct API resources or database mappings would be greatly appreciated.

Thank you!