aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C233.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C233.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C233.hs44
1 files changed, 44 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C233.hs b/specification/src/Text/Edifact/D96A/Composites/C233.hs
new file mode 100644
index 0000000..de37b8f
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C233.hs
@@ -0,0 +1,44 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C233
7 ( -- * Definition
8 compositeC233
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple7273
13 ) where
14
15import Text.Edifact.D96A.Simples (simple1131, simple3055, simple7273)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > | C233 SERVICE
23-- >
24-- > | Desc: To identify a service (which may constitute an additional
25-- > component to a basic contract).
26-- >
27-- > 010 7273 Service requirement, coded M an..3
28-- > 020 1131 Code list qualifier C an..3
29-- > 030 3055 Code list responsible agency, coded C an..3
30-- > 040 7273 Service requirement, coded C an..3
31-- > 050 1131 Code list qualifier C an..3
32-- > 060 3055 Code list responsible agency, coded C an..3
33--
34-- Dependencies: 'simple1131', 'simple3055', 'simple7273'.
35compositeC233 :: Parser Value
36compositeC233 =
37 composite "C233"
38 [ "010" .@ mandatory simple7273
39 , "020" .@ optional simple1131
40 , "030" .@ optional simple3055
41 , "040" .@ optional simple7273
42 , "050" .@ optional simple1131
43 , "060" .@ optional simple3055
44 ]