]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Composites/C286.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C286.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C286
7 ( -- * Definition
8 compositeC286
9 -- * Dependencies
10 , simple1050
11 , simple1131
12 , simple1159
13 , simple3055
14 ) where
15
16import Text.Edifact.D01B.Simples (simple1050, simple1131, simple1159,
17 simple3055)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > C286 SEQUENCE INFORMATION
25-- >
26-- > Desc: Identification of a sequence and source for
27-- > sequencing.
28-- >
29-- > 010 1050 Sequence position identifier M an..10
30-- > 020 1159 Sequence identifier source code C an..3
31-- > 030 1131 Code list identification code C an..17
32-- > 040 3055 Code list responsible agency code C an..3
33--
34-- Dependencies: 'simple1050', 'simple1131', 'simple1159', 'simple3055'.
35compositeC286 :: Parser Value
36compositeC286 =
37 composite "C286"
38 [ "010" .@ mandatory simple1050
39 , "020" .@ optional simple1159
40 , "030" .@ optional simple1131
41 , "040" .@ optional simple3055
42 ]