blob: 6f4da2d60ee41191c154d431a84bdf92b28bf2d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D96A.Segments.PCD
( -- * Definition
segmentPCD
-- * Dependencies
, compositeC501
) where
import Text.Edifact.D96A.Composites (compositeC501)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > PCD PERCENTAGE DETAILS
-- >
-- > Function: To specify percentage information.
-- >
-- > 010 C501 PERCENTAGE DETAILS M
-- > 5245 Percentage qualifier M an..3
-- > 5482 Percentage C n..10
-- > 5249 Percentage basis, coded C an..3
-- > 1131 Code list qualifier C an..3
-- > 3055 Code list responsible agency, coded C an..3
--
-- Dependencies: 'compositeC501'.
segmentPCD :: Parser Value
segmentPCD =
segment "PCD"
[ "010" .@ mandatory compositeC501
]
|