deletePerson

deletePerson

The deletePerson method deletes a person from the EMPI. The system locates the person record using the person identifiers as search criteria. If the record is not found an unchecked exception is thrown to notify the caller that this record does not exist in the system. If the record is found, the record is voided from the system rather than deleted to preserve a history.

Method

The method uses the PUT HTML method.

Input

The input to the method is the PersonIdentifier element representing one of the identifiers associated with the record to be deleted.

 <personIdentifier>
    <identifier>rec-282-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>
    <personIdentifierId>2724</personIdentifierId>
</personIdentifier>


Output

The output is void if the person is deleted (with status code 204 for no content) and an appropriate status code is returned if an error is encountered.