1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S7124
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 7124 United Nations Dangerous Goods (UNDG) identifier [B]
17 -- > Desc: The unique serial number assigned within the United
18 -- > Nations to substances and articles contained in a list
19 -- > of the dangerous goods most commonly carried.
22 simple7124 :: Parser Value
23 simple7124 = simple "7124" (numeric `exactly` 4)