1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C107
15 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4441)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > C107 TEXT REFERENCE
24 -- > Desc: Coded reference to a standard text and its source.
26 -- > 010 4441 Free text, coded M an..3
27 -- > 020 1131 Code list qualifier C an..3
28 -- > 030 3055 Code list responsible agency, coded C an..3
30 -- Dependencies: 'simple1131', 'simple3055', 'simple4441'.
31 compositeC107 :: Parser Value
34 [ "010" .@ mandatory simple4441
35 , "020" .@ optional simple1131
36 , "030" .@ optional simple3055