1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C205
15 import Text.Edifact.D01B.Simples (simple8078, simple8092, simple8351)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
24 -- > Desc: The identification of the dangerous goods in code.
26 -- > 010 8351 Hazard identification code M an..7
27 -- > 020 8078 Additional hazard classification
28 -- > identifier C an..7
29 -- > 030 8092 Hazard code version identifier C an..10
31 -- Dependencies: 'simple8078', 'simple8092', 'simple8351'.
32 compositeC205 :: Parser Value
35 [ "010" .@ mandatory simple8351
36 , "020" .@ optional simple8078
37 , "030" .@ optional simple8092