Skip to content

Signed ingest: HL7 v2

JSON-wrapped HL7 v2 messages (≤ 50) signed with the source key; ACKs follow the ACK table.

POST
/ehr/v1/hl7v2

JSON-wrapped HL7 v2 messages (≤ 50) signed with the source key; ACKs follow the ACK table.

Authorization

edflowSignature
EDFlow-Signature<token>

HMAC-SHA256 source signature of the signed ingest routes (event-schema §3): EDFlow-Source, EDFlow-Timestamp, EDFlow-Delivery-Id and EDFlow-Signature over the raw body with the source key. Sign at dispatch time, never in the transformer.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/ehr/v1/hl7v2" \  -H "Content-Type: application/json" \  -d '{    "messages": []  }'
{  "deliveryId": "string",  "messages": [    {      "ack": "string",      "controlId": "string",      "events": [        {          "edflowEncounterId": "string",          "error": {            "code": "string",            "message": "string",            "path": "string",            "retryable": true          },          "id": "string",          "note": "string",          "status": "accepted",          "warnings": [            {              "code": "string",              "path": "string"            }          ]        }      ],      "problems": [        {          "code": "string",          "location": "string",          "severity": "string"        }      ]    }  ]}

Was this page helpful?