An Enterprise Identifier(EID) is a unique identifier that can be attached to Patients or Practitioners. Each implementation is expected to use exactly one EID system for incoming resources, defined in the EMPI Rules file. If a Patient or Practitioner with a valid EID is submitted, that EID will be copied over to the Person that was matched. In the case that the incoming Patient or Practitioner had no EID assigned, an internal EID will be created for it. There are thus two classes of EID. Internal EIDs, created by HAPI-EMPI, and External EIDs, provided by the submitted resources.
The EmpiSettings bean contains two EID related settings. Both are enabled by default.
Prevent EID Updates (JavaDoc): If this is enabled, then once an EID is set on a resource, it cannot be changed. If disabled, patients may have their EID updated.
Prevent multiple EIDs: (JavaDoc): If this is enabled, then a resource cannot have more than one EID, and incoming resources that break this rule will be rejected.
EMPI EID management follows a complex set of rules to link related Patient records via their Enterprise Id. The following diagrams outline how EIDs are replicated from Patient resources to their linked Person resources under various scenarios according to the values of the EID Settings.