Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Local Variables |  All
Print Page as PDF
Routine: SDAMA204

Package: Scheduling

Routine: SDAMA204


Information

SDAMA204 ;BPOIFO/NDH-Scheduling Replacement APIs ; 12/13/04 3:16pm

Source Information

Source file <SDAMA204.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Scheduling 2 ERROR^SDAMA200  $$SDAPI^SDAMA301  
Registration 1 (DEM,KVAR)^VADPT  

Entry Points

Name Comments DBIA/ICR reference
PATAPPT(SDDFN) ; Check for existence of any appointment for a patient
;
; This API is an extrinsic function that returns 1 of 3 values.
; The API checks for the existence of appointment records.
;
; INPUT SDDFN : Patient's DFN number (required)
;
; OUTPUT 1 : Appointment(s) on file
; 0 : No appointment(s) on file
; -1 : Error
;
; ERROR CODES - 101 : Database is Unavailable
; 102 : Patient ID is required
; 110 : Patient ID must be numeric
; 114 : Invalid Patient ID
; 117 : SDAPI Error
;
; ERROR LOCATION : ^TMP($J,"SDAMA204","PATAPPT","ERROR")
;
; Check for proper parameter and return -1 if bad DFN
;
; Initialize node for error reporting
  • ICR #4216
    • Status: Active
    • Usage: Controlled Subscription

    External References

    Name Field # of Occurrence
    ERROR^SDAMA200 PATAPPT+27, PATAPPT+30, PATAPPT+35, PATAPPT+48
    $$SDAPI^SDAMA301 PATAPPT+41
    DEM^VADPT PATAPPT+33
    KVAR^VADPT PATAPPT+36

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^TMP($J PATAPPT+22!, PATAPPT+43!, PATAPPT+46, PATAPPT+49!

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    DFN PATAPPT+23~, PATAPPT+32*, PATAPPT+40
    SDARRAY PATAPPT+23~, PATAPPT+41
    SDARRAY("FLDS" PATAPPT+40*
    SDARRAY("MAX" PATAPPT+40*
    SDARRAY(4 PATAPPT+40*
    SDCOUNT PATAPPT+23~, PATAPPT+41*, PATAPPT+42, PATAPPT+43, PATAPPT+45
    SDDFN PATAPPT~, PATAPPT+26, PATAPPT+29, PATAPPT+32, PATAPPT+34
    SDX PATAPPT+23~, PATAPPT+46*, PATAPPT+47*, PATAPPT+48
    SDY PATAPPT+23~
    VAERR PATAPPT+23~, PATAPPT+34
    Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Local Variables |  All