Documentation

Everything you need to integrate OpenHealth agents into your healthcare platform.

Quick Start

API Reference

EHR Analysis API

Analyze patient records and generate clinical summaries.

POST /v1/analyze/ehr

Lab Results API

Interpret lab results and generate patient-friendly explanations.

POST /v1/analyze/labs

Insights API

Surface proactive health insights and recommendations.

POST /v1/insights

Patient Letters API

Generate personalized, evidence-based patient communications.

POST /v1/letters

Integration Guides

Epic EHR Integration

Connect OpenHealth agents to Epic MyChart and Hyperspace

Cerner Integration

Deploy agents within Cerner Millennium workflows

FHIR R4 Integration

Use FHIR resources with OpenHealth APIs

HL7 v2 Integration

Process HL7 messages for lab results and ADT events

Webhook Events

Subscribe to real-time events and notifications

Code Examples

Example: Analyze Lab Results
const response = await openhealth.labs.analyze({
  patient_id: "pt_12345",
  lab_results: [
    { code: "2093-3", value: 175, unit: "mg/dL" }, // LDL
    { code: "4548-4", value: 7.8, unit: "%" },     // HbA1c
  ],
  include_patient_letter: true,
  include_clinician_summary: true,
});

console.log(response.patient_letter);
console.log(response.clinician_summary);
console.log(response.recommendations);

SDKs & Libraries

Node.js

v2.1.0

Python

v2.1.0

Java

v1.8.0

C#

v1.5.0

Need Help?

Our integration team is available to help you get up and running.