1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.HAN
14 import Text.Edifact.D01B.Composites (compositeC218, compositeC524)
16 import Text.Edifact.Parsing
17 import Text.Edifact.Types (Value)
19 -- | Derived from this specification:
21 -- > HAN HANDLING INSTRUCTIONS
23 -- > Function: To specify handling and where necessary, notify
26 -- > 010 C524 HANDLING INSTRUCTIONS C 1
27 -- > 4079 Handling instruction description code C an..3
28 -- > 1131 Code list identification code C an..17
29 -- > 3055 Code list responsible agency code C an..3
30 -- > 4078 Handling instruction description C an..70
32 -- > 020 C218 HAZARDOUS MATERIAL C 1
33 -- > 7419 Hazardous material category name code C an..7
34 -- > 1131 Code list identification code C an..17
35 -- > 3055 Code list responsible agency code C an..3
36 -- > 7418 Hazardous material category name C an..35
38 -- Dependencies: 'compositeC218', 'compositeC524'.
39 segmentHAN :: Parser Value
42 [ "010" .@ optional compositeC524
43 , "020" .@ optional compositeC218