aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/PCD.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/PCD.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/PCD.hs36
1 files changed, 36 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/PCD.hs b/specification/src/Text/Edifact/D96A/Segments/PCD.hs
new file mode 100644
index 0000000..6f4da2d
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/PCD.hs
@@ -0,0 +1,36 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.PCD
7 ( -- * Definition
8 segmentPCD
9 -- * Dependencies
10 , compositeC501
11 ) where
12
13import Text.Edifact.D96A.Composites (compositeC501)
14
15import Text.Edifact.Parsing
16import Text.Edifact.Types (Value)
17
18-- | Derived from this specification:
19--
20-- > PCD PERCENTAGE DETAILS
21-- >
22-- > Function: To specify percentage information.
23-- >
24-- > 010 C501 PERCENTAGE DETAILS M
25-- > 5245 Percentage qualifier M an..3
26-- > 5482 Percentage C n..10
27-- > 5249 Percentage basis, coded C an..3
28-- > 1131 Code list qualifier C an..3
29-- > 3055 Code list responsible agency, coded C an..3
30--
31-- Dependencies: 'compositeC501'.
32segmentPCD :: Parser Value
33segmentPCD =
34 segment "PCD"
35 [ "010" .@ mandatory compositeC501
36 ]