ROR PATIENT DELETE

TITLEVALUE
NAMEROR PATIENT DELETE
DESCRIPTIONThe ROR PATIENT DELETE remote procedure marks the patient's record as
deleted from the registry.
not deleted and an error code is returned.
TAGDELETE
ROUTINERORRP030
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERREGIEN
DESCRIPTIONThe REGIEN parameter should contain a valid registry IEN (IEN of the
registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERRORDFN
DESCRIPTIONA valid patient IEN (DFN) should be assigned to the RORDFN parameter.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERFORCE
DESCRIPTIONDeprecated
record will be deleted from the registry even if some data has been sent
to the AAC already. BE VERY CAREFUL WITH THIS!
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
an error occurred during the execution of the remote procedure. In this
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array:

Results[0] Result Descriptor
^01: The last error code
^02: Number of the error descriptors

Results[i] Error Descriptor
^01: Error code
^02: Message
^03: Place of the error

Otherwise, the following codes can be returned in the Results[0]:

0 The record cannot be deleted
9 The record has been marked as deleted
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED