]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Segments/EQA.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Segments / EQA.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Segments.EQA
7 ( -- * Definition
8 segmentEQA
9 -- * Dependencies
10 , compositeC237
11 , simple8053
12 ) where
13
14 import Text.Edifact.D96A.Composites (compositeC237)
15 import Text.Edifact.D96A.Simples (simple8053)
16
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
19
20 -- | Derived from this specification:
21 --
22 -- > EQA ATTACHED EQUIPMENT
23 -- >
24 -- > Function: To specify attached or related equipment.
25 -- >
26 -- > 010 8053 EQUIPMENT QUALIFIER M an..3
27 -- >
28 -- > 020 C237 EQUIPMENT IDENTIFICATION C
29 -- > 8260 Equipment identification number C an..17
30 -- > 1131 Code list qualifier C an..3
31 -- > 3055 Code list responsible agency, coded C an..3
32 -- > 3207 Country, coded C an..3
33 --
34 -- Dependencies: 'compositeC237', 'simple8053'.
35 segmentEQA :: Parser Value
36 segmentEQA =
37 segment "EQA"
38 [ "010" .@ mandatory simple8053
39 , "020" .@ optional compositeC237
40 ]