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

Package: Imaging

Routine: MAGGSIV1


Information

MAGGSIV1 ;WOIFO/GEK - Imaging Validate Data ; [ 08/15/2004 08:57 ]

Source Information

Source file <MAGGSIV1.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA FileMan 6 MSG^DIALOG  FIELD^DID  CHK^DIE  CLEAN^DILF  ($$EXTERNAL,$$VFIELD)^DILFD  ($$GET1,GETS)^DIQ  
Imaging 1 LOGERR^MAGGTERR  
Kernel 1 $$EC^%ZOSV  

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
Imaging 7 MAGGNTI1  MAGGSFL1  MAGGSIA  MAGGSIUI  MAGGSIV  MAGGTIA1  MAGGTU6  

Entry Points

Name Comments DBIA/ICR reference
VALID(MAGF,MAGL,MAGD,MAGRES) ; call to validate value for field in a FM file.
; Function is boolean. Returns:
; 0 - Invalid
; 1 - Valid
; "" - Error
; Call this function before you set the FDA Array.
; MAGD - sent by reference because it could be Internal or External
; and if it is external and valid, it is changed to Internal.
;
; MAGF : File Number
; MAGL : Field Number
; MAGD : (sent by reference) data value of field
; MAGRES: (sent by reference) Result message
VALINDEX(MAGRY,TYPE,SPEC,PROC) ; Validate the interdependency of Index Terms.
; MAGRY is the return array
; MAGRY(0)="1^Okay" or "0^error message"
; MAGRY(1..n) Information about the Type,Spec and Proc
;
; Validate the Procedure/Event <-> Specialty/SubSpecialty interdependency
; Assure the TYPE is a Clinical TYPE.
; Assure all are Active.
ERR ;

External References

Name Field # of Occurrence
$$EC^%ZOSV ERR+2
MSG^DIALOG VALID+32
FIELD^DID VALID+19
CHK^DIE VALID+28
CLEAN^DILF ERR+6
$$EXTERNAL^DILFD VALID+24
$$VFIELD^DILFD VALID+17
$$GET1^DIQ VALINDEX+42, VALINDEX+50
GETS^DIQ VALINDEX+24, VALINDEX+32, VALINDEX+41
LOGERR^MAGGTERR ERR+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MAG(2005.83 - [#2005.83] GET1^DIQ,  GETS^DIQ
^MAG(2005.84 - [#2005.84] GETS^DIQ
^MAG(2005.85 - [#2005.85] GET1^DIQ,  GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("ERRTN" ERR+5
^MAG(2005.85 - [#2005.85] VALINDEX+54, VALINDEX+55

Label References

Name Line Occurrences
$$VALID VALINDEX+18, VALINDEX+19, VALINDEX+20
@( ERR+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARR VALINDEX+8~, VALINDEX+24!, VALINDEX+32!, VALINDEX+41!
ARR( VALINDEX+25, VALINDEX+26, VALINDEX+27, VALINDEX+33, VALINDEX+34, VALINDEX+35, VALINDEX+36, VALINDEX+43, VALINDEX+44
CLS VALINDEX+8~, VALINDEX+50*
ERR ERR+1~, ERR+2*, ERR+3, ERR+4
MAGD VALID~, VALID+23, VALID+24, VALID+25, VALID+28, VALID+30*
MAGE VALID+15~
MAGF VALID~, VALID+17, VALID+18, VALID+19, VALID+24, VALID+25, VALID+28
MAGL VALID~, VALID+17, VALID+18, VALID+19, VALID+24, VALID+25, VALID+28
MAGMSG VALID+15~
MAGPT VALID+15~, VALID+23, VALID+24*, VALID+25*
MAGR VALID+15~, VALID+28, VALID+30
MAGRES VALID~, VALID+18*, VALID+24*, VALID+25*, VALID+33*, ERR+3*
MAGRESA VALID+15~, VALID+32
MAGRESA(1 VALID+33
MAGRY VALINDEX~, VALINDEX+9!
MAGRY(0 VALINDEX+14*, VALINDEX+18*, VALINDEX+19*, VALINDEX+20*, VALINDEX+22*, VALINDEX+30*, VALINDEX+39*, VALINDEX+48*, VALINDEX+51*, VALINDEX+52*
, VALINDEX+54*, VALINDEX+56*, VALINDEX+58*
MAGRY(1 VALINDEX+25*, VALINDEX+26*
MAGRY(2 VALINDEX+33*, VALINDEX+34*, VALINDEX+35*
MAGRY(4 VALINDEX+42*, VALINDEX+43*
MAGSP VALID+15~
MAGSP("SPECIFIER" VALID+23
OK VALINDEX+8~, VALINDEX+22, VALINDEX+23*, VALINDEX+27*, VALINDEX+30, VALINDEX+31*, VALINDEX+36*, VALINDEX+39, VALINDEX+40*, VALINDEX+44*
PROC VALINDEX~, VALINDEX+10*, VALINDEX+12*, VALINDEX+14, VALINDEX+19, VALINDEX+39, VALINDEX+40, VALINDEX+42, VALINDEX+48, VALINDEX+52
, VALINDEX+54, VALINDEX+55
PRX VALINDEX+8~, VALINDEX+40*, VALINDEX+41, VALINDEX+43, VALINDEX+44
RES VALINDEX+8~, VALINDEX+18, VALINDEX+19, VALINDEX+20
SPEC VALINDEX~, VALINDEX+10*, VALINDEX+13*, VALINDEX+14, VALINDEX+20, VALINDEX+30, VALINDEX+31, VALINDEX+48, VALINDEX+52, VALINDEX+55
SPX VALINDEX+8~, VALINDEX+31*, VALINDEX+32, VALINDEX+33, VALINDEX+34, VALINDEX+35, VALINDEX+36
TYPE VALINDEX~, VALINDEX+10*, VALINDEX+11*, VALINDEX+14, VALINDEX+18, VALINDEX+22, VALINDEX+23, VALINDEX+50
TYX VALINDEX+8~, VALINDEX+23*, VALINDEX+24, VALINDEX+25, VALINDEX+26, VALINDEX+27

Marked Items

Name Field # of Occurrence
$T( VALID+14
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All