aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Composites/C819.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Composites/C819.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Composites/C819.hs42
1 files changed, 42 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Composites/C819.hs b/specification/src/Text/Edifact/D01B/Composites/C819.hs
new file mode 100644
index 0000000..440e6a5
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Composites/C819.hs
@@ -0,0 +1,42 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C819
7 ( -- * Definition
8 compositeC819
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple3228
13 , simple3229
14 ) where
15
16import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3228,
17 simple3229)
18
19import Text.Edifact.Parsing
20import 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'.
35compositeC819 :: Parser Value
36compositeC819 =
37 composite "C819"
38 [ "010" .@ optional simple3229
39 , "020" .@ optional simple1131
40 , "030" .@ optional simple3055
41 , "040" .@ optional simple3228
42 ]