SDEC GET PATIENT CONSULT JSON (4526)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC GET PATIENT CONSULT JSON
TAG JSONCONSLIST1
ROUTINE SDEC1
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
Returns one ACTIVE or PENDING CONSULT for a patient in JSON format for 
the Internal Entry Value (IEN) passed in.
INPUT PARAMETER
  • IEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Internal Entry Number (IEN) of Consult/Procedure in the 
    REQUEST/CONSULTATION (#123) file.
    
RETURN PARAMETER DESCRIPTION
Returns one ACTIVE or PENDING CONSULT for a patient in JSON format:
  (6)     Clinic Name                            #123/2          E
  (7)     Date of Request                        #123/3          I
  (8)     URGENCY name or Earliest date          #123/Calculated C
  (9)     Provider IEN                           #123/10         I
  (10)    Provider Name                          #123/10         E
  (11)    Service Rendered as in or outpatient   #123/14         E
  (12)    Associated Stop Code                   #123.5/688      I
  (13)    Prohibited Clinic Flag                 #44/2500        I
  (14)    Clinic indicated Date                  #123/17         I
  (15)    # of Phone contacts                    #409.86 Calc.   E
  Return values include:
  (16)    Date of Last Letter                    #409.86/#3/.01  E
  (17)    Covid Priority                         #123/40 Calc.   I
  ORDER   NAME                                   FILE/FIELD    FORMAT
  =================================================================== 
  (1)     Internal IEN                           #123/.001       I
  (2)     Request Type                           #123/13         E
  (3)     File Entry Date                        #123/.01        I
  (4)     To Service/Specialty                   #123/1          E
  (5)     Clinic IEN                             #123/2          I