aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C960.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C960.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C960.hs44
1 files changed, 44 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C960.hs b/specification/src/Text/Edifact/D96A/Composites/C960.hs
new file mode 100644
index 0000000..f399f9e
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C960.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.C960
7 ( -- * Definition
8 compositeC960
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple4294
13 , simple4295
14 ) where
15
16import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4294,
17 simple4295)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > C960 REASON FOR CHANGE
25-- >
26-- > Desc: Code and/or description of the reason for a change.
27-- >
28-- > Note: This composite data element replaces composite C262 (which
29-- > has been deleted in this directory).
30-- >
31-- > 010 4295 Change reason, coded C an..3
32-- > 020 1131 Code list qualifier C an..3
33-- > 030 3055 Code list responsible agency, coded C an..3
34-- > 040 4294 Change reason C an..35
35--
36-- Dependencies: 'simple1131', 'simple3055', 'simple4294', 'simple4295'.
37compositeC960 :: Parser Value
38compositeC960 =
39 composite "C960"
40 [ "010" .@ optional simple4295
41 , "020" .@ optional simple1131
42 , "030" .@ optional simple3055
43 , "040" .@ optional simple4294
44 ]