aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/EQA.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/EQA.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/EQA.hs40
1 files changed, 40 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/EQA.hs b/specification/src/Text/Edifact/D96A/Segments/EQA.hs
new file mode 100644
index 0000000..d16d109
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/EQA.hs
@@ -0,0 +1,40 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.EQA
7 ( -- * Definition
8 segmentEQA
9 -- * Dependencies
10 , compositeC237
11 , simple8053
12 ) where
13
14import Text.Edifact.D96A.Composites (compositeC237)
15import Text.Edifact.D96A.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 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'.
35segmentEQA :: Parser Value
36segmentEQA =
37 segment "EQA"
38 [ "010" .@ mandatory simple8053
39 , "020" .@ optional compositeC237
40 ]