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

Package: National Health Information Network

Routine: NHINVLRA


Information

NHINVLRA ;SLC/MKB -- Laboratory extract by accession

Source Information

Source file <NHINVLRA.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Lab Service 2 RR^LR7OR1  EN^LR7OSUM  
Kernel 1 ($$NS,$$STA)^XUAF4  
National Health Information Network 1 ($$ESC,$$FAC,$$STRING,$$VUID)^NHINV  
PCE Patient Care Encounter 1 $$GETENC^PXAPI  
VA FileMan 1 ($$GET1,GETS)^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: 1

Package Total Caller Graph
National Health Information Network 1 NHINVTIU  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,BEG,END,MAX,ID) ; -- find patient's lab results
CH() ; -- return a Chemistry result as:
; id^test^result^interpretation^units^low^high^loinc^vuid^order
; Expects ^TMP("LRRR",$J,DFN,"CH",NHIDT,NHI),LRDFN
MI() ; -- return a Microbiology result as:
; id^test^result^interpretation^units
; Expects ^TMP("LRRR",$J,DFN,"MI",NHIDT,NHI)
AP(LAB) ; -- return a Pathology result in LAB("attribute")=value
LOINC(TEST,SPEC) ; -- Look up LOINC code, if not mapped
ORDER(LABORD,TEST) ; -- return #100 order for Lab order# & Test
NAME(X) ; -- Return name of subscript X
RPT(DFN,ID,RPT) ; -- return report as a TIU document
TEXT(DFN,SUB,IDT) ; -- return report text as a string
XML(LAB) ; -- Return result as XML in @NHIN@(#)
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 EN+23, CH+8, AP+12, AP+13, LOINC+6
GETS^DIQ EN+21, LOINC+4
RR^LR7OR1 EN+12
EN^LR7OSUM TEXT+4
$$ESC^NHINV XML+12, XML+13, XML+14, LOOP+2
$$FAC^NHINV EN+26, AP+8, RPT+7
$$STRING^NHINV EN+32
$$VUID^NHINV CH+10
$$GETENC^PXAPI RPT+10
$$NS^XUAF4 EN+25
$$STA^XUAF4 EN+25

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
60.01 GET1^DIQ
^LAB(61 - [#61] GET1^DIQ,  GETS^DIQ
64.01 GETS^DIQ
^TIU(8925 - [#8925] GET1^DIQ
^LAB(95.3 - [#95.3] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] EN+4, RPT+4
^LAB(60 - [#60] CH+5, LOINC+3
^LR - [#63] EN+18, CH+4, AP+2, AP+6, AP+9, RPT+4
^LRO(69 - [#69] ORDER+2, ORDER+3, ORDER+4
^TMP("LRC" TEXT+2!, TEXT+5, TEXT+6, TEXT+7!
^TMP("LRH" TEXT+2!, TEXT+5, TEXT+7!
^TMP("LRRR" EN+5!, EN+13, EN+14, EN+28, EN+32, EN+34!, CH+4, MI+4
^TMP("LRT" TEXT+2!, TEXT+7!
^VA(200 - [#200] RPT+12

Label References

Name Line Occurrences
$$CH EN+29
$$LOINC CH+9
$$LOOP XML+9, XML+17
$$MI EN+29
$$NAME RPT+6, TEXT+3
$$ORDER CH+11
$$TEXT EN+27, AP+15, RPT+13
ADD XML+2, XML+3, XML+5, XML+9, XML+10, XML+17, XML+18
AP EN+15
XML EN+15, EN+33

Naked Globals

Name Field # of Occurrence
^( EN+14, AP+6, ORDER+4, TEXT+6
^("N" EN+32
^(0 ORDER+4

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, XML+14, XML+17
BEG EN~, EN+3*, EN+10*, EN+12
CDT RPT+9~*, RPT+10
CMMT EN+15!, EN+32*, CH+3~
D ORDER+1~, ORDER+2*, ORDER+3, ORDER+4
DATE TEXT+1~, TEXT+3*, TEXT+4
DFN EN~, EN+2*, EN+4, EN+5, EN+12, EN+13, EN+14, EN+27, EN+28, EN+32
, EN+34, CH+4, MI+4, AP+15, RPT~, RPT+1*, RPT+4, RPT+10, RPT+13, TEXT~
, TEXT+4
END EN~, EN+3*, EN+10*, EN+12
HLOC RPT+9~*, RPT+10
I AP+1~, AP+6*, AP+10*, AP+14, TEXT+1~, TEXT+5*, TEXT+6*, XML+7*, XML+8
ID EN~, EN+8, EN+9, RPT~, RPT+1*, RPT+3, RPT+5
IDT RPT+2~, RPT+3*, RPT+4, RPT+5, RPT+9, RPT+13, TEXT~, TEXT+3
IENS EN+20~*, EN+21, EN+22, LOINC+1~, LOINC+5*
LAB AP~, XML~
LAB( XML+3, XML+4, XML+7, XML+8, XML+11
LAB("collected" AP+4*
LAB("document" AP+14*
LAB("facility" AP+8*
LAB("groupName" AP+5*
LAB("id" AP+3*
LAB("resulted" AP+5*
LAB("specimen" AP+7*
LAB("status" AP+4*
LAB("type" AP+3*
LABORD ORDER~, ORDER+2, ORDER+3
LAM LOINC+1~, LOINC+3*, LOINC+4
LOINC CH+3~, CH+8*, CH+9*, CH+10
LR0 EN+1~, EN+18*, EN+19, EN+24, AP+1~, AP+2*, AP+5, RPT+2~, RPT+4*, RPT+7
, RPT+8, RPT+12
LRDFN EN+1~, EN+4*, EN+18, CH+4, AP+2, AP+6, AP+9, RPT+2~, RPT+4*, TEXT+1~
LT AP+11~, AP+12*, AP+14
MAX EN~, EN+3*, EN+12
NAME TEXT+1~, TEXT+3*, TEXT+5
NAMES XML+1~, XML+6*, XML+16*, LOOP+2
NHI EN+1~, EN+28*, EN+30, CH+4, CH+6, MI+4, MI+5
NHIDT EN+1~, EN+9*, EN+10, EN+14*, EN+16, EN+17, EN+18, EN+27, EN+28, EN+32
, CH+4, CH+6, MI+4, MI+5, AP+2, AP+3, AP+4, AP+6, AP+9, AP+15
NHIN LOINC+1~, ADD+2
NHIN( LOINC+5
>> NHINI ADD+1*, ADD+2
>> NHINTOTL XML+2*
NHITM EN+1~, EN+15!, EN+33
NHITM("collected" EN+17*
NHITM("comment" EN+32*
NHITM("content" EN+27*, AP+15*
NHITM("document" AP+15
NHITM("facility" EN+25*, EN+26*
NHITM("groupName" EN+24*
NHITM("id" EN+16*
NHITM("lab" EN+30*
NHITM("labOrderID" EN+31*
NHITM("resulted" EN+19*
NHITM("sample" EN+23*
NHITM("specimen" EN+22*
NHITM("status" EN+17*
NHITM("type" EN+16*
NHS TEXT+1~, TEXT+4
NHS( TEXT+3*
NHSUB EN+1~, EN+4*, EN+9*, EN+12, EN+13*, EN+14, EN+15, EN+16, EN+18, EN+27
, EN+28, EN+29, EN+32, AP+2, AP+3, AP+6, AP+9, AP+15
NHY EN+20~, TEXT+1~, TEXT+4
NHY(61 EN+22
NODE CH+3~, CH+4*, CH+8, AP+1~, AP+9*, AP+10
NT AP+11~, AP+13*, AP+14
ORD EN+1~, EN+31, CH+11*
P LOOP+1~, LOOP+2*
RPT RPT~
RPT("clinician" RPT+12*
RPT("content" RPT+13*
RPT("encounter" RPT+11*
RPT("facility" RPT+7*
RPT("id" RPT+5*
RPT("localTitle" RPT+6*
RPT("referenceDateTime" RPT+5*
RPT("status" RPT+6*
S ORDER+1~, ORDER+3*, ORDER+4
SPEC LOINC~, LOINC+2*, LOINC+4, LOINC+6
STR LOOP+1~*, LOOP+2*, LOOP+3
SUB RPT+2~, RPT+3*, RPT+4, RPT+6, RPT+13, TEXT~, TEXT+3
T ORDER+1~, ORDER+4*
TAG LOOP+1~, LOOP+2*
TEST LOINC~, LOINC+2*, LOINC+3, LOINC+6, ORDER~, ORDER+4
U EN+19, EN+22, EN+24, EN+25, CH+5, CH+6, CH+7, CH+8, CH+9, CH+10
, CH+11, MI+5, AP+5, AP+6, AP+7, AP+10, AP+14, LOINC+3, ORDER+4, RPT+7
, RPT+8, RPT+12, LOOP+2
X EN+1~, EN+19*, EN+20, EN+23, EN+24*, EN+25, EN+26, EN+29*, EN+30, CH+3~
, CH+5*, CH+6, CH+7*, CH+8*, CH+9*, CH+11*, AP+1~, AP+6*, AP+7, AP+10*
, AP+12, AP+13, AP+14, NAME~, NAME+1, NAME+2, NAME+3, NAME+4, NAME+5, NAME+6
, NAME+7, RPT+2~, RPT+7*, RPT+8*, RPT+9, RPT+10*, RPT+11, RPT+12*, TEXT+1~, TEXT+6*
, XML+1~, XML+8*, XML+11*, XML+12, XML+13, XML+14, XML+15, LOOP+2, ADD~, ADD+2
X0 CH+3~, CH+4*, CH+5, CH+6, CH+7, CH+9, CH+11, MI+3~, MI+4*, MI+5
Y CH+3~, CH+6*, CH+7*, CH+10*, CH+11*, CH+12, MI+3~, MI+4*, MI+5*, MI+6
, LOINC+1~*, LOINC+5*, LOINC+6*, LOINC+7, ORDER+1~*, ORDER+4*, ORDER+5, TEXT+1~, TEXT+5*, TEXT+6*
, TEXT+8, XML+1~, XML+3, XML+4*, XML+9*, XML+11*, XML+12*, XML+13*, XML+14*, XML+15*
, XML+17*
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