]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Segments/EQA.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / EQA.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Segments.EQA
7 ( -- * Definition
8 segmentEQA
9 -- * Dependencies
10 , compositeC237
11 , simple8053
12 ) where
13
14import Text.Edifact.D01B.Composites (compositeC237)
15import Text.Edifact.D01B.Simples (simple8053)
16
17import Text.Edifact.Parsing
18import 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 TYPE CODE QUALIFIER M 1 an..3
27-- >
28-- > 020 C237 EQUIPMENT IDENTIFICATION C 1
29-- > 8260 Equipment identifier C an..17
30-- > 1131 Code list identification code C an..17
31-- > 3055 Code list responsible agency code C an..3
32-- > 3207 Country name code C an..3
33--
34-- Dependencies: 'compositeC237', 'simple8053'.
35segmentEQA :: Parser Value
36segmentEQA =
37 segment "EQA"
38 [ "010" .@ mandatory simple8053
39 , "020" .@ optional compositeC237
40 ]