ROR PATIENT SELECTION RULES (1786)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR PATIENT SELECTION RULES
TAG PTRULES
ROUTINE RORRP022
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR PATIENT SELECTION RULES remote procedure returns a list of 
selection rules that have caused addition of the patient to the registry.
INPUT PARAMETER
  • REGIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The REGIEN parameter should contain a valid registry IEN (IEN of the
    registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
    
  • PATIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Valid IEN of a registry patient should be assigned to the PATIEN
    parameter.
    
RETURN PARAMETER DESCRIPTION
A negative value of the first "^"-piece of the Results[0] indicates that
  Results[i]            Error Descriptor
                          ^01: Error code
                          ^02: Message
                          ^03: Place of the error
 
Otherwise, number of selection rules is returned in the Results[0] and the
subsequent nodes of the array contain the rules.
 
  Results[0]            Number of Selection Rules
 
an error occurred during the execution of the remote procedure. In this
  Results[i]            Selection Rule
                          ^01: IEN in the SELECTION RULE multiple
                               of the ROR LOCAL REGISTRY file
                          ^02: IEN of the Rule (in the
                               ROR SELECTION RULE file)
                          ^03: Name of the Rule
                          ^04: Date (FileMan)
                          ^05: Location IEN  (Institution IEN)
                          ^06: Location Name (Institution Name)
                          ^07: Short Description
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