1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.SEL
16 import Text.Edifact.D01B.Composites (compositeC208, compositeC215)
17 import Text.Edifact.D01B.Simples (simple4517, simple9308)
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
22 -- | Derived from this specification:
26 -- > Function: To specify the seal number or a range of seal
29 -- > 010 9308 SEAL IDENTIFIER C 1 an..35
31 -- > 020 C215 SEAL ISSUER C 1
32 -- > 9303 Sealing party name code C an..3
33 -- > 1131 Code list identification code C an..17
34 -- > 3055 Code list responsible agency code C an..3
35 -- > 9302 Sealing party name C an..35
37 -- > 030 4517 SEAL CONDITION CODE C 1 an..3
39 -- > 040 C208 IDENTITY NUMBER RANGE C 1
40 -- > 7402 Object identifier M an..35
41 -- > 7402 Object identifier C an..35
43 -- Dependencies: 'compositeC208', 'compositeC215', 'simple4517', 'simple9308'.
44 segmentSEL :: Parser Value
47 [ "010" .@ optional simple9308
48 , "020" .@ optional compositeC215
49 , "030" .@ optional simple4517
50 , "040" .@ optional compositeC208