GMRCHL7E ;AV/MKN - HL7 ENCODE/DECODE SPECIAL CHARACTERS ;06/02/2020
Source file <GMRCHL7E.m>
| 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 |
|---|---|---|
| DECODE(INSTR,TCH,WDAT,INSTR1) | ;
; INSTR - Input string ; TCH - translation array ; WDAT - Output in a Vista compliant "Free Text" array ; INSTR1 - Remainder of text when last or ; second to last INSTR char = "\" |
|
| NWNODE(FREERAY) | ; build free text array
|
|
| ENCODE(INSTR,TCH) | ; Encode data
|
| Name | Line Occurrences |
|---|---|
| NWNODE | DECODE+14, DECODE+23 |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| CH | DECODE+12~, DECODE+14*, DECODE+18*, DECODE+22*, DECODE+23*, DECODE+25* |
| CNT | NWNODE+1~, NWNODE+2* |
| FREERAY | NWNODE~, NWNODE+2* |
| FREERAY( | NWNODE+2* |
| FREERAY("" | NWNODE+2 |
| II | DECODE+12~, DECODE+14*, DECODE+17, DECODE+18*, DECODE+20, DECODE+21, DECODE+22*, DECODE+23*, DECODE+25* |
| INSTR | DECODE~, DECODE+14, DECODE+17, DECODE+18, DECODE+20, DECODE+21, DECODE+22, DECODE+23, DECODE+25, ENCODE~ , ENCODE+3, ENCODE+4 |
| INSTR1 | DECODE~, DECODE+13*, DECODE+18*, DECODE+22* |
| OSTR | ENCODE+1~, ENCODE+2*, ENCODE+3*, ENCODE+5 |
| TCH | DECODE~, ENCODE~ |
| TCH( | DECODE+20, DECODE+21, DECODE+23, DECODE+25, ENCODE+4 |
| TCH("\.br\" | DECODE+17 |
| WCHR | ENCODE+1~, ENCODE+3, ENCODE+4* |
| WDAT | DECODE~, DECODE+13*, DECODE+14*, DECODE+23, DECODE+26 |
| X | ENCODE+1~, ENCODE+3*, ENCODE+4 |