Merge Golden Resources
The $mdm-merge-golden-resources operation can be used to merge one Golden Resource with another. After the merge is complete, fromGoldenResourceId will be deactivated by assigning a metadata tag REDIRECTED.
This operation takes the following parameters:
Table 12-7 Parameters to Merge Golden Resources
Name | Type | Description |
---|---|---|
fromGoldenResourceId | String | ID of the Golden Resource to merge data from. |
toGoldenResourceId | String | ID of the Golden Resource to merge data into. |
resource | Resource | Optional manually merged Golden Resource. All values except for the metadata, PID and identifiers will be copied from this resource, if it is present. If no value is specified, all fields from the resource pointed to by "fromGoldenResourceId" will be copied instead. |
Example:
POST : http://localhost:7001/oracle-fhir-server/fhir/$mdm-merge-golden-resources
Request Body
{
"resourceType": "Parameters",
"parameter": [ {
"name": "fromGoldenResourceId",
"valueString": "Patient/50006"
}, {
"name": "toGoldenResourceId",
"valueString": "Patient/50052"
} ]
}
This operation returns the merged Golden Resource (toGoldenResourceId).
Parent topic: MDM Operations