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 |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: SDAMEX1

Package: Scheduling

Routine: SDAMEX1


Information

SDAMEX1 ;ALB/MJK,RMO - Appointment Check In/Check Out Cont. ; 5/6/93

Source Information

Source file <SDAMEX1.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Scheduling 3 $$STATUS^SDAM1  ONE^SDAM2  CO^SDCO1  
Registration 1 PAUSE^VALM1  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDAMEX  

Entry Points

Name Comments DBIA/ICR reference
CK(DFN,SDCL,SDT,SDDA,SDACT) ; -- ask 'ok' and call check-in or check-out
; input: DFN
; SDCL := ifn of clinic
; SDT := appt date/time
; SDDA := ifn of ^sc multiple
; SDACT := action CI or CO
; output: none
; returned: check-in/check-out process called [1 := yes | 0 := no]
CKQ

External References

Name Field # of Occurrence
^DIR CK+14
$$STATUS^SDAM1 CK+12, CK+20
ONE^SDAM2 CK+17
CO^SDCO1 CK+19
PAUSE^VALM1 CK+12

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: CK+10
Function Call: WRITE
  • Prompt: !!,*7,">>> You can not check in/out this appointment."
  • Line Location: CK+12
Function Call: WRITE
  • Prompt: !
  • Condition for execution: $X>47
  • Line Location: CK+20
Function Call: WRITE
  • Prompt: ?47,"Status: ",$P($$STATUS^SDAM1(DFN,SDT,SDCL,$G(^DPT(DFN,"S",SDT,0)),SDDA),";",3)
  • Line Location: CK+20
Routine Call
  • DIR
  • Line Location:
    • CK+14

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] CK+12, CK+20
^SD(409.63 - [#409.63] CK+12

Label References

Name Line Occurrences
CKQ CK+12, CK+15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN CK~, CK+12, CK+17, CK+19, CK+20
DIR CK+14!
DIR("A" CK+14*
DIR(0 CK+14*
>> DIRUT CK+15
SDACT CK~, CK+16, CK+18
SDCL CK~, CK+12, CK+17, CK+19, CK+20
SDDA CK~, CK+12, CK+17, CK+19, CK+20
SDMAX CK+9~
SDT CK~, CK+12, CK+17, CK+19, CK+20
>> Y CK+12*, CK+15*, CK+21*, CKQ
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All