FHS
File Header
The FHS segment is used to head a file (group of batches) as defined in Section 2.10.3, "HL7 batch protocol".
RRequiredOOptionalCConditionalWWithdrawn|#Date/Time*Backward compat.+Filler
14
| C.Len | Element | v2.6 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | - | ST | R | 1 | - | 00067 | FHS-1 | File Field Separator | Min Length |
| 2 | 4..5 | - | ST | R | 1 | - | 00068 | FHS-2 | File Encoding Characters | 2 |
| 3 | - | - | HD | O | 1 | - | 00069 | FHS-3 | File Sending Application | Length |
| 4 | - | - | HD | O | 1 | - | 00070 | FHS-4 | File Sending Facility | Length |
| 5 | - | - | HD | O | 1 | - | 00071 | FHS-5 | File Receiving Application | Length |
| 6 | - | - | HD | O | 1 | - | 00072 | FHS-6 | File Receiving Facility | Length |
| 7 | - | - | DTM | O | 1 | - | 00073 | FHS-7 | File Creation Date/Time | Length |
| 8 | - | 40= | ST | O | 1 | - | 00074 | FHS-8 | File Security | 2 |
| 9 | - | 20= | ST | O | 1 | - | 00075 | FHS-9 | File Name/ID | 2 |
| 10 | - | 80# | ST | O | 1 | - | 00076 | FHS-10 | File Header Comment | 2 |
| 11 | - | 20= | ST | O | 1 | - | 00077 | FHS-11 | File Control ID | 2 |
| 12 | - | 20= | ST | O | 1 | - | 00078 | FHS-12 | Reference File Control ID | 2 |
| 13 | - | - | HD | O | 1 | - | 02269 | FHS-13 | File Sending Network Address | Length |
| 14 | - | - | HD | O | 1 | - | 02270 | FHS-14 | File Receiving Network Address | Length |