]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C960.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C960.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C960
7 ( -- * Definition
8 compositeC960
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple4294
13 , simple4295
14 ) where
15
16 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple4294,
17 simple4295)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > C960 REASON FOR CHANGE
25 -- >
26 -- > Desc: Code and/or description of the reason for a change.
27 -- >
28 -- > Note: This composite data element replaces composite C262 (which
29 -- > has been deleted in this directory).
30 -- >
31 -- > 010 4295 Change reason, coded C an..3
32 -- > 020 1131 Code list qualifier C an..3
33 -- > 030 3055 Code list responsible agency, coded C an..3
34 -- > 040 4294 Change reason C an..35
35 --
36 -- Dependencies: 'simple1131', 'simple3055', 'simple4294', 'simple4295'.
37 compositeC960 :: Parser Value
38 compositeC960 =
39 composite "C960"
40 [ "010" .@ optional simple4295
41 , "020" .@ optional simple1131
42 , "030" .@ optional simple3055
43 , "040" .@ optional simple4294
44 ]