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

Package: VBECS

Routine: VBECDCR


Information

VBECDCR ;hoifo/gjc-data conversion & pre-implementation reporting mechanism;Nov 21, 2002

Source Information

Source file <VBECDCR.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 5 $$NEWERR^%ZTER  $$S^%ZTLOAD  ($$DT,$$FMTE)^XLFDT  $$CJ^XLFSTR  EN^XUTMDEVQ  
VA FileMan 4 FILE^DID  $$EXTERNAL^DILFD  ^DIR  ^DIWP  

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

Package Total Caller Graph
VBECS 1 VBEC INVALID DATA REPORT  

Entry Points

Name Comments DBIA/ICR reference
EN ; entry point for anomaly report
START ; display the data
ERRTOT ; print error total for each file
XIT ; cleanup after yourself before you go...
EOS ; end of screen check & refresh screen action
HDR ; draw header
NAME(FILE,IEN) ; Using file number and ien, determine the value of the .01
; field and pass it back (along with the data descriptor).
; input: FILE-file number, either 2, 63, 65, or 66
; IEN-internal entry number of the record in question
; output: (examples) Patient Name: Doe,John, Lab Data ID: 12345,
; Unit ID: ABC123, Blood Component: CPDA-1 RED BLOOD CELLS

External References

Name Field # of Occurrence
$$NEWERR^%ZTER EN+5
$$S^%ZTLOAD START+27
FILE^DID START+31, START+32
$$EXTERNAL^DILFD START+24, START+33
^DIR EOS+1
^DIWP START+34
$$DT^XLFDT START+21
$$FMTE^XLFDT START+21
$$CJ^XLFSTR HDR+2
EN^XUTMDEVQ EN+18

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?3,$C(7),"DUZ & DUZ(0) must be defined to an active user (not POSTMASTER) in order to",!?3,"proceed."
  • Line Location: EN+2
Function Call: WRITE
  • Prompt: !!,"Task Number: "_ZTSK,!
  • Line Location: EN+19
Function Call: WRITE
  • Prompt: !
  • Line Location: START+51
Function Call: WRITE
  • Prompt: !
  • Line Location: START+53
Function Call: WRITE
  • Prompt: !
  • Line Location: ERRTOT+1
Function Call: WRITE
  • Prompt: !,"Total number of anomalies for file "_I_": "_$G(ERRTOT(I))
  • Line Location: ERRTOT+2
Function Call: WRITE
  • Prompt: !,$$CJ^XLFSTR("VistA Blood Bank Data Anomalies Report",80)
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,"Date: ",TODAY,?69,"Page: ",PAGE
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,"Process initiated by: "_$E(VBECX(4),1,25),?49,"Process: "_VBECX(2)
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,"Start time: "_VBECX(1),?49,"Finish time: "_VBECX(3),!,LINE
  • Line Location: HDR+5
Routine Call
  • DIR
  • Line Location:
    • EOS+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VBEC(6001 - [#6001] EXTERNAL^DILFD
6001.01 EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" EN+6
^DPT - [#2] NAME+7
^LAB(66 - [#66] NAME+10
^LR - [#63] NAME+8
^LRD(65 - [#65] NAME+9
^UTILITY($J START+52, START+54, START+56!, XIT+1!
^VBEC(6001 - [#6001] EN+10, EN+11, START+22, START+26, START+28

Label References

Name Line Occurrences
$$NAME START+37, START+40
EOS START+36, START+39, START+43, START+46, START+49, START+51, START+53, ERRTOT+1
HDR START+25

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A START+50*, START+52*, START+54, START+56!, XIT+1!
DIR EOS+1!
DIR(0 EOS+1*
DIRUT XIT+1!
DIW START+56!, XIT+1!
DIWF START+34*, START+56!, XIT+1!
DIWI START+56!, XIT+1!
DIWL START+34*, START+52, START+54, START+56!, XIT+1!
DIWR START+34*, START+56!, XIT+1!
DIWT START+56!, XIT+1!
DIWTC START+56!, XIT+1!
DIWX START+56!, XIT+1!
DN START+56!, XIT+1!
DTOUT XIT+1!
DUOUT XIT+1!
DUZ EN+2
DUZ(0 EN+2
ERRTOT XIT+1!
ERRTOT( START+30*, ERRTOT+2
FILE NAME~, NAME+7, NAME+8, NAME+9, NAME+10
I START+23*, START+24*, START+29*, ERRTOT+2*, XIT+1!
IEN NAME~, NAME+7, NAME+8, NAME+9, NAME+10
IOF HDR+1
IOSL START+36, START+39, START+43, START+46, START+49, START+51, START+53, ERRTOT+1
IOST EOS+1, HDR+1
LINE START+21*, XIT+1!, HDR+5
PAGE START+20*, XIT+1!, HDR+1, HDR+3*
TODAY START+21*, XIT+1!, HDR+3
U START+20*, START+23, START+29, NAME+7, NAME+8, NAME+9, NAME+10
VBEC XIT+1!
VBEC( START+23*, START+24
VBEC(0 START+22*, START+23
VBEC1 START+20*, START+26*, START+28, XIT+1!
VBEC1A START+56!, XIT+1!
VBEC1A( START+29*
VBEC1A(1 START+30, START+31, START+35, START+37
VBEC1A(2 START+37
VBEC1A(3 START+32, START+38, START+40
VBEC1A(4 START+40
VBEC1A(5 START+41, START+42, START+44
VBEC1A(6 START+42, START+45
VBEC1A(7 START+33, START+47
VBEC1A(8 START+48
VBEC1A(9 START+34
VBECD EN+17*, EN+18, EN+20!
VBECERR XIT+1!
VBECERR(0 START+28*, START+29
VBECFR START+56!, XIT+1!
VBECFR("NAME" START+35
VBECIEN EN+10*, EN+11, EN+12!, EN+20!, START+22, START+26, START+28
VBECOMP START+33*, START+47, START+56!, XIT+1!
VBECR EN+16*, EN+18, EN+20!
VBECS EN+18, EN+20!
VBECS("DUZ" EN+16*
VBECS("VBECIEN" EN+16*
VBECSTOP START+20*, START+26, START+27*, XIT+1!
VBECTO START+56!, XIT+1!
VBECTO("NAME" START+38
VBECX XIT+1!
VBECX( START+24*
VBECX(1 HDR+5
VBECX(2 HDR+4
VBECX(3 HDR+5
VBECX(4 HDR+4
VBECXIT START+20*, START+26, START+36, START+39, START+43, START+46, START+49, START+51, START+52, START+53
, ERRTOT+1, XIT+1!, EOS+1*, EOS+2
VBECZ EN+17*, EN+20!
X EN+6*, START+34*, START+56!, XIT+1!, EOS+1!
Y EOS+1!
Z START+56!, XIT+1!
>> ZTQUEUED START+20
>> ZTREQ START+20*
ZTSK EN+19, EN+20!
>> ZTSTOP START+27*
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