]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C212.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C212.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C212
7 ( -- * Definition
8 compositeC212
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple7140
13 , simple7143
14 ) where
15
16 import Text.Edifact.D96A.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 number C an..35
29 -- > 020 7143 Item number type, coded C an..3
30 -- > 030 1131 Code list qualifier C an..3
31 -- > 040 3055 Code list responsible agency, coded 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 ]