Previously, the Multicast Notification Service provided a Change of GP event which could be used to subscribe to any GP registration changes for a patient — whether that patient was changing their GP registration or deregistering entirely.
This event seems to have been replaced by the generic PDS change event, which includes allows subscribers to filter using changed_gp_to so that only events where a patient has switched to a specific GP are published by MNS.
However, it seems like there’s now a gap here — if a subscriber wants to know about any GP change event (transfer or deduction), what subscription criteria should be used? Does something like the below work:
eventType='pds-record-change-2' AND nhsnumber='<nhs_number>' AND (changed_gp_to IS NOT NULL OR changed_gp_to IS NULL)
Alternately, is there a plan for a boolean filter like changed_gp to be added, along the same lines as changed_address or changed_telecom?