LA7VMSG1 ;DALOI/JMC - LAB ORU (Observation Result) message builder cont'd ;Aug 8, 2008
Source file <LA7VMSG1.m>
Package | Total | Call Graph |
---|---|---|
Automated Lab Instruments | 8 | CREATE^LA7LOG (FILE6249,FILESEG,GEN,PTEXTID,STARTMSG)^LA7VHLU (SETID,UPID)^LA7VHLU1 ($$NVAF,$$RETFACID)^LA7VHLU2 $$CNVFLD^LA7VHLU3 EN^LA7VORR1 EN^LA7VORU (PID,PV1)^LA7VPID |
VA FileMan | 3 | $$FIND1^DIC FILE^DIE (CLEAN,LOCK)^DILF |
Kernel | 1 | ^%ZTER |
Lab Service | 1 | (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 |
Package | Total | Caller Graph |
---|---|---|
Automated Lab Instruments | 2 | LA7HDR LA7VMSG |
Name | Comments | DBIA/ICR reference |
---|---|---|
START | ; Process entries in queue
; Called from LA7VMSG |
|
SORTPAT | ; Sort all results for transmission
|
|
PROCESS | ; Process and build messages to be sent
|
|
STARTMSG | ; Initialize a HL7 message and variables
|
|
SENDMSG | ; File HL7 message with HL and LAB packages
|
|
CONFIG | ; Setup for this configuration
|
|
PAT | ; Build patient information
|
|
UPDT6249 | ; Update entries in file #62.49
|
|
UPDLPD | ; Update lab pending orders (#69.6) for each entry in #62.49
|
|
UPD696 | ; Update LAB PENDING ORDERS file #69.6
|
Name | Field # of Occurrence |
---|---|
^%ZTER | UPDT6249+6 |
$$FIND1^DIC | UPD696+5 |
FILE^DIE | UPDT6249+26, UPD696+32 |
CLEAN^DILF | UPDT6249+27, UPD696+33 |
LOCK^DILF | START+19, SORTPAT+15, UPD696+24 |
CREATE^LA7LOG | SENDMSG+9, UPD696+26 |
FILE6249^LA7VHLU | PAT+30, PAT+37 |
FILESEG^LA7VHLU | PAT+29, PAT+36 |
GEN^LA7VHLU | SENDMSG+5 |
PTEXTID^LA7VHLU | PAT+23 |
STARTMSG^LA7VHLU | STARTMSG+11 |
SETID^LA7VHLU1 | PAT+15, PAT+16, PAT+18, PAT+19 |
UPID^LA7VHLU1 | UPDT6249+28 |
$$NVAF^LA7VHLU2 | PROCESS+19 |
$$RETFACID^LA7VHLU2 | STARTMSG+7 |
$$CNVFLD^LA7VHLU3 | PAT+24, PAT+25 |
EN^LA7VORR1 | PROCESS+27 |
EN^LA7VORU | PROCESS+26 |
PID^LA7VPID | PAT+28 |
PV1^LA7VPID | PAT+35 |
DEM^LRX | PAT+13 |
KVAR^LRX | START+26 |
FileNo | Call Tags |
---|---|
^LAB(64.061 - [#64.061] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LAHM(62.48 - [#62.48] | CONFIG+7 |
^LAHM(62.49 - [#62.49] | START+29, SORTPAT+16!, SORTPAT+17, SORTPAT+18, SORTPAT+20, PROCESS+17, UPDT6249+14, UPD696+7 |
^LR - [#63] | PAT+12 |
^LRO(69.6 - [#69.6] | UPD696+19, UPD696+21, UPD696+35 |
^TMP("HLS" | START+31!, PROCESS+5!, SENDMSG+3 |
^TMP("LA76248" | START+25, START+31!, SORTPAT+4!, SORTPAT+19* |
^TMP("LA7VS" | START+31!, PROCESS+5!, PROCESS+23*, STARTMSG+4!, UPDT6249+9, UPDT6249+11, UPDLPD+5 |
Name | Field # of Occurrence |
---|---|
^(0 | PAT+12 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> DFN | PAT+12* |
EID | START+3~ |
FDA | UPDT6249+10~, UPD696+20~ |
FDA(1 | UPDT6249+13*, UPDT6249+15*, UPDT6249+16*, UPDT6249+17*, UPDT6249+18*, UPDT6249+19*, UPDT6249+20*, UPDT6249+21*, UPDT6249+22*, UPDT6249+24* , UPDT6249+25*, UPD696+29*, UPD696+31* |
GBL | START+3~, START+22*, STARTMSG+4, PAT+29, PAT+36 |
>> HL | STARTMSG+12, PAT+28, UPDT6249+6 |
>> HL("APAT" | UPDT6249+15 |
>> HL("MTN" | UPDT6249+19 |
>> HL("PID" | UPDT6249+20 |
>> HL("SAF" | UPDT6249+18 |
>> HL("SAN" | UPDT6249+17 |
>> HL("VER" | UPDT6249+21 |
HLARYTYP | START+3~ |
HLCOMP | START+3~ |
HLECH | START+3~ |
HLEID | START+3~ |
HLFORMAT | START+3~ |
HLFS | START+3~ |
>> HLMID | SENDMSG+8 |
HLMTIEN | START+3~ |
HLRESLT | START+3~ |
LA | START+4~, PROCESS+26, PROCESS+27 |
LA( | PROCESS+16* |
LA("HUID" | PROCESS+18* |
LA("LRDFN" | PROCESS+18* |
LA("LRIDT" | PROCESS+18* |
LA("NLT" | PROCESS+18* |
LA("ORD" | PROCESS+18* |
LA("ORDT" | PROCESS+18* |
LA("RUID" | PROCESS+18*, PAT+23, UPD696+19 |
LA("SITE" | PROCESS+18*, PROCESS+19, STARTMSG+7, PAT+23 |
LA("SUB" | PROCESS+18* |
LA7101 | PROCESS+2~ |
LA74 | UPD696+2~, UPD696+10*, UPD696+11, UPD696+19 |
LA76248 | START+4~, SORTPAT+2~, SORTPAT+14*, SORTPAT+16, SORTPAT+19, PROCESS+2~, PROCESS+7*, PROCESS+13, CONFIG+6*, CONFIG+7 |
LA76248(0 | PROCESS+14, PROCESS+15, CONFIG+7*, CONFIG+10, CONFIG+14 |
LA76249 | START+4~, SORTPAT+2~, SORTPAT+14*, SORTPAT+16, SORTPAT+17, SORTPAT+18, SORTPAT+19, SORTPAT+20, PROCESS+2~, PROCESS+7* , PROCESS+16*, PROCESS+17, PROCESS+23, PROCESS+24~, PROCESS+25*, STARTMSG+6, CONFIG+13*, PAT+15, PAT+16, PAT+18 , PAT+19, UPDT6249+2~, UPDT6249+8*, UPDT6249+9*, UPDT6249+11, UPDT6249+13, UPDT6249+14, UPDT6249+15, UPDT6249+16, UPDT6249+17 , UPDT6249+18, UPDT6249+19, UPDT6249+20, UPDT6249+21, UPDT6249+22, UPDT6249+24, UPDT6249+25, UPDT6249+28, UPDLPD+2~, UPDLPD+4* , UPDLPD+5*, UPD696+7 |
LA76249P | START+4~, PROCESS+2~, PROCESS+7*, PROCESS+23, PROCESS+25, PROCESS+29, STARTMSG+6*, STARTMSG+11, SENDMSG+8, SENDMSG+14* , CONFIG+3, CONFIG+13*, PAT+5, PAT+8, PAT+30, PAT+37, UPDT6249+2~, UPDT6249+11*, UPDT6249+13 |
LA7696 | UPD696+2~, UPD696+18*, UPD696+19*, UPD696+21, UPD696+29, UPD696+31, UPD696+35 |
LA76964 | UPD696+2~, UPD696+21*, UPD696+22, UPD696+29, UPD696+31 |
LA7ALTID | PAT+2~, PAT+22*, PAT+25*, PAT+28 |
LA7DT | START+4~ |
LA7ECH | START+4~, PAT+24, PAT+25, PAT+35 |
LA7END | START+4~, SORTPAT+2~, SORTPAT+6*, SORTPAT+12, SORTPAT+13*, PROCESS+7*, PROCESS+11, PROCESS+12*, PROCESS+20, PROCESS+21 , STARTMSG+12*, PAT+8 |
LA7ERR | UPDT6249+2~, UPDT6249+10~, UPD696+2~ |
LA7EVNT | STARTMSG+2~, STARTMSG+9*, STARTMSG+10*, STARTMSG+11 |
LA7EXTID | PAT+2~, PAT+22*, PAT+23, PAT+24*, PAT+28 |
LA7EXTID("ECH" | PAT+24, PAT+25 |
LA7EXTID("PID-2" | PAT+24 |
LA7EXTID("PID-4" | PAT+25 |
LA7FS | START+4~, PAT+35 |
LA7ID | START+4~, CONFIG+14*, PAT+15, PAT+18 |
LA7INTYP | PROCESS+2~, PROCESS+15* |
LA7MID | START+4~, SENDMSG+6, UPDT6249+22, UPDT6249+23, UPDT6249+24, UPDT6249+25, UPD696+29 |
>> LA7MTYP | START+29, SORTPAT+13, SORTPAT+16, PROCESS+26, PROCESS+27, STARTMSG+9, STARTMSG+10 |
LA7NTESN | PROCESS+2~, SENDMSG+14*, PAT+39* |
LA7NVAF | START+4~, PROCESS+19*, PAT+34 |
LA7OBRSN | PROCESS+2~, SENDMSG+14*, PAT+39* |
LA7OBXSN | PROCESS+2~, SENDMSG+14*, PAT+39* |
LA7ORDT | UPD696+2~, UPD696+14*, UPD696+15, UPD696+21 |
LA7PID | PAT+2~, PAT+28, PAT+29, PAT+30 |
LA7PIDSN | PROCESS+2~, SENDMSG+14*, PAT+8*, PAT+28 |
LA7PV1 | PAT+2~, PAT+35, PAT+36, PAT+37 |
LA7ROOT | START+4~, SORTPAT+2~, SORTPAT+11*, SORTPAT+12*, SORTPAT+13, SORTPAT+14, PROCESS+10*, PROCESS+11*, PROCESS+12, PROCESS+13 , PROCESS+16, PROCESS+20, PROCESS+21, PROCESS+22, CONFIG+6, PAT+11 |
LA7SMSG | PROCESS+2~, PROCESS+20, CONFIG+10*, PAT+5 |
LA7STAT | UPD696+2~, UPD696+5*, UPD696+31 |
LA7V | START+4~ |
LA7V0N | START+4~ |
LA7VER | START+4~ |
LA7VIEN | START+4~ |
LA7VS | START+4~, PROCESS+2~ |
LA7X | START+4~, PROCESS+17*, PROCESS+18, SENDMSG+7~, UPD696+2~, UPD696+7*, UPD696+10, UPD696+14 |
LA7X(1 | SENDMSG+8* |
LA7X(2 | SENDMSG+8* |
LAER | START+5~ |
LRDFN | START+5~, SORTPAT+2~, SORTPAT+17*, SORTPAT+19, PROCESS+2~, PROCESS+7*, PROCESS+21, CONFIG+13*, PAT+11*, PAT+12 , PAT+28, PAT+35 |
>> LRDPF | PAT+12* |
LRIDT | START+5~ |
LRNT | START+5~ |
LRSS | START+5~ |
LRUID | START+5~, SORTPAT+2~, SORTPAT+18*, SORTPAT+19, PROCESS+7*, PROCESS+20, PROCESS+22*, CONFIG+14*, PAT+39* |
>> PNM | PAT+14, PAT+15, PAT+16 |
RSITE | START+3~ |
SITE | STARTMSG+2~, STARTMSG+7*, STARTMSG+9, STARTMSG+10 |
>> SSN | PAT+17, PAT+18, PAT+19 |
U | PROCESS+18, SENDMSG+6, UPD696+29 |
>> ZTQUEUED | START+33 |
>> ZTREQ | START+33* |