aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Segments/STS.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Segments/STS.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Segments/STS.hs81
1 files changed, 81 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Segments/STS.hs b/specification/src/Text/Edifact/D01B/Segments/STS.hs
new file mode 100644
index 0000000..6ef4742
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Segments/STS.hs
@@ -0,0 +1,81 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Segments.STS
7 ( -- * Definition
8 segmentSTS
9 -- * Dependencies
10 , compositeC555
11 , compositeC556
12 , compositeC601
13 ) where
14
15import Text.Edifact.D01B.Composites (compositeC555, compositeC556,
16 compositeC601)
17
18import Text.Edifact.Parsing
19import Text.Edifact.Types (Value)
20
21-- | Derived from this specification:
22--
23-- > STS STATUS
24-- >
25-- > Function: To specify the status of an object or service,
26-- > including its category and the reason(s) for the
27-- > status.
28-- >
29-- > 010 C601 STATUS CATEGORY C 1
30-- > 9015 Status category code M an..3
31-- > 1131 Code list identification code C an..17
32-- > 3055 Code list responsible agency code C an..3
33-- >
34-- > 020 C555 STATUS C 1
35-- > 4405 Status description code M an..3
36-- > 1131 Code list identification code C an..17
37-- > 3055 Code list responsible agency code C an..3
38-- > 4404 Status description C an..35
39-- >
40-- > 030 C556 STATUS REASON C 1
41-- > 9013 Status reason description code M an..3
42-- > 1131 Code list identification code C an..17
43-- > 3055 Code list responsible agency code C an..3
44-- > 9012 Status reason description C an..256
45-- >
46-- > 040 C556 STATUS REASON C 1
47-- > 9013 Status reason description code M an..3
48-- > 1131 Code list identification code C an..17
49-- > 3055 Code list responsible agency code C an..3
50-- > 9012 Status reason description C an..256
51-- >
52-- > 050 C556 STATUS REASON C 1
53-- > 9013 Status reason description code M an..3
54-- > 1131 Code list identification code C an..17
55-- > 3055 Code list responsible agency code C an..3
56-- > 9012 Status reason description C an..256
57-- >
58-- > 060 C556 STATUS REASON C 1
59-- > 9013 Status reason description code M an..3
60-- > 1131 Code list identification code C an..17
61-- > 3055 Code list responsible agency code C an..3
62-- > 9012 Status reason description C an..256
63-- >
64-- > 070 C556 STATUS REASON C 1
65-- > 9013 Status reason description code M an..3
66-- > 1131 Code list identification code C an..17
67-- > 3055 Code list responsible agency code C an..3
68-- > 9012 Status reason description C an..256
69--
70-- Dependencies: 'compositeC555', 'compositeC556', 'compositeC601'.
71segmentSTS :: Parser Value
72segmentSTS =
73 segment "STS"
74 [ "010" .@ optional compositeC601
75 , "020" .@ optional compositeC555
76 , "030" .@ optional compositeC556
77 , "040" .@ optional compositeC556
78 , "050" .@ optional compositeC556
79 , "060" .@ optional compositeC556
80 , "070" .@ optional compositeC556
81 ]