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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ONCOUTC

Package: Oncology

Routine: ONCOUTC


Information

ONCOUTC ;Hines OIFO/GWB - [UTL *..Utility Options DS, DP, SQ and EA] ;03/17/11

Source Information

Source file <ONCOUTC.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
VA FileMan 6 (,IX)^DIC  ^DIE  ^DIK  $$GET1^DIQ  EN^DIQ1  ^DIR  
Oncology 4 ($$DIV,$$PFTD)^ONCFUNC  CHANGE^ONCGENED  SDD^ONCOCOM  (DIS2,HDR)^ONCOCOML  

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

Package Total Caller Graph
Oncology 4 ONCO UTIL-DELETE PATIENT  ONCO UTIL-DELETE PRIMARY  ONCO UTIL-EDIT SITE/ACCSEQ  ONCO UTIL-FIND DUP ACCSEQ  

Entry Points

Name Comments DBIA/ICR reference
INQ ;[PI Patient/Primary Inquiry]
DUMP ;[RD Print Oncology Patient Record]
SEL ;S DIC(0)="AEQZ",DIC="^ONCO(160," D ^DIC G EX:Y<0 S ONCODA=+Y
EN2 ;[DP Delete Oncology Patient]
EN3 ;[DS Delete Primary Site/GP Record]
EN1 ;[EA Edit Site/AccSeq# Data]
SP
PRIM ;Select ONCOLOGY PRIMARY (165.5)
DIE1 ;Edit ONCOLOGY PRIMARY (165.5)
PAT ;Select ONCOLOGY PATIENT (160)
DP ;Delete ONCOLOGY PRIMARY (165.5)
DUPSQ ;[SQ Find Duplicate Acc/Seq numbers]
EX ;Kill variables
CLEANUP ;Cleanup

External References

Name Field # of Occurrence
^DIC PAT+1
IX^DIC PRIM+4
^DIE DIE1+3
^DIK EN2+15, DP+2
$$GET1^DIQ INQ+4, PRIM+2, DP+1
EN^DIQ1 PAT+4
^DIR EN2+6, EN3+6, SP+2, DUPSQ+9, DUPSQ+13
$$DIV^ONCFUNC EN2+8
$$PFTD^ONCFUNC INQ+3, PRIM+1
CHANGE^ONCGENED DIE1+8
SDD^ONCOCOM INQ+5, EN2+2, PRIM+3
DIS2^ONCOCOML DUPSQ+12
HDR^ONCOCOML DUPSQ+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: SEL+1
Function Call: WRITE
  • Prompt: !!!
  • Line Location: SEL+2
Function Call: WRITE
  • Prompt: !?5,"Deleting a patient will also delete any primaries associated"
  • Line Location: EN2+3
Function Call: WRITE
  • Prompt: !?5,"with your division."
  • Line Location: EN2+4
Function Call: WRITE
  • Prompt: !
  • Line Location: EN2+7
Function Call: WRITE
  • Prompt: !!?5,"Deleting ONCOLOGY PATIENT..."
  • Line Location: EN2+15
Function Call: WRITE
  • Prompt: !!?5,ONCONM,?35,$P(^ONCO(164.2,ONCOSIT,0),U),!!
  • Line Location: EN3+4
Function Call: WRITE
  • Prompt: !?5,"Select primary to ",UTL,!
  • Line Location: PRIM+3
Function Call: WRITE
  • Prompt: !,"Record being edited by another user."
  • Line Location: DIE1+4
Function Call: WRITE
  • Prompt: !
  • Line Location: PAT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: PAT+4
Function Call: WRITE
  • Prompt: !?2,"SSN..........: ",ONC(160,ONCOD0,2)
  • Line Location: PAT+5
Function Call: WRITE
  • Prompt: ?35,"Race.........: ",ONC(160,ONCOD0,8)
  • Line Location: PAT+6
Function Call: WRITE
  • Prompt: !?2,"Date of Birth: ",ONC(160,ONCOD0,3)
  • Line Location: PAT+7
Function Call: WRITE
  • Prompt: ?35,"Sex..........: ",ONC(160,ONCOD0,10)
  • Line Location: PAT+8
Function Call: WRITE
  • Prompt: !?5,"Deleting ONCOLOGY PRIMARY: ",$$GET1^DIQ(165.5,ONCOP0,20)
  • Line Location: DP+1
Function Call: WRITE
  • Prompt: !
  • Line Location: DP+2
Function Call: WRITE
  • Prompt: !
  • Line Location: DUPSQ+1
Function Call: WRITE
  • Prompt: !!?8,"No duplicate Accession/Sequence Numbers Found.",!
  • Line Location: DUPSQ+9
Function Call: WRITE
  • Prompt: !
  • Line Location: DUPSQ+10
Function Call: WRITE
  • Prompt: !
  • Line Location: DUPSQ+11
Function Call: WRITE
  • Prompt: !!?5,"A total of ",ONCTTLDP," Accession/Sequence numbers with duplicates found.",!?5,"You may use the EA 'Edit Site/AccSeq # Data' option to fix duplicates.",!
  • Line Location: DUPSQ+13
Routine Call
  • DIC
  • Line Location:
    • PAT+1
Routine Call
  • DIC
  • Line Location:
    • PRIM+4
Routine Call
  • DIE
  • Line Location:
    • DIE1+3
Routine Call
  • DIR
  • Line Location:
    • EN2+6
    • EN3+6
    • SP+2
    • DUPSQ+9
    • DUPSQ+13

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ONCO(160 - [#160] Classic Fileman Calls
^ONCO(165.5 - [#165.5] Classic Fileman Calls,  GET1^DIQ
^DIC(4 - [#4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ONCO(164.2 - [#164.2] EN3+4
^ONCO(165.5 - [#165.5] EN2+2, EN2+8, EN2+9, EN2+10, EN2+11, DIE1+3, DIE1+7, DUPSQ+2, DUPSQ+4

Label References

Name Line Occurrences
DIE1 SP
DP EN2+8, EN3+7
EN1 SPSP+2
EN2 EN2+6, EN2+9, EN2+15
EN3 EN3+2, EN3+6, EN3+7
EX INQ+2, EN2+1, EN2+6, EN3+1, EN3+6, EN1+1, DIE1+4, DIE1+9
INQ INQ+3, INQ+5
PAT INQ+2, EN2+1, EN3+1, EN1+1
PRIM EN3+2, SPDIE1+4
SP SP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS EX+1!
ABSTAT DIE1+7*, DIE1+8, EX+1!
D PRIM+4*, EX+1!
D0 PRIM+3*, DIE1+1*, DIE1+6, PAT+2*, DP+2*, EX+1!
DA EN2+14*, DIE1+1*, PAT+3*, DP+2*, EX+1!
DIC PRIM+4*, PAT+1*!, PAT+3*, EX+1!
DIC(0 PRIM+4*, PAT+1*
DIE DIE1+1*, EX+1!
DIK EN2+14*, DP+2*, EX+1!
DIQ PAT+3!*, EX+1!
DIR DUPSQ+9!, DUPSQ+13!, EX+1!
DIR("A" EN2+5*, EN3+5*, SP+1*
DIR("B" EN2+6*, EN3+6*, SP+1*
DIR(0 EN2+6*, EN3+6*, SP+1*, DUPSQ+9*, DUPSQ+13*
DR DIE1+1*, PAT+3*, EX+1!
>> DUZ(2 INQ+4, EN2+8, PRIM+2
EAFLAG DIE1+8*, EX+1!
ONC PAT+3!, EX+1!
ONC(160 PAT+5, PAT+6, PAT+7, PAT+8
ONCACSQ DUPSQ+2*, DUPSQ+4, DUPSQ+7, DUPSQ+8, DUPSQ+11*, DUPSQ+12, DUPSQ+14!
ONCDIV EN2+11*, EN2+13, EX+1!
ONCDUPS DUPSQ+3*, DUPSQ+5*, DUPSQ+8, DUPSQ+14!
ONCOD0 INQ+3, EN2+2, EN2+8, EN2+9, EN2+10, EN2+14, PRIM+1, PRIM+3, PRIM+4, PAT+2*
PAT+3, PAT+5, PAT+6, PAT+7, PAT+8, DP+2, CLEANUP+1!
ONCOD0P DIE1+6*, DIE1+7, EX+2!
ONCODA EX+2!
ONCODP0 DIE1+1*, DIE1+3, EX+2!
ONCOL DIE1+2*, DIE1+3*, DIE1+4, EX+2!
ONCONM INQ+4, EN3+4, PRIM+2, PAT+2*, EX+2!
ONCOP0 EN2+8*, EN2+10*, EN2+11, EN3+3*, DP+1, DP+2, EX+2!
ONCOSIT EN3+3*, EN3+4, EX+2!
ONCOUT EX+2!
ONCPRLST DUPSQ+1!, DUPSQ+9, DUPSQ+14!
ONCPRLST( DUPSQ+7, DUPSQ+8*, DUPSQ+11, DUPSQ+12
ONCTTL DUPSQ+3*, DUPSQ+5*, DUPSQ+6, DUPSQ+14!
ONCTTLDP DUPSQ+1*, DUPSQ+7*, DUPSQ+13, DUPSQ+14!
>> ONCXD1 DUPSQ+12*
POP EX+2!
U EN2+6, EN2+11, EN3+3, EN3+4, EN3+6, SP+2, PRIM+4, DIE1+7, DUPSQ+12
UTL EN3+2*, SP*, PRIM+3, EX+2!
X PRIM+4*, DUPSQ+12*, EX+2!
Y INQ+2, EN2+1, EN2+6, EN3+1, EN3+2, EN3+3, EN3+6, EN1+1, SPSP+2
PRIM+1*, PRIM+4, DIE1+1, DIE1+5*, PAT+1, PAT+2, PAT+3~, EX+2!
Y(0 PAT+2
ZZIEN DUPSQ+4*, DUPSQ+5, DUPSQ+14!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All