1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.TMP
14 import Text.Edifact.D01B.Composites (compositeC239)
15 import Text.Edifact.D01B.Simples (simple6245)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
24 -- > Function: To specify the temperature setting.
26 -- > 010 6245 TEMPERATURE TYPE CODE QUALIFIER M 1 an..3
28 -- > 020 C239 TEMPERATURE SETTING C 1
29 -- > 6246 Temperature value C n..15
30 -- > 6411 Measurement unit code C an..3
32 -- Dependencies: 'compositeC239', 'simple6245'.
33 segmentTMP :: Parser Value
36 [ "010" .@ mandatory simple6245
37 , "020" .@ optional compositeC239