1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C206
15 import Text.Edifact.D96A.Simples (simple4405, simple7402, simple7405)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > C206 IDENTIFICATION NUMBER
24 -- > Desc: The identification of an object.
26 -- > 010 7402 Identity number M an..35
27 -- > 020 7405 Identity number qualifier C an..3
28 -- > 030 4405 Status, coded C an..3
30 -- Dependencies: 'simple4405', 'simple7402', 'simple7405'.
31 compositeC206 :: Parser Value
34 [ "010" .@ mandatory simple7402
35 , "020" .@ optional simple7405
36 , "030" .@ optional simple4405