Skip to content

Signed ingest: FHIR

A FHIR R4 Bundle signed with the source key; `EDFlow-Site-Code` names the site.

POST
/ehr/v1/fhir

A FHIR R4 Bundle signed with the source key; EDFlow-Site-Code names the site.

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/fhir+json

TypeScript Definitions

Use the request body type in TypeScript.

A FHIR R4 Bundle (≤ 200 entries). In the sandbox it carries the HTEST test tag (api-platform §4.4).

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/ehr/v1/fhir" \  -H "Content-Type: application/fhir+json" \  -d '<resourceType>Bundle</resourceType>  <type>collection</type>'
{  "entries": [    {      "error": "string",      "eventIds": [        "string"      ],      "fullUrl": "string",      "status": "string"    }  ],  "results": [    {      "edflowEncounterId": "string",      "error": {        "code": "string",        "message": "string",        "path": "string",        "retryable": true      },      "id": "string",      "note": "string",      "status": "accepted",      "warnings": [        {          "code": "string",          "path": "string"        }      ]    }  ],  "summary": {    "accepted": -9007199254740991,    "buffered": -9007199254740991,    "duplicate": -9007199254740991,    "ignored": -9007199254740991,    "quarantined": -9007199254740991,    "rejected": -9007199254740991,    "superseded": -9007199254740991  }}

Was this page helpful?