
| Name | Value | 
|---|---|
| NAME | MAG3 TELEREADER CONSULT LIST | 
| TAG | CONSLIST | 
| ROUTINE | MAGNGMR | 
| RETURN VALUE TYPE | ARRAY | 
| AVAILABILITY | RESTRICTED | 
| DESCRIPTION | Return not completed consults for a patient where TO SERVICE is setup in TELEREADER ACQUISITION SERVICE file (#2006.5841)  | 
| INPUT PARAMETER | 
  | 
| RETURN PARAMETER DESCRIPTION | 
Returns an array where the zeroeth element will be either:
  if error found during execution
     0^Error getting consult list
   if success
 MAGRY(0)    = "1^#CNT" - where #CNT is a number of records returned
 MAGRY(1)    = "Consult ID^Consult Request Date^Service^Procedure^Sending Provider"
 MAGRY(2..n) = "^" delimited string with values of the fields listed in MAGOUT(1) 
 |