1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C222
17 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple8212,
18 simple8213, simple8453)
20 import Text.Edifact.Parsing
21 import Text.Edifact.Types (Value)
23 -- | Derived from this specification:
25 -- > C222 TRANSPORT IDENTIFICATION
27 -- > Desc: Code and/or name identifying the means of transport.
29 -- > 010 8213 Id. of means of transport identification C an..9
30 -- > 020 1131 Code list qualifier C an..3
31 -- > 030 3055 Code list responsible agency, coded C an..3
32 -- > 040 8212 Id. of the means of transport C an..35
33 -- > 050 8453 Nationality of means of transport, coded C an..3
35 -- Dependencies: 'simple1131', 'simple3055', 'simple8212', 'simple8213', 'simple8453'.
36 compositeC222 :: Parser Value
39 [ "010" .@ optional simple8213
40 , "020" .@ optional simple1131
41 , "030" .@ optional simple3055
42 , "040" .@ optional simple8212
43 , "050" .@ optional simple8453