v1

latestOpenAPI 3.0.02026-07-144898115.8 KB
link
cm facing

callback API for HIP initiated patient linking /link/add-context

If the accessToken is valid for purpose of linking, and specified details provided, CM will send "acknoweldgement.status" as SUCCESS. If any error occcurred, for example invalid token, or other required patient or care-context information not provided, then "error" attribute conveys so.

  1. accessToken must be valid and must be for the purpose of linking
post/v0.5/links/link/on-add-contexts

Headers

Authorizationstring required

Access token which was issued after successful login with gateway auth server.

X-HIP-IDstring required

Identifier of the health information provider to which the request was intended.

Request body

requestIdstring uuid required

a nonce, unique for each HTTP request

timestampstring date-time required

Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ

Example request

{
  "requestId": "5f7a535d-a3fd-416b-b069-c97d021fbacd"
}

Response

accepted