]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Segments/SEQ.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / SEQ.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Segments.SEQ
7 ( -- * Definition
8 segmentSEQ
9 -- * Dependencies
10 , compositeC286
11 , simple1229
12 ) where
13
14 import Text.Edifact.D01B.Composites (compositeC286)
15 import Text.Edifact.D01B.Simples (simple1229)
16
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
19
20 -- | Derived from this specification:
21 --
22 -- > SEQ SEQUENCE DETAILS
23 -- >
24 -- > Function: To provide details relating to the sequence.
25 -- >
26 -- > 010 1229 ACTION REQUEST/NOTIFICATION DESCRIPTION
27 -- > CODE C 1 an..3
28 -- >
29 -- > 020 C286 SEQUENCE INFORMATION C 1
30 -- > 1050 Sequence position identifier M an..10
31 -- > 1159 Sequence identifier source code C an..3
32 -- > 1131 Code list identification code C an..17
33 -- > 3055 Code list responsible agency code C an..3
34 --
35 -- Dependencies: 'compositeC286', 'simple1229'.
36 segmentSEQ :: Parser Value
37 segmentSEQ =
38 segment "SEQ"
39 [ "010" .@ optional simple1229
40 , "020" .@ optional compositeC286
41 ]