Skip to main content

Developer README for the fhir adaptor



An OpenFn adaptor for building integration jobs for use with the HAPI FHIR API.

FHIR Documentation

The Restfull API can be seen here:


Technical Documentation

Sample configuration

See credential schema

"resource": "resource_url",
"authType": "Basic",
"token": "supersecrettoken"

Creates a resource in a destination system using a POST request

create('/endpoint', { foo: 'bar' });

Creates a transactionBundle for HAPI FHIR

entry: [transactionBundle],


Clone the adaptors monorepo. Follow the Getting Started guide inside to get set up.

Run tests using pnpm run test or pnpm run test:watch

Build the project using pnpm build.

To just build the docs run pnpm build docs