ORRHCQ QRYITR (1460)    REMOTE PROCEDURE (8994)

Name Value
NAME ORRHCQ QRYITR
TAG QRYITR
ROUTINE ORRHCQ
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
DESCRIPTION
Executes the query for a patient.  An iterator is passed in, in the 
format:
 
  ListSource Subscript ^ DFN ^ Item#
 
The value returned includes the records found and the next iterator:
 
  PtSearched ^ RecordCount ^ ListSource Subscript ^ NextDFN ^ Next Item#
INPUT PARAMETER
  • ORRITR
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Iterator used to get the next patient in the query.
    
RETURN PARAMETER DESCRIPTION
Returns the total number of records found for the patient.  The actual
query results are stored in ^TMP("ORRHCQD",$J).