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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: NHINVRA

Package: National Health Information Network

Routine: NHINVRA


Information

NHINVRA ;SLC/MKB -- Radiology extract

Source Information

Source file <NHINVRA.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Radiology Nuclear Medicine 2 EN1^RAO7PC1  EN3^RAO7PC3  
CPT HCPCS Codes 1 ($$CPT,$$CPTD)^ICPTCOD  
National Health Information Network 1 ($$ESC,$$FAC)^NHINV  
VA FileMan 1 $$GET1^DIQ  

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

Package Total Caller Graph
National Health Information Network 2 NHINVPRC  NHINVTIU  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,BEG,END,MAX,ID) ; -- find patient's radiology exams
EN1(ID,EXM) ; -- return an exam in EXM("attribute")=value
; Expects ^TMP($J,"RAE1",DFN,ID) from EN1^RAO7PC1
CPT(IEN) ; -- return code^description for CPT code, or "^" if error
RPT(DFN,ID,RPT) ; -- return report as a TIU document
XML(EXM) ; -- Return exams as XML
LOOP() ; -- build sub-items string from NAMES and X
ADD(X) ; -- Add a line @NHIN@(n)=X

External References

Name Field # of Occurrence
$$GET1^DIQ EN1+18, EN1+19, RPT+11, RPT+14, RPT+15
$$CPT^ICPTCOD CPT+2
$$CPTD^ICPTCOD CPT+4
$$ESC^NHINV XML+12, LOOP+2
$$FAC^NHINV EN1+10, RPT+12
EN1^RAO7PC1 EN+4
EN3^RAO7PC3 RPT+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
70.02 GET1^DIQ
70.03 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC("B" EN1+9
^TMP($J EN+4!, EN+11, EN+14!, EN1+3, EN1+15, RPT+5, RPT+6, RPT+7, RPT+17!
^VA(200 - [#200] EN1+20, RPT+16

Label References

Name Line Occurrences
$$CPT EN1+14
$$LOOP XML+9, XML+13
ADD XML+2, XML+3, XML+6, XML+9, XML+10, XML+14
EN1 EN+7, EN+12
XML EN+7, EN+13

Naked Globals

Name Field # of Occurrence
^( RPT+5, RPT+6, RPT+7
^("CMOD" EN1+15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ATT XML+1~, XML+3*, XML+4, XML+5, XML+6, XML+7, XML+8, XML+9, XML+10, XML+11
, XML+12, XML+13
BEG EN~, EN+3*, EN+4
CASE RPT+2~, RPT+5*, RPT+6, RPT+7
DATE EN1+2~, EN1+5*
DFN EN~, EN+2*, EN+4, EN+11, EN1+3, EN1+12, EN1+15, RPT~, RPT+1*, RPT+3
, RPT+4~, RPT+5, RPT+6, RPT+7, RPT+11, RPT+17
END EN~, EN+3*, EN+4
EXAM RPT+2~, RPT+3*, RPT+4
EXM EN1~, EN1+2!, XML~
EXM( XML+3, XML+5, XML+7, XML+8, XML+11
EXM("case" EN1+4*
EXM("category" EN1+21*
EXM("dateTime" EN1+5*
EXM("document" EN1+6*
EXM("encounter" EN1+18*
EXM("facility" EN1+10*
EXM("hasImages" EN1+16*
EXM("id" EN1+4*
EXM("imagingType" EN1+11*
EXM("interpretation" EN1+17*
EXM("location" EN1+9*
EXM("modifier" EN1+15*
EXM("name" EN1+4*
EXM("provider" EN1+20*
EXM("status" EN1+7*
EXM("type" EN1+14*
I CPT+1~, CPT+6*, CPT+7*, RPT+2~, RPT+6*, RPT+7*, XML+7*, XML+8
ID EN~, EN+7, EN1~, EN1+3, EN1+4, EN1+5, EN1+6, EN1+12, EN1+15, RPT~
, RPT+1*, RPT+3, RPT+8, RPT+9, RPT+11, RPT+13
IEN CPT~, CPT+1*, CPT+2
IENS EN1+2~, EN1+12*, EN1+18, EN1+19, RPT+2~, RPT+11*, RPT+13*, RPT+14, RPT+15
LOC EN1+2~, EN1+8*, EN1+9*, EN1+10
MAX EN~, EN+3*, EN+4, EN+11
N CPT+1~, CPT+4*, CPT+5
NAMES XML+1~, XML+4*, LOOP+2
NHICNT EN+1~, EN+10*, EN+11, EN+13*
>> NHIN ADD+2
>> NHINI ADD+1*, ADD+2
>> NHINTOTL XML+2*
NHITM EN+1~, EN+7, EN+12!, EN+13
NHMOD EN1+2~
NHX CPT+1~
NHX( CPT+7
NHX(1 CPT+5, CPT+6
NHXID EN+1~, EN+10*, EN+11*, EN+12
P LOOP+1~, LOOP+2*
PROC RPT+2~, RPT+5*, RPT+6, RPT+7, RPT+10
RPT RPT~
RPT("clinician" RPT+16*
RPT("content" RPT+8*
RPT("encounter" RPT+14*
RPT("facility" RPT+12*
RPT("id" RPT+8*
RPT("localTitle" RPT+10*
RPT("referenceDateTime" RPT+9*
RPT("status" RPT+10*
STR LOOP+1~*, LOOP+2*, LOOP+3
TAG LOOP+1~, LOOP+2*
U EN1+4, EN1+6, EN1+7, EN1+8, EN1+9, EN1+11, EN1+13, EN1+16, EN1+17, EN1+20
, CPT+3, CPT+4, CPT+8, RPT+3, RPT+10, RPT+16, LOOP+2
VPR EN1+2~
VPRN EN1+2~
X EN1+2~, EN1+8*, EN1+9, EN1+11*, EN1+13*, EN1+14, EN1+19*, EN1+20, CPT+1~, CPT+6*
, CPT+7*, CPT+8, RPT+2~, RPT+7*, RPT+9*, RPT+11*, RPT+12, RPT+15*, RPT+16, XML+1~
, XML+8*, XML+11*, XML+12, XML+13, LOOP+2, ADD~, ADD+2
X0 EN1+2~, EN1+3*, EN1+4, EN1+6, EN1+7, EN1+8, EN1+11, EN1+13, EN1+16, EN1+17
, CPT+1~, CPT+2*, CPT+3, RPT+2~, RPT+5*, RPT+10
Y EN1+2~, CPT+1~, CPT+3*, CPT+4, CPT+8*, CPT+9, RPT+2~, RPT+6*, RPT+7*, RPT+8
, XML+1~, XML+3, XML+5*, XML+9*, XML+11*, XML+12*, XML+13*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All