The Operation is used to update an enrolment record - and is currently limited to ending an enrolment for:
FLS-NF enrolment (First Level Services not funded).
WCTO enrolment nomination (Well child Tamariki Ora services).
LMC enrolment (Lead Maternity Carer).
Update Enrolment processing steps:
A FHIR Client sends a PUT request to the NES EpisodeOfCare endpoint with the enrolment id in the path, and a payload containing the NesEnrolment resource to be updated
The request is validated - ALT: Validation failure. Operation Outcome resource returned
The Enrolment EEE database is replaced in the with the enrolment resource described in the update payload
The updated NESEnrolment is returned to the client