v1
latestOpenAPI 3.0.02026-07-144898115.8 KBdiscovery
cm facing
Discover patient's accounts
Request for patient care context discover, made by CM for a specific HIP. It is expected that HIP will subsequently return either zero or one patient record with (potentially masked) associated care contexts
- At least one of the verified identifier matches
- Name (fuzzy), gender matches
- If YoB was given, age band(+-2) matches
- If unverified identifiers were given, one of them matches
- If more than one patient records would be found after aforementioned steps, then patient who matches most verified and unverified identifiers would be returned.
- If there would be still more than one patients (after ranking) error would be returned
- Intended HIP should be able to resolve and identify results returned in the subsequent link confirmation request via the specified transactionId
- Intended HIP should store the discovery results with transactionId and care contexts discovered for subsequent link initiation
post/v0.5/care-contexts/discover
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
Example request
{
"patient": {
"id": "<patient-id>@<consent-manager-id>",
"name": "chandler bing",
"unverifiedIdentifiers": [
{
"value": "+919800083232"
}
],
"verifiedIdentifiers": [
{
"value": "+919800083232"
}
],
"yearOfBirth": 2000
},
"requestId": "499a5a4a-7dda-4f20-9b67-e24589627061"
}Response
Request accepted