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

Package: Clinical Procedures

Routine: MDRPCOO


Information

MDRPCOO ; HOIFO/DP - Object RPCs (TMDOutput) ; [03-24-2003 15:44]

Source Information

Source file <MDRPCOO.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
VA FileMan 5 LIST^DIC  $$GET1^DID  CLEAN^DILF  $$VFIELD^DILFD  GETS^DIQ  
Clinical Procedures 3 INST^MDHL7U2  RPC^MDRPCOV  BADRPC^MDRPCU  
Kernel 2 ($$DEL,$$FTG,CLOSE,OPEN)^%ZISH  $$KSP^XUPARAM  
Toolkit 1 ($$GET,GETLST,GETWP)^XPAR  

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
Clinical Procedures 1 MD TMDOUTPUT  

Entry Points

Name Comments DBIA/ICR reference
ANALYZE ; [Procedure] Analyze an insturment interface
; Checks the CP instrument file for completeness of an entry.
; Special Note, variable RTN actually contains the IEN of the
; entry.
DIQ(DD,IENS) ; [Procedure] Gather data about an entry
; Input parameters
; 1. DD [Literal/Required] DDNumber
; 2. IENS [Literal/Required] IENS of entry to retrieve
EXECUTE ; [Procedure] Execute the output
EXIT ; [Procedure] Cleanup
HFSCLOSE(HANDLE) ; [Procedure]
; Input parameters
; 1. HANDLE [Literal/Required] File Handle
HFSOPEN(HANDLE) ; [Procedure] Open Host File for output
; Input parameters
; 1. HANDLE [Literal/Required] File Handle
INIT ; [Procedure] Cleanup environment before starting
INST(IEN) ; [Procedure] Display Instrument
; Input parameters
; 1. IEN [Literal/Required] Instrument IEN or * for all
LINE(DD,IENS,FIELD,COL,TITLE) ; [Procedure] Display a default line of a field loaded from DIQ above
; Input parameters
; 1. DD [Literal/Required] DD Number
; 2. IENS [Literal/Required] Record IENS
; 3. FIELD [Literal/Required] Field number
; 4. COL [Literal/Required] Column for data
; 5. TITLE [Literal/Required] Use FileMan TITLE:1 or LABEL:0
PAR ; [Procedure] Display System Parameters
; Variables:
; MD: [Private] Scratch
; MDLST: [Private] Scratch
; MDMULT: [Private] Scratch
; MDPAR: [Private] Scratch
; MDWP: [Private] Scratch
PROC(IEN) ; [Procedure] Display a procedure
; Input parameters
; 1. IEN [Literal/Required] Procedure IEN or * for all
RPC(RESULTS,OPTION,RTN) ; [Procedure] Main RPC for TMD_Output Object
; RPC: [MD TMDOUTPUT]
EXT(VALUE,LENGTH) ; [Function] $Extract with ... trailer
; Input parameters
; 1. VALUE [Literal/Required] Value to truncate
; 2. LENGTH [Literal/Required] Result length

External References

Name Field # of Occurrence
$$DEL^%ZISH HFSCLOSE+17
$$FTG^%ZISH HFSCLOSE+15
CLOSE^%ZISH HFSCLOSE+11
OPEN^%ZISH HFSOPEN+12
LIST^DIC INST+11, PROC+6, PROC+21
$$GET1^DID LINE+10
CLEAN^DILF RPC+11
$$VFIELD^DILFD LINE+8
GETS^DIQ DIQ+6
INST^MDHL7U2 ANALYZE+10
RPC^MDRPCOV PAR+11
BADRPC^MDRPCU RPC+10
$$GET^XPAR HFSCLOSE+13, HFSOPEN+10, PAR+21
GETLST^XPAR PAR+28
GETWP^XPAR PAR+22
$$KSP^XUPARAM PAR+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $$LINE(702.09,IEN_",",.01,0,1),!!
  • Line Location: INST+15
Function Call: WRITE
  • Prompt: $S($G(TITLE):$$GET1^DID(DD,FIELD,"","TITLE"),1:$$GET1^DID(DD,FIELD,"","LABEL"))
  • Line Location: LINE+10
Function Call: WRITE
  • Prompt: ": ",?($G(COL,0)),$S(^TMP($J,DD,IENS,FIELD)]"":^(FIELD),1:"<Blank>")
  • Line Location: LINE+11
Function Call: WRITE
  • Prompt: "System Parameters For: ",$$KSP^XUPARAM("WHERE")
  • Line Location: PAR+10
Function Call: WRITE
  • Prompt: !," Value: ",$$GET^XPAR("SYS",MDPAR,,"E")
  • Line Location: PAR+21
Function Call: WRITE
  • Prompt: !?2,MDWP(X,0)
  • Line Location: PAR+24
Function Call: WRITE
  • Prompt: $$LINE(702.01,IEN_",",.01,0,1),!
  • Line Location: PROC+16
Function Call: WRITE
  • Prompt: !!,"Associated Instruments",!,$TR($J("",30)," ","-"),!
  • Line Location: PROC+20
Function Call: WRITE
  • Prompt: ?5,"<None>"
  • Line Location: PROC+22
Function Call: WRITE
  • Prompt: $P(^(X,0),U,2),!
  • Line Location: PROC+23
Routine Call
  • DIC
  • Line Location:
    • INST+11
    • PROC+6
    • PROC+21

Used in RPC

RPC Name Call Tags
MD TMDOUTPUT RPC

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MDS(702.01 - [#702.01] LIST^DIC
702.011 LIST^DIC
^MDS(702.09 - [#702.09] LIST^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("DILIST" EXIT+1!, INIT+1!, INST+12, PROC+7, PROC+19!, PROC+22, PROC+23, PROC+24!
^TMP("MD" RPC+8
^TMP($J DIQ+5!, DIQ+6, EXIT+1!, INIT+1!, INST+16, LINE+11, PAR+12, PAR+13, PAR+14, PAR+15
PAR+17, PAR+18, PAR+19, PAR+34!, PROC+17, PROC+19!

Label References

Name Line Occurrences
$$EXT INST+13, PROC+9, PROC+10, PROC+11, PROC+12
$$LINE INST+15, INST+17, PROC+16, PROC+18
@( EXECUTE+4, RPC+9
DIQ INST+14, PROC+15
EXIT EXECUTE+6
HFSCLOSE EXECUTE+5
HFSOPEN EXECUTE+2
INIT EXECUTE+1

Naked Globals

Name Field # of Occurrence
^( INST+12, LINE+11, PROC+9, PROC+23
^(0 PROC+10, PROC+11, PROC+12, PROC+13, PROC+14

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
COL LINE~, LINE+11
DD DIQ~, DIQ+6, LINE~, LINE+8, LINE+10, LINE+11
DUZ HFSCLOSE+14, HFSOPEN+11
FIELD LINE~, LINE+8, LINE+10, LINE+11
HANDLE HFSCLOSE~, HFSCLOSE+11, HFSOPEN~, HFSOPEN+12
IEN INST~, INST+9, INST+14, INST+15, INST+16, INST+17, PROC~, PROC+4, PROC+15, PROC+16
, PROC+17, PROC+18, PROC+21
IENS DIQ~, DIQ+6, LINE~, LINE+11
IO EXECUTE+4
LENGTH EXT~, EXT+5
MD PAR+9~, PAR+12*, PAR+13, PAR+14, PAR+15, PAR+17, PAR+18, PAR+19
MDDEL HFSCLOSE+10~, HFSCLOSE+17
MDDEL( HFSCLOSE+14*
MDDIR HFSCLOSE+10~, HFSCLOSE+13*, HFSCLOSE+15, HFSCLOSE+17, HFSOPEN+9~, HFSOPEN+10*, HFSOPEN+12
MDDX INST+8~, INST+12*, INST+13
MDFILE HFSCLOSE+10~, HFSCLOSE+14*, HFSCLOSE+15, HFSOPEN+9~, HFSOPEN+11*, HFSOPEN+12
MDLST PAR+9~, PAR+28
MDLST( PAR+29, PAR+30, PAR+31
MDMULT PAR+9~, PAR+14*, PAR+20, PAR+25
MDPAR PAR+9~, PAR+13*, PAR+16, PAR+21, PAR+22, PAR+28
MDTMP ANALYZE+9~, ANALYZE+10, ANALYZE+11
MDTMP( ANALYZE+12, ANALYZE+13
MDTMP(0 ANALYZE+11
MDWP PAR+9~, PAR+15*, PAR+21, PAR+22!, PAR+26
MDWP( PAR+24
OPTION RPC~, RPC+9, RPC+10
>> POP EXECUTE+3, HFSOPEN+12
RESULTS ANALYZE+11, ANALYZE+13, EXECUTE+3, HFSCLOSE+12, HFSCLOSE+15, HFSCLOSE+16, RPC~, RPC+8*, RPC+10
RTN ANALYZE+10, EXECUTE+4, RPC~
TITLE LINE~, LINE+10
U ANALYZE+11, INST+13, PAR+13, PAR+14, PAR+15, PAR+17, PAR+18, PAR+19, PAR+31, PROC+9
, PROC+10, PROC+11, PROC+12, PROC+13, PROC+14, PROC+23
VALUE EXT~, EXT+5*, EXT+6
>> X ANALYZE+12*, ANALYZE+13, HFSCLOSE+15*, HFSCLOSE+17*, INST+12*, INST+16*, INST+17, PAR+11, PAR+24*, PAR+29*
PAR+30, PAR+31, PROC+7*, PROC+9, PROC+17*, PROC+18, PROC+23*
>> Y HFSCLOSE+16*

Marked Items

Name Field # of Occurrence
$T(@OPTION RPC+9
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All