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

Package: Automated Lab Instruments

Routine: LA7QRY1


Information

LA7QRY1 ;VA/DALOI/JMC - Lab HL7 Query Utility ; 13-Aug-2013 09:09 ; MKK

Source Information

Source file <LA7QRY1.m>

Call Graph

Call Graph Total: 15

Package Total Call Graph
Automated Lab Instruments 8 (FILE6249,FILESEG)^LA7VHLU  $$NVAF^LA7VHLU2  ($$PCENC,$$SDENC)^LA7VHLU3  OBX^LA7VOBX  (NTE,OBR,ORC)^LA7VORU  MI^LA7VORU1  AP^LA7VORU2  INTRP^LA7VORUA  
Registration 3 ADM^VADPT2  BLDPID^VAFCQRY  ($$IN,$$OUT)^VAFHLPV1  
VA Fileman 2 $$FIND1^DIC  $$GET1^DIQ  
Kernel 1 ($$FMTHL7,$$NOW)^XLFDT  
Lab Service 1 DEM^LRX  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Automated Lab Instruments 3 LA7HDR  LA7HDR1  LA7QRY  

Entry Points

Name Comments DBIA/ICR reference
PV1 ; Build PV1 segment for HDR
BUILDMSG ; Build HL7 message with result of query
PAT ; Build PID/PV1 segments
CHKSC ; Check search NLT/LOINC codes
SPEC ; Convert HL7 Specimen Codes to File #61, Topography codes
; Find all topographies that use this HL7 specimen code
OBX ; Build OBX segment
OBR ; Build OBR segment
ORC ; Build ORC segment

External References

Name Field # of Occurrence
$$FIND1^DIC BUILDMSG+17
$$GET1^DIQ ORC+28
FILE6249^LA7VHLU PAT+23, OBX+12, PV1+23
FILESEG^LA7VHLU BUILDMSG+12, PAT+22, OBX+11, PV1+22
$$NVAF^LA7VHLU2 ORC+23
$$PCENC^LA7VHLU3 PV1+14
$$SDENC^LA7VHLU3 PV1+16
OBX^LA7VOBX OBX+9
NTE^LA7VORU OBR+6
OBR^LA7VORU OBR+5
ORC^LA7VORU ORC+30
MI^LA7VORU1 OBX+5
AP^LA7VORU2 OBX+6
INTRP^LA7VORUA OBX+14
DEM^LRX PAT+6
ADM^VADPT2 PV1+8
BLDPID^VAFCQRY PAT+17
$$IN^VAFHLPV1 PV1+9
$$OUT^VAFHLPV1 PV1+20
$$FMTHL7^XLFDT BUILDMSG+11
$$NOW^XLFDT BUILDMSG+11

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] FIND1^DIC
^LAM - [#64] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^LAB(61 - [#61] SPEC+7
^LAB(95.3 - [#95.3] CHKSC+10
^LAM("E" CHKSC+8, ORC+27
^LR - [#63] PAT+5, ORC+5, ORC+6, OBX+18, OBX+19*, PV1+3
^TMP("LA7-61" SPEC+7*
^TMP("LA7-LN" CHKSC+11*
^TMP("LA7-NLT" CHKSC+9*
^TMP($J PAT+13, PAT+14, PAT+20*
^VAT(391.71 - [#391.71] PV1+20

Label References

Name Line Occurrences
OBR ORC+30
OBX BUILDMSG+31
ORC BUILDMSG+26, BUILDMSG+29, BUILDMSG+30
PAT BUILDMSG+23, BUILDMSG+25, BUILDMSG+28
PV1 PAT+26

Naked Globals

Name Field # of Occurrence
^(0 PAT+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DFN PAT+5*, PAT+13, PAT+14, PAT+17, PAT+20, PV1+9, PV1+18, PV1+20
>> GBL BUILDMSG+12, PAT+22, OBX+11, PV1+22
HL BUILDMSG+2~, PAT+17
HL("ECH" BUILDMSG+8*
HL("FS" BUILDMSG+8*
HL("Q" BUILDMSG+9*
HLECH BUILDMSG+2~, BUILDMSG+8*
HLFS BUILDMSG+2~, BUILDMSG+8*
HLQ BUILDMSG+2~, BUILDMSG+9*
I PAT+2~, PAT+18*, PAT+19*
J CHKSC+2~, CHKSC+4*, CHKSC+5*, CHKSC+7, CHKSC+13, SPEC+2~, SPEC+4*, SPEC+5*, SPEC+6
K SPEC+2~, SPEC+6*, SPEC+7
L SPEC+2~, SPEC+6*, SPEC+7*
LA BUILDMSG+3~
LA( BUILDMSG+14*
LA("HUID" ORC+7*, ORC+8*, ORC+9*, ORC+10*, ORC+11*, ORC+18, ORC+19, ORC+20
LA("LRDFN" BUILDMSG+23, PAT+4*, ORC+5, ORC+6, OBX+9, OBX+18, OBX+19
LA("LRIDT" BUILDMSG+24, PAT+28*, ORC+4*, ORC+5, ORC+6, OBX+9, OBX+18, OBX+19
LA("NLT" BUILDMSG+30, ORC+25*
LA("ORD" ORC+25*, ORC+28*
LA("RUID" ORC+13*, ORC+15*, ORC+16*, ORC+17, ORC+18*, ORC+19*, ORC+20*
LA("SITE" ORC+22*
LA("SUB" BUILDMSG+27, PAT+28*, ORC+4*, ORC+5, ORC+6, ORC+10, OBR+4, OBX+5, OBX+6, OBX+9
, OBX+17, OBX+18, OBX+19
LA7 PAT+2~, PAT+17
LA7( PAT+19
>> LA76249 PAT+23, OBX+12, PV1+23
LA763 BUILDMSG+3~
LA763(0 ORC+5*, ORC+8, ORC+10
LA764 ORC+2~, ORC+25*, ORC+27*, ORC+28
LA7DATA OBX+2~, OBX+9, OBX+10, OBX+11, OBX+12
LA7DT PV1+1~, PV1+2*, PV1+3*, PV1+4, PV1+8, PV1+9, PV1+20
LA7ECH BUILDMSG+2~, BUILDMSG+8*, BUILDMSG+10, PAT+13, PAT+14, PAT+20, OBX+9
LA7ERR PAT+2~, PAT+17
LA7FS BUILDMSG+2~, BUILDMSG+8*, BUILDMSG+10, BUILDMSG+11, PAT+13, PAT+14, PAT+15, PAT+20, OBX+9
>> LA7HL7 BUILDMSG+7*, BUILDMSG+8
LA7ID BUILDMSG+3~, BUILDMSG+20*
>> LA7INTYP BUILDMSG+25, BUILDMSG+28, PAT+26
LA7MSH BUILDMSG+2~, BUILDMSG+12
LA7MSH(0 BUILDMSG+10*, BUILDMSG+11*
LA7NLT ORC+2~, ORC+25*, ORC+26, ORC+27
>> LA7NOMSG BUILDMSG+2, BUILDMSG+6, PAT+23, OBX+12, PV1+23
LA7NTESN BUILDMSG+3~, PAT+28*, ORC+23*, OBX+4*
LA7NVAF BUILDMSG+3~, ORC+23*
LA7OBRSN BUILDMSG+3~, BUILDMSG+25, BUILDMSG+28, PAT+28*
LA7OBXSN BUILDMSG+3~, PAT+28*, OBR+7*, OBX+9
LA7PCE PV1+1~, PV1+14*, PV1+15, PV1+16
LA7PID PAT+2~, PAT+14*, PAT+20, PAT+22, PAT+23
LA7PID( PAT+19*
LA7PID(0 PAT+15*
LA7PIDSN BUILDMSG+3~, BUILDMSG+20*, PAT+9*, PAT+15, PAT+17
LA7PV1 PAT+2~, PV1+22, PV1+23
LA7PV1(0 PV1+9*, PV1+20*
>> LA7QERR(6 CHKSC+12*
LA7QUIT BUILDMSG+3~, BUILDMSG+20*, BUILDMSG+21, BUILDMSG+22*
LA7ROOT BUILDMSG+3~, BUILDMSG+20*, BUILDMSG+21*, BUILDMSG+22, BUILDMSG+23, BUILDMSG+24, BUILDMSG+27, BUILDMSG+30, PAT+4, ORC+4
, ORC+25, OBX+8, PV1+2
LA7RS OBR+2~
>> LA7SCDE( CHKSC+5, CHKSC+7, CHKSC+13!
LA7SDENC PV1+1~, PV1+16*, PV1+17
>> LA7SPEC( SPEC+5, SPEC+6
LA7VPTR PV1+13~, PV1+14*, PV1+17*, PV1+18*, PV1+20
LA7VT OBX+2~, OBX+8*, OBX+9, OBX+18, OBX+19
LA7X BUILDMSG+3~
>> LRDFN PAT+4*, PAT+5, PV1+3, PV1+14
>> LRDPF PAT+5*
LRDX PV1+1~, PV1+6*, PV1+9
LRIDT BUILDMSG+3~, ORC+4*, PV1+1~, PV1+2*, PV1+3, PV1+14
LRNMSP ORC+2~, ORC+7*, ORC+9, ORC+13*, ORC+14*, ORC+15
LRPOC BUILDMSG+3~, BUILDMSG+17*, ORC+14
LRSS BUILDMSG+3~, ORC+4*, PV1+1~, PV1+2*, PV1+3, PV1+14
LRUID PV1+1~
VADMVT PAT+2~, PV1+1~, PV1+9, PV1+12
VAINDT PAT+2~, PV1+1~, PV1+8*
X CHKSC+6~, CHKSC+7*, CHKSC+8, CHKSC+9, CHKSC+10, CHKSC+11, CHKSC+12, BUILDMSG+3~, BUILDMSG+14*, ORC+2~
, ORC+6*, ORC+7, ORC+13, ORC+14, ORC+16, ORC+22
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