]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Composites/C819.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C819.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Composites.C819
7 ( -- * Definition
8 compositeC819
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple3228
13 , simple3229
14 ) where
15
16 import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3228,
17 simple3229)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > C819 COUNTRY SUB-ENTITY DETAILS
25 -- >
26 -- > Desc: To specify a part of a country (eg county or part of
27 -- > a city).
28 -- >
29 -- > 010 3229 Country sub-entity name code C an..9
30 -- > 020 1131 Code list identification code C an..17
31 -- > 030 3055 Code list responsible agency code C an..3
32 -- > 040 3228 Country sub-entity name C an..70
33 --
34 -- Dependencies: 'simple1131', 'simple3055', 'simple3228', 'simple3229'.
35 compositeC819 :: Parser Value
36 compositeC819 =
37 composite "C819"
38 [ "010" .@ optional simple3229
39 , "020" .@ optional simple1131
40 , "030" .@ optional simple3055
41 , "040" .@ optional simple3228
42 ]