The user initiates a validate request in the integrating application
The integrating application sends an HTTP POST request using a $match operation to the NHI with 'In Parameters' (A patient resource and onlyCertainMatches set to True).
E.g. Post<Endpoint>/Patient/$match
The request is validated - ALT: Validation failure. OperationOutcome resource returned
The NHI validates whether the Patient details and nhi-id provided are a match
If there is a certain match the NHI FHIR API returns a Bundle containing only the Patient record with the nhi-id showing. Alt: Empty Bundle returned with OperationOutcome resource returned.
The integrating application displays the results of the validate to the user.
In Parameters
Parameter name
Parameter type
Mandatory / Optional
Description
'Patient resource'
Resource
Mandatory
See validate request example (link below)
onlyCertainMatches: 1 (True)
boolean
Mandatory
Must be set to true
Behaviour:
Note: To be more FHIR compliant this will be changed to return:
A search score most likely (1) to least likely (0)
A "match-grade": (certain, possible, certainly-not)
Example request
For an example Validate request and response click here