Configure a Lime HL7 Integration

1 min read
💬
This article explains how to call our API to send us HL7 messages, but please contact us if you wish to automate HL7 messages deliveries to Lime as it will require work from our team to complete the integration.

After creating an API key with the integration scope Automated rules integration, follow the steps below to call our API.

Call Lime’s API with the key

Build the following HTTPS request:

POST /api/v1/ext/adt HTTP/2host: api.lime.health/content-type: text/plainapi-key: [REMPLACEZ PAR VOTRE CLÉ D’API][CONTENU_HL7]

cURL example:

curl --request POST \ --url 'https://api.lime.health/api/v1/ext/adt' \ --header 'content-type: text/plain' \ --header 'api-key: [REMPLACEZ PAR VOTRE CLÉ D’API]' \ --data '[HL7_MESSAGE]'

Javascript example:

fetch("https://api.lime.health/api/v1/ext/adt", { method: 'POST', body: HL7_MESSAGE, headers: { 'Content-type': 'text/plain', 'api-key': API_KEY }, })

Related articles
Did this answer your question?