diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C556.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C556.hs | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C556.hs b/specification/src/Text/Edifact/D96A/Composites/C556.hs new file mode 100644 index 0000000..be62b60 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C556.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C556 | ||
7 | ( -- * Definition | ||
8 | compositeC556 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple9012 | ||
13 | , simple9013 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D96A.Simples (simple1131, simple3055, simple9012, | ||
17 | simple9013) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C556 STATUS REASON | ||
25 | -- > | ||
26 | -- > Desc: To specify the reason behind a status event. | ||
27 | -- > | ||
28 | -- > 010 9013 Status reason, coded M an..3 | ||
29 | -- > 020 1131 Code list qualifier C an..3 | ||
30 | -- > 030 3055 Code list responsible agency, coded C an..3 | ||
31 | -- > 040 9012 Status reason C an..35 | ||
32 | -- | ||
33 | -- Dependencies: 'simple1131', 'simple3055', 'simple9012', 'simple9013'. | ||
34 | compositeC556 :: Parser Value | ||
35 | compositeC556 = | ||
36 | composite "C556" | ||
37 | [ "010" .@ mandatory simple9013 | ||
38 | , "020" .@ optional simple1131 | ||
39 | , "030" .@ optional simple3055 | ||
40 | , "040" .@ optional simple9012 | ||
41 | ] | ||