aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/HAN.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/HAN.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/HAN.hs43
1 files changed, 43 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/HAN.hs b/specification/src/Text/Edifact/D96A/Segments/HAN.hs
new file mode 100644
index 0000000..2f6f523
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/HAN.hs
@@ -0,0 +1,43 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.HAN
7 ( -- * Definition
8 segmentHAN
9 -- * Dependencies
10 , compositeC218
11 , compositeC524
12 ) where
13
14import Text.Edifact.D96A.Composites (compositeC218, compositeC524)
15
16import Text.Edifact.Parsing
17import Text.Edifact.Types (Value)
18
19-- | Derived from this specification:
20--
21-- > HAN HANDLING INSTRUCTIONS
22-- >
23-- > Function: To specify handling and where necessary, notify
24-- > hazards.
25-- >
26-- > 010 C524 HANDLING INSTRUCTIONS C
27-- > 4079 Handling instructions, coded C an..3
28-- > 1131 Code list qualifier C an..3
29-- > 3055 Code list responsible agency, coded C an..3
30-- > 4078 Handling instructions C an..70
31-- >
32-- > 020 C218 HAZARDOUS MATERIAL C
33-- > 7419 Hazardous material class code, identification C an..4
34-- > 1131 Code list qualifier C an..3
35-- > 3055 Code list responsible agency, coded C an..3
36--
37-- Dependencies: 'compositeC218', 'compositeC524'.
38segmentHAN :: Parser Value
39segmentHAN =
40 segment "HAN"
41 [ "010" .@ optional compositeC524
42 , "020" .@ optional compositeC218
43 ]