SDEC RECGET (3572)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC RECGET
TAG RECGET
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
GET entries from the RECALL REMINDERS file 403.5 for a given Patient 
and Recall Date range.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Pointer to PATIENT file 2.
    
  • SDBEG
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Begin Date range in external format to search RECALL DATE range. (no time)
    
  • SDEND
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    End Date range in external format to search RECALL DATE range. (no time)
    
  • MAXREC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    maximum number of records to return
    
  • LASTSUB
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Last subscripts from previous call;
    Used to collect the data in multiple background calls
    
RETURN PARAMETER DESCRIPTION
Global Array in which each array entry contains data from the
     8 INSTIEN - INSTITUTION ien 
                     1=UNDELIVERABLE 
                     2=HOMELESS 
                     3=OTHER 
                     4=ADDRESS NOT FOUND 
 50. OPHONE = Office phone (.132) 
 51. NOK - Primary Next of Kin (.211) 
 52. KNAME - Primary Next of Kin name 
 53. KREL - Primary Next of Kin Relationship to Patient (.212) 
 54. KPHONE - Primary Next of Kin Phone (.219) 
 55. KSTREET - Primary Next of Kin Street Address [Line 1] (.213) 
     9 INSTNAME - INSTITUTION NAME 
 56. KSTREET2 - Primary Next of Kin Street Address [Line 2] (.214) 
 57. KSTREET3 - Primary Next of Kin Street Address [Line 3] (.215) 
 58. KCITY - Primary Next of Kin City (.216) 
 59. KSTATE - Primary Next of Kin State (.217) 
 60. KZIP - Primary Next of Kin Zip (.218) 
 61. NOK2 - Secondary Next of Kin (.2191) 
 62. K2NAME - Secondary Next of Kin name (.2191) 
 63. K2REL - Secondary Next of Kin Relationship to Patient (.2192) 
 64. K2PHONE - Secondary Next of Kin Phone (.2199) 
 65. K2STREET - Secondary Next of Kin Street Address Line 1 (.2193) 
    10. ACCESION - Accession # (free-text 1-25 characters) 
 66. K2STREET2 - Secondary Next of Kin Street Address Line 2 (.2194) 
 67. K2STREET3 - Secondary Next of Kin Street Address Line 3 (.2195) 
 68. K2CITY - Secondary Next of Kin City (.2196) 
 69. K2STATE - Secondary Next of Kin State (.2197) 
 70. K2ZIP - Secondary Next of Kin Zip (.2198) 
 71. PCOUNTY - Patient County (.117) 
 72. PMARITAL - Patient Marital Status 
 73. PRELIGION - Patient Religious Preference 
 74. PTACTIVE - Patient Temporary Address Active? (.12105) 
 75. PTADDRESS1 - Patient Temporary Address Line 1 (.1211) 
    11. COMM - COMMENT (free-text 1-80 characters) 
 76. PTADDRESS2 - Patient Temporary Address Line 2 (.1212) 
 77. PTADDRESS3 - Patient Temporary Address Line 3 (.1213) 
 78. PTCITY - Patient Temporary City (.1214) 
 79. PTSTATE - Patient Temporary State (.1215) 
 80. PTZIP - Patient Temporary Zip (.1216) 
 81. PTZIP4 - Patient Temporary Zip+4 (.12112) 
 82. PTCOUNTRY - Patient Temporary Country (.1223) 
 83. PTCOUNTY - Patient Temporary County (.12111) 
 84. PTPHONE - Patient Temporary Phone (.1219) 
 85. PTSTART - Patient Temporary Address Start Date (.1217) 
    12. FASTING - FAST/NON-FASTING valid values: 
 86. PTEND - Patient Temporary Address End Date (.1218) 
 87. PCELL - Patient Cell Phone (.134) 
 88. PPAGER - Patient Pager Number (.135) 
 89. PEMAIL - Patient Email Address (.133) 
 90. PF_FFF - Patient FUGITIVE FELON FLAG 1=YES 
 91. PF_VCD - Patient VETERAN CATASTROPHICALLY DISABLED? Y=YES N=NO 
 92. PFNATIONAL - Patient national Flags 
                         (PRF ASSIGNMENT/PRF NATIONAL FLAG) separated by |
        Each | piece contains the following ;; pieces: 
        1. PRFAID - PRF Assignment ID pointer to PRF ASSIGNMENT file 
                  FASTING 
(#26.13)
        2. PRFSTAT - PRF Assignment Status 0=INACTIVE 1=ACTIVE 
        3. PRFNID - PRF National Flag ID pointer to
                    PRF NATIONAL FLAG file (#26.15) 
        4. PRFNNAME - PRF National Flag name 
        5. PRFNSTAT - PRF National Flag status 0=INACTIVE 1=ACTIVE
 93. PFLOCAL - Patient Local Flags 
                      (PRF ASSIGNMENT/PRF Local FLAG) separated by | 
        Each | piece contains the following ;; pieces: 
        1. PRFAID - PRF Assignment ID pointer to PRF ASSIGNMENT file 
                  NON-FASTING 
(#26.13)
        2. PRFSTAT - PRF Assignment Status 0=INACTIVE 1=ACTIVE 
        3. PRFLID - PRF Local Flag ID pointer to PRF LOCAL FLAG file 
(#26.11)
        4. PRFLNAME - PRF Local Flag name 
        5. PRFLSTAT - PRF Local Flag status 0=INACTIVE 1=ACTIVE 
 94. SUBGRP - value from the ENROLLMENT SUBGROUP field of the
              PATIENT ENROLLMENT file (#27.11) 
              Valid values are a b c d e g 
 95. CAT8G  - Category 8g flag - True if Priority ='Group 8' AND 
    13. RRAPPTYP - Test/App pointer to RECALL REMINDERS APPT TYPE 
SUBGRP-'g'
 96. SIMILAR = Similar Patients 
      MESSSAGE | Patients 
       Patients separated by ;; 
        Each ;; piece contains the following ~ pieces 
        DFN ~ NAME ~ DOB ~ SSN
  97. PHONE CALL ATTEMPTS MADE
  98. DATE OF LAST LETTER ATTEMPT SENT
  99. EMAIL CONTACT ATTEMPTS MADE
 100. TEXT CONTACT ATTEMPT MADE
                   file 403.51 
 101. SECURE MESSAGES CONTACT ATTEMPTS MADE
    14. RRPROVIEN - Provider - Pointer to RECALL REMINDERS 
    RECALL REMINDERS file 403.5.
                    PROVIDERS file 403.54 
    15. PROVNAME - Provider NAME of Provider in RECALL REMINDERS 
                   PROVIDERS file 
    16. CLINIEN - Clinic pointer to HOSPITAL LOCATION file 
    17. CLINNAME - Clinic NAME from HOSPITAL LOCATION file 
    18. APPTLEN - Length of Appointment numeric between 10 and 120 
    19. DATE - Recall Date in external format (no time) 
    20. DATE1 - Recall Date (Per patient) in external format 
                (no time) 
    21. DAPTDT - Date Reminder Sent in external format (no time) 
     1. IEN - pointer to RECALL REMINDERS 
    22. USERIEN - User Who Entered Recall pointer to NEW PERSON 
                  file 
    23. USERNAME - User Who Entered Recall NAME from NEW PERSON 
                   file 
  24. DATE2 - Second Print Date in external format (no time) 
  25. PRIGRP - ENROLLMENT PRIORITY text from PATIENT ENROLLMENT 
               file.  Valid Values: 
                       GROUP 1 
                       GROUP 2 
                       GROUP 3 
     2. DFN - Pointer to PATIENT file 
                       GROUP 4 
                       GROUP 5 
                       GROUP 6 
                       GROUP 7 
                       GROUP 8 
  26. ELIGIEN - Pointer to MAS ELIGIBILITY CODE file 8.1 
  27. ELIGNAME - NAME from MAS ELIGIBILITY CODE file 
  28. SVCCONN - SERVICE CONNECTED field from PATIENT ENROLLMENT 
                file. Valid values: 
                  YES 
     3. NAME - Patient NAME from PATIENT file 
                  NO 
  29. SVCCONNP - SERVICE CONNECTED PERCENTAGE field from PATIENT 
                 ENROLLMENT file 
                 Numeric between 0-100 
 30. TYPEIEN - Pointer to TYPE OF PATIENT file 391 
 31. TYPENAME - NAME from TYPE OF PATIENT file 391 
 32. DATE3    - DATE/TIME RECALL ADDED from RECALL REMINDERS 
                file 403.5 
 33. PADDRES1 - Patient Address line 1 
 34. PADDRES2 - Patient Address line 2 
     4. HRN 
 35. PADDRES3 - Patient Address line 3 
 36. PCITY - Patient City 
 37. PSTATE - Patient state name 
 38. PCOUNTRY - Patient country pointer to COUNTRY CODE file 
 39. PZIP4 - Patient Zip+4 
 40. GAF - <text> | <GAF score> | <GAF date> 
           | <diagnosis by IEN> | <diagnosis by name> 
 41. SENSITIVE - Sensitive Record Access data 
                 separated by pipe |: 
   1. return code: 
     5. DOB - Date of Birth in external format 
       -1 -RPC/API failed 
           Required variable not defined 
        0 -No display/action required 
           Not accessing own, employee, or sensitive record 
        1 -Display warning message 
           Sensitive and DG SENSITIVITY key holder 
           or Employee and DG SECURITY OFFICER key holder 
        2 -Display warning message/require OK to continue 
           Sensitive and not a DG SENSITIVITY key holder 
           Employee and not a DG SECURITY OFFICER key holder 
     6. SSN - Social Security Number (last 4)
        3 -Access to record denied 
           Accessing own record 
        4 -Access to Patient (#2) file records denied 
           SSN not defined 
   2. display text/message 
   3. display text/message 
   4. display text/message 
 42. LASTSUB - last subscripts of data in the return. 
                Will only be in the last record of the return. 
                Pass this as LASTSUB in the next call to continue 
     7. GENDER 
                collecting data. 
 43. PTPHONE - Patient Phone number - Free-text 4-20 characters 
 44. PRACE - Patient Race pointer to RACE file 10 | separates entries
 45. PRACEN - Patient Race name from RACE file | separates entries 
 46. PETH - Patient Ethnicity list separated by pipe | 
            Pointer to ETHNICITY file 10.2 
 47. PETHN - Patient Ethnicity names separated by pipe | 
 48. PRHBLOC - Boolean indicating if location is a 
               Prohibit Access clinic 
 49. BADADD = BAD ADDRESS INDICATOR (.121)