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

Package: PCC Medical Query

Routine: AMQQEMAN


Information

AMQQEMAN ; IHS/CMI/THL - Q-MAN TO DOS EXPORT UTILITY. BUILDS FLAT ASCII FILES ACCORDING TO SPECS. ;

Source Information

Source file <AMQQEMAN.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
PCC Medical Query 4 (,VAR)^AMQQEM1  (DATA,FIX,HLEN,MLEN)^AMQQEM11  ^AMQQEM2  (,NAME)^AMQQEM4  
Kernel 2 HOME^%ZIS  ($$DEL,$$LIST,CLOSE)^%ZISH  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
PCC Medical Query 4 AMQQCMPL  AMQQEM22  AMQQEM3  AMQQEM4  

Entry Points

Name Comments DBIA/ICR reference
CK ; EP FROM MANY ROUTINES
HLEN ; DEL FIELD LENGTH ; 9
ACCN ; ACCESSION NUMBER ; 11
RUN
MLEN ; DEL FIELD LENGTH ; 7
FWD
TYPE ; RECORD TYPE ; 5
FIX ; FIXED FIELD LENGTH ; 8
LEN ; RECORD LENGTH ; 4
MARK ; - EP -
HEADER
INIT
STUFF ; 3
EXIT ; - EP -
PATH ; PATH AND FILE...MSM ON ; 11
VAR
DEL ; DELIMITER CHARACTER ; 6
DATA ; ASSIGN DATA TYPE ; 10
BACKUP

External References

Name Field # of Occurrence
HOME^%ZIS INIT+1
$$DEL^%ZISH PATH+29
$$LIST^%ZISH PATH+19
CLOSE^%ZISH PATH+20, PATH+21
^AMQQEM1 VAR+1
VAR^AMQQEM1 VAR
DATA^AMQQEM11 DATA+3
FIX^AMQQEM11 FIX+3
HLEN^AMQQEM11 HLEN+4
MLEN^AMQQEM11 MLEN+3
^AMQQEM2 RUN+2
^AMQQEM4 RUN+3
NAME^AMQQEM4 VAR+2
^DIR STUFF+7, LEN+9, TYPE+10, DEL+9, ACCN+7, PATH+13, PATH+26

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Kernel variables not present...Session cancelled",*7,!!
  • Line Location: INIT+0
Function Call: WRITE
  • Prompt: !!,"The subject of your search must be a PATIENT or a VISIT to create an ASCI file.",!,*7,"Sorry...",!!!
  • Line Location: INIT+3
Function Call: WRITE
  • Prompt: @IOF,!!,?20,"***** E-MAN DATA EXPORT UTILITY *****"
  • Line Location: HEADER+0
Function Call: WRITE
  • Prompt: !!!,"You are about to create a flat, ASCII file in the MUMPS environment."
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: !,"This file will be imported by your analytic/graphic software (e.g., dBase)."
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: !!,"Before you create the file, please answer the following questions =>",!
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: "EXPORT TO WHAT APPLICATION",!
  • Line Location: STUFF+2
Function Call: WRITE
  • Prompt: !!,"---------",!!
  • Line Location: MARK+1
Function Call: WRITE
  • Prompt: "MAXIMUM RECORD LENGTH",!
  • Line Location: LEN+4
Function Call: WRITE
  • Prompt: "??",*7
  • Line Location: LEN+15
Function Call: WRITE
  • Prompt: "RECORD FORMAT",!
  • Line Location: TYPE+5
Function Call: WRITE
  • Prompt: "DELIMITER CHARACTER",!
  • Line Location: DEL+4
Function Call: WRITE
  • Prompt: " ??",*7
  • Line Location: DEL+15
Function Call: WRITE
  • Prompt: "MAKE THE FIRST FIELD A SEQUENTIAL NUMBER",!
  • Line Location: ACCN+2
Routine Call
  • %ZIS
  • Line Location:
    • INIT+1
Routine Call
  • DIR
  • Line Location:
    • STUFF+7
    • LEN+9
    • TYPE+10
    • DEL+9
    • ACCN+7
    • PATH+13
    • PATH+26

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMQQ(3 - [#9009073] STUFF+13, STUFF+15
^AMQQ(8 - [#9009078] PATH+2, PATH+11, PATH+17
^DD("OS" - [#.7] PATH+1

Label References

Name Line Occurrences
@( RUN+1
BACKUP LEN+12, TYPE+13, DEL+12, ACCN+10
CK LEN+13, TYPE+14, DEL+13, ACCN+11
DEL DEL+15
FWD STUFF+12, STUFF+14, LEN+17, TYPE+16, TYPE+18, DEL+16, ACCN+13
LEN LEN+15
MARK STUFF+1, LEN+3, TYPE+4, DEL+3, ACCN+1
PATH PATH+28, VAR+3
VAR PATH+20

Naked Globals

Name Field # of Occurrence
^(2 STUFF+15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % INIT+2*, INIT+3, LEN+1*, LEN+2, TYPE+1*, TYPE+2, TYPE+3, DEL+1*, DEL+2, MLEN+1*
, MLEN+2, FIX+1*, FIX+2, HLEN+1*, HLEN+2, DATA+1*, DATA+2
%ZA EXIT+1!
%ZB EXIT+1!
A EXIT+1!
>> AMQQCCLS INIT+2
AMQQEFN EXIT+1!
AMQQEM EXIT+1!
AMQQEM("ACCN" ACCN+3, ACCN+14*
AMQQEM("DATA" DATA+2*
AMQQEM("DATE FORMAT" , STUFF+15*
AMQQEM("DEL" TYPE+16!, DEL+2*, DEL+5, DEL+17*
AMQQEM("FIX" TYPE+2!, TYPE+17!, FIX+2*, HLEN+3
AMQQEM("FORMAT" VAR+2
AMQQEM("HLEN" TYPE+3!, HLEN+2*, HLEN+3*
AMQQEM("LEN" LEN+2*, LEN+5, LEN+16*
AMQQEM("MLEN" TYPE+3!, TYPE+16!, MLEN+2*
AMQQEM("STUFF" STUFF+10!, STUFF+12!, STUFF+13*, LEN+1, TYPE+1, DEL+1, MLEN+1, FIX+1, HLEN+1, DATA+1
AMQQEM("TYPE" TYPE+2*, TYPE+3*, TYPE+6, TYPE+16*, TYPE+19*
AMQQEMFS EXIT+1!
AMQQEMI EXIT+1!
AMQQEMN EXIT+1!
AMQQEMP EXIT+1!
AMQQEMS EXIT+1!, INIT+4*, FWD*, BACKUP, BACKUP+1*
AMQQEMX EXIT+1!
AMQQEMZ EXIT+1!
AMQQERUN RUN+1*, RUN+4!, FWD, BACKUP*, TYPE+3*, TYPE+16*, MLEN+2*
>> AMQQEX("FILE" PATH+16*, PATH+19, PATH+29
>> AMQQEX("PATH" PATH+2*, PATH+3, PATH+17*, PATH+19, PATH+29
AMQQFNMP VAR+3!
AMQQQUIT RUN+1, RUN+2, RUN+3, RUN+4!, INIT*, INIT+3*, STUFF+11*, CK+1*, LEN+14, TYPE+15
, DEL+14, ACCN+12, PATH+7*, PATH+15*, VAR+2, VAR+3!
C EXIT+1!
DIR STUFF+8!, LEN+10!, TYPE+11!, DEL+10!, ACCN+8!, PATH+8!, PATH+14!, PATH+27!
DIR("?" LEN+8*, DEL+8*, ACCN+6*
DIR("??" STUFF+6*, TYPE+7*
DIR("A" STUFF+4*, LEN+7*, TYPE+9*, DEL+7*, ACCN+5*, PATH+10*, PATH+11*, PATH+23*
DIR("B" STUFF+5*, LEN+5*, TYPE+6*, DEL+5*, ACCN+3*, PATH+24*
DIR(0 STUFF+3*, LEN+6*, TYPE+8*, DEL+6*, ACCN+4*, PATH+9*, PATH+22*
DIROUT EXIT+1!, STUFF+11!, CK+1!
DIRUT EXIT+1!, STUFF+9*, STUFF+11!, CK+1!, LEN+11*, TYPE+12*, DEL+11*, ACCN+9*
DTOUT EXIT+1!, STUFF+11!, CK+1!
DUOUT EXIT+1!, STUFF+9, STUFF+11!, CK+1!, LEN+11, TYPE+12, DEL+11, ACCN+9, VAR+3!
DUZ(2 INIT, PATH+2, PATH+11, PATH+17
G EXIT+1!
H EXIT+1!
I EXIT+1!
IOF HEADER
IOSL INIT+1
J EXIT+1!
N EXIT+1!
P EXIT+1!
POP PATH+18!, PATH+19*
POP(1 PATH+20
T EXIT+1!
U RUN*, RUN+1, FWD, BACKUP, BACKUP+1, LEN+1, LEN+12, TYPE+1, TYPE+13, DEL+1
, DEL+12, MLEN+1, FIX+1, HLEN+1, DATA+1, ACCN+10, PATH+2, PATH+11, PATH+15, PATH+17
W EXIT+1!
X EXIT+1!, STUFF+10, STUFF+11, CK+1, LEN+12, TYPE+13, DEL+12, ACCN+10, PATH+15, PATH+16
, PATH+29*
Y EXIT+1!, STUFF+12, STUFF+13, STUFF+15, LEN+15, LEN+16, TYPE+16, DEL+15, DEL+17, ACCN+14
, PATH+28
Z EXIT+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All