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

Package: Automated Lab Instruments

Routine: LA7CORU


Information

LA7CORU ;VA/DALOI/JMC - Builder of HL7 Lab Results OBR/OBX/NTE ; 22-Oct-2013 09:22 ; MAW

Source Information

Source file <LA7CORU.m>

Call Graph

Call Graph Total: 16

Package Total Call Graph
Automated Lab Instruments 12 $$OBR17^LA7COBR  OBX^LA7COBX  ($$ORC12,$$ORC2,$$ORC21,$$ORC22,$$ORC23,$$ORC24)^LA7CORC  NTE^LA7CORUA  ($$SUFFIX,OBR)^LA7CORUB  ($$SPM11,$$SPM12,$$SPM17,$$SPM18,$$SPM2,$$SPM21,$$SPM4,$$SPM5,$$SPM6,$$SPM7,$$SPM8,$$SPM9)^LA7MUSPM  (BUILDSEG,FILE6249,FILESEG)^LA7VHLU  $$NVAF^LA7VHLU2  
($$ORC1,$$ORC17,$$ORC4,$$ORC5)^LA7VORC  MI^LA7VORU1  AP^LA7VORU2  (INTRP,PLC)^LA7VORUA  
Kernel 2 $$FMTHL7^XLFDT  $$KSP^XUPARAM  
Registration 1 ($$PRIM,$$SITE)^VASITE  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Automated Lab Instruments 2 LA7CORU1  LA7CQRY1  

Entry Points

Name Comments DBIA/ICR reference
CH ; Build segments for "CH" subscript
OBR ;Observation Request segment for Lab Order
SPM(FS,ECH,ACC) ; build the SPM segment for MU2
ORC ; Build ORC segment
OBX ;Observation/Result segment for Lab Results
TQ1(FS,ECH,ACC,LDFN,LIDT) ; build the TQ1 segment for MU2
NTE ; Build NTE segment
EN(LA) ; called from IN^LA7VMSG(...)
; variables
; LA("HUID") - Host Unique ID from the local ACCESSION file (#68)
; LA("SITE") - Ordering site IEN in the INSTITUTION file (#4)
; LA("RUID") - Remote sites Unique ID from ACCESSION file (#68)
; LA("ORD") - Free text ordered test name from WKLD CODE file (#64)
; LA("NLT") - National Laboratory test code from WKLD CODE file (#64)
; LA("LRIDT") - Inverse date/time the lab arrival time (accession date/time)
; LA("SUB") - test subscript defined in LABORATORY TEST file (#60)
; LA("LRDFN") - IEN in LAB DATA file (#63)
; LA("ORD"), LA("NLT"), and LA("SUB") are sent for specific lab results.
; LA("AUTO-INST") - Auto-Instrument

External References

Name Field # of Occurrence
$$GET1^DIQ ORC+53
$$OBR17^LA7COBR ORC+74
OBX^LA7COBX OBX+9
$$ORC12^LA7CORC ORC+64
$$ORC2^LA7CORC ORC+17
$$ORC21^LA7CORC ORC+89
$$ORC22^LA7CORC ORC+92
$$ORC23^LA7CORC ORC+94
$$ORC24^LA7CORC ORC+95
NTE^LA7CORUA NTE+2
$$SUFFIX^LA7CORUB ORC+25, ORC+31
OBR^LA7CORUB OBR+2
$$SPM11^LA7MUSPM SPM+17
$$SPM12^LA7MUSPM SPM+18
$$SPM17^LA7MUSPM SPM+19
$$SPM18^LA7MUSPM SPM+20
$$SPM2^LA7MUSPM SPM+8
$$SPM21^LA7MUSPM SPM+21
$$SPM4^LA7MUSPM SPM+9
$$SPM5^LA7MUSPM SPM+12
$$SPM6^LA7MUSPM SPM+13
$$SPM7^LA7MUSPM SPM+14
$$SPM8^LA7MUSPM SPM+15
$$SPM9^LA7MUSPM SPM+16
BUILDSEG^LA7VHLU ORC+96
FILE6249^LA7VHLU ORC+100, OBX+14
FILESEG^LA7VHLU ORC+97, OBX+13
$$NVAF^LA7VHLU2 EN+30
$$ORC1^LA7VORC ORC+12
$$ORC17^LA7VORC ORC+83
$$ORC4^LA7VORC ORC+40
$$ORC5^LA7VORC ORC+44
MI^LA7VORU1 EN+35
AP^LA7VORU2 EN+36
INTRP^LA7VORUA OBX+19
PLC^LA7VORUA OBX+18
$$PRIM^VASITE EN+15
$$SITE^VASITE EN+17
$$FMTHL7^XLFDT TQ1+8, TQ1+9
$$KSP^XUPARAM ORC+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BLRRLO("ACC" SPM+11
^DIC(4 - [#4] ORC+91
^LAHM(62.49 - [#62.49] OBX+5, OBX+6
^LR - [#63] EN+21, EN+27, ORC+4, ORC+86, OBX+23, OBX+24*, TQ1+8, TQ1+9
^LRO(69.6 - [#69.6] ORC+38, ORC+39

Label References

Name Line Occurrences
CH EN+34
NTE CH+3
OBR CH+2
OBX CH+5
ORC EN+32

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACC TQ1~, SPM~, SPM+8, SPM+9, SPM+11, SPM+12, SPM+13, SPM+14, SPM+15, SPM+16
, SPM+17, SPM+18, SPM+21
CS TQ1+1~, TQ1+2*, SPM+1~, SPM+2*, SPM+8, SPM+9, SPM+12, SPM+13, SPM+14, SPM+15
, SPM+16, SPM+17, SPM+18, SPM+19, SPM+20, SPM+21
DT EN+15, EN+17, ORC+94, ORC+95
DUZ(2 ORC+94
ECH TQ1~, TQ1+2, TQ1+3, TQ1+4, SPM~, SPM+2, SPM+3, SPM+4
FS TQ1~, TQ1+10, SPM~, SPM+22
>> GBL ORC+97, OBX+13
>> I TQ1+5*, SPM+5*
>> J TQ1+10*, SPM+22*
LA EN~
LA( OBX+5, OBX+6
LA("AUTO-INST" EN+15*, EN+19*
LA("HUID" ORC+21
LA("LRDFN" EN+21, EN+24, EN+27, ORC+4, ORC+86, OBX+9, OBX+23, OBX+24
LA("LRIDT" EN+21, EN+24, EN+27, ORC+4, ORC+86, OBX+9, OBX+23, OBX+24
LA("NLT" EN+28
LA("RUID" ORC+16, ORC+38
LA("SITE" EN+30, ORC+38
LA("SUB" EN+21, EN+24, EN+27, EN+34, EN+35, EN+36, ORC+4, ORC+50, ORC+55, ORC+56
, ORC+59, ORC+86, ORC+87, OBX+9, OBX+22, OBX+23, OBX+24
>> LA76249 OBX+14
>> LA76249P ORC+100
LA763 EN+13~, ORC+2~
LA763(0 EN+27*, ORC+4*, ORC+52, ORC+55, ORC+56, ORC+59, ORC+87, ORC+92
LA7696 ORC+2~, ORC+37*, ORC+38*, ORC+39
LA7953 OBX+2~
>> LA7ADDON ORC+29
LA7DATA ORC+2~, ORC+96, ORC+97, ORC+100, OBX+2~, OBX+8!, OBX+9, OBX+11, OBX+13, OBX+14
>> LA7ECH ORC+17, ORC+25, ORC+26, ORC+27, ORC+28, ORC+31, ORC+32, ORC+40, ORC+44, ORC+64
, ORC+65, ORC+66, ORC+67, ORC+68, ORC+69, ORC+70, ORC+74, ORC+83, ORC+89, ORC+90
, ORC+91, ORC+92, ORC+94, ORC+95, OBX+9
>> LA7FAC ORC+68
>> LA7FS ORC+17, ORC+40, ORC+44, ORC+64, ORC+74, ORC+83, ORC+89, ORC+92, ORC+94, ORC+95
, ORC+96, OBX+9
>> LA7INPT ORC+23, ORC+27, ORC+28, ORC+29, ORC+70
LA7J ORC+51~, ORC+52*, ORC+53, ORC+54
LA7NLT EN+13~, EN+28*
>> LA7NOMSG ORC+100, OBX+14
>> LA7NTESN EN+31*, OBX+17*
LA7NVAF EN+13~, EN+30*, ORC+44, OBX+9, OBX+18
>> LA7OBXSN CH+4*, OBX+9
>> LA7OP ORC+62*, ORC+95
>> LA7ORCSN ORC+24, ORC+25, ORC+30, ORC+31
LA7SM ORC+2~, ORC+37*, ORC+39*, ORC+40
>> LA7UID ORC+25, ORC+31
LA7VT OBX+2~, OBX+6*, OBX+9, OBX+23, OBX+24
LA7VTIEN OBX+2~, OBX+4*, OBX+5*, OBX+6
LA7X EN+13~, ORC+2~, ORC+15!, ORC+16*, ORC+17, ORC+20!, ORC+21*, ORC+47!, ORC+48*, ORC+55*
, ORC+56*, ORC+59*, ORC+62, ORC+64, ORC+86*, ORC+87*, ORC+88, ORC+89, ORC+91, ORC+92
, OBX+2~
LA7Y ORC+2~, ORC+47!, ORC+48*, ORC+53*, ORC+54*, ORC+61*, ORC+64, ORC+83
LADFINST ORC+2~, ORC+7*, ORC+61
LDFN TQ1~, TQ1+8, TQ1+9
LIDT TQ1~, TQ1+8, TQ1+9
>> LRDFN EN+24*, SPM+19, SPM+20
>> LRIDT EN+24*, SPM+19, SPM+20
>> LRSAMP SPM+13, SPM+14, SPM+15
>> LRSPEC SPM+9, SPM+12, SPM+13, SPM+14, SPM+15, SPM+16, SPM+17, SPM+18, SPM+21
>> LRSS EN+24*, ORC+23, ORC+27, ORC+28, TQ1+8, TQ1+9
ORC ORC+2~, ORC+96
ORC(0 ORC+9*
ORC(1 ORC+12*
ORC(12 ORC+64*, ORC+65*, ORC+66*, ORC+67*, ORC+68*, ORC+69*, ORC+70*
ORC(14 ORC+74*
ORC(17 ORC+83*
ORC(2 ORC+17*, ORC+22
ORC(21 ORC+89*, ORC+90*, ORC+91*
ORC(22 ORC+92*
ORC(23 ORC+94*
ORC(24 ORC+95*
ORC(3 ORC+22*, ORC+25*, ORC+26*, ORC+27*, ORC+28*, ORC+31*, ORC+32*, ORC+34
ORC(4 ORC+34*, ORC+40*
ORC(5 ORC+44*
PRIMARY EN+13~, EN+15*, EN+16, EN+17*, EN+18*, EN+19
ROI SPM+10~, SPM+11*, SPM+12, SPM+16
RS TQ1+1~, TQ1+3*, SPM+1~, SPM+3*
SC TQ1+1~, TQ1+4*, SPM+1~, SPM+4*, SPM+8, SPM+18
SPM TQ1+1~, SPM+1~, SPM+6*, SPM+22*, SPM+23
SPM( SPM+5*, SPM+22
SPM(1 SPM+7*
SPM(11 SPM+17*
SPM(12 SPM+18*
SPM(17 SPM+19*
SPM(18 SPM+20*
SPM(2 SPM+8*
SPM(21 SPM+21*
SPM(4 SPM+9*
SPM(5 SPM+12*
SPM(6 SPM+13*
SPM(7 SPM+14*
SPM(8 SPM+15*
SPM(9 SPM+16*
TQ1 TQ1+1~, TQ1+6*, TQ1+10*, TQ1+11
TQ1( TQ1+5*, TQ1+10
TQ1(1 TQ1+7*
TQ1(7 TQ1+8*
TQ1(8 TQ1+9*
U EN+18, ORC+39, ORC+91, TQ1+8, TQ1+9
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All