This is typically used to get all enrolments for a patient. It may optionally be further restricted to enrolments of a specific type and/or enrolments having a particular status
Get Enrolment for Patient processing steps:
A FHIR Client sends a GET request to the NES EpisodeOfCare endpoint with the 'patient' query parameter specifying the patient's NHI number
The request is validated - ALT: Validation failure. Operation Outcome resource returned
Enrolments for this NHI are retrieved from the NES database
A bundle of NESEnrolments is returned to the client
An Enrolment search request must include a valid nhi-id
Search Enrolments for Patient
This is typically used to find all enrolments for a patient filtered by type or status.
Search Enrolments for Patient filtered by type and status
A FHIR Client sends a GET request to the NES $EpisodeOfCare endpoint with the 'patient' query parameter specifying the patient's NHI number, the type = "FLS" and the status = "active"
The request is validated - ALT: Validation failure. Operation Outcome resource returned
Active FLS Enrolments for this NHI meeting the search criteria are retrieved from the NES database
A bundle of NESEnrolments is returned to the client