SDEC GET PATIENT APPT REQ (4498)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC GET PATIENT APPT REQ
TAG ARGETPAT
ROUTINE SDEC1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
DESCRIPTION
Get appointment request details.  This is similar to SDEC ARGET but it 
only returns Appt request specific data.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Patient ID pointer to PATIENT File (#2)
    
RETURN PARAMETER DESCRIPTION
 1 Patient
  [E] FILE: 409.85 FIELD: 2
 6 REQUEST TYPE
  [I] FILE: 409.85 FIELD: 4
 7 REQ SPECIFIC CLINIC
  [I] FILE: 409.85 FIELD: 8
 8 REQ SPECIFIC CLINIC
  [E] FILE: 409.85 FIELD: 8
 9 ORIGINATING USER
  [I] FILE: 409.85 FIELD: 9
10 ORIGINATING USER
  [I] FILE: 409.85 FIELD: .01
  [E] FILE: 409.85 FIELD: 9
11 PRIORITY
  [I] FILE: 409.85 FIELD: 10
12 REQUESTED BY
  [I] FILE: 409.85 FIELD: 11
13 PROVIDER
  [I] FILE: 409.85 FIELD: 12
14 PROVIDER
  [E] FILE: 409.85 FIELD: 12
15 CID/PREFERRED DATE OF APPT
 2 Appt request IEN
  [I] FILE: 409.85 FIELD: 22
16 COMMENTS
  [I] FILE: 409.85 FIELD: 25
17 ENROLLMENT PRIORITY
  [E] FILE: 409.85 FIELD: 10.5
18 MULTIPLE APPOINTMENT RTC
  [E] FILE: 409.85 FIELD: 41
19 MULT APPT RTC INTERVAL
  [E] FILE: 409.85 FIELD: 42
20 MULT APPT NUMBER
  Calculated / Derived
  [E] FILE: 409.85 FIELD: 43
21 Count of MULTI return to clinic SUB FILE 2
  Calculated / Derived
  Date entered - I - FIELD .01
  Entered by user - I - FIELD 2
  Entered by user - E - FIELD 2
  Action - E - FIELD 3
  Patient phone - E - FIELD 4
22 DATE DISPOSITIONED
  [E] FILE: 409.85 FIELD: 19
 3 CREATE DATE
23 DISPOSITIONED BY
  [I] FILE: 409.85 FIELD: 20
24 DISPOSITIONED BY
  [E] FILE: 409.85 FIELD: 20
25 SERVICE CONNECTED PRIORITY
  [E] FILE: 409.85 FIELD: 15
26 DATE/TIME ENTERED
  [E] FILE: 409.85 FIELD: 9.5
27 LIST OF DATES ???
  Calculated / Derived
  [I] FILE: 409.85 FIELD: 1
28 REQ SERVICE/SPECIALTY
  [I] FILE: 409.85 FIELD: 8.5
29 REQ SERVICE/SPECIALTY
  [E] FILE: 409.85 FIELD: 8.5
30 Appt schedule info (date, clerk)
  Scheduled data of appt - I - FIELD 13
  Appt clerk - I - FIELD 13.7
  Appt clerk - E - FIELD 13.7
31 Count of MRTCs SUB FILE 2
  Calculated / Derived
 4 INSTITUTION
32 REQ APPOINTMENT TYPE
  [I] FILE: 409.85 FIELD: 8.7
33 Patient Status
  [E] FILE: 409.85 FIELD: .02
34 MULTI appt request (Parent)
  Calculated / Derived
35 MULTI appt requests (Child)
  Calculated / Derived
36 PARENT REQUEST
  [I] FILE: 409.85 FIELD: 43.8
  [I] FILE: 409.85 FIELD: 2
37 Number of calls
  Calculated / Derived
38 Date of last letter sent
  Calculated / Derived
 5 INSTITUTION