HLTPCK2A ;SF/RSD - Message Header Validation (Con't) ;09/13/2006
Source file <HLTPCK2A.m>
Package | Total | Call Graph |
---|---|---|
Health Level Seven | 3 | $$PARAM^HLCS2 $$UPPER^HLFNC ^HLTPCK2B |
Name | Comments | DBIA/ICR reference |
---|---|---|
AAT | ;Validate accept ack type and application ack type
|
|
VN | ;Validate version number
|
|
MT | ;Validate message type
|
|
RA | ;Validate receiving application
|
|
DEESCAPE(INPUT) | ;
; patch HL*1.6*120 - de-escape delimiters ; (assuming "\" is the escape character): ; - field separator (de-escape from \F\) ; - component separator (de-escape from \S\) ; - repetition separator (de-escape from \R\) ; - escape character (de-escape from \E\) ; - subcomponent separator (de-escape from \T\) ; \F\ will be de-escaped only if the length of FS is 1. |
|
ET | ;Event Type Checks
|
|
SA | ;Validate sending application
|
|
AT | ;Determine if message is an acknowledgement type
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^HL(771 - [#771] | RA+3, RA+6, RA+14, RA+22, RA+26, RA+30, SA+3, SA+6, SA+14, SA+22 , SA+26 |
^HL(771.2 - [#771.2] | MT+3 |
^HL(771.5 - [#771.5] | VN+3 |
^HL(779.001 - [#779.001] | ET+13 |
^HLMA - [#773] | AT+7 |
^HLMA("C" | AT+7 |
Name | Line Occurrences |
---|---|
$$DEESCAPE | RA+16, RA+18, RA+20, RA+24, SA+16, SA+18, SA+20, SA+24 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> ARY("ACAT" | AAT+1 |
>> ARY("APAT" | AAT+2 |
>> ARY("ETN" | ET+11, ET+13 |
>> ARY("ETP" | ET+12*, ET+13*, ET+14 |
>> ARY("MSAID" | AT+5*, AT+6, AT+7 |
>> ARY("MTIENS" | AT+5*, AT+7*, AT+8 |
>> ARY("MTN" | MT+1, MT+3, AT+1 |
>> ARY("MTP" | MT+2*, MT+3*, MT+4 |
>> ARY("RAN" | RA+1, RA+3, RA+4, RA+5, RA+6, RA+9, RA+10, RA+11, RA+12, RA+23 , RA+24 |
>> ARY("RAN-DEESCAPE" | RA+24*, RA+25, RA+26 |
>> ARY("RAN-SUB1" | RA+10*, RA+13, RA+14, RA+15, RA+16 |
>> ARY("RAN-SUB1-DEESCAPE" | RA+16*, RA+21, RA+22 |
>> ARY("RAN-SUB2" | RA+11*, RA+17, RA+18 |
>> ARY("RAN-SUB2-DEESCAPE" | RA+18* |
>> ARY("RAN-SUB3" | RA+12*, RA+19, RA+20 |
>> ARY("RAN-SUB3-DEESCAPE" | RA+20* |
>> ARY("RAP" | RA+2*, RA+3*, RA+4, RA+6*, RA+13, RA+14*, RA+21, RA+22*, RA+25, RA+26* , RA+29, RA+30 |
>> ARY("SAN" | SA+1, SA+3, SA+4, SA+5, SA+6, SA+9, SA+10, SA+11, SA+12, SA+23 , SA+24 |
>> ARY("SAN-DEESCAPE" | SA+24*, SA+25, SA+26 |
>> ARY("SAN-SUB1" | SA+10*, SA+13, SA+14, SA+15, SA+16 |
>> ARY("SAN-SUB1-DEESCAPE" | SA+16*, SA+21, SA+22 |
>> ARY("SAN-SUB2" | SA+11*, SA+17, SA+18 |
>> ARY("SAN-SUB2-DEESCAPE" | SA+18* |
>> ARY("SAN-SUB3" | SA+12*, SA+19, SA+20 |
>> ARY("SAN-SUB3-DEESCAPE" | SA+20* |
>> ARY("SAP" | SA+2*, SA+3*, SA+4, SA+6*, SA+13, SA+14*, SA+21, SA+22*, SA+25, SA+26* , SA+29 |
>> ARY("VEP" | VN+4* |
>> ARY("VER" | VN+1, VN+3, ET+11, ET+14 |
>> ECH | DEESCAPE+22, DEESCAPE+24, DEESCAPE+25, DEESCAPE+26, DEESCAPE+27, DEESCAPE+47 |
>> ECH(1 | RA+9, RA+10, RA+11, RA+12, SA+9, SA+10, SA+11, SA+12, DEESCAPE+24*, DEESCAPE+39 |
>> ECH(2 | DEESCAPE+25*, DEESCAPE+42 |
>> ECH(3 | RA+15, RA+17, RA+19, RA+23, SA+15, SA+17, SA+19, SA+23, DEESCAPE+26*, DEESCAPE+33 , DEESCAPE+35, DEESCAPE+38, DEESCAPE+41, DEESCAPE+44, DEESCAPE+45, DEESCAPE+47 |
>> ECH(4 | DEESCAPE+27*, DEESCAPE+48 |
>> ERR | HLTPCK2A+3*, MT+1*, MT+4*, AT+1*, AT+6*, AT+8*, AAT+1*, AAT+2*, RA+1*, RA+29* , RA+31*, RA+32*, SA+1*, SA+29*, VN+1*, VN+5*, ET+11*, ET+14* |
>> FS | AT+5, DEESCAPE+35, DEESCAPE+36 |
HLCHAR | DEESCAPE+17~, DEESCAPE+32*, DEESCAPE+33, DEESCAPE+50 |
HLCHAR23 | DEESCAPE+17~, DEESCAPE+34*, DEESCAPE+35, DEESCAPE+38, DEESCAPE+41, DEESCAPE+44, DEESCAPE+47 |
HLDATA | DEESCAPE+17~, DEESCAPE+18*, DEESCAPE+19, DEESCAPE+22, DEESCAPE+29, DEESCAPE+32, DEESCAPE+34 |
>> HLDOM | HLTPCK2A+4* |
HLEN | DEESCAPE+17~, DEESCAPE+29*, DEESCAPE+31 |
HLESCAPE | DEESCAPE+17~ |
HLI | DEESCAPE+17~, DEESCAPE+31*, DEESCAPE+32, DEESCAPE+34, DEESCAPE+37*, DEESCAPE+40*, DEESCAPE+43*, DEESCAPE+46*, DEESCAPE+49* |
>> HLINSTN | HLTPCK2A+4* |
HLOUT | DEESCAPE+17~, DEESCAPE+30*, DEESCAPE+36*, DEESCAPE+39*, DEESCAPE+42*, DEESCAPE+45*, DEESCAPE+48*, DEESCAPE+50*, DEESCAPE+52 |
>> HLPARAM | HLTPCK2A+4* |
INPUT | DEESCAPE~, DEESCAPE+18 |
>> MSA | AT+1, AT+3, AT+5, ET+11, ET+14 |
U | HLTPCK2A+4, AT+7 |
>> X | RA+5*, SA+5*, VN+2*, VN+3*, VN+4, VN+5 |
>> X2 | RA+30*, RA+31, RA+32 |