MHV7B1R ;WAS/GPM - HL7 message builder RTB^K13 Medications Profile ; 10/13/05 7:52pm [12/24/07 5:39pm]
Source file <MHV7B1R.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
RDF(MSGROOT,CNT,LEN,HL) | ; Build RDF segment for Rx Profile data
|
|
RDT(MSGROOT,DATAROOT,CNT,LEN,HL) | ; Build RDT segments for Rx Profile data
|
|
RMK(TYP) | ; build Remark field
|
|
SPACES(WPN) | ; Remove extra spaces from line of text
|
|
ESCAPE(VAL,HL) | ;Escape any special characters
|
Name | Line Occurrences |
---|---|
$$ESCAPE | RDT+60, RDT+93, RDT+101 |
$$RMK | RDT+59, RDT+92, RDT+98, RDT+99 |
$$SPACES | RDT+61, RDT+94, RDT+102 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CMOP | RDT+20~, RDT+25*, RDT+79, RDT+80, RDT+81, RDT+85, RDT+86, RDT+87, RDT+88 |
CMP | RDT+20~ |
CNT | RDF~, RDF+68*, RDF+69, RDF+70, RDT~, RDT+103*, RDT+104, RDT+105 |
CS | ESCAPE+10~, ESCAPE+17*, ESCAPE+34, ESCAPE+35, ESCAPE+36 |
DATAROOT | RDT~, RDT+22, RDT+25, RDT+26, RDT+27, RDT+28, RDT+29, RDT+30, RDT+31, RDT+32 , RDT+33, RDT+35, RMK+3, RMK+4, RMK+6 |
DISC | RDT+20~, RDT+98*, RDT+100 |
DIV | RDT+20~ |
DTXT | RDT+20~, RDT+100*, RDT+101 |
ES | ESCAPE+12~, ESCAPE+19*, ESCAPE+22, ESCAPE+23, ESCAPE+24 |
FS | ESCAPE+9~, ESCAPE+16*, ESCAPE+26, ESCAPE+27, ESCAPE+28 |
HL | RDF~, RDF+69, RDT~, RDT+40, RDT+45, RDT+50, RDT+53, RDT+56, RDT+60, RDT+93 , RDT+101, RDT+104, ESCAPE~ |
HL("ECH" | ESCAPE+17, ESCAPE+18, ESCAPE+19, ESCAPE+20 |
HL("FS" | ESCAPE+16 |
I | RDT+20~, RDT+22*, RDT+25, RDT+26, RDT+27, RDT+28, RDT+29, RDT+30, RDT+31, RDT+32 , RDT+33, RDT+35, RMK+3, RMK+4, RMK+6, ESCAPE+14~, ESCAPE+24*, ESCAPE+28*, ESCAPE+32*, ESCAPE+36* , ESCAPE+40* |
IX | SPACES+1~, SPACES+4* |
L | ESCAPE+14~, ESCAPE+23*, ESCAPE+24, ESCAPE+27*, ESCAPE+28, ESCAPE+31*, ESCAPE+32, ESCAPE+35*, ESCAPE+36, ESCAPE+39* , ESCAPE+40 |
LEN | RDF~, RDF+70*, RDT~, RDT+105* |
MSGROOT | RDF~, RDF+69, RDF+70, RDT~, RDT+104, RDT+105 |
NAME | RDT+20~, RDT+50, RDT+51 |
OUT | SPACES+1~, SPACES+2*, SPACES+4*, SPACES+5 |
PHRM | RDT+20~, RDT+32*, RDT+69, RDT+70, RDT+71, RDT+72, RDT+73, RDT+74, RDT+75 |
PIEN | RDT+20~, RDT+34*, RDT+49, RDT+50, RDT+52 |
RDF | RDF+12~, RDF+69 |
RDF(0 | RDF+13* |
RDF(1 | RDF+14* |
RDF(2 | RDF+15*, RDF+16*, RDF+17*, RDF+18*, RDF+19*, RDF+20*, RDF+21*, RDF+22*, RDF+23*, RDF+24* , RDF+25*, RDF+26*, RDF+27*, RDF+28*, RDF+29*, RDF+30*, RDF+31*, RDF+32*, RDF+33*, RDF+34* , RDF+35*, RDF+36*, RDF+37*, RDF+38*, RDF+39*, RDF+40*, RDF+41*, RDF+42*, RDF+43*, RDF+44* , RDF+45*, RDF+46*, RDF+47*, RDF+48*, RDF+49*, RDF+50*, RDF+51*, RDF+52*, RDF+53*, RDF+54* , RDF+55*, RDF+56*, RDF+57*, RDF+58*, RDF+59*, RDF+60*, RDF+61*, RDF+62*, RDF+63*, RDF+64* , RDF+65*, RDF+66* |
RDT | RDT+20~, RDT+23!, RDT+104 |
RDT(0 | RDT+37* |
RDT(1 | RDT+38* |
RDT(10 | RDT+47* |
RDT(11 | RDT+48* |
RDT(12 | RDT+51*, RDT+52* |
RDT(13 | RDT+53* |
RDT(14 | RDT+54* |
RDT(15 | RDT+55* |
RDT(16 | RDT+56* |
RDT(17 | RDT+57* |
RDT(18 | RDT+58* |
RDT(19 | RDT+61* |
RDT(2 | RDT+39* |
RDT(20 | RDT+62*, RDT+97 |
RDT(21 | RDT+63* |
RDT(22 | RDT+64* |
RDT(23 | RDT+65* |
RDT(24 | RDT+66* |
RDT(25 | RDT+67* |
RDT(26 | RDT+68* |
RDT(27 | RDT+69* |
RDT(28 | RDT+70* |
RDT(29 | RDT+71* |
RDT(3 | RDT+40* |
RDT(30 | RDT+72* |
RDT(31 | RDT+73* |
RDT(32 | RDT+74* |
RDT(33 | RDT+75* |
RDT(34 | RDT+76* |
RDT(35 | RDT+77* |
RDT(36 | RDT+78* |
RDT(37 | RDT+79* |
RDT(38 | RDT+80* |
RDT(39 | RDT+81* |
RDT(4 | RDT+41* |
RDT(40 | RDT+82* |
RDT(41 | RDT+83* |
RDT(42 | RDT+84* |
RDT(43 | RDT+85* |
RDT(44 | RDT+86* |
RDT(45 | RDT+87* |
RDT(46 | RDT+88* |
RDT(47 | RDT+89* |
RDT(48 | RDT+90* |
RDT(49 | RDT+91* |
RDT(5 | RDT+42* |
RDT(50 | RDT+94* |
RDT(51 | RDT+95* |
RDT(52 | RDT+96*, RDT+102* |
RDT(6 | RDT+43* |
RDT(7 | RDT+44* |
RDT(8 | RDT+45* |
RDT(9 | RDT+46* |
REM | RDT+20~, RDT+99*, RDT+100 |
RS | ESCAPE+11~, ESCAPE+18*, ESCAPE+30, ESCAPE+31, ESCAPE+32 |
RTXT | RDT+20~, RDT+24*, RDT+59*, RDT+60, RDT+93 |
RX | RDT+20~, RDT+26*, RDT+38, RDT+57, RDT+58 |
RXD | RDT+20~, RDT+35*, RDT+55, RDT+56 |
RXN | RDT+20~, RDT+27*, RDT+39, RDT+40, RDT+41, RDT+42, RDT+43, RDT+44, RDT+65 |
RXN1 | RDT+20~, RDT+28*, RDT+45, RDT+46, RDT+47, RDT+48, RDT+53, RDT+54, RDT+95 |
RXN2 | RDT+20~, RDT+29*, RDT+62, RDT+63, RDT+64, RDT+66, RDT+67, RDT+68 |
RXN3 | RDT+20~, RDT+30*, RDT+76, RDT+77, RDT+78, RDT+89, RDT+90, RDT+91 |
RXN4 | RDT+20~, RDT+31* |
RXP | RDT+20~, RDT+33*, RDT+34 |
SEG | RDT+20~ |
SIG | RDT+20~ |
SP | SPACES+1~, SPACES+3*, SPACES+4 |
SS | ESCAPE+13~, ESCAPE+20*, ESCAPE+38, ESCAPE+39, ESCAPE+40 |
STR | ESCAPE+14~, ESCAPE+23*, ESCAPE+24*, ESCAPE+25, ESCAPE+27*, ESCAPE+28*, ESCAPE+29, ESCAPE+31*, ESCAPE+32*, ESCAPE+33 , ESCAPE+35*, ESCAPE+36*, ESCAPE+37, ESCAPE+39*, ESCAPE+40*, ESCAPE+41 |
STXT | RDT+20~, RDT+24*, RDT+92*, RDT+94 |
TXT | RDT+20~, RDT+24*, RDT+60*, RDT+61, RDT+93*, RDT+101*, RDT+102 |
TYP | RMK~, RMK+3, RMK+4, RMK+6 |
VAL | ESCAPE~, ESCAPE+22, ESCAPE+23, ESCAPE+24, ESCAPE+25*, ESCAPE+26, ESCAPE+27, ESCAPE+28, ESCAPE+29*, ESCAPE+30 , ESCAPE+31, ESCAPE+32, ESCAPE+33*, ESCAPE+34, ESCAPE+35, ESCAPE+36, ESCAPE+37*, ESCAPE+38, ESCAPE+39, ESCAPE+40 , ESCAPE+41*, ESCAPE+42 |
WPLEN | RDT+20~ |
WPN | SPACES~, SPACES+2 |
X | RMK+1~, RMK+2*, RMK+5*, RMK+6*, RMK+7 |
Y | RMK+1~, RMK+2*, RMK+3*, RMK+4, RMK+6 |