SDAMA204 ;BPOIFO/NDH-Scheduling Replacement APIs ; 12/13/04 3:16pm
Source file <SDAMA204.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | ERROR^SDAMA200 $$SDAPI^SDAMA301 |
Registration | 1 | (DEM,KVAR)^VADPT |
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 |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP($J | PATAPPT+22!, PATAPPT+43!, PATAPPT+46, PATAPPT+49! |
>> | 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 |