]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Composites/C537.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C537.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Composites.C537
7 ( -- * Definition
8 compositeC537
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple4219
13 ) where
14
15 import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4219)
16
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
19
20 -- | Derived from this specification:
21 --
22 -- > C537 TRANSPORT PRIORITY
23 -- >
24 -- > Desc: To indicate the priority of requested transport
25 -- > service.
26 -- >
27 -- > 010 4219 Transport service priority code M an..3
28 -- > 020 1131 Code list identification code C an..17
29 -- > 030 3055 Code list responsible agency code C an..3
30 --
31 -- Dependencies: 'simple1131', 'simple3055', 'simple4219'.
32 compositeC537 :: Parser Value
33 compositeC537 =
34 composite "C537"
35 [ "010" .@ mandatory simple4219
36 , "020" .@ optional simple1131
37 , "030" .@ optional simple3055
38 ]