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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCAPMC22

Package: Scheduling

Routine: SCAPMC22


Information

SCAPMC22 ;ALB/REW - Team API's ; December 1, 1995

Source Information

Source file <SCAPMC22.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Scheduling 2 $$TPPT^SCAPMC23  (ERR,INIT)^SCAPMCU1  
VA FileMan 2 NOW^%DTC  UPDATE^DIE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Scheduling 3 SCAPMC  SCMCQK1  SCMCQK2  

Entry Points

Name Comments DBIA/ICR reference
INPTTP(DFN,SCPTTPA,SCINACT,SCERR) ;inactivate patient from a position (pt tm pos assgn - #404.43
; input:
; DFN = pointer to PATIENT file (#2)
; SCPTTPA = pointer to pt team assign file (#404.43)
; SCINACT = date to inactivate [default=DT]
; SCERR = array NAME to store error messages.
; [ex. ^TMP("ORXX",$J)]
APTTPQ
PTTPACT(DFN,SCTP,SCDT,SCERR) ;is patient assigned to a position on a given date-time?
OKDATA() ;check/setup variables - return 1 if ok/0 if error
INPTSCTP(DFN,SCTP,SCINACT,SCERR) ;inactivate patient from a position - using last pt position assignment - Note: This uses pointer to 404.57 (position) not 404.43 as input
; input:
; DFN = pointer to PATIENT file (#2)
; SCTP = pointer to POSITION file (#404.57)
; SCINACT = date to inactivate [default=DT]
; SCERR = array NAME to store error messages.
; [ex. ^TMP("ORXX",$J)]

External References

Name Field # of Occurrence
NOW^%DTC INPTTP+31
UPDATE^DIE INPTTP+33
$$TPPT^SCAPMC23 PTTPACT+5
ERR^SCAPMCU1 INPTTP+26, OKDATA+7
INIT^SCAPMCU1 OKDATA+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] OKDATA+4
^SCPT(404.43 - [#404.43] INPTTP+19, OKDATA+4, INPTSCTP+18, INPTSCTP+19
^SCTM(404.57 - [#404.57] PTTPACT+2

Label References

Name Line Occurrences
$$INPTTP INPTSCTP+20
$$OKDATA INPTTP+18
$$PTTPACT INPTTP+22
APTTPQ INPTTP+18, INPTTP+20, INPTTP+22

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % INPTTP+32
DFN INPTTP~, INPTTP+22, PTTPACT~, PTTPACT+5, OKDATA+4, OKDATA+5, INPTSCTP~, INPTSCTP+18, INPTSCTP+19, INPTSCTP+20
DT OKDATA+8, OKDATA+9
DUZ INPTTP+30
SC INPTTP+16~
SC( INPTTP+29*, INPTTP+30*, INPTTP+32*
SCACT OKDATA+8*, INPTSCTP+17~, INPTSCTP+18*, INPTSCTP+19
SCDT PTTPACT~, PTTPACT+4
SCERR INPTTP~, INPTTP+22, INPTTP+26, INPTTP+33, INPTTP+34, PTTPACT~, PTTPACT+5, OKDATA+7, INPTSCTP~, INPTSCTP+20
SCESEQ INPTTP+16~, INPTTP+26, OKDATA+7
SCINACT INPTTP~, INPTTP+20, INPTTP+22, INPTTP+24, INPTTP+29, OKDATA+9*, INPTSCTP~, INPTSCTP+20
SCLSEQ INPTTP+16~
SCND INPTTP+16~, INPTTP+19*, INPTTP+20, INPTTP+21
SCOK INPTTP+16~, INPTTP+17*, INPTTP+23*, INPTTP+28*, INPTTP+34*, APTTPQ, PTTPACT+1~, PTTPACT+3*, PTTPACT+5*, PTTPACT+6
, OKDATA+1~, OKDATA+2*, OKDATA+3, OKDATA+4*, OKDATA+10
SCPARM INPTTP+16~, INPTTP+26, OKDATA+7
SCPARM("INACT IVE DATE" , INPTTP+24*
SCPARM("MESSAGE" INPTTP+25*
SCPARM("PATIENT" OKDATA+5*
SCPARM("Pt PO SITION Asnt" , OKDATA+6*
SCPTDTS PTTPACT+1~
SCPTDTS("BEGIN" PTTPACT+4*
SCPTDTS("END" PTTPACT+4*
>> SCPTTP INPTSCTP+19*, INPTSCTP+20
SCPTTPA INPTTP~, INPTTP+19, INPTTP+29, INPTTP+30, INPTTP+32, OKDATA+4, OKDATA+6
SCTM PTTPACT+1~, PTTPACT+2*, PTTPACT+5
SCTP INPTTP+16~, INPTTP+21*, INPTTP+22, PTTPACT~, PTTPACT+2, PTTPACT+5, INPTSCTP~, INPTSCTP+18, INPTSCTP+19
SCTPLST PTTPACT+1~
SCTPLST("SCTP" PTTPACT+5
U INPTTP+20, INPTTP+21, PTTPACT+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All