Changelog for the fhir-opensrp adaptor
@openfn/language-fhir-opensrp
2.0.0 - 18 August 2026
Major Changes
-
c6621d3: Update
read()to return fullBundleEntryobjects instead of unwrapped resourcesEach item in
state.datais a fullBundleEntry—{ fullUrl, resource, search }— so resource content now lives atentry.resource.Before
read('Patient', { query: { _count: 50 } });fn(state => {const ids = state.data.map(p => p.id);return { ...state, ids };});After
read('Patient', { query: { _count: 50 } });fn(state => {const ids = state.data.map(e => e.resource.id);return { ...state, ids };});
1.1.0 - 12 August 2026
Minor Changes
-
5fdaff6:
read()now auto-paginates FHIR Bundle responses, returning all resources as a flat array instate.data.// Auto-paginate — fetches all pages, 50 resources per requestread('Patient', { query: { _count: 50 } });// Set _getpagesoffset to fetch resources page without auto-paginationread('Patient', { query: { _getpagesoffset: 100, _count: 50 } });// Non-Bundle responses (e.g. metadata) are returned as-is in state.dataread('metadata');
1.0.0
Implemented the fhir-opensrp adaptor with create(), read(), delete(),
update() and request() methods.
Exported fhir-4 builder helper functions for the fhir resources