Overriding Links
Rarely, the automated record linking in the Identity service may need to be overridden or otherwise guided.
Linking Records Manually
In the Understanding Record Groups tutorial, two records were added for the same John Smith. The demographics from these records were different enough that the Identity service could not confidently conclude that they were the same individual. John ended up with two different Person IDs:
John's "Community Clinic" Record
John's "Anytown Urgent Care" Record
If you know definitively that both records are from the same individual, you can use the Add Match Guidance operation to link the records.
POST /mpi/v1/addGuidance
The Identity service will keep the older of the two Person IDs (in this case a46e...
) and retire the other one (4630...
). Any records associated with the retired Person ID will be moved to the retained one. This is indicated in the response data:
Future queries of the 4630...
Person ID will return a status of Retired
, with the supersededBy
field pointing to the correct Person ID.
Unlinking Records Manually
Erroneous matches are rare, because the Identity service will not link records unless there is high confidence that the records are the same person. However, they can occur when there is incomplete or incorrect record data, such as a typo conflating two twins named Brad and Chad that live at the same address. If that happens, you can unlink the records.
Imagine that there were two matched records:
If you know definitively that both records are from different individuals, you can use the Add Match Guidance operation to unlink the records.
POST /mpi/v1/addGuidance
Removing Match Guidance
If you ever create a manual override in error, you can use the Remove Match Guidance operation to cancel the override.
POST /mpi/v1/removeGuidance