SDEC GET PAT CONSULT BY IEN (4524)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC GET PAT CONSULT BY IEN
TAG CONSULT1
ROUTINE SDEC1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
DESCRIPTION
This RPC returns a global array of output parameters for given Consult 
ID with a CPRS STATUS of "ACTIVE" or "PENDING".
INPUT PARAMETER
  • CONSULT ID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Consult ID number (IEN) from CONSULTS/REQUESTS (#123) file.
    
RETURN PARAMETER DESCRIPTION
Patient Consult 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