GMVVDEF1 ;BPOIFO/JG,HIOFO/FT - BUILD HL7 ORU^R01 MESSAGE FOR VITALS ; 20 Sep 2005 4:36 PM
Source file <GMVVDEF1.m>
Package | Total | Call Graph |
---|---|---|
General Medical Record - Vitals | 2 | $$EN^GMVHDR $$GET^GMVUID |
Registration | 2 | BLDPID^VAFCQRY $$SITE^VASITE |
Uncategorized | 2 | ($$TS,$$XCN200,SETDLMS)^VDEFEL ERR^VDEFREQ |
Name | Comments | DBIA/ICR reference |
---|---|---|
OBX2 | ||
OBX1 | ||
ZSC | ||
PID | ||
EN(EVIEN,KEY,VFLAG,OUT,MSHP) | ; Entry point
|
|
VALID | ;;VDEF HL7 MESSAGE BUILDER
; Creates HL7 V2.4 ORU^R01 message for vitals |
|
EXIT | ||
QUALS | ||
ERRS | ||
SAVE | ||
OBR | ||
ORC | ||
HL7RC(X) |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(40.7 - [#40.7] | EN+35 |
^DPT - [#2] | PID+1 |
^GMR(120.5 - [#120.5] | QUALS, QUALS+4, QUALS+5 |
^GMRD(120.51 - [#120.51] | OBR |
^GMRD(120.52 - [#120.52] | QUALS+5 |
^SC - [#44] | EN+34, ORC+7 |
^TMP("HLS" | EN+18!, SAVE+9!* |
Name | Line Occurrences |
---|---|
$$HL7RC | EN+36, ORC+3, ORC+7, ORC+8, ORC+11, OBR, OBR+1, OBR+7, OBR+8, OBR+18 , OBX1+3, OBX1+7, OBX1+12, OBX1+17, QUALS+5, QUALS+7, ERRS+7, ERRS+15 |
ERRS | QUALS |
EXIT | EN+27, PID+1, ZSC |
QUALS | OBX2 |
SAVE | PID+4, ORC+15, OBR+20, OBX1+19, OBX2+11, OBX2+16, QUALS+14, ERRS+17, ZSC+2 |
ZSC | ERRS |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADD | EN+15~, SAVE+2!*, SAVE+4, SAVE+11! |
ADD( | SAVE+3* |
ARRAY | EN+15~, EN+18*, SAVE+5, SAVE+10* |
DFN | EN+13~, EN+28*, PID+1, PID+2 |
DTE | EN+13~, OBR+8*, OBR+11 |
DTP | EN+13~, OBR+7* |
EIEVUID | EN+14~, ERRS+6*, ERRS+7 |
EVIEN | EN~ |
HL7RC | EN+14~, EN+22*, HL7RC+2 |
HLCM | EN+13~, EN+21*, EN+22, ORC+3, ORC+7, ORC+8, ORC+11, OBR+1, OBX1+3, OBX1+8 , OBX2+5, OBX2+6, QUALS+7, ERRS+7 |
HLES | EN+13~, EN+21*, EN+22, HL7RC+4 |
HLFS | EN+13~, EN+22*, ORC+3, ORC+8, ORC+11, ORC+13, ORC+15, OBR+4, OBR+7, OBR+8 , OBR+11, OBR+14, OBR+19, OBR+20, OBX1, OBX1+3, OBX1+11, OBX1+12, OBX1+15, OBX1+18 , OBX1+19, OBX2+1, OBX2+7, OBX2+10, OBX2+11, OBX2+15, QUALS+1, QUALS+10, QUALS+13, QUALS+14 , ERRS, ERRS+8, ERRS+11, ERRS+16, ERRS+17, ZSC+1, ZSC+2, SAVE+1 |
HLQ | EN+13~, EN+22* |
HLRP | EN+13~, EN+21*, EN+22, QUALS+7, ERRS+7 |
HLSC | EN+13~, EN+21*, EN+22 |
I | EN+14~, PID+3*, ERRS+4*, ERRS+5, SAVE~, SAVE+3*, HL7RC~, HL7RC+4* |
IEN1 | EN+14~, QUALS+4*, QUALS+5 |
>> II | OBR+18*, OBX1+17*, ERRS+15* |
KEY | EN~, EN+26, EN+27, ORC+3, QUALS, QUALS+4, QUALS+5 |
MSHP | EN~ |
O2SUP | EN+15~, EN+30*, OBX1+11, OBX2, OBX2+2, OBX2+3, OBX2+4 |
OCHR | HL7RC~, HL7RC+2*, HL7RC+3, HL7RC+4 |
OUT | EN~ |
OUT("HLS" | SAVE+9! |
OUTX | EN+15~, PID*, PID+4*, ORC*, ORC+3*, ORC+8*, ORC+11*, ORC+13*, ORC+15*, OBR* , OBR+4*, OBR+7*, OBR+8*, OBR+11*, OBR+14*, OBR+19*, OBR+20*, OBX1*, OBX1+3*, OBX1+11* , OBX1+12*, OBX1+15*, OBX1+18*, OBX1+19*, OBX2+1*, OBX2+7*, OBX2+10*, OBX2+11*, OBX2+14*, OBX2+15* , QUALS+1*, QUALS+10*, QUALS+13*, QUALS+14*, ERRS*, ERRS+8*, ERRS+11*, ERRS+16*, ERRS+17*, ZSC+1* , ZSC+2*, SAVE+1, SAVE+2*, SAVE+3*, SAVE+4!*, SAVE+5, SAVE+11! |
PIDSEG | EN+14~, PID!, PID+2, PID+4! |
PIDSEG( | PID+3! |
PIDSEG(1 | PID+3*, PID+4 |
QUALS | EN+14~, QUALS*, QUALS+7*, QUALS+10 |
RCHR | HL7RC~, HL7RC+2*, HL7RC+4 |
RCHRI | HL7RC~, HL7RC+1*, HL7RC+2 |
S | EN+14~, EN+18*, PID*, ORC*, OBR*, OBX1*, OBX2+1*, OBX2+15*, QUALS+1*, ERRS* , ZSC+1* |
SEPC | EN+15~, OBR+18, OBX1+17, ERRS+15 |
SEPE | EN+15~ |
SEPF | EN+15~ |
SEPR | EN+15~ |
SEPS | EN+15~ |
SEQ | EN+14~, PID*, PID+2 |
>> SITEPARM | ORC+3 |
STOPCD | EN+14~, EN+32*, EN+34*, EN+35*, EN+36*, ZSC, ZSC+1 |
>> TARGET | EN+18*, EXIT, SAVE+8, SAVE+10* |
TYPE | HL7RC~*, HL7RC+1 |
U | EN+28, EN+30, EN+31, EN+33, EN+34, EN+36, ORC+3, ORC+6, ORC+7, ORC+8 , ORC+9, ORC+11, OBR, OBR+7, OBR+8, OBR+17, OBX1+7, OBX1+12, OBX1+16, OBX2+4 , OBX2+5, OBX2+6, OBX2+7, OBX2+14, OBX2+15, QUALS+5, ERRS+3, ERRS+14, SAVE+8, SAVE+10 |
UM | EN+13~, OBX1+7*, OBX1+8*, OBX1+12, OBX2*, OBX2+2*, OBX2+3*, OBX2+4*, OBX2+5*, OBX2+6* , OBX2+7, OBX2+15 |
VAL | EN+14~, ORC+7*, ORC+8*, ORC+11*, ORC+15*, OBR+4, OBX2*, OBX2+2*, OBX2+3*, OBX2+4* , OBX2+7, OBX2+14, OBX2+15, QUALS+5*, QUALS+7*, ERRS+3*, ERRS+7*, ERRS+8* |
>> VDEFHL | PID+2 |
>> VDEFHL("ECH" | EN+21 |
>> VDEFHL("FS" | EN+22 |
>> VDEFHL("Q" | EN+22 |
VFLAG | EN~ |
VTLDAT | EN+13~, EN+26*, EN+27, EN+28, EN+30, EN+31*, EN+33, EN+34, ORC+6, ORC+7 , ORC+9, OBR+7, OBR+8, OBR+17, OBX1+7, OBX1+12, OBX1+16, ERRS+3, ERRS+14 |
VTLERR | EN+14~, EN+30*, OBR+14, OBX1+15, OBX2+10, QUALS+13, ERRS, ERRS+11 |
VTLNAM | EN+15~, OBR*, OBR+1, OBX1+3 |
VTLTYP | EN+13~, EN+28*, EN+29, OBR |
VTLVUID | EN+15~, EN+29*, OBR+1, OBX1+3 |
X | EN+14~, EN+31*, ORC+3*, ORC+7*, ORC+8, ORC+9*, ORC+10*, ORC+11, OBR+1*, OBR+4 , OBX1+3*, OBX2+5*, OBX2+6*, OBX2+11*, OBX2+14, QUALS*, QUALS+5*, QUALS+6*, QUALS+7, ERRS+3* , ERRS+4, ERRS+5, HL7RC~, HL7RC+3, HL7RC+4*, HL7RC+5 |
XX | EN+14~, OBR+17*, OBR+18*, OBR+19, OBX1+16*, OBX1+17*, OBX1+18, ERRS+14*, ERRS+15*, ERRS+16 |
Y | EN+14~, ERRS+5*, ERRS+6, ERRS+7 |
>> ZTSTOP | EN+27*, PID+1* |