1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C503
18 import Text.Edifact.D01B.Simples (simple1004, simple1056, simple1060,
19 simple1366, simple1373, simple3453)
21 import Text.Edifact.Parsing
22 import Text.Edifact.Types (Value)
24 -- | Derived from this specification:
26 -- > C503 DOCUMENT/MESSAGE DETAILS
28 -- > Desc: Identification of document/message by number,
29 -- > status, source and/or language.
31 -- > 010 1004 Document identifier C an..35
32 -- > 020 1373 Document status code C an..3
33 -- > 030 1366 Document source description C an..70
34 -- > 040 3453 Language name code C an..3
35 -- > 050 1056 Version identifier C an..9
36 -- > 060 1060 Revision identifier C an..6
38 -- Dependencies: 'simple1004', 'simple1056', 'simple1060', 'simple1366', 'simple1373', 'simple3453'.
39 compositeC503 :: Parser Value
42 [ "010" .@ optional simple1004
43 , "020" .@ optional simple1373
44 , "030" .@ optional simple1366
45 , "040" .@ optional simple3453
46 , "050" .@ optional simple1056
47 , "060" .@ optional simple1060