LA7VORM1 ;DALOI/DLR - LAB ORM (Order) message builder ;06/19/12 16:19
Source file <LA7VORM1.m>
Package | Total | Call Graph |
---|---|---|
Automated Lab Instruments | 8 | ($$CHKTST,SEUP)^LA7SMU ($$BLG,BUILDSEG,FILE6249,FILESEG,GEN,STARTMSG)^LA7VHLU (SETID,UPID)^LA7VHLU1 ($$FNDOLOC,$$NVAF)^LA7VHLU2 $$HLSTATUS^LA7VMSG ($$ORC1,$$ORC12,$$ORC17,$$ORC2,$$ORC21,$$ORC22,$$ORC4,$$ORC7,$$ORC9)^LA7VORC (OBR,OBX)^LA7VORM3 (PID,PV1)^LA7VPID |
VA FileMan | 3 | FILE^DIE CLEAN^DILF $$GET1^DIQ |
Kernel | 2 | $$NOW^XLFDT ($$ID,$$NS)^XUAF4 |
Lab Service | 2 | $$CHECKUID^LRWU4 (DEM,KVAR)^LRX |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
BUILD(LA7628) | ;
; Call with LA7628 = ien of entry in file #62.8 Shipping Manifest |
|
EXIT | ;
|
|
STARTMSG | ; Create/initialize HL message
|
|
SENDMSG | ; File HL7 message with HL and LAB packages.
|
|
UPDT6249 | ; update entry in 62.49
|
|
PID | ; Patient identification
|
|
PV1 | ; Location information
; DoD/CHCS facilities do not use PV1 segment |
|
ORC | ;Order Control
|
|
ITEM | ; Setup identifier for item in PLACER FIELD 2.
|
|
BLG | ; Billing segment
|
Name | Field # of Occurrence |
---|---|
FILE^DIE | SENDMSG+9, UPDT6249+24 |
CLEAN^DILF | SENDMSG+10, UPDT6249+25 |
$$GET1^DIQ | BUILD+54, ORC+25 |
$$CHKTST^LA7SMU | BUILD+101 |
SEUP^LA7SMU | SENDMSG+15 |
$$BLG^LA7VHLU | BLG+5 |
BUILDSEG^LA7VHLU | ORC+49 |
FILE6249^LA7VHLU | PID+11, PV1+6, ORC+51, BLG+7 |
FILESEG^LA7VHLU | PID+10, PV1+5, ORC+50, BLG+6 |
GEN^LA7VHLU | SENDMSG+13 |
STARTMSG^LA7VHLU | STARTMSG+4 |
SETID^LA7VHLU1 | STARTMSG+5, PID+4, ORC+52, ORC+53, ORC+54 |
UPID^LA7VHLU1 | UPDT6249+26 |
$$FNDOLOC^LA7VHLU2 | ORC+38 |
$$NVAF^LA7VHLU2 | BUILD+22, BUILD+27, BUILD+31 |
$$HLSTATUS^LA7VMSG | BUILD+55 |
$$ORC1^LA7VORC | ORC+5 |
$$ORC12^LA7VORC | ORC+39 |
$$ORC17^LA7VORC | ORC+42 |
$$ORC2^LA7VORC | ORC+8 |
$$ORC21^LA7VORC | ORC+46 |
$$ORC22^LA7VORC | ORC+47 |
$$ORC4^LA7VORC | ORC+11 |
$$ORC7^LA7VORC | ORC+28 |
$$ORC9^LA7VORC | ORC+31, ORC+35 |
OBR^LA7VORM3 | BUILD+102 |
OBX^LA7VORM3 | BUILD+102 |
PID^LA7VPID | PID+5 |
PV1^LA7VPID | PV1+4 |
$$CHECKUID^LRWU4 | BUILD+51 |
DEM^LRX | PID+3 |
KVAR^LRX | EXIT+7 |
$$NOW^XLFDT | SENDMSG+14 |
$$ID^XUAF4 | BUILD+23, BUILD+28, BUILD+32 |
$$NS^XUAF4 | BUILD+29, BUILD+33 |
FileNo | Call Tags |
---|---|
^LRO(68 - [#68] | GET1^DIQ |
68.04 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LAHM(62.48 - [#62.48] | BUILD+16 |
^LAHM(62.49 - [#62.49] | SENDMSG+11, SENDMSG+18, UPDT6249+10 |
^LAHM(62.8 - [#62.8] | BUILD+7, BUILD+12, BUILD+41, BUILD+42, BUILD+100, ORC+19 |
^LAHM(62.9 - [#62.9] | BUILD+14 |
^LR - [#63] | PID+2 |
^LRO(68 - [#68] | BUILD+89, BUILD+92, BUILD+93, BUILD+94 |
^TMP("HLS" | SENDMSG+4 |
^TMP("LA7628" | BUILD+39!, BUILD+59*, BUILD+67, BUILD+82, BUILD+87, BUILD+98, EXIT+1!, ORC+16 |
^TMP("LA7ITEM" | EXIT+1!, ITEM+2!, ITEM+8* |
^TMP("LA7SM" | BUILD+39!, BUILD+60*, EXIT+1! |
Name | Field # of Occurrence |
---|---|
^(0 | PID+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | BUILD+3~, EXIT+2!, PID+2* |
DIC | BUILD+3~, EXIT+2! |
ECNT | BUILD+3~, BUILD+11* |
EID | BUILD+3~, EXIT+2! |
FDA | SENDMSG+5~, UPDT6249+2~ |
FDA(1 | SENDMSG+6*, SENDMSG+7*, SENDMSG+8*, UPDT6249+4*, UPDT6249+5*, UPDT6249+11*, UPDT6249+12*, UPDT6249+13*, UPDT6249+14*, UPDT6249+15* , UPDT6249+16*, UPDT6249+17*, UPDT6249+18*, UPDT6249+19*, UPDT6249+20*, UPDT6249+22*, UPDT6249+23* |
GBL | BUILD+3~, BUILD+11*, EXIT+1, STARTMSG+2, PID+10, PV1+5, ORC+50, BLG+6 |
HL | BUILD+3~, BUILD+77, BUILD+79, BUILD+82, BUILD+84, BUILD+96, EXIT+2!, PID+5 |
HL("ACAT" | UPDT6249+12 |
HL("APAT" | UPDT6249+12, UPDT6249+13 |
HL("MTN" | UPDT6249+17 |
HL("PID" | UPDT6249+18 |
HL("SAF" | UPDT6249+16 |
HL("SAN" | UPDT6249+15 |
HL("VER" | UPDT6249+19 |
HLCOMP | BUILD+3~, EXIT+2! |
HLFS | BUILD+3~, EXIT+2! |
HLQ | BUILD+3~, EXIT+2! |
HLSUB | BUILD+3~, EXIT+2! |
I | BUILD+3~, BUILD+92*, BUILD+93*, BUILD+94, BUILD+99~, BUILD+100*, ORC+17~, ORC+19* |
INT | BUILD+3~, EXIT+2! |
LA | BUILD+4~, EXIT+6! |
LA7101 | BUILD+4~ |
LA760 | BUILD+4~, EXIT+3!, ORC+17~, ORC+24*, ORC+25 |
LA76205 | ORC+2~, ORC+14*, ORC+26*, ORC+27*, ORC+28 |
LA76248 | BUILD+4~, BUILD+15*, BUILD+16, SENDMSG+6, UPDT6249+4 |
LA76248(0 | BUILD+16*, BUILD+17, BUILD+72, BUILD+75 |
LA76249 | BUILD+4~, STARTMSG+3*, STARTMSG+4, STARTMSG+5, SENDMSG+6, SENDMSG+7, SENDMSG+8, SENDMSG+11, SENDMSG+18, UPDT6249+4 , UPDT6249+5, UPDT6249+10, UPDT6249+11, UPDT6249+12, UPDT6249+13, UPDT6249+14, UPDT6249+15, UPDT6249+16, UPDT6249+17, UPDT6249+18 , UPDT6249+19, UPDT6249+20, UPDT6249+22, UPDT6249+23, UPDT6249+26, PID+4, PID+11, PV1+6, ORC+51, ORC+52 , ORC+53, ORC+54, BLG+7 |
LA7628 | BUILD~, BUILD+7, BUILD+12, BUILD+41, BUILD+42, BUILD+100, BUILD+101, EXIT+3!, ORC+19 |
LA7628(0 | BUILD+12*, BUILD+13, STARTMSG+5, STARTMSG+6, SENDMSG+15, ORC+11 |
LA762801 | BUILD+4~, BUILD+40*, BUILD+41*, BUILD+42, BUILD+59, BUILD+60, BUILD+61!, BUILD+97*, BUILD+98*, BUILD+100 , BUILD+101, EXIT+3!, ORC+2~, ORC+15*, ORC+16*, ORC+19 |
LA762801( | BUILD+100*, ORC+19* |
LA762801(0 | ORC+24 |
LA762801(2 | ORC+20, ORC+21, ORC+22 |
LA7629 | BUILD+4~, BUILD+13*, BUILD+14, EXIT+3! |
LA7629(0 | BUILD+14*, BUILD+15, BUILD+19, BUILD+20, BUILD+23, BUILD+24, BUILD+27, BUILD+28, BUILD+29, BUILD+31 , BUILD+32, BUILD+33, BUILD+55, ORC+42, ORC+45, ORC+46, ORC+47, BLG+4, BLG+5 |
LA76802 | BUILD+88~ |
LA76802( | BUILD+92*, ORC+8, ORC+52, ORC+53, ORC+54 |
LA76802(0 | ORC+31, ORC+32, ORC+39 |
LA76802(3 | ORC+32, ORC+34, ORC+47 |
LA76802(5 | BUILD+94*, BUILD+95* |
LA7BLG | BLG+2~, BLG+6, BLG+7 |
LA7BLG(0 | BLG+5* |
LA7DATA | SENDMSG+2~, SENDMSG+14*, SENDMSG+15, ORC+2~, ORC+49, ORC+50, ORC+51 |
LA7DUR | ORC+2~, ORC+14*, ORC+21*, ORC+28 |
LA7DURU | ORC+2~, ORC+14*, ORC+22*, ORC+28 |
LA7ECH | BUILD+4~, EXIT+4!, PID+8, PV1+4, ORC+8, ORC+11, ORC+28, ORC+39, ORC+42, ORC+46 , ORC+47, BLG+5 |
LA7ER | SENDMSG+5~, UPDT6249+2~ |
LA7ERR | BUILD+4~, UPDT6249+11 |
LA7FS | BUILD+4~, EXIT+4!, PID+8, PID+9, PV1+4, ORC+8, ORC+11, ORC+28, ORC+39, ORC+42 , ORC+46, ORC+47, ORC+49, BLG+5 |
LA7HDR | BUILD+4~, EXIT+4! |
LA7ID | BUILD+4~, STARTMSG+6*, ORC+52 |
LA7INTYP | BUILD+4~, BUILD+75*, PV1+2 |
LA7ITEM | ITEM+1~, ITEM+3*, ITEM+5*, ITEM+6*, ITEM+7*, ITEM+8 |
LA7MID | BUILD+4~, EXIT+4!, UPDT6249+20, UPDT6249+21, UPDT6249+22, UPDT6249+23 |
LA7NVAF | BUILD+4~, BUILD+22*, BUILD+23, PID+7, PV1+2 |
LA7OBR | BUILD+99~ |
LA7OBRSN | BUILD+4~, BUILD+97*, EXIT+4! |
LA7OBXSN | BUILD+4~, EXIT+4! |
LA7ORC | BUILD+88~ |
LA7PC | ITEM+1~, ITEM+3*, ITEM+5*, ITEM+6* |
LA7PID | BUILD+83~, PID+5, PID+10, PID+11 |
LA7PID(0 | PID+8, PID+9* |
LA7PIDSN | BUILD+4~, BUILD+81*, STARTMSG+3*, PID+5 |
LA7PREFX | ITEM+1~, ITEM+3*, ITEM+5*, ITEM+6*, ITEM+8 |
LA7PV1 | BUILD+83~, PV1+4, PV1+5, PV1+6 |
LA7ROOT | ITEM+1~, ITEM+3*, ITEM+4*, ITEM+5, ITEM+6, ITEM+7, ITEM+8 |
LA7SC | ITEM+1~, ITEM+3*, ITEM+5* |
LA7SMSG | BUILD+4~, BUILD+72*, BUILD+77, BUILD+84, BUILD+85, BUILD+96, BUILD+103, BUILD+104, BUILD+106 |
LA7UID | BUILD+4~, BUILD+86*, BUILD+87*, BUILD+89, BUILD+90, BUILD+98, ORC+16, ORC+38, ITEM+1~, ITEM+3* , ITEM+5*, ITEM+6*, ITEM+7*, ITEM+8 |
LA7V | BUILD+4~, EXIT+4! |
LA7V("CLNT" | BUILD+28*, BUILD+29* |
LA7V("HOST" | BUILD+32*, BUILD+33* |
LA7V("INST" | BUILD+19*, BUILD+20, BUILD+22 |
LA7V("NON" | BUILD+24*, BUILD+25 |
LA7VIEN | BUILD+4~, EXIT+4! |
LA7X | BUILD+4~, BUILD+27*, BUILD+28, BUILD+31*, BUILD+32, ORC+2~, ORC+33!, ORC+34*, ORC+35, ORC+38* , ORC+39 |
LAEVNT | BUILD+4~, EXIT+4! |
LAHLSTAT | BUILD+49~, BUILD+55*, BUILD+56 |
LRAA | BUILD+5~, BUILD+49~, BUILD+53*, BUILD+54, BUILD+91*, BUILD+92, BUILD+93, BUILD+94, EXIT+5!, ORC+25 |
LRACC | BUILD+5~, EXIT+5! |
LRAD | BUILD+5~, BUILD+91*, BUILD+92, BUILD+93, BUILD+94, EXIT+5!, ORC+25 |
LRAN | BUILD+5~, BUILD+91*, BUILD+92, BUILD+93, BUILD+94, EXIT+5!, ORC+25 |
LRDFN | BUILD+5~, BUILD+81*, BUILD+82*, BUILD+87, BUILD+98, EXIT+5!, PID+2, PID+5, PV1+4, ORC+16 |
>> LRDPF | PID+2* |
LRI | BUILD+5~, BUILD+81*, EXIT+5! |
LRSS | BUILD+49~, BUILD+54*, BUILD+55 |
LRUID | BUILD+49~, BUILD+50*, BUILD+51 |
LRY | BUILD+49~, BUILD+51*, BUILD+52, BUILD+53 |
LTST | BUILD+5~, EXIT+6! |
NLT | BUILD+5~, EXIT+6! |
NLTIEN | BUILD+5~, EXIT+6! |
NTST | BUILD+5~ |
ORC | ORC+2~, ORC+49 |
ORC(0 | ORC+4* |
ORC(1 | ORC+5* |
ORC(12 | ORC+39* |
ORC(17 | ORC+42* |
ORC(2 | ORC+8* |
ORC(21 | ORC+46* |
ORC(22 | ORC+47* |
ORC(4 | ORC+11* |
ORC(7 | ORC+28* |
ORC(9 | ORC+31*, ORC+35* |
ORUID | BUILD+5~ |
PCNT | BUILD+5~, EXIT+6! |
>> PNM | PID+4 |
RUID | BUILD+5~, EXIT+6! |
SHP | BUILD+5~ |
SHPC | BUILD+5~ |
SITE | BUILD+5~, BUILD+22*, BUILD+23*, BUILD+25*, STARTMSG+4, STARTMSG+5, STARTMSG+6 |
SNIEN | BUILD+5~, EXIT+6! |
TIEN | BUILD+5~, EXIT+6! |
U | BUILD+13, BUILD+19, BUILD+20, BUILD+23, BUILD+24, BUILD+27, BUILD+28, BUILD+29, BUILD+31, BUILD+32 , BUILD+33, BUILD+55, ORC+42, ORC+45, ORC+46, ORC+47, BLG+4 |
X | BUILD+5~, BUILD+88~, BUILD+89*, BUILD+90, BUILD+91, EXIT+6!, PID+1~, PID+8*, PID+9, ORC+2~ , ORC+25*, ORC+26, ORC+27 |
X(0 | BUILD+42*, BUILD+43, BUILD+50, BUILD+58, BUILD+59, BUILD+60 |
Y | BUILD+5~, EXIT+6! |
>> ZTQUEUED | EXIT+8 |
>> ZTREQ | EXIT+8* |