SDEC GET PATIENT CONSULTS (4497)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC GET PATIENT CONSULTS
TAG CONSLIST
ROUTINE SDEC1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC returns a global array of output parameters for all consults 
with a CPRS STATUS of "ACTIVE" or "PENDING".
INPUT PARAMETER
  • PATIENT DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Patient data file number (DFN) from PATIENT (#2) file.
    
RETURN PARAMETER DESCRIPTION
List of consults in ACTIVE or PENDING CPRS STATUS.  Data is delimited by 
(7)     Date of Request
(8)     URGENCY name or Earliest date
(9)     Provider IEN
(10)    Provider Name
(11)    Service Rendered as in or outpatient
(12)    Associated Stop Code
(13)    Prohibited Clinic Flag
(14)    Clinic indicated Date
(15)    # of Phone contacts
(16)    Date of Last Letter
carat (^). 
(17)    Covid Priority
Field List:
(1)     Internal IEN 
(2)     Request Type
(3)     File Entry Date
(4)     To Service/Specialty
(5)     Clinic IEN
(6)     Clinic Name