Update Link

The Healthcare Data Repository FHIR server uses the $mdm-update-link operation to change the matchResult update of an MDM link.

This operation takes the following parameters:

Table 12-5 Parameters to Change the Link

Name Type Description
goldenResourceId String ID of the Golden Resource.
resourceid String ID of the target resource.
matchResult String Must be either MATCH or NO_MATCH.

The $mdm-update-link operation will automatically update their linkSource set to MANUAL.

Example:

POST : http://localhost:7001/oracle-fhir-server/fhir/$mdm-update-link

Request Body
{
  "resourceType": "Parameters",
  "parameter": [ {
    "name": "goldenResourceId",
    "valueString": "Patient/50006"
  }, {
    "name": "resourceId",
    "valueString": "Patient/50005"
  }, {
    "name": "matchResult",
    "valueString": "MATCH"
  } ]
}

The operation updates the Golden Resource and the Patient resource will be returned.