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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ONCOCON

Package: Oncology

Routine: ONCOCON


Information

ONCOCON ;Hines OIFO/GWB - VADPT calls ;06/23/10

Source Information

Source file <ONCOCON.m>

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Registration 1 (IN5,INP,OAD)^VADPT  

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: 7

Package Total Caller Graph
Oncology 7 ONCO PATIENT ONLY  ONCOAID  ONCOW1  ONCOX2  ^ONCO(160  SUSPENSE  ^ONCO(165.5  

Entry Points

Name Comments DBIA/ICR reference
NOK ;NEXT OF KIN
NOK1 ;NEXT OF KIN-1
NOK2 ;NEXT OF KIN-2 #.2191
CON ;Retrieve Contacts (NOK1 and NOK@)
WT
2 ;W !?25,VAOA(10)
3
4
5
6
REL2 ;NOK2
REL ;NOK relationship and Name
ADM ;Admission date/Discharge date
A5
A4
SV
WE
NO
INP ;MAS VERSIONS less than 5.0
NOKEO ;COMPUTED EXPRESSION for NOK (160,.214)
SAD ;COMPUTED EXPRESSION for SUSPENSE ADMIT DATE (160,33.1)
SDD ;COMPUTED EXPRESSION for SUSPENSE DISCHARGE DATE (160,33.2)
SEC ;COMPUTED EXPRESSION for SUSPENSE EPISODE OF CARE (160,33.3)
SUS ;SUSPENSE EPISODE OF CARE
LEC ;COMPUTED EXPRESSION for LAST EPISODE of CARE (160,34)
LAD ;COMPUTED EXPRESSION for LAST ADMIT DATE (160,34.1)
LDD ;COMPUTED EXPRESSION for LAST DISCHARGE DATE (160,34.2)
LST ;Get ADMISSION and DISCHARGE data
VP ;Resolve NAME (160,.01) variable pointer
IN5 ;Call IN5^VADPT (Inpatient Data [v5.0 and above])
DD ;Format date as mm/dd/yy
EX ;Exit
CLEANUP ;Cleanup

External References

Name Field # of Occurrence
IN5^VADPT IN5+2
INP^VADPT INP+1
OAD^VADPT NOK+3, CON+1, CON+2, REL+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,@SP,NOK,": ",@SP,VAOA(10)
  • Line Location: WT+0
Function Call: WRITE
  • Prompt: !,@SP,$P(VAOA(9),",",2)_" "_$P(VAOA(9),",")
  • Line Location: 3+0
Function Call: WRITE
  • Prompt: !,@SP,VAOA(1)
  • Line Location: 4+0
Function Call: WRITE
  • Prompt: !!?15,"Admission: ",AD_" Discharge: "_XD,!
  • Line Location: WE+0
Function Call: WRITE
  • Prompt: !,"No admission for ",XD
  • Line Location: NO+0
Function Call: WRITE
  • Prompt: $P(^(.21),U)_" ("_$P(^(.21),U,2)_")"
  • Line Location: NOKEO+4
Function Call: WRITE
  • Prompt: "No admission data"
  • Line Location: LEC+2
Function Call: WRITE
  • Prompt: "Admission: ",AD_" Discharge: "_XD
  • Line Location: LEC+3
Function Call: WRITE
  • Prompt: "Admission: "_AD_" (Active)"
  • Line Location: LEC+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(43 - [#43] ADM+2, A5
^DIC(5 - [#5] NOK+4
^DPT - [#2] INP+1, NOKEO+4
^ONCO(160 - [#160] NOKEO+4, SUS+2, SUS+3, VP+1
^ONCO(165.5 - [#165.5] ADM+3

Label References

Name Line Occurrences
DD NOINP+1, IN5+3, IN5+4
EX NOK+1, NOK+3, NOK+8, CON+1, CON+3, REL+1, REL+2, A5A4WE
NOSAD+2, SDD+2, SEC+1, LEC+2, LEC+3, LEC+4, LAD+2, LDD+2, LST+1
IN5 A5SUS+5, LST+3
INP A4
LST LEC+1, LAD+1, LDD+1
NO A5A4SEC+1
NOK NOK1+1, NOK2+1
REL REL2+1
SUS SAD+1, SDD+1, SEC+1
SV A5A4
VP NOK+1, CON+1, REL+1, ADM+3, SUS+4, LST+1
WE SEC+2
WT NOK+7

Naked Globals

Name Field # of Occurrence
^( NOKEO+4
^(0 ADM+3, NOKEO+4, VP+1
^(1 INP+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AD SVWEINP+1*, SEC+1, LEC+2, LEC+3, LEC+4, LAD+1, IN5+3*, EX+1!
CSZ NOK+4*, NOK+5*, NOK+6*, 6+1, EX+1!
D0 NOK+1, CON+1, REL+1, ADM+3, NOKEO+4, SUS+1, LST+1, CLEANUP+1!
DFN INP+1, VP+2*, EX+1!
DUZ(2 SUS+2
I NOK+2~, CON+1~*, CON+2*, REL+1~, A5~, A4~, INP+1~
NOK NOK+6*, NOK1+1*, NOK2+1*, WTEX+1!
OF VP+3*, VP+4, EX+1!
ONCO EX+1!
ONCO( CON+1*, CON+2*
ONCOAD ADM+2*, SV*, EX+1!
ONCOD0 REL+1!
ONCODD ADM+2*, SV*, EX+1!
OP NOK+1, CON+1, REL+1, ADM+3, SUS+4, LST+1, VP+1*, VP+2, VP+3, VP+4*
EX+1!
RCDT NOKEO+3~, NOKEO+4*, EX+1!
SD SEC+1, SUS+1*, SUS+3*, SUS+4, SUS+5, EX+1!
SDIEN SUS+2*, SUS+3, EX+1!
SP NOK+6*, WT34566+1, EX+1!
ST NOK+4*, NOK+6, EX+1!
U NOK+4, REL+2, ADM+3, INP+1, NOKEO+4, VP+1
VAERR NOK+3, REL+1, EX+2!
VAIN EX+2!
VAIN(1 A4INP+1
VAIN(7 INP+1
VAINDT A4*, EX+2!
VAIP EX+2!
VAIP("D" ADM+3*, SUS+5*, LST+2*
VAIP(1 A5IN5+2
VAIP(13 IN5+3
VAIP(17 IN5+4
VAOA CON+2!, EX+2!
VAOA( CON+1, CON+2
VAOA("A" NOK2+1*, CON+2*, REL2+1*
VAOA(1 4REL+1
VAOA(10 WTREL+1
VAOA(2 5REL+1
VAOA(3 6REL+2
VAOA(4 NOK+4, REL+2
VAOA(5 NOK+4, REL+2
VAOA(6 NOK+6, REL+2
VAOA(9 3REL+1
X NOK+2~, CON+1~, REL+1*, REL+2*, A5~, A4~, INP+1~, SAD+1*, SDD+1*, SEC+1*
LAD+1*, LDD+1*, IN5+1~
XAD SAD+1, EX+2!
XD ADM+3*, A5A4SVWENOINP+1*, SEC+1*, SEC+2*, LEC+3
LDD+1, IN5+3*, IN5+4*, DD+1*, EX+2!
XD0 NOK+1*, CON+1*, REL+1*, ADM+3*, SUS+1*, SUS+2, SUS+3, LST+1*, VP+1, EX+2!
XDD SDD+1, EX+2!
XX ADM+3*, EX+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All