1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C286
16 import Text.Edifact.D01B.Simples (simple1050, simple1131, simple1159,
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
22 -- | Derived from this specification:
24 -- > C286 SEQUENCE INFORMATION
26 -- > Desc: Identification of a sequence and source for
29 -- > 010 1050 Sequence position identifier M an..10
30 -- > 020 1159 Sequence identifier source code C an..3
31 -- > 030 1131 Code list identification code C an..17
32 -- > 040 3055 Code list responsible agency code C an..3
34 -- Dependencies: 'simple1050', 'simple1131', 'simple1159', 'simple3055'.
35 compositeC286 :: Parser Value
38 [ "010" .@ mandatory simple1050
39 , "020" .@ optional simple1159
40 , "030" .@ optional simple1131
41 , "040" .@ optional simple3055