SDEC REP1GET (3590)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC REP1GET
TAG REP1GET
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
GET clinic data for report.
RETURN PARAMETER DESCRIPTION
Global Array in which each array
  7. DIVNAME - division NAME from MEDICAL CENTER DIVISIOn file
  8. STOP_CODE_ID - stop code ID pointer to CLINIC STOP file 40.7
  9. STOP_CODE_NUMBER - stop code number
  10. SERVICE - service assigned - valid values:
      MEDICINE
      SURGERY
      PSYCHIATRY
      REHAB MEDICINE
      NEUROLOGY
      NONE
                  entry contains an clinic data separated by ^: 
  11. TREATSPECID - treating specialty ID pointer to
                    FACILITY TREATING SPECIALTY file 45.7
  12. TREATSPECNAME - treating specialty NAME from
                    FACILITY TREATING SPECIALTY file
  13. PROVIEN - default provider ID pointer to NEW PERSON file 200
  14. PROVNAME - default provider NAME from NEW PERSON file
  15. AGENCYID - agency ID pointer to AGENCY file 4.11
  16. AGENCYNAME - agency NAME from AGENCY file
  17. APPTLEN - length of app't numeric 10-240 and
                multiple of 10 or 15
  1. CLINIEN - clinic ID pointer to HOSPITAL LOCATION file 44
  18. VAPPTLEN - variable appointment length 'V' means
                 "YES, VARIABLE LENGTH"; otherwise null
  19. PROHIBITACC - prohibit access to clinic? 'YES' or null
  20. NON-COUNT - non-count clinic? 'YES' 'NO'
  21. INACTIVATE_DT - inactivate date in external format
                      date clinic was inactivated
  22. REACTIVATE_DT - reactivate date in external format
                      date clinic was reactivated
  23. DEF-APPT-TYPE_ID - default appointment type ID pointer to
                         APPOINTMENT TYPE file 409.1
  2. CLINNAME - clinic NAME from HOSPITAL LOCATION file 44
  24. DEF-APPT-TYPE_NAME - default appointment type NAME from
                           APPOINTMENT TYPE file
  25. PROVIDERS - Providers separated by pipe.
      Each pipe piece contains the following ;; pieces:
         1. provider ID pointer to NEW PERSON FILE 200
         2. provider NAME from NEW PERSON file
         3. default provider? 'NO' 'YES'
  26. CLIN-SVCS-RES_ID - clinic services resource ID pointer to
  27. CLIN-SVCS-RES_NAME - clinic services resource NAME
  28. CLINIC-GRP_ID - clinic group (reports) ID pointer to
  3. TYPE - clinic type - only valid value is 'CLINIC'
                      CLINIC GROUP file 409.67
  29. CLINIC-GRP_NAME - clinic group (reports) NAME from
                        CLINIC GROUP file
  30. DATE - Date/Time this Clinic was created in external format
  31. MAXDAYS - max # days for future booking
  4. INSTIEN - institution ID pointer to INSTITUTION file
  5. INSTNAME - institution NAME from INSTITUTION file
  6. DIVIEN - division ID pointer to MEDICAL CENTER DIVISION
              file 40.8