1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.RNG
14 import Text.Edifact.D96A.Composites (compositeC280)
15 import Text.Edifact.D96A.Simples (simple6167)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > RNG RANGE DETAILS
24 -- > Function: To identify a range.
26 -- > 010 6167 RANGE TYPE QUALIFIER M an..3
29 -- > 6411 Measure unit qualifier M an..3
30 -- > 6162 Range minimum C n..18
31 -- > 6152 Range maximum C n..18
33 -- Dependencies: 'compositeC280', 'simple6167'.
34 segmentRNG :: Parser Value
37 [ "010" .@ mandatory simple6167
38 , "020" .@ optional compositeC280