1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C506
16 import Text.Edifact.D96A.Simples (simple1153, simple1154, simple1156,
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
22 -- | Derived from this specification:
26 -- > Desc: Identification of a reference.
28 -- > 010 1153 Reference qualifier M an..3
29 -- > 020 1154 Reference number C an..35
30 -- > 030 1156 Line number C an..6
31 -- > 040 4000 Reference version number C an..35
33 -- Dependencies: 'simple1153', 'simple1154', 'simple1156', 'simple4000'.
34 compositeC506 :: Parser Value
37 [ "010" .@ mandatory simple1153
38 , "020" .@ optional simple1154
39 , "030" .@ optional simple1156
40 , "040" .@ optional simple4000