]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D96A/Segments/RNG.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Segments / RNG.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.RNG
7 ( -- * Definition
8 segmentRNG
9 -- * Dependencies
10 , compositeC280
11 , simple6167
12 ) where
13
14import Text.Edifact.D96A.Composites (compositeC280)
15import Text.Edifact.D96A.Simples (simple6167)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > RNG RANGE DETAILS
23-- >
24-- > Function: To identify a range.
25-- >
26-- > 010 6167 RANGE TYPE QUALIFIER M an..3
27-- >
28-- > 020 C280 RANGE C
29-- > 6411 Measure unit qualifier M an..3
30-- > 6162 Range minimum C n..18
31-- > 6152 Range maximum C n..18
32--
33-- Dependencies: 'compositeC280', 'simple6167'.
34segmentRNG :: Parser Value
35segmentRNG =
36 segment "RNG"
37 [ "010" .@ mandatory simple6167
38 , "020" .@ optional compositeC280
39 ]