ISA*00*..........
*01*SECRET....
*ZZ*SUBMITTERS.ID...
*Z*RECEIVERS.ID...
*980727*1250*U*0040
1*000000905*1*P*:~ |
ISA Interchange Control Header – ISA is a fixed record length segment and all positions within each of the data elements must be filled. The first element separator defines the element separator to be used through the entire interchange. The segment terminator used after the ISA defines the segment terminator to be used throughout the entire interchange. Spaces in the example are represented by"." for clarity. To start and identify an interchange of zero or more functional groups and interchange-related control segments. T is for Test, P is for Production |
GS*IN*SENDER CODE*
RECEIVER CODE*
19940331*0900*1*X
*004010~ |
To indicate the beginning of a functional group and to provide control information. |
| ST*997*0001~ |
Transaction Header – to indicate the start of a transaction set and to assign a control number. The Transaction Set Control Numbers in ST02 and SE02 must be identical. The number is assigned by the originator and must be unique within a functional group (GS-GE). The number also aids in error resolution research. For example, start with the number 0001 and increment from there. |
| AK1*CI*1~ |
Functional Group Response – to acknowledgement of the cancellations sent in the 811. AK101 is the functional ID found in the GS segment (GS01) in the functional group being acknowledged. AK102 is the functional group control number found in the GS segment in the functional group being acknowledged. |
| Ak2*811*0005~ |
Transaction Set Response Header – to start acknowledgment of a single transaction set. AK201 is the transaction set ID found in the ST segment (ST01) in the transaction set being acknowledged. AK202 is the transaction set control number found in the ST segment in the transaction set being acknowledged. |
| AK3*NM1*37~ |
Data Segment Note – to report errors in a data segment and to identify the location of the data segment. AK301 is the 2 or 3 characters which occur at the beginning of a segment. AK302 is a data count, not a segment position in the standard description. |
| AK4*1*98*7~ |
Data Element note - To report errors in a data element and to identify the location of the data element. Data Element Syntax Error Code for AK403 is as follows:
1 Mandatory data element missing
2 Conditional required data element missing
3 Too many data elements
4 Data element too short
5 Data element too long
6 Invalid character in data element
7 Invalid code value
8 Invalid Date
9 Invalid Time
10 Exclusion Condition Violated |
| AK5*E~ |
Transaction Set Response Trailer - to acknowledge acceptance or rejection and to report errors in a transaction set. AK501 acknowledgment codes are as follows:
A – Accepted (ADVISED)
E – Accepted but errors were noted
R – Rejected (ADVISED)
|
| AK9*A*2*2*2~ |
Functional Group Response Trailer - to acknowledge acceptance or rejection of a functional group and report the number of included transaction sets from the original trailer, the accepted sets, and the received sets. AK901 functional group acknowledge codes are as follows:
A – Accepted (ADVISED)
E – Accepted, but errors were noted
P – Partially accepted, at least one transaction set was rejected (ADVISED)
R – Rejected (ADVISED)
AK902 number of transactions sets included
AK903 number or received transaction sets
AK904 number of accepted transaction sets
|
| SE*67*0001~ |
To indicate the end of a transaction set and to provide a count of the transmitted segments. SE01 is total number of segments included in a transaction set including ST and SE segments. SE02 - the Transaction Set Control Numbers in ST02 and SE02 must be identical. The number is assigned by the originator and must be unique within a functional group (GS-GE). The number also aids in error resolution research. For example, start with the number 0001 and increment from there. |