/
mergePersons

mergePersons

mergePersons

The mergePersons method merges a person into another person record. This operation is usually the result of the creation of two duplicate records in the EMPI by one of the participating identifier domains. Once the error is identified at the source, it is corrected by merging the two patient records into a single record.

Method

The method uses the PUT HTML method.

Input

The input to the method is the retired Person Identifier and surviving Person Identifier.

<mergePersonsRequest>
        <retiredIdentifier>
            <identifier>rec-3044-org</identifier>
            <identifierDomain>
                <identifierDomainId>14</identifierDomainId>
                <identifierDomainName>IHENA</identifierDomainName>
                <namespaceIdentifier>IHENA</namespaceIdentifier>
                <universalIdentifier>1.3.6.1.4.1.21367.2010.1.2.300</universalIdentifier>
                <universalIdentifierTypeCode>ISO</universalIdentifierTypeCode>
            </identifierDomain>
        </retiredIdentifier>
        <survivingIdentifer>
            <identifier>rec-3055-org</identifier>
            <identifierDomain>
                <identifierDomainId>14</identifierDomainId>
                <identifierDomainName>IHENA</identifierDomainName>
                <namespaceIdentifier>IHENA</namespaceIdentifier>
                <universalIdentifier>1.3.6.1.4.1.21367.2010.1.2.300</universalIdentifier>
                <universalIdentifierTypeCode>ISO</universalIdentifierTypeCode>
            </identifierDomain>
        </survivingIdentifer>
</mergePersonsRequest> 

 

Output

The output is void if the two person merged or throw an response status as Not Modified

 

Related content

Record Domain Resource
Record Domain Resource
Read with this
linkPersons
linkPersons
More like this
deletePerson
deletePerson
More like this
RESTful Web Services Interface (legacy API)
RESTful Web Services Interface (legacy API)
More like this
getPersonLinks
getPersonLinks
More like this
findLinkedPersons
findLinkedPersons
More like this