diff options
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Composites')
68 files changed, 2738 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Composites/C002.hs b/specification/src/Text/Edifact/D01B/Composites/C002.hs new file mode 100644 index 0000000..739c1ed --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C002.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C002 | ||
7 | ( -- * Definition | ||
8 | compositeC002 | ||
9 | -- * Dependencies | ||
10 | , simple1000 | ||
11 | , simple1001 | ||
12 | , simple1131 | ||
13 | , simple3055 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1000, simple1001, simple1131, | ||
17 | simple3055) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C002 DOCUMENT/MESSAGE NAME | ||
25 | -- > | ||
26 | -- > Desc: Identification of a type of document/message by code | ||
27 | -- > or name. Code preferred. | ||
28 | -- > | ||
29 | -- > 010 1001 Document name code C an..3 | ||
30 | -- > 020 1131 Code list identification code C an..17 | ||
31 | -- > 030 3055 Code list responsible agency code C an..3 | ||
32 | -- > 040 1000 Document name C an..35 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1000', 'simple1001', 'simple1131', 'simple3055'. | ||
35 | compositeC002 :: Parser Value | ||
36 | compositeC002 = | ||
37 | composite "C002" | ||
38 | [ "010" .@ optional simple1001 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple1000 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C040.hs b/specification/src/Text/Edifact/D01B/Composites/C040.hs new file mode 100644 index 0000000..7066454 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C040.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C040 | ||
7 | ( -- * Definition | ||
8 | compositeC040 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple3127 | ||
13 | , simple3128 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3127, | ||
17 | simple3128) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C040 CARRIER | ||
25 | -- > | ||
26 | -- > Desc: Identification of a carrier by code and/or by name. | ||
27 | -- > Code preferred. | ||
28 | -- > | ||
29 | -- > 010 3127 Carrier identifier C an..17 | ||
30 | -- > 020 1131 Code list identification code C an..17 | ||
31 | -- > 030 3055 Code list responsible agency code C an..3 | ||
32 | -- > 040 3128 Carrier name C an..35 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple3127', 'simple3128'. | ||
35 | compositeC040 :: Parser Value | ||
36 | compositeC040 = | ||
37 | composite "C040" | ||
38 | [ "010" .@ optional simple3127 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple3128 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C056.hs b/specification/src/Text/Edifact/D01B/Composites/C056.hs new file mode 100644 index 0000000..8b4ba92 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C056.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C056 | ||
7 | ( -- * Definition | ||
8 | compositeC056 | ||
9 | -- * Dependencies | ||
10 | , simple3412 | ||
11 | , simple3413 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple3412, simple3413) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C056 DEPARTMENT OR EMPLOYEE DETAILS | ||
22 | -- > | ||
23 | -- > Desc: Code and/or name of a department or employee. Code | ||
24 | -- > preferred. | ||
25 | -- > | ||
26 | -- > 010 3413 Department or employee name code C an..17 | ||
27 | -- > 020 3412 Department or employee name C an..35 | ||
28 | -- | ||
29 | -- Dependencies: 'simple3412', 'simple3413'. | ||
30 | compositeC056 :: Parser Value | ||
31 | compositeC056 = | ||
32 | composite "C056" | ||
33 | [ "010" .@ optional simple3413 | ||
34 | , "020" .@ optional simple3412 | ||
35 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C058.hs b/specification/src/Text/Edifact/D01B/Composites/C058.hs new file mode 100644 index 0000000..91b7ca8 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C058.hs | |||
@@ -0,0 +1,39 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C058 | ||
7 | ( -- * Definition | ||
8 | compositeC058 | ||
9 | -- * Dependencies | ||
10 | , simple3124 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple3124) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C058 NAME AND ADDRESS | ||
21 | -- > | ||
22 | -- > Desc: Unstructured name and address: one to five lines. | ||
23 | -- > | ||
24 | -- > 010 3124 Name and address description M an..35 | ||
25 | -- > 020 3124 Name and address description C an..35 | ||
26 | -- > 030 3124 Name and address description C an..35 | ||
27 | -- > 040 3124 Name and address description C an..35 | ||
28 | -- > 050 3124 Name and address description C an..35 | ||
29 | -- | ||
30 | -- Dependencies: 'simple3124'. | ||
31 | compositeC058 :: Parser Value | ||
32 | compositeC058 = | ||
33 | composite "C058" | ||
34 | [ "010" .@ mandatory simple3124 | ||
35 | , "020" .@ optional simple3124 | ||
36 | , "030" .@ optional simple3124 | ||
37 | , "040" .@ optional simple3124 | ||
38 | , "050" .@ optional simple3124 | ||
39 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C059.hs b/specification/src/Text/Edifact/D01B/Composites/C059.hs new file mode 100644 index 0000000..cb31e2c --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C059.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C059 | ||
7 | ( -- * Definition | ||
8 | compositeC059 | ||
9 | -- * Dependencies | ||
10 | , simple3042 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple3042) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C059 STREET | ||
21 | -- > | ||
22 | -- > Desc: Street address and/or PO Box number in a structured | ||
23 | -- > address: one to four lines. | ||
24 | -- > | ||
25 | -- > 010 3042 Street and number or post office box | ||
26 | -- > identifier M an..35 | ||
27 | -- > 020 3042 Street and number or post office box | ||
28 | -- > identifier C an..35 | ||
29 | -- > 030 3042 Street and number or post office box | ||
30 | -- > identifier C an..35 | ||
31 | -- > 040 3042 Street and number or post office box | ||
32 | -- > identifier C an..35 | ||
33 | -- | ||
34 | -- Dependencies: 'simple3042'. | ||
35 | compositeC059 :: Parser Value | ||
36 | compositeC059 = | ||
37 | composite "C059" | ||
38 | [ "010" .@ mandatory simple3042 | ||
39 | , "020" .@ optional simple3042 | ||
40 | , "030" .@ optional simple3042 | ||
41 | , "040" .@ optional simple3042 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C076.hs b/specification/src/Text/Edifact/D01B/Composites/C076.hs new file mode 100644 index 0000000..c245bb1 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C076.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C076 | ||
7 | ( -- * Definition | ||
8 | compositeC076 | ||
9 | -- * Dependencies | ||
10 | , simple3148 | ||
11 | , simple3155 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple3148, simple3155) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C076 COMMUNICATION CONTACT | ||
22 | -- > | ||
23 | -- > Desc: Communication number of a department or employee in | ||
24 | -- > a specified channel. | ||
25 | -- > | ||
26 | -- > 010 3148 Communication address identifier M an..512 | ||
27 | -- > 020 3155 Communication address code qualifier M an..3 | ||
28 | -- | ||
29 | -- Dependencies: 'simple3148', 'simple3155'. | ||
30 | compositeC076 :: Parser Value | ||
31 | compositeC076 = | ||
32 | composite "C076" | ||
33 | [ "010" .@ mandatory simple3148 | ||
34 | , "020" .@ mandatory simple3155 | ||
35 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C080.hs b/specification/src/Text/Edifact/D01B/Composites/C080.hs new file mode 100644 index 0000000..59b29dc --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C080.hs | |||
@@ -0,0 +1,43 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C080 | ||
7 | ( -- * Definition | ||
8 | compositeC080 | ||
9 | -- * Dependencies | ||
10 | , simple3036 | ||
11 | , simple3045 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple3036, simple3045) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C080 PARTY NAME | ||
22 | -- > | ||
23 | -- > Desc: Identification of a transaction party by name, one | ||
24 | -- > to five lines. Party name may be formatted. | ||
25 | -- > | ||
26 | -- > 010 3036 Party name M an..35 | ||
27 | -- > 020 3036 Party name C an..35 | ||
28 | -- > 030 3036 Party name C an..35 | ||
29 | -- > 040 3036 Party name C an..35 | ||
30 | -- > 050 3036 Party name C an..35 | ||
31 | -- > 060 3045 Party name format code C an..3 | ||
32 | -- | ||
33 | -- Dependencies: 'simple3036', 'simple3045'. | ||
34 | compositeC080 :: Parser Value | ||
35 | compositeC080 = | ||
36 | composite "C080" | ||
37 | [ "010" .@ mandatory simple3036 | ||
38 | , "020" .@ optional simple3036 | ||
39 | , "030" .@ optional simple3036 | ||
40 | , "040" .@ optional simple3036 | ||
41 | , "050" .@ optional simple3036 | ||
42 | , "060" .@ optional simple3045 | ||
43 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C082.hs b/specification/src/Text/Edifact/D01B/Composites/C082.hs new file mode 100644 index 0000000..f76eede --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C082.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C082 | ||
7 | ( -- * Definition | ||
8 | compositeC082 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3039 | ||
12 | , simple3055 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3039, simple3055) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C082 PARTY IDENTIFICATION DETAILS | ||
23 | -- > | ||
24 | -- > Desc: Identification of a transaction party by code. | ||
25 | -- > | ||
26 | -- > 010 3039 Party identifier M an..35 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3039', 'simple3055'. | ||
31 | compositeC082 :: Parser Value | ||
32 | compositeC082 = | ||
33 | composite "C082" | ||
34 | [ "010" .@ mandatory simple3039 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C100.hs b/specification/src/Text/Edifact/D01B/Composites/C100.hs new file mode 100644 index 0000000..3f84783 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C100.hs | |||
@@ -0,0 +1,45 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C100 | ||
7 | ( -- * Definition | ||
8 | compositeC100 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4052 | ||
13 | , simple4053 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4052, | ||
17 | simple4053) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C100 TERMS OF DELIVERY OR TRANSPORT | ||
25 | -- > | ||
26 | -- > Desc: Terms of delivery or transport code from a specified | ||
27 | -- > source. | ||
28 | -- > | ||
29 | -- > 010 4053 Delivery or transport terms description | ||
30 | -- > code C an..3 | ||
31 | -- > 020 1131 Code list identification code C an..17 | ||
32 | -- > 030 3055 Code list responsible agency code C an..3 | ||
33 | -- > 040 4052 Delivery or transport terms description C an..70 | ||
34 | -- > 050 4052 Delivery or transport terms description C an..70 | ||
35 | -- | ||
36 | -- Dependencies: 'simple1131', 'simple3055', 'simple4052', 'simple4053'. | ||
37 | compositeC100 :: Parser Value | ||
38 | compositeC100 = | ||
39 | composite "C100" | ||
40 | [ "010" .@ optional simple4053 | ||
41 | , "020" .@ optional simple1131 | ||
42 | , "030" .@ optional simple3055 | ||
43 | , "040" .@ optional simple4052 | ||
44 | , "050" .@ optional simple4052 | ||
45 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C106.hs b/specification/src/Text/Edifact/D01B/Composites/C106.hs new file mode 100644 index 0000000..5240127 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C106.hs | |||
@@ -0,0 +1,38 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C106 | ||
7 | ( -- * Definition | ||
8 | compositeC106 | ||
9 | -- * Dependencies | ||
10 | , simple1004 | ||
11 | , simple1056 | ||
12 | , simple1060 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1004, simple1056, simple1060) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C106 DOCUMENT/MESSAGE IDENTIFICATION | ||
23 | -- > | ||
24 | -- > Desc: Identification of a document/message by its number | ||
25 | -- > and eventually its version or revision. | ||
26 | -- > | ||
27 | -- > 010 1004 Document identifier C an..35 | ||
28 | -- > 020 1056 Version identifier C an..9 | ||
29 | -- > 030 1060 Revision identifier C an..6 | ||
30 | -- | ||
31 | -- Dependencies: 'simple1004', 'simple1056', 'simple1060'. | ||
32 | compositeC106 :: Parser Value | ||
33 | compositeC106 = | ||
34 | composite "C106" | ||
35 | [ "010" .@ optional simple1004 | ||
36 | , "020" .@ optional simple1056 | ||
37 | , "030" .@ optional simple1060 | ||
38 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C107.hs b/specification/src/Text/Edifact/D01B/Composites/C107.hs new file mode 100644 index 0000000..749cc00 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C107.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C107 | ||
7 | ( -- * Definition | ||
8 | compositeC107 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4441 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4441) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C107 TEXT REFERENCE | ||
23 | -- > | ||
24 | -- > Desc: Coded reference to a standard text and its source. | ||
25 | -- > | ||
26 | -- > 010 4441 Free text value code M an..17 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple4441'. | ||
31 | compositeC107 :: Parser Value | ||
32 | compositeC107 = | ||
33 | composite "C107" | ||
34 | [ "010" .@ mandatory simple4441 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C108.hs b/specification/src/Text/Edifact/D01B/Composites/C108.hs new file mode 100644 index 0000000..11326d3 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C108.hs | |||
@@ -0,0 +1,39 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C108 | ||
7 | ( -- * Definition | ||
8 | compositeC108 | ||
9 | -- * Dependencies | ||
10 | , simple4440 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple4440) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C108 TEXT LITERAL | ||
21 | -- > | ||
22 | -- > Desc: Free text; one to five lines. | ||
23 | -- > | ||
24 | -- > 010 4440 Free text value M an..512 | ||
25 | -- > 020 4440 Free text value C an..512 | ||
26 | -- > 030 4440 Free text value C an..512 | ||
27 | -- > 040 4440 Free text value C an..512 | ||
28 | -- > 050 4440 Free text value C an..512 | ||
29 | -- | ||
30 | -- Dependencies: 'simple4440'. | ||
31 | compositeC108 :: Parser Value | ||
32 | compositeC108 = | ||
33 | composite "C108" | ||
34 | [ "010" .@ mandatory simple4440 | ||
35 | , "020" .@ optional simple4440 | ||
36 | , "030" .@ optional simple4440 | ||
37 | , "040" .@ optional simple4440 | ||
38 | , "050" .@ optional simple4440 | ||
39 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C174.hs b/specification/src/Text/Edifact/D01B/Composites/C174.hs new file mode 100644 index 0000000..e86ff80 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C174.hs | |||
@@ -0,0 +1,45 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C174 | ||
7 | ( -- * Definition | ||
8 | compositeC174 | ||
9 | -- * Dependencies | ||
10 | , simple6152 | ||
11 | , simple6162 | ||
12 | , simple6314 | ||
13 | , simple6411 | ||
14 | , simple6432 | ||
15 | ) where | ||
16 | |||
17 | import Text.Edifact.D01B.Simples (simple6152, simple6162, simple6314, | ||
18 | simple6411, simple6432) | ||
19 | |||
20 | import Text.Edifact.Parsing | ||
21 | import Text.Edifact.Types (Value) | ||
22 | |||
23 | -- | Derived from this specification: | ||
24 | -- | ||
25 | -- > C174 VALUE/RANGE | ||
26 | -- > | ||
27 | -- > Desc: Measurement value and relevant minimum and maximum | ||
28 | -- > values of the measurement range. | ||
29 | -- > | ||
30 | -- > 010 6411 Measurement unit code M an..3 | ||
31 | -- > 020 6314 Measurement value C an..18 | ||
32 | -- > 030 6162 Range minimum value C n..18 | ||
33 | -- > 040 6152 Range maximum value C n..18 | ||
34 | -- > 050 6432 Significant digits quantity C n..2 | ||
35 | -- | ||
36 | -- Dependencies: 'simple6152', 'simple6162', 'simple6314', 'simple6411', 'simple6432'. | ||
37 | compositeC174 :: Parser Value | ||
38 | compositeC174 = | ||
39 | composite "C174" | ||
40 | [ "010" .@ mandatory simple6411 | ||
41 | , "020" .@ optional simple6314 | ||
42 | , "030" .@ optional simple6162 | ||
43 | , "040" .@ optional simple6152 | ||
44 | , "050" .@ optional simple6432 | ||
45 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C186.hs b/specification/src/Text/Edifact/D01B/Composites/C186.hs new file mode 100644 index 0000000..6f4a37c --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C186.hs | |||
@@ -0,0 +1,38 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C186 | ||
7 | ( -- * Definition | ||
8 | compositeC186 | ||
9 | -- * Dependencies | ||
10 | , simple6060 | ||
11 | , simple6063 | ||
12 | , simple6411 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple6060, simple6063, simple6411) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C186 QUANTITY DETAILS | ||
23 | -- > | ||
24 | -- > Desc: Quantity information in a transaction, qualified | ||
25 | -- > when relevant. | ||
26 | -- > | ||
27 | -- > 010 6063 Quantity type code qualifier M an..3 | ||
28 | -- > 020 6060 Quantity M an..35 | ||
29 | -- > 030 6411 Measurement unit code C an..3 | ||
30 | -- | ||
31 | -- Dependencies: 'simple6060', 'simple6063', 'simple6411'. | ||
32 | compositeC186 :: Parser Value | ||
33 | compositeC186 = | ||
34 | composite "C186" | ||
35 | [ "010" .@ mandatory simple6063 | ||
36 | , "020" .@ mandatory simple6060 | ||
37 | , "030" .@ optional simple6411 | ||
38 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C200.hs b/specification/src/Text/Edifact/D01B/Composites/C200.hs new file mode 100644 index 0000000..e0f682a --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C200.hs | |||
@@ -0,0 +1,48 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C200 | ||
7 | ( -- * Definition | ||
8 | compositeC200 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4237 | ||
13 | , simple7140 | ||
14 | , simple8022 | ||
15 | , simple8023 | ||
16 | ) where | ||
17 | |||
18 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4237, | ||
19 | simple7140, simple8022, simple8023) | ||
20 | |||
21 | import Text.Edifact.Parsing | ||
22 | import Text.Edifact.Types (Value) | ||
23 | |||
24 | -- | Derived from this specification: | ||
25 | -- | ||
26 | -- > C200 CHARGE | ||
27 | -- > | ||
28 | -- > Desc: Identification of a charge by code and/or by name. | ||
29 | -- > | ||
30 | -- > 010 8023 Freight and other charges description | ||
31 | -- > identifier C an..17 | ||
32 | -- > 020 1131 Code list identification code C an..17 | ||
33 | -- > 030 3055 Code list responsible agency code C an..3 | ||
34 | -- > 040 8022 Freight and other charges description C an..26 | ||
35 | -- > 050 4237 Payment arrangement code C an..3 | ||
36 | -- > 060 7140 Item identifier C an..35 | ||
37 | -- | ||
38 | -- Dependencies: 'simple1131', 'simple3055', 'simple4237', 'simple7140', 'simple8022', 'simple8023'. | ||
39 | compositeC200 :: Parser Value | ||
40 | compositeC200 = | ||
41 | composite "C200" | ||
42 | [ "010" .@ optional simple8023 | ||
43 | , "020" .@ optional simple1131 | ||
44 | , "030" .@ optional simple3055 | ||
45 | , "040" .@ optional simple8022 | ||
46 | , "050" .@ optional simple4237 | ||
47 | , "060" .@ optional simple7140 | ||
48 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C203.hs b/specification/src/Text/Edifact/D01B/Composites/C203.hs new file mode 100644 index 0000000..08129d4 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C203.hs | |||
@@ -0,0 +1,54 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C203 | ||
7 | ( -- * Definition | ||
8 | compositeC203 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple5242 | ||
13 | , simple5243 | ||
14 | , simple5275 | ||
15 | ) where | ||
16 | |||
17 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple5242, | ||
18 | simple5243, simple5275) | ||
19 | |||
20 | import Text.Edifact.Parsing | ||
21 | import Text.Edifact.Types (Value) | ||
22 | |||
23 | -- | Derived from this specification: | ||
24 | -- | ||
25 | -- > C203 RATE/TARIFF CLASS | ||
26 | -- > | ||
27 | -- > Desc: Identification of the applicable rate/tariff class. | ||
28 | -- > | ||
29 | -- > 010 5243 Rate or tariff class description code M 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 5242 Rate or tariff class description C an..35 | ||
33 | -- > 050 5275 Supplementary rate or tariff code C an..6 | ||
34 | -- > 060 1131 Code list identification code C an..17 | ||
35 | -- > 070 3055 Code list responsible agency code C an..3 | ||
36 | -- > 080 5275 Supplementary rate or tariff code C an..6 | ||
37 | -- > 090 1131 Code list identification code C an..17 | ||
38 | -- > 100 3055 Code list responsible agency code C an..3 | ||
39 | -- | ||
40 | -- Dependencies: 'simple1131', 'simple3055', 'simple5242', 'simple5243', 'simple5275'. | ||
41 | compositeC203 :: Parser Value | ||
42 | compositeC203 = | ||
43 | composite "C203" | ||
44 | [ "010" .@ mandatory simple5243 | ||
45 | , "020" .@ optional simple1131 | ||
46 | , "030" .@ optional simple3055 | ||
47 | , "040" .@ optional simple5242 | ||
48 | , "050" .@ optional simple5275 | ||
49 | , "060" .@ optional simple1131 | ||
50 | , "070" .@ optional simple3055 | ||
51 | , "080" .@ optional simple5275 | ||
52 | , "090" .@ optional simple1131 | ||
53 | , "100" .@ optional simple3055 | ||
54 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C205.hs b/specification/src/Text/Edifact/D01B/Composites/C205.hs new file mode 100644 index 0000000..e35b6fd --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C205.hs | |||
@@ -0,0 +1,38 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C205 | ||
7 | ( -- * Definition | ||
8 | compositeC205 | ||
9 | -- * Dependencies | ||
10 | , simple8078 | ||
11 | , simple8092 | ||
12 | , simple8351 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple8078, simple8092, simple8351) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C205 HAZARD CODE | ||
23 | -- > | ||
24 | -- > Desc: The identification of the dangerous goods in code. | ||
25 | -- > | ||
26 | -- > 010 8351 Hazard identification code M an..7 | ||
27 | -- > 020 8078 Additional hazard classification | ||
28 | -- > identifier C an..7 | ||
29 | -- > 030 8092 Hazard code version identifier C an..10 | ||
30 | -- | ||
31 | -- Dependencies: 'simple8078', 'simple8092', 'simple8351'. | ||
32 | compositeC205 :: Parser Value | ||
33 | compositeC205 = | ||
34 | composite "C205" | ||
35 | [ "010" .@ mandatory simple8351 | ||
36 | , "020" .@ optional simple8078 | ||
37 | , "030" .@ optional simple8092 | ||
38 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C208.hs b/specification/src/Text/Edifact/D01B/Composites/C208.hs new file mode 100644 index 0000000..889d546 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C208.hs | |||
@@ -0,0 +1,34 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C208 | ||
7 | ( -- * Definition | ||
8 | compositeC208 | ||
9 | -- * Dependencies | ||
10 | , simple7402 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple7402) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C208 IDENTITY NUMBER RANGE | ||
21 | -- > | ||
22 | -- > Desc: Goods item identification numbers, start and end of | ||
23 | -- > consecutively numbered range. | ||
24 | -- > | ||
25 | -- > 010 7402 Object identifier M an..35 | ||
26 | -- > 020 7402 Object identifier C an..35 | ||
27 | -- | ||
28 | -- Dependencies: 'simple7402'. | ||
29 | compositeC208 :: Parser Value | ||
30 | compositeC208 = | ||
31 | composite "C208" | ||
32 | [ "010" .@ mandatory simple7402 | ||
33 | , "020" .@ optional simple7402 | ||
34 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C210.hs b/specification/src/Text/Edifact/D01B/Composites/C210.hs new file mode 100644 index 0000000..e2fd38e --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C210.hs | |||
@@ -0,0 +1,50 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C210 | ||
7 | ( -- * Definition | ||
8 | compositeC210 | ||
9 | -- * Dependencies | ||
10 | , simple7102 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple7102) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C210 MARKS & LABELS | ||
21 | -- > | ||
22 | -- > Desc: Shipping marks on packages in free text; one to ten | ||
23 | -- > lines. | ||
24 | -- > | ||
25 | -- > 010 7102 Shipping marks description M an..35 | ||
26 | -- > 020 7102 Shipping marks description C an..35 | ||
27 | -- > 030 7102 Shipping marks description C an..35 | ||
28 | -- > 040 7102 Shipping marks description C an..35 | ||
29 | -- > 050 7102 Shipping marks description C an..35 | ||
30 | -- > 060 7102 Shipping marks description C an..35 | ||
31 | -- > 070 7102 Shipping marks description C an..35 | ||
32 | -- > 080 7102 Shipping marks description C an..35 | ||
33 | -- > 090 7102 Shipping marks description C an..35 | ||
34 | -- > 100 7102 Shipping marks description C an..35 | ||
35 | -- | ||
36 | -- Dependencies: 'simple7102'. | ||
37 | compositeC210 :: Parser Value | ||
38 | compositeC210 = | ||
39 | composite "C210" | ||
40 | [ "010" .@ mandatory simple7102 | ||
41 | , "020" .@ optional simple7102 | ||
42 | , "030" .@ optional simple7102 | ||
43 | , "040" .@ optional simple7102 | ||
44 | , "050" .@ optional simple7102 | ||
45 | , "060" .@ optional simple7102 | ||
46 | , "070" .@ optional simple7102 | ||
47 | , "080" .@ optional simple7102 | ||
48 | , "090" .@ optional simple7102 | ||
49 | , "100" .@ optional simple7102 | ||
50 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C211.hs b/specification/src/Text/Edifact/D01B/Composites/C211.hs new file mode 100644 index 0000000..edd4eb0 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C211.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C211 | ||
7 | ( -- * Definition | ||
8 | compositeC211 | ||
9 | -- * Dependencies | ||
10 | , simple6008 | ||
11 | , simple6140 | ||
12 | , simple6168 | ||
13 | , simple6411 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple6008, simple6140, simple6168, | ||
17 | simple6411) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C211 DIMENSIONS | ||
25 | -- > | ||
26 | -- > Desc: Specification of the dimensions of a transportable | ||
27 | -- > unit. | ||
28 | -- > | ||
29 | -- > 010 6411 Measurement unit code M an..3 | ||
30 | -- > 020 6168 Length dimension value C n..15 | ||
31 | -- > 030 6140 Width dimension value C n..15 | ||
32 | -- > 040 6008 Height dimension value C n..15 | ||
33 | -- | ||
34 | -- Dependencies: 'simple6008', 'simple6140', 'simple6168', 'simple6411'. | ||
35 | compositeC211 :: Parser Value | ||
36 | compositeC211 = | ||
37 | composite "C211" | ||
38 | [ "010" .@ mandatory simple6411 | ||
39 | , "020" .@ optional simple6168 | ||
40 | , "030" .@ optional simple6140 | ||
41 | , "040" .@ optional simple6008 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C212.hs b/specification/src/Text/Edifact/D01B/Composites/C212.hs new file mode 100644 index 0000000..0d5f093 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C212.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C212 | ||
7 | ( -- * Definition | ||
8 | compositeC212 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7140 | ||
13 | , simple7143 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7140, | ||
17 | simple7143) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C212 ITEM NUMBER IDENTIFICATION | ||
25 | -- > | ||
26 | -- > Desc: Goods identification for a specified source. | ||
27 | -- > | ||
28 | -- > 010 7140 Item identifier C an..35 | ||
29 | -- > 020 7143 Item type identification code C an..3 | ||
30 | -- > 030 1131 Code list identification code C an..17 | ||
31 | -- > 040 3055 Code list responsible agency code C an..3 | ||
32 | -- | ||
33 | -- Dependencies: 'simple1131', 'simple3055', 'simple7140', 'simple7143'. | ||
34 | compositeC212 :: Parser Value | ||
35 | compositeC212 = | ||
36 | composite "C212" | ||
37 | [ "010" .@ optional simple7140 | ||
38 | , "020" .@ optional simple7143 | ||
39 | , "030" .@ optional simple1131 | ||
40 | , "040" .@ optional simple3055 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C213.hs b/specification/src/Text/Edifact/D01B/Composites/C213.hs new file mode 100644 index 0000000..7b147eb --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C213.hs | |||
@@ -0,0 +1,47 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C213 | ||
7 | ( -- * Definition | ||
8 | compositeC213 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7064 | ||
13 | , simple7065 | ||
14 | , simple7224 | ||
15 | , simple7233 | ||
16 | ) where | ||
17 | |||
18 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7064, | ||
19 | simple7065, simple7224, simple7233) | ||
20 | |||
21 | import Text.Edifact.Parsing | ||
22 | import Text.Edifact.Types (Value) | ||
23 | |||
24 | -- | Derived from this specification: | ||
25 | -- | ||
26 | -- > C213 NUMBER AND TYPE OF PACKAGES | ||
27 | -- > | ||
28 | -- > Desc: Number and type of individual parts of a shipment. | ||
29 | -- > | ||
30 | -- > 010 7224 Package quantity C n..8 | ||
31 | -- > 020 7065 Package type description code C an..17 | ||
32 | -- > 030 1131 Code list identification code C an..17 | ||
33 | -- > 040 3055 Code list responsible agency code C an..3 | ||
34 | -- > 050 7064 Type of packages C an..35 | ||
35 | -- > 060 7233 Packaging related description code C an..3 | ||
36 | -- | ||
37 | -- Dependencies: 'simple1131', 'simple3055', 'simple7064', 'simple7065', 'simple7224', 'simple7233'. | ||
38 | compositeC213 :: Parser Value | ||
39 | compositeC213 = | ||
40 | composite "C213" | ||
41 | [ "010" .@ optional simple7224 | ||
42 | , "020" .@ optional simple7065 | ||
43 | , "030" .@ optional simple1131 | ||
44 | , "040" .@ optional simple3055 | ||
45 | , "050" .@ optional simple7064 | ||
46 | , "060" .@ optional simple7233 | ||
47 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C215.hs b/specification/src/Text/Edifact/D01B/Composites/C215.hs new file mode 100644 index 0000000..06d25c8 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C215.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C215 | ||
7 | ( -- * Definition | ||
8 | compositeC215 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple9302 | ||
13 | , simple9303 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple9302, | ||
17 | simple9303) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C215 SEAL ISSUER | ||
25 | -- > | ||
26 | -- > Desc: Identification of the issuer of a seal on equipment | ||
27 | -- > either by code or by name. | ||
28 | -- > | ||
29 | -- > 010 9303 Sealing party name code C an..3 | ||
30 | -- > 020 1131 Code list identification code C an..17 | ||
31 | -- > 030 3055 Code list responsible agency code C an..3 | ||
32 | -- > 040 9302 Sealing party name C an..35 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple9302', 'simple9303'. | ||
35 | compositeC215 :: Parser Value | ||
36 | compositeC215 = | ||
37 | composite "C215" | ||
38 | [ "010" .@ optional simple9303 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple9302 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C218.hs b/specification/src/Text/Edifact/D01B/Composites/C218.hs new file mode 100644 index 0000000..a8a191b --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C218.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C218 | ||
7 | ( -- * Definition | ||
8 | compositeC218 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7418 | ||
13 | , simple7419 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7418, | ||
17 | simple7419) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C218 HAZARDOUS MATERIAL | ||
25 | -- > | ||
26 | -- > Desc: To specify a hazardous material. | ||
27 | -- > | ||
28 | -- > 010 7419 Hazardous material category name code C an..7 | ||
29 | -- > 020 1131 Code list identification code C an..17 | ||
30 | -- > 030 3055 Code list responsible agency code C an..3 | ||
31 | -- > 040 7418 Hazardous material category name C an..35 | ||
32 | -- | ||
33 | -- Dependencies: 'simple1131', 'simple3055', 'simple7418', 'simple7419'. | ||
34 | compositeC218 :: Parser Value | ||
35 | compositeC218 = | ||
36 | composite "C218" | ||
37 | [ "010" .@ optional simple7419 | ||
38 | , "020" .@ optional simple1131 | ||
39 | , "030" .@ optional simple3055 | ||
40 | , "040" .@ optional simple7418 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C219.hs b/specification/src/Text/Edifact/D01B/Composites/C219.hs new file mode 100644 index 0000000..2669aa3 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C219.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C219 | ||
7 | ( -- * Definition | ||
8 | compositeC219 | ||
9 | -- * Dependencies | ||
10 | , simple8334 | ||
11 | , simple8335 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple8334, simple8335) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C219 MOVEMENT TYPE | ||
22 | -- > | ||
23 | -- > Desc: Description of type of service for movement of | ||
24 | -- > cargo. | ||
25 | -- > | ||
26 | -- > 010 8335 Movement type description code C an..3 | ||
27 | -- > 020 8334 Movement type description C an..35 | ||
28 | -- | ||
29 | -- Dependencies: 'simple8334', 'simple8335'. | ||
30 | compositeC219 :: Parser Value | ||
31 | compositeC219 = | ||
32 | composite "C219" | ||
33 | [ "010" .@ optional simple8335 | ||
34 | , "020" .@ optional simple8334 | ||
35 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C220.hs b/specification/src/Text/Edifact/D01B/Composites/C220.hs new file mode 100644 index 0000000..8b3da93 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C220.hs | |||
@@ -0,0 +1,34 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C220 | ||
7 | ( -- * Definition | ||
8 | compositeC220 | ||
9 | -- * Dependencies | ||
10 | , simple8066 | ||
11 | , simple8067 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple8066, simple8067) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C220 MODE OF TRANSPORT | ||
22 | -- > | ||
23 | -- > Desc: Method of transport code or name. Code preferred. | ||
24 | -- > | ||
25 | -- > 010 8067 Transport mode name code C an..3 | ||
26 | -- > 020 8066 Transport mode name C an..17 | ||
27 | -- | ||
28 | -- Dependencies: 'simple8066', 'simple8067'. | ||
29 | compositeC220 :: Parser Value | ||
30 | compositeC220 = | ||
31 | composite "C220" | ||
32 | [ "010" .@ optional simple8067 | ||
33 | , "020" .@ optional simple8066 | ||
34 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C222.hs b/specification/src/Text/Edifact/D01B/Composites/C222.hs new file mode 100644 index 0000000..2300ec3 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C222.hs | |||
@@ -0,0 +1,45 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C222 | ||
7 | ( -- * Definition | ||
8 | compositeC222 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple8212 | ||
13 | , simple8213 | ||
14 | , simple8453 | ||
15 | ) where | ||
16 | |||
17 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple8212, | ||
18 | simple8213, simple8453) | ||
19 | |||
20 | import Text.Edifact.Parsing | ||
21 | import Text.Edifact.Types (Value) | ||
22 | |||
23 | -- | Derived from this specification: | ||
24 | -- | ||
25 | -- > C222 TRANSPORT IDENTIFICATION | ||
26 | -- > | ||
27 | -- > Desc: Code and/or name identifying the means of transport. | ||
28 | -- > | ||
29 | -- > 010 8213 Transport means identification name | ||
30 | -- > identifier C an..9 | ||
31 | -- > 020 1131 Code list identification code C an..17 | ||
32 | -- > 030 3055 Code list responsible agency code C an..3 | ||
33 | -- > 040 8212 Transport means identification name C an..35 | ||
34 | -- > 050 8453 Transport means nationality code C an..3 | ||
35 | -- | ||
36 | -- Dependencies: 'simple1131', 'simple3055', 'simple8212', 'simple8213', 'simple8453'. | ||
37 | compositeC222 :: Parser Value | ||
38 | compositeC222 = | ||
39 | composite "C222" | ||
40 | [ "010" .@ optional simple8213 | ||
41 | , "020" .@ optional simple1131 | ||
42 | , "030" .@ optional simple3055 | ||
43 | , "040" .@ optional simple8212 | ||
44 | , "050" .@ optional simple8453 | ||
45 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C223.hs b/specification/src/Text/Edifact/D01B/Composites/C223.hs new file mode 100644 index 0000000..cfa4fca --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C223.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C223 | ||
7 | ( -- * Definition | ||
8 | compositeC223 | ||
9 | -- * Dependencies | ||
10 | , simple6411 | ||
11 | , simple7106 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple6411, simple7106) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C223 DANGEROUS GOODS SHIPMENT FLASHPOINT | ||
22 | -- > | ||
23 | -- > Desc: Temperature at which a vapor can be ignited as per | ||
24 | -- > ISO 1523/73. | ||
25 | -- > | ||
26 | -- > 010 7106 Shipment flashpoint value C n3 | ||
27 | -- > 020 6411 Measurement unit code C an..3 | ||
28 | -- | ||
29 | -- Dependencies: 'simple6411', 'simple7106'. | ||
30 | compositeC223 :: Parser Value | ||
31 | compositeC223 = | ||
32 | composite "C223" | ||
33 | [ "010" .@ optional simple7106 | ||
34 | , "020" .@ optional simple6411 | ||
35 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C224.hs b/specification/src/Text/Edifact/D01B/Composites/C224.hs new file mode 100644 index 0000000..bbef1f5 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C224.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C224 | ||
7 | ( -- * Definition | ||
8 | compositeC224 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple8154 | ||
13 | , simple8155 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple8154, | ||
17 | simple8155) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C224 EQUIPMENT SIZE AND TYPE | ||
25 | -- > | ||
26 | -- > Desc: Code and or name identifying size and type of | ||
27 | -- > equipment. Code preferred. | ||
28 | -- > | ||
29 | -- > 010 8155 Equipment size and type description code C an..10 | ||
30 | -- > 020 1131 Code list identification code C an..17 | ||
31 | -- > 030 3055 Code list responsible agency code C an..3 | ||
32 | -- > 040 8154 Equipment size and type description C an..35 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple8154', 'simple8155'. | ||
35 | compositeC224 :: Parser Value | ||
36 | compositeC224 = | ||
37 | composite "C224" | ||
38 | [ "010" .@ optional simple8155 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple8154 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C228.hs b/specification/src/Text/Edifact/D01B/Composites/C228.hs new file mode 100644 index 0000000..2693831 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C228.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C228 | ||
7 | ( -- * Definition | ||
8 | compositeC228 | ||
9 | -- * Dependencies | ||
10 | , simple8178 | ||
11 | , simple8179 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple8178, simple8179) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C228 TRANSPORT MEANS | ||
22 | -- > | ||
23 | -- > Desc: Code and/or name identifying the type of means of | ||
24 | -- > transport. | ||
25 | -- > | ||
26 | -- > 010 8179 Transport means description code C an..8 | ||
27 | -- > 020 8178 Transport means description C an..17 | ||
28 | -- | ||
29 | -- Dependencies: 'simple8178', 'simple8179'. | ||
30 | compositeC228 :: Parser Value | ||
31 | compositeC228 = | ||
32 | composite "C228" | ||
33 | [ "010" .@ optional simple8179 | ||
34 | , "020" .@ optional simple8178 | ||
35 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C229.hs b/specification/src/Text/Edifact/D01B/Composites/C229.hs new file mode 100644 index 0000000..fd9685e --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C229.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C229 | ||
7 | ( -- * Definition | ||
8 | compositeC229 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple5237 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple5237) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C229 CHARGE CATEGORY | ||
23 | -- > | ||
24 | -- > Desc: Identification of a category or a zone of charges. | ||
25 | -- > | ||
26 | -- > 010 5237 Charge category code M an..3 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple5237'. | ||
31 | compositeC229 :: Parser Value | ||
32 | compositeC229 = | ||
33 | composite "C229" | ||
34 | [ "010" .@ mandatory simple5237 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C231.hs b/specification/src/Text/Edifact/D01B/Composites/C231.hs new file mode 100644 index 0000000..1c35ba2 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C231.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C231 | ||
7 | ( -- * Definition | ||
8 | compositeC231 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4215 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4215) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C231 METHOD OF PAYMENT | ||
23 | -- > | ||
24 | -- > Desc: Code identifying the method of payment. | ||
25 | -- > | ||
26 | -- > 010 4215 Transport charges payment method code M an..3 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple4215'. | ||
31 | compositeC231 :: Parser Value | ||
32 | compositeC231 = | ||
33 | composite "C231" | ||
34 | [ "010" .@ mandatory simple4215 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C232.hs b/specification/src/Text/Edifact/D01B/Composites/C232.hs new file mode 100644 index 0000000..857d7d2 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C232.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C232 | ||
7 | ( -- * Definition | ||
8 | compositeC232 | ||
9 | -- * Dependencies | ||
10 | , simple9353 | ||
11 | , simple9411 | ||
12 | , simple9415 | ||
13 | , simple9417 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple9353, simple9411, simple9415, | ||
17 | simple9417) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C232 GOVERNMENT ACTION | ||
25 | -- > | ||
26 | -- > Desc: Code indicating a type of government action. | ||
27 | -- > | ||
28 | -- > 010 9415 Government agency identification code C an..3 | ||
29 | -- > 020 9411 Government involvement code C an..3 | ||
30 | -- > 030 9417 Government action code C an..3 | ||
31 | -- > 040 9353 Government procedure code C an..3 | ||
32 | -- | ||
33 | -- Dependencies: 'simple9353', 'simple9411', 'simple9415', 'simple9417'. | ||
34 | compositeC232 :: Parser Value | ||
35 | compositeC232 = | ||
36 | composite "C232" | ||
37 | [ "010" .@ optional simple9415 | ||
38 | , "020" .@ optional simple9411 | ||
39 | , "030" .@ optional simple9417 | ||
40 | , "040" .@ optional simple9353 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C233.hs b/specification/src/Text/Edifact/D01B/Composites/C233.hs new file mode 100644 index 0000000..88868dd --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C233.hs | |||
@@ -0,0 +1,44 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C233 | ||
7 | ( -- * Definition | ||
8 | compositeC233 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7273 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7273) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import 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 | ||
25 | -- > additional component to a basic contract). | ||
26 | -- > | ||
27 | -- > 010 7273 Service requirement code M an..3 | ||
28 | -- > 020 1131 Code list identification code C an..17 | ||
29 | -- > 030 3055 Code list responsible agency code C an..3 | ||
30 | -- > 040 7273 Service requirement code C an..3 | ||
31 | -- > 050 1131 Code list identification code C an..17 | ||
32 | -- > 060 3055 Code list responsible agency code C an..3 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple7273'. | ||
35 | compositeC233 :: Parser Value | ||
36 | compositeC233 = | ||
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 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C234.hs b/specification/src/Text/Edifact/D01B/Composites/C234.hs new file mode 100644 index 0000000..d66280d --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C234.hs | |||
@@ -0,0 +1,36 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C234 | ||
7 | ( -- * Definition | ||
8 | compositeC234 | ||
9 | -- * Dependencies | ||
10 | , simple7088 | ||
11 | , simple7124 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple7088, simple7124) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C234 UNDG INFORMATION | ||
22 | -- > | ||
23 | -- > Desc: Information on dangerous goods, taken from the | ||
24 | -- > United Nations Dangerous Goods classification. | ||
25 | -- > | ||
26 | -- > 010 7124 United Nations Dangerous Goods (UNDG) | ||
27 | -- > identifier C n4 | ||
28 | -- > 020 7088 Dangerous goods flashpoint value C an..8 | ||
29 | -- | ||
30 | -- Dependencies: 'simple7088', 'simple7124'. | ||
31 | compositeC234 :: Parser Value | ||
32 | compositeC234 = | ||
33 | composite "C234" | ||
34 | [ "010" .@ optional simple7124 | ||
35 | , "020" .@ optional simple7088 | ||
36 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C235.hs b/specification/src/Text/Edifact/D01B/Composites/C235.hs new file mode 100644 index 0000000..de9f088 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C235.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C235 | ||
7 | ( -- * Definition | ||
8 | compositeC235 | ||
9 | -- * Dependencies | ||
10 | , simple8158 | ||
11 | , simple8186 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple8158, simple8186) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C235 HAZARD IDENTIFICATION PLACARD DETAILS | ||
22 | -- > | ||
23 | -- > Desc: These numbers appear on the hazard identification | ||
24 | -- > placard required on the means of transport. | ||
25 | -- > | ||
26 | -- > 010 8158 Orange hazard placard upper part | ||
27 | -- > identifier C an..4 | ||
28 | -- > 020 8186 Orange hazard placard lower part | ||
29 | -- > identifier C an4 | ||
30 | -- | ||
31 | -- Dependencies: 'simple8158', 'simple8186'. | ||
32 | compositeC235 :: Parser Value | ||
33 | compositeC235 = | ||
34 | composite "C235" | ||
35 | [ "010" .@ optional simple8158 | ||
36 | , "020" .@ optional simple8186 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C236.hs b/specification/src/Text/Edifact/D01B/Composites/C236.hs new file mode 100644 index 0000000..e927eb9 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C236.hs | |||
@@ -0,0 +1,36 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C236 | ||
7 | ( -- * Definition | ||
8 | compositeC236 | ||
9 | -- * Dependencies | ||
10 | , simple8246 | ||
11 | ) where | ||
12 | |||
13 | import Text.Edifact.D01B.Simples (simple8246) | ||
14 | |||
15 | import Text.Edifact.Parsing | ||
16 | import Text.Edifact.Types (Value) | ||
17 | |||
18 | -- | Derived from this specification: | ||
19 | -- | ||
20 | -- > C236 DANGEROUS GOODS LABEL | ||
21 | -- > | ||
22 | -- > Desc: Markings identifying the type of hazardous goods and | ||
23 | -- > similar information. | ||
24 | -- > | ||
25 | -- > 010 8246 Dangerous goods marking identifier C an..4 | ||
26 | -- > 020 8246 Dangerous goods marking identifier C an..4 | ||
27 | -- > 030 8246 Dangerous goods marking identifier C an..4 | ||
28 | -- | ||
29 | -- Dependencies: 'simple8246'. | ||
30 | compositeC236 :: Parser Value | ||
31 | compositeC236 = | ||
32 | composite "C236" | ||
33 | [ "010" .@ optional simple8246 | ||
34 | , "020" .@ optional simple8246 | ||
35 | , "030" .@ optional simple8246 | ||
36 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C237.hs b/specification/src/Text/Edifact/D01B/Composites/C237.hs new file mode 100644 index 0000000..57c843e --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C237.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C237 | ||
7 | ( -- * Definition | ||
8 | compositeC237 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple3207 | ||
13 | , simple8260 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3207, | ||
17 | simple8260) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C237 EQUIPMENT IDENTIFICATION | ||
25 | -- > | ||
26 | -- > Desc: Marks (letters/numbers) identifying equipment. | ||
27 | -- > | ||
28 | -- > 010 8260 Equipment identifier C an..17 | ||
29 | -- > 020 1131 Code list identification code C an..17 | ||
30 | -- > 030 3055 Code list responsible agency code C an..3 | ||
31 | -- > 040 3207 Country name code C an..3 | ||
32 | -- | ||
33 | -- Dependencies: 'simple1131', 'simple3055', 'simple3207', 'simple8260'. | ||
34 | compositeC237 :: Parser Value | ||
35 | compositeC237 = | ||
36 | composite "C237" | ||
37 | [ "010" .@ optional simple8260 | ||
38 | , "020" .@ optional simple1131 | ||
39 | , "030" .@ optional simple3055 | ||
40 | , "040" .@ optional simple3207 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C239.hs b/specification/src/Text/Edifact/D01B/Composites/C239.hs new file mode 100644 index 0000000..351318f --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C239.hs | |||
@@ -0,0 +1,35 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C239 | ||
7 | ( -- * Definition | ||
8 | compositeC239 | ||
9 | -- * Dependencies | ||
10 | , simple6246 | ||
11 | , simple6411 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple6246, simple6411) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C239 TEMPERATURE SETTING | ||
22 | -- > | ||
23 | -- > Desc: The temperature under which the goods are (to be) | ||
24 | -- > stored or shipped. | ||
25 | -- > | ||
26 | -- > 010 6246 Temperature value C n..15 | ||
27 | -- > 020 6411 Measurement unit code C an..3 | ||
28 | -- | ||
29 | -- Dependencies: 'simple6246', 'simple6411'. | ||
30 | compositeC239 :: Parser Value | ||
31 | compositeC239 = | ||
32 | composite "C239" | ||
33 | [ "010" .@ optional simple6246 | ||
34 | , "020" .@ optional simple6411 | ||
35 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C270.hs b/specification/src/Text/Edifact/D01B/Composites/C270.hs new file mode 100644 index 0000000..1130c3e --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C270.hs | |||
@@ -0,0 +1,38 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C270 | ||
7 | ( -- * Definition | ||
8 | compositeC270 | ||
9 | -- * Dependencies | ||
10 | , simple6066 | ||
11 | , simple6069 | ||
12 | , simple6411 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple6066, simple6069, simple6411) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C270 CONTROL | ||
23 | -- > | ||
24 | -- > Desc: Control total for checking integrity of a message or | ||
25 | -- > part of a message. | ||
26 | -- > | ||
27 | -- > 010 6069 Control total type code qualifier M an..3 | ||
28 | -- > 020 6066 Control total value M n..18 | ||
29 | -- > 030 6411 Measurement unit code C an..3 | ||
30 | -- | ||
31 | -- Dependencies: 'simple6066', 'simple6069', 'simple6411'. | ||
32 | compositeC270 :: Parser Value | ||
33 | compositeC270 = | ||
34 | composite "C270" | ||
35 | [ "010" .@ mandatory simple6069 | ||
36 | , "020" .@ mandatory simple6066 | ||
37 | , "030" .@ optional simple6411 | ||
38 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C280.hs b/specification/src/Text/Edifact/D01B/Composites/C280.hs new file mode 100644 index 0000000..90e985b --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C280.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C280 | ||
7 | ( -- * Definition | ||
8 | compositeC280 | ||
9 | -- * Dependencies | ||
10 | , simple6152 | ||
11 | , simple6162 | ||
12 | , simple6411 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple6152, simple6162, simple6411) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C280 RANGE | ||
23 | -- > | ||
24 | -- > Desc: Range minimum and maximum limits. | ||
25 | -- > | ||
26 | -- > 010 6411 Measurement unit code M an..3 | ||
27 | -- > 020 6162 Range minimum value C n..18 | ||
28 | -- > 030 6152 Range maximum value C n..18 | ||
29 | -- | ||
30 | -- Dependencies: 'simple6152', 'simple6162', 'simple6411'. | ||
31 | compositeC280 :: Parser Value | ||
32 | compositeC280 = | ||
33 | composite "C280" | ||
34 | [ "010" .@ mandatory simple6411 | ||
35 | , "020" .@ optional simple6162 | ||
36 | , "030" .@ optional simple6152 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C286.hs b/specification/src/Text/Edifact/D01B/Composites/C286.hs new file mode 100644 index 0000000..155e2d4 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C286.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C286 | ||
7 | ( -- * Definition | ||
8 | compositeC286 | ||
9 | -- * Dependencies | ||
10 | , simple1050 | ||
11 | , simple1131 | ||
12 | , simple1159 | ||
13 | , simple3055 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1050, simple1131, simple1159, | ||
17 | simple3055) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C286 SEQUENCE INFORMATION | ||
25 | -- > | ||
26 | -- > Desc: Identification of a sequence and source for | ||
27 | -- > sequencing. | ||
28 | -- > | ||
29 | -- > 010 1050 Sequence position identifier M an..10 | ||
30 | -- > 020 1159 Sequence identifier source code C an..3 | ||
31 | -- > 030 1131 Code list identification code C an..17 | ||
32 | -- > 040 3055 Code list responsible agency code C an..3 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1050', 'simple1131', 'simple1159', 'simple3055'. | ||
35 | compositeC286 :: Parser Value | ||
36 | compositeC286 = | ||
37 | composite "C286" | ||
38 | [ "010" .@ mandatory simple1050 | ||
39 | , "020" .@ optional simple1159 | ||
40 | , "030" .@ optional simple1131 | ||
41 | , "040" .@ optional simple3055 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C330.hs b/specification/src/Text/Edifact/D01B/Composites/C330.hs new file mode 100644 index 0000000..d018419 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C330.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C330 | ||
7 | ( -- * Definition | ||
8 | compositeC330 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4497 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4497) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C330 INSURANCE COVER TYPE | ||
23 | -- > | ||
24 | -- > Desc: To provide the insurance cover type. | ||
25 | -- > | ||
26 | -- > 010 4497 Insurance cover type code M an..3 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple4497'. | ||
31 | compositeC330 :: Parser Value | ||
32 | compositeC330 = | ||
33 | composite "C330" | ||
34 | [ "010" .@ mandatory simple4497 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C331.hs b/specification/src/Text/Edifact/D01B/Composites/C331.hs new file mode 100644 index 0000000..b005851 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C331.hs | |||
@@ -0,0 +1,43 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C331 | ||
7 | ( -- * Definition | ||
8 | compositeC331 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4494 | ||
13 | , simple4495 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4494, | ||
17 | simple4495) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C331 INSURANCE COVER DETAILS | ||
25 | -- > | ||
26 | -- > Desc: To provide the insurance cover details. | ||
27 | -- > | ||
28 | -- > 010 4495 Insurance cover description code C an..17 | ||
29 | -- > 020 1131 Code list identification code C an..17 | ||
30 | -- > 030 3055 Code list responsible agency code C an..3 | ||
31 | -- > 040 4494 Insurance cover description C an..35 | ||
32 | -- > 050 4494 Insurance cover description C an..35 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple4494', 'simple4495'. | ||
35 | compositeC331 :: Parser Value | ||
36 | compositeC331 = | ||
37 | composite "C331" | ||
38 | [ "010" .@ optional simple4495 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple4494 | ||
42 | , "050" .@ optional simple4494 | ||
43 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C401.hs b/specification/src/Text/Edifact/D01B/Composites/C401.hs new file mode 100644 index 0000000..83b794a --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C401.hs | |||
@@ -0,0 +1,40 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C401 | ||
7 | ( -- * Definition | ||
8 | compositeC401 | ||
9 | -- * Dependencies | ||
10 | , simple7130 | ||
11 | , simple8457 | ||
12 | , simple8459 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple7130, simple8457, simple8459) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C401 EXCESS TRANSPORTATION INFORMATION | ||
23 | -- > | ||
24 | -- > Desc: To provide details of reason for, and responsibility | ||
25 | -- > for, use of transportation other than normally | ||
26 | -- > utilized. | ||
27 | -- > | ||
28 | -- > 010 8457 Excess transportation reason code M an..3 | ||
29 | -- > 020 8459 Excess transportation responsibility code M an..3 | ||
30 | -- > 030 7130 Customer shipment authorisation | ||
31 | -- > identifier C an..17 | ||
32 | -- | ||
33 | -- Dependencies: 'simple7130', 'simple8457', 'simple8459'. | ||
34 | compositeC401 :: Parser Value | ||
35 | compositeC401 = | ||
36 | composite "C401" | ||
37 | [ "010" .@ mandatory simple8457 | ||
38 | , "020" .@ mandatory simple8459 | ||
39 | , "030" .@ optional simple7130 | ||
40 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C501.hs b/specification/src/Text/Edifact/D01B/Composites/C501.hs new file mode 100644 index 0000000..9dff76c --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C501.hs | |||
@@ -0,0 +1,44 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C501 | ||
7 | ( -- * Definition | ||
8 | compositeC501 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple5245 | ||
13 | , simple5249 | ||
14 | , simple5482 | ||
15 | ) where | ||
16 | |||
17 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple5245, | ||
18 | simple5249, simple5482) | ||
19 | |||
20 | import Text.Edifact.Parsing | ||
21 | import Text.Edifact.Types (Value) | ||
22 | |||
23 | -- | Derived from this specification: | ||
24 | -- | ||
25 | -- > C501 PERCENTAGE DETAILS | ||
26 | -- > | ||
27 | -- > Desc: Percentage relating to a specified basis. | ||
28 | -- > | ||
29 | -- > 010 5245 Percentage type code qualifier M an..3 | ||
30 | -- > 020 5482 Percentage C n..10 | ||
31 | -- > 030 5249 Percentage basis identification code C an..3 | ||
32 | -- > 040 1131 Code list identification code C an..17 | ||
33 | -- > 050 3055 Code list responsible agency code C an..3 | ||
34 | -- | ||
35 | -- Dependencies: 'simple1131', 'simple3055', 'simple5245', 'simple5249', 'simple5482'. | ||
36 | compositeC501 :: Parser Value | ||
37 | compositeC501 = | ||
38 | composite "C501" | ||
39 | [ "010" .@ mandatory simple5245 | ||
40 | , "020" .@ optional simple5482 | ||
41 | , "030" .@ optional simple5249 | ||
42 | , "040" .@ optional simple1131 | ||
43 | , "050" .@ optional simple3055 | ||
44 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C502.hs b/specification/src/Text/Edifact/D01B/Composites/C502.hs new file mode 100644 index 0000000..2162db1 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C502.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C502 | ||
7 | ( -- * Definition | ||
8 | compositeC502 | ||
9 | -- * Dependencies | ||
10 | , simple6154 | ||
11 | , simple6155 | ||
12 | , simple6313 | ||
13 | , simple6321 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple6154, simple6155, simple6313, | ||
17 | simple6321) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C502 MEASUREMENT DETAILS | ||
25 | -- > | ||
26 | -- > Desc: Identification of measurement type. | ||
27 | -- > | ||
28 | -- > 010 6313 Measured attribute code C an..3 | ||
29 | -- > 020 6321 Measurement significance code C an..3 | ||
30 | -- > 030 6155 Non-discrete measurement name code C an..17 | ||
31 | -- > 040 6154 Non-discrete measurement name C an..70 | ||
32 | -- | ||
33 | -- Dependencies: 'simple6154', 'simple6155', 'simple6313', 'simple6321'. | ||
34 | compositeC502 :: Parser Value | ||
35 | compositeC502 = | ||
36 | composite "C502" | ||
37 | [ "010" .@ optional simple6313 | ||
38 | , "020" .@ optional simple6321 | ||
39 | , "030" .@ optional simple6155 | ||
40 | , "040" .@ optional simple6154 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C503.hs b/specification/src/Text/Edifact/D01B/Composites/C503.hs new file mode 100644 index 0000000..9eb3085 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C503.hs | |||
@@ -0,0 +1,48 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C503 | ||
7 | ( -- * Definition | ||
8 | compositeC503 | ||
9 | -- * Dependencies | ||
10 | , simple1004 | ||
11 | , simple1056 | ||
12 | , simple1060 | ||
13 | , simple1366 | ||
14 | , simple1373 | ||
15 | , simple3453 | ||
16 | ) where | ||
17 | |||
18 | import Text.Edifact.D01B.Simples (simple1004, simple1056, simple1060, | ||
19 | simple1366, simple1373, simple3453) | ||
20 | |||
21 | import Text.Edifact.Parsing | ||
22 | import Text.Edifact.Types (Value) | ||
23 | |||
24 | -- | Derived from this specification: | ||
25 | -- | ||
26 | -- > C503 DOCUMENT/MESSAGE DETAILS | ||
27 | -- > | ||
28 | -- > Desc: Identification of document/message by number, | ||
29 | -- > status, source and/or language. | ||
30 | -- > | ||
31 | -- > 010 1004 Document identifier C an..35 | ||
32 | -- > 020 1373 Document status code C an..3 | ||
33 | -- > 030 1366 Document source description C an..70 | ||
34 | -- > 040 3453 Language name code C an..3 | ||
35 | -- > 050 1056 Version identifier C an..9 | ||
36 | -- > 060 1060 Revision identifier C an..6 | ||
37 | -- | ||
38 | -- Dependencies: 'simple1004', 'simple1056', 'simple1060', 'simple1366', 'simple1373', 'simple3453'. | ||
39 | compositeC503 :: Parser Value | ||
40 | compositeC503 = | ||
41 | composite "C503" | ||
42 | [ "010" .@ optional simple1004 | ||
43 | , "020" .@ optional simple1373 | ||
44 | , "030" .@ optional simple1366 | ||
45 | , "040" .@ optional simple3453 | ||
46 | , "050" .@ optional simple1056 | ||
47 | , "060" .@ optional simple1060 | ||
48 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C504.hs b/specification/src/Text/Edifact/D01B/Composites/C504.hs new file mode 100644 index 0000000..e14f37b --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C504.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C504 | ||
7 | ( -- * Definition | ||
8 | compositeC504 | ||
9 | -- * Dependencies | ||
10 | , simple6343 | ||
11 | , simple6345 | ||
12 | , simple6347 | ||
13 | , simple6348 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple6343, simple6345, simple6347, | ||
17 | simple6348) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C504 CURRENCY DETAILS | ||
25 | -- > | ||
26 | -- > Desc: The usage to which a currency relates. | ||
27 | -- > | ||
28 | -- > 010 6347 Currency usage code qualifier M an..3 | ||
29 | -- > 020 6345 Currency identification code C an..3 | ||
30 | -- > 030 6343 Currency type code qualifier C an..3 | ||
31 | -- > 040 6348 Currency rate value C n..4 | ||
32 | -- | ||
33 | -- Dependencies: 'simple6343', 'simple6345', 'simple6347', 'simple6348'. | ||
34 | compositeC504 :: Parser Value | ||
35 | compositeC504 = | ||
36 | composite "C504" | ||
37 | [ "010" .@ mandatory simple6347 | ||
38 | , "020" .@ optional simple6345 | ||
39 | , "030" .@ optional simple6343 | ||
40 | , "040" .@ optional simple6348 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C506.hs b/specification/src/Text/Edifact/D01B/Composites/C506.hs new file mode 100644 index 0000000..7c1c972 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C506.hs | |||
@@ -0,0 +1,44 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C506 | ||
7 | ( -- * Definition | ||
8 | compositeC506 | ||
9 | -- * Dependencies | ||
10 | , simple1060 | ||
11 | , simple1153 | ||
12 | , simple1154 | ||
13 | , simple1156 | ||
14 | , simple4000 | ||
15 | ) where | ||
16 | |||
17 | import Text.Edifact.D01B.Simples (simple1060, simple1153, simple1154, | ||
18 | simple1156, simple4000) | ||
19 | |||
20 | import Text.Edifact.Parsing | ||
21 | import Text.Edifact.Types (Value) | ||
22 | |||
23 | -- | Derived from this specification: | ||
24 | -- | ||
25 | -- > C506 REFERENCE | ||
26 | -- > | ||
27 | -- > Desc: Identification of a reference. | ||
28 | -- > | ||
29 | -- > 010 1153 Reference code qualifier M an..3 | ||
30 | -- > 020 1154 Reference identifier C an..70 | ||
31 | -- > 030 1156 Document line identifier C an..6 | ||
32 | -- > 040 4000 Reference version identifier C an..35 | ||
33 | -- > 050 1060 Revision identifier C an..6 | ||
34 | -- | ||
35 | -- Dependencies: 'simple1060', 'simple1153', 'simple1154', 'simple1156', 'simple4000'. | ||
36 | compositeC506 :: Parser Value | ||
37 | compositeC506 = | ||
38 | composite "C506" | ||
39 | [ "010" .@ mandatory simple1153 | ||
40 | , "020" .@ optional simple1154 | ||
41 | , "030" .@ optional simple1156 | ||
42 | , "040" .@ optional simple4000 | ||
43 | , "050" .@ optional simple1060 | ||
44 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C507.hs b/specification/src/Text/Edifact/D01B/Composites/C507.hs new file mode 100644 index 0000000..4a20aa5 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C507.hs | |||
@@ -0,0 +1,39 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C507 | ||
7 | ( -- * Definition | ||
8 | compositeC507 | ||
9 | -- * Dependencies | ||
10 | , simple2005 | ||
11 | , simple2379 | ||
12 | , simple2380 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple2005, simple2379, simple2380) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C507 DATE/TIME/PERIOD | ||
23 | -- > | ||
24 | -- > Desc: Date and/or time, or period relevant to the | ||
25 | -- > specified date/time/period type. | ||
26 | -- > | ||
27 | -- > 010 2005 Date or time or period function code | ||
28 | -- > qualifier M an..3 | ||
29 | -- > 020 2380 Date or time or period value C an..35 | ||
30 | -- > 030 2379 Date or time or period format code C an..3 | ||
31 | -- | ||
32 | -- Dependencies: 'simple2005', 'simple2379', 'simple2380'. | ||
33 | compositeC507 :: Parser Value | ||
34 | compositeC507 = | ||
35 | composite "C507" | ||
36 | [ "010" .@ mandatory simple2005 | ||
37 | , "020" .@ optional simple2380 | ||
38 | , "030" .@ optional simple2379 | ||
39 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C509.hs b/specification/src/Text/Edifact/D01B/Composites/C509.hs new file mode 100644 index 0000000..d62c6d1 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C509.hs | |||
@@ -0,0 +1,48 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C509 | ||
7 | ( -- * Definition | ||
8 | compositeC509 | ||
9 | -- * Dependencies | ||
10 | , simple5118 | ||
11 | , simple5125 | ||
12 | , simple5284 | ||
13 | , simple5375 | ||
14 | , simple5387 | ||
15 | , simple6411 | ||
16 | ) where | ||
17 | |||
18 | import Text.Edifact.D01B.Simples (simple5118, simple5125, simple5284, | ||
19 | simple5375, simple5387, simple6411) | ||
20 | |||
21 | import Text.Edifact.Parsing | ||
22 | import Text.Edifact.Types (Value) | ||
23 | |||
24 | -- | Derived from this specification: | ||
25 | -- | ||
26 | -- > C509 PRICE INFORMATION | ||
27 | -- > | ||
28 | -- > Desc: Identification of price type, price and related | ||
29 | -- > details. | ||
30 | -- > | ||
31 | -- > 010 5125 Price code qualifier M an..3 | ||
32 | -- > 020 5118 Price amount C n..15 | ||
33 | -- > 030 5375 Price type code C an..3 | ||
34 | -- > 040 5387 Price specification code C an..3 | ||
35 | -- > 050 5284 Unit price basis value C n..9 | ||
36 | -- > 060 6411 Measurement unit code C an..3 | ||
37 | -- | ||
38 | -- Dependencies: 'simple5118', 'simple5125', 'simple5284', 'simple5375', 'simple5387', 'simple6411'. | ||
39 | compositeC509 :: Parser Value | ||
40 | compositeC509 = | ||
41 | composite "C509" | ||
42 | [ "010" .@ mandatory simple5125 | ||
43 | , "020" .@ optional simple5118 | ||
44 | , "030" .@ optional simple5375 | ||
45 | , "040" .@ optional simple5387 | ||
46 | , "050" .@ optional simple5284 | ||
47 | , "060" .@ optional simple6411 | ||
48 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C516.hs b/specification/src/Text/Edifact/D01B/Composites/C516.hs new file mode 100644 index 0000000..0dcd15d --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C516.hs | |||
@@ -0,0 +1,45 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C516 | ||
7 | ( -- * Definition | ||
8 | compositeC516 | ||
9 | -- * Dependencies | ||
10 | , simple4405 | ||
11 | , simple5004 | ||
12 | , simple5025 | ||
13 | , simple6343 | ||
14 | , simple6345 | ||
15 | ) where | ||
16 | |||
17 | import Text.Edifact.D01B.Simples (simple4405, simple5004, simple5025, | ||
18 | simple6343, simple6345) | ||
19 | |||
20 | import Text.Edifact.Parsing | ||
21 | import Text.Edifact.Types (Value) | ||
22 | |||
23 | -- | Derived from this specification: | ||
24 | -- | ||
25 | -- > C516 MONETARY AMOUNT | ||
26 | -- > | ||
27 | -- > Desc: Amount of goods or services stated as a monetary | ||
28 | -- > amount in a specified currency. | ||
29 | -- > | ||
30 | -- > 010 5025 Monetary amount type code qualifier M an..3 | ||
31 | -- > 020 5004 Monetary amount C n..35 | ||
32 | -- > 030 6345 Currency identification code C an..3 | ||
33 | -- > 040 6343 Currency type code qualifier C an..3 | ||
34 | -- > 050 4405 Status description code C an..3 | ||
35 | -- | ||
36 | -- Dependencies: 'simple4405', 'simple5004', 'simple5025', 'simple6343', 'simple6345'. | ||
37 | compositeC516 :: Parser Value | ||
38 | compositeC516 = | ||
39 | composite "C516" | ||
40 | [ "010" .@ mandatory simple5025 | ||
41 | , "020" .@ optional simple5004 | ||
42 | , "030" .@ optional simple6345 | ||
43 | , "040" .@ optional simple6343 | ||
44 | , "050" .@ optional simple4405 | ||
45 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C517.hs b/specification/src/Text/Edifact/D01B/Composites/C517.hs new file mode 100644 index 0000000..d81879a --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C517.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C517 | ||
7 | ( -- * Definition | ||
8 | compositeC517 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple3224 | ||
13 | , simple3225 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3224, | ||
17 | simple3225) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C517 LOCATION IDENTIFICATION | ||
25 | -- > | ||
26 | -- > Desc: Identification of a location by code or name. | ||
27 | -- > | ||
28 | -- > 010 3225 Location name code C an..25 | ||
29 | -- > 020 1131 Code list identification code C an..17 | ||
30 | -- > 030 3055 Code list responsible agency code C an..3 | ||
31 | -- > 040 3224 Location name C an..256 | ||
32 | -- | ||
33 | -- Dependencies: 'simple1131', 'simple3055', 'simple3224', 'simple3225'. | ||
34 | compositeC517 :: Parser Value | ||
35 | compositeC517 = | ||
36 | composite "C517" | ||
37 | [ "010" .@ optional simple3225 | ||
38 | , "020" .@ optional simple1131 | ||
39 | , "030" .@ optional simple3055 | ||
40 | , "040" .@ optional simple3224 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C519.hs b/specification/src/Text/Edifact/D01B/Composites/C519.hs new file mode 100644 index 0000000..556cb1c --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C519.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C519 | ||
7 | ( -- * Definition | ||
8 | compositeC519 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple3222 | ||
13 | , simple3223 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3222, | ||
17 | simple3223) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C519 RELATED LOCATION ONE IDENTIFICATION | ||
25 | -- > | ||
26 | -- > Desc: Identification the first related location by code or | ||
27 | -- > name. | ||
28 | -- > | ||
29 | -- > 010 3223 First related location name code C an..25 | ||
30 | -- > 020 1131 Code list identification code C an..17 | ||
31 | -- > 030 3055 Code list responsible agency code C an..3 | ||
32 | -- > 040 3222 First related location name C an..70 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple3222', 'simple3223'. | ||
35 | compositeC519 :: Parser Value | ||
36 | compositeC519 = | ||
37 | composite "C519" | ||
38 | [ "010" .@ optional simple3223 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple3222 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C523.hs b/specification/src/Text/Edifact/D01B/Composites/C523.hs new file mode 100644 index 0000000..06dbaf3 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C523.hs | |||
@@ -0,0 +1,34 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C523 | ||
7 | ( -- * Definition | ||
8 | compositeC523 | ||
9 | -- * Dependencies | ||
10 | , simple6350 | ||
11 | , simple6353 | ||
12 | ) where | ||
13 | |||
14 | import Text.Edifact.D01B.Simples (simple6350, simple6353) | ||
15 | |||
16 | import Text.Edifact.Parsing | ||
17 | import Text.Edifact.Types (Value) | ||
18 | |||
19 | -- | Derived from this specification: | ||
20 | -- | ||
21 | -- > C523 NUMBER OF UNIT DETAILS | ||
22 | -- > | ||
23 | -- > Desc: Identification of number of units and its purpose. | ||
24 | -- > | ||
25 | -- > 010 6350 Units quantity C n..15 | ||
26 | -- > 020 6353 Unit type code qualifier C an..3 | ||
27 | -- | ||
28 | -- Dependencies: 'simple6350', 'simple6353'. | ||
29 | compositeC523 :: Parser Value | ||
30 | compositeC523 = | ||
31 | composite "C523" | ||
32 | [ "010" .@ optional simple6350 | ||
33 | , "020" .@ optional simple6353 | ||
34 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C524.hs b/specification/src/Text/Edifact/D01B/Composites/C524.hs new file mode 100644 index 0000000..9b4036b --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C524.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C524 | ||
7 | ( -- * Definition | ||
8 | compositeC524 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4078 | ||
13 | , simple4079 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4078, | ||
17 | simple4079) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C524 HANDLING INSTRUCTIONS | ||
25 | -- > | ||
26 | -- > Desc: Instruction for the handling of goods, products or | ||
27 | -- > articles in shipment, storage etc. | ||
28 | -- > | ||
29 | -- > 010 4079 Handling instruction description code C an..3 | ||
30 | -- > 020 1131 Code list identification code C an..17 | ||
31 | -- > 030 3055 Code list responsible agency code C an..3 | ||
32 | -- > 040 4078 Handling instruction description C an..70 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple4078', 'simple4079'. | ||
35 | compositeC524 :: Parser Value | ||
36 | compositeC524 = | ||
37 | composite "C524" | ||
38 | [ "010" .@ optional simple4079 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple4078 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C528.hs b/specification/src/Text/Edifact/D01B/Composites/C528.hs new file mode 100644 index 0000000..7b1baaa --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C528.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C528 | ||
7 | ( -- * Definition | ||
8 | compositeC528 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7357 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7357) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C528 COMMODITY/RATE DETAIL | ||
23 | -- > | ||
24 | -- > Desc: Identification of commodity/rates. | ||
25 | -- > | ||
26 | -- > 010 7357 Commodity identification code C an..18 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple7357'. | ||
31 | compositeC528 :: Parser Value | ||
32 | compositeC528 = | ||
33 | composite "C528" | ||
34 | [ "010" .@ optional simple7357 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C536.hs b/specification/src/Text/Edifact/D01B/Composites/C536.hs new file mode 100644 index 0000000..c976acb --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C536.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C536 | ||
7 | ( -- * Definition | ||
8 | compositeC536 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4065 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4065) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C536 CONTRACT AND CARRIAGE CONDITION | ||
23 | -- > | ||
24 | -- > Desc: To identify a contract and carriage condition. | ||
25 | -- > | ||
26 | -- > 010 4065 Contract and carriage condition code M an..3 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple4065'. | ||
31 | compositeC536 :: Parser Value | ||
32 | compositeC536 = | ||
33 | composite "C536" | ||
34 | [ "010" .@ mandatory simple4065 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C537.hs b/specification/src/Text/Edifact/D01B/Composites/C537.hs new file mode 100644 index 0000000..2836432 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C537.hs | |||
@@ -0,0 +1,38 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C537 | ||
7 | ( -- * Definition | ||
8 | compositeC537 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4219 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4219) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C537 TRANSPORT PRIORITY | ||
23 | -- > | ||
24 | -- > Desc: To indicate the priority of requested transport | ||
25 | -- > service. | ||
26 | -- > | ||
27 | -- > 010 4219 Transport service priority code M an..3 | ||
28 | -- > 020 1131 Code list identification code C an..17 | ||
29 | -- > 030 3055 Code list responsible agency code C an..3 | ||
30 | -- | ||
31 | -- Dependencies: 'simple1131', 'simple3055', 'simple4219'. | ||
32 | compositeC537 :: Parser Value | ||
33 | compositeC537 = | ||
34 | composite "C537" | ||
35 | [ "010" .@ mandatory simple4219 | ||
36 | , "020" .@ optional simple1131 | ||
37 | , "030" .@ optional simple3055 | ||
38 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C553.hs b/specification/src/Text/Edifact/D01B/Composites/C553.hs new file mode 100644 index 0000000..6f325a9 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C553.hs | |||
@@ -0,0 +1,42 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C553 | ||
7 | ( -- * Definition | ||
8 | compositeC553 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple3232 | ||
13 | , simple3233 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3232, | ||
17 | simple3233) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C553 RELATED LOCATION TWO IDENTIFICATION | ||
25 | -- > | ||
26 | -- > Desc: Identification of second related location by code or | ||
27 | -- > name. | ||
28 | -- > | ||
29 | -- > 010 3233 Second related location name code C an..25 | ||
30 | -- > 020 1131 Code list identification code C an..17 | ||
31 | -- > 030 3055 Code list responsible agency code C an..3 | ||
32 | -- > 040 3232 Second related location name C an..70 | ||
33 | -- | ||
34 | -- Dependencies: 'simple1131', 'simple3055', 'simple3232', 'simple3233'. | ||
35 | compositeC553 :: Parser Value | ||
36 | compositeC553 = | ||
37 | composite "C553" | ||
38 | [ "010" .@ optional simple3233 | ||
39 | , "020" .@ optional simple1131 | ||
40 | , "030" .@ optional simple3055 | ||
41 | , "040" .@ optional simple3232 | ||
42 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C554.hs b/specification/src/Text/Edifact/D01B/Composites/C554.hs new file mode 100644 index 0000000..9374b99 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C554.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C554 | ||
7 | ( -- * Definition | ||
8 | compositeC554 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple5243 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple5243) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C554 RATE/TARIFF CLASS DETAIL | ||
23 | -- > | ||
24 | -- > Desc: Identification of the applicable rate/tariff class. | ||
25 | -- > | ||
26 | -- > 010 5243 Rate or tariff class description code C an..9 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple5243'. | ||
31 | compositeC554 :: Parser Value | ||
32 | compositeC554 = | ||
33 | composite "C554" | ||
34 | [ "010" .@ optional simple5243 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C555.hs b/specification/src/Text/Edifact/D01B/Composites/C555.hs new file mode 100644 index 0000000..0390d47 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C555.hs | |||
@@ -0,0 +1,41 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C555 | ||
7 | ( -- * Definition | ||
8 | compositeC555 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple4404 | ||
13 | , simple4405 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple4404, | ||
17 | simple4405) | ||
18 | |||
19 | import Text.Edifact.Parsing | ||
20 | import Text.Edifact.Types (Value) | ||
21 | |||
22 | -- | Derived from this specification: | ||
23 | -- | ||
24 | -- > C555 STATUS | ||
25 | -- > | ||
26 | -- > Desc: To specify a status. | ||
27 | -- > | ||
28 | -- > 010 4405 Status description code M an..3 | ||
29 | -- > 020 1131 Code list identification code C an..17 | ||
30 | -- > 030 3055 Code list responsible agency code C an..3 | ||
31 | -- > 040 4404 Status description C an..35 | ||
32 | -- | ||
33 | -- Dependencies: 'simple1131', 'simple3055', 'simple4404', 'simple4405'. | ||
34 | compositeC555 :: Parser Value | ||
35 | compositeC555 = | ||
36 | composite "C555" | ||
37 | [ "010" .@ mandatory simple4405 | ||
38 | , "020" .@ optional simple1131 | ||
39 | , "030" .@ optional simple3055 | ||
40 | , "040" .@ optional simple4404 | ||
41 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C556.hs b/specification/src/Text/Edifact/D01B/Composites/C556.hs new file mode 100644 index 0000000..069b974 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/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.D01B.Composites.C556 | ||
7 | ( -- * Definition | ||
8 | compositeC556 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple9012 | ||
13 | , simple9013 | ||
14 | ) where | ||
15 | |||
16 | import Text.Edifact.D01B.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 for a status. | ||
27 | -- > | ||
28 | -- > 010 9013 Status reason description code M an..3 | ||
29 | -- > 020 1131 Code list identification code C an..17 | ||
30 | -- > 030 3055 Code list responsible agency code C an..3 | ||
31 | -- > 040 9012 Status reason description C an..256 | ||
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 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C601.hs b/specification/src/Text/Edifact/D01B/Composites/C601.hs new file mode 100644 index 0000000..3b2b349 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C601.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C601 | ||
7 | ( -- * Definition | ||
8 | compositeC601 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple9015 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple9015) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C601 STATUS CATEGORY | ||
23 | -- > | ||
24 | -- > Desc: To specify the category of the status. | ||
25 | -- > | ||
26 | -- > 010 9015 Status category code M an..3 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple9015'. | ||
31 | compositeC601 :: Parser Value | ||
32 | compositeC601 = | ||
33 | composite "C601" | ||
34 | [ "010" .@ mandatory simple9015 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C703.hs b/specification/src/Text/Edifact/D01B/Composites/C703.hs new file mode 100644 index 0000000..d151f65 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C703.hs | |||
@@ -0,0 +1,37 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C703 | ||
7 | ( -- * Definition | ||
8 | compositeC703 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7085 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7085) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C703 NATURE OF CARGO | ||
23 | -- > | ||
24 | -- > Desc: Rough classification of a type of cargo. | ||
25 | -- > | ||
26 | -- > 010 7085 Cargo type classification code M an..3 | ||
27 | -- > 020 1131 Code list identification code C an..17 | ||
28 | -- > 030 3055 Code list responsible agency code C an..3 | ||
29 | -- | ||
30 | -- Dependencies: 'simple1131', 'simple3055', 'simple7085'. | ||
31 | compositeC703 :: Parser Value | ||
32 | compositeC703 = | ||
33 | composite "C703" | ||
34 | [ "010" .@ mandatory simple7085 | ||
35 | , "020" .@ optional simple1131 | ||
36 | , "030" .@ optional simple3055 | ||
37 | ] | ||
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 | |||
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 | ] | ||
diff --git a/specification/src/Text/Edifact/D01B/Composites/C827.hs b/specification/src/Text/Edifact/D01B/Composites/C827.hs new file mode 100644 index 0000000..e334b2e --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Composites/C827.hs | |||
@@ -0,0 +1,39 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Composites.C827 | ||
7 | ( -- * Definition | ||
8 | compositeC827 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7511 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7511) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C827 TYPE OF MARKING | ||
23 | -- > | ||
24 | -- > Desc: Specification of the type of marking that reflects | ||
25 | -- > the method that was used and the conventions adhered | ||
26 | -- > to for marking (e.g. of packages). | ||
27 | -- > | ||
28 | -- > 010 7511 Marking type code M an..3 | ||
29 | -- > 020 1131 Code list identification code C an..17 | ||
30 | -- > 030 3055 Code list responsible agency code C an..3 | ||
31 | -- | ||
32 | -- Dependencies: 'simple1131', 'simple3055', 'simple7511'. | ||
33 | compositeC827 :: Parser Value | ||
34 | compositeC827 = | ||
35 | composite "C827" | ||
36 | [ "010" .@ mandatory simple7511 | ||
37 | , "020" .@ optional simple1131 | ||
38 | , "030" .@ optional simple3055 | ||
39 | ] | ||