@open-engram/fhir
v1.0.1
Published
FHIR R4 resource types and text converter for Open-Engram
Readme
@open-engram/fhir
FHIR R4 resource types and text converter for Open-Engram.
Install
npm install @open-engram/fhirOverview
Converts FHIR R4 clinical resources into text representations suitable for ingestion into Open-Engram's memory stores. Useful for healthcare AI agents that need to process structured clinical data.
Usage
import { fhirToText } from '@open-engram/fhir';
const text = fhirToText(patientResource);
// "Patient: John Doe, DOB: 1990-01-15, MRN: 12345"
// Then ingest into engram
await client.sense({ content: text, source: 'fhir' });Supported Resources
- Patient
- Observation
- Condition
- MedicationRequest
- Encounter
- DiagnosticReport
License
Apache-2.0
