Dear Community,
We’re thrilled to announce the release of the updated OpenHIM adaptor v2.0.0, designed to facilitate interoperability between health information systems.
You can read the full details of the new Adaptor here.
Features
- Generic HTTP Request API
Write flexible jobs that interact with any OpenHIM API resource.
- Make a
POST
request to OpenHIM to create a client
http.post(
'/clients',
{
roles: ['fhir'],
clientID: 'fhir-server-5',
name: 'FHIR Server',
passwordAlgorithm: 'sha512',
passwordSalt: '3e74a280c568f27241e48e938edf21bf',
passwordHash:
'9a5158dc87a25da9d8822d48ed831a88bb4ba7fa636ddb6d6a725f73688546052cb7f2c355758e4839f9416e6cc0e37e1e3070f597af2836d39768a5ecc050db',
},
{
parseAs: 'text',
}
);
- Make a
GET
request to OpenHIM to get all transactions
http.get('/transactions')
- Create a transaction
- Make a request to OpenHIM to create a transaction
createTask({
tids: [
'5bb777777bbb66cc5d4444ee',
'5ceec0bb3ca344f9a30df633',
'5af732d1cbf94ba88b8f0bc0',
],
batchSize: 2,
paused: true,
});
Example Workflow
Here’s a real-world example from our Solutions Engineer — a workflow that fetches patients’ data from GoogleSheets and created an encounter for each patient.