aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/PIA.hs
diff options
context:
space:
mode:
authorFrédéric Menou <frederic.menou@fretlink.com>2016-12-08 10:19:15 +0200
committerIsmaël Bouya <ismael.bouya@fretlink.com>2022-05-17 18:01:51 +0200
commita9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch)
treeadf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D96A/Segments/PIA.hs
downloadedi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.gz
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.zst
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.zip
Release code as open sourceHEADmaster
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/PIA.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/PIA.hs69
1 files changed, 69 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/PIA.hs b/specification/src/Text/Edifact/D96A/Segments/PIA.hs
new file mode 100644
index 0000000..95d9813
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/PIA.hs
@@ -0,0 +1,69 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.PIA
7 ( -- * Definition
8 segmentPIA
9 -- * Dependencies
10 , compositeC212
11 , simple4347
12 ) where
13
14import Text.Edifact.D96A.Composites (compositeC212)
15import Text.Edifact.D96A.Simples (simple4347)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > PIA ADDITIONAL PRODUCT ID
23-- >
24-- > Function: To specify additional or substitutional item
25-- > identification codes.
26-- >
27-- > 010 4347 PRODUCT ID. FUNCTION QUALIFIER M an..3
28-- >
29-- > 020 C212 ITEM NUMBER IDENTIFICATION M
30-- > 7140 Item number C an..35
31-- > 7143 Item number type, coded C an..3
32-- > 1131 Code list qualifier C an..3
33-- > 3055 Code list responsible agency, coded C an..3
34-- >
35-- > 030 C212 ITEM NUMBER IDENTIFICATION C
36-- > 7140 Item number C an..35
37-- > 7143 Item number type, coded C an..3
38-- > 1131 Code list qualifier C an..3
39-- > 3055 Code list responsible agency, coded C an..3
40-- >
41-- > 040 C212 ITEM NUMBER IDENTIFICATION C
42-- > 7140 Item number C an..35
43-- > 7143 Item number type, coded C an..3
44-- > 1131 Code list qualifier C an..3
45-- > 3055 Code list responsible agency, coded C an..3
46-- >
47-- > 050 C212 ITEM NUMBER IDENTIFICATION C
48-- > 7140 Item number C an..35
49-- > 7143 Item number type, coded C an..3
50-- > 1131 Code list qualifier C an..3
51-- > 3055 Code list responsible agency, coded C an..3
52-- >
53-- > 060 C212 ITEM NUMBER IDENTIFICATION C
54-- > 7140 Item number C an..35
55-- > 7143 Item number type, coded C an..3
56-- > 1131 Code list qualifier C an..3
57-- > 3055 Code list responsible agency, coded C an..3
58--
59-- Dependencies: 'compositeC212', 'simple4347'.
60segmentPIA :: Parser Value
61segmentPIA =
62 segment "PIA"
63 [ "010" .@ mandatory simple4347
64 , "020" .@ mandatory compositeC212
65 , "030" .@ optional compositeC212
66 , "040" .@ optional compositeC212
67 , "050" .@ optional compositeC212
68 , "060" .@ optional compositeC212
69 ]