1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.SEL
15 import Text.Edifact.D96A.Composites (compositeC215)
16 import Text.Edifact.D96A.Simples (simple4517, simple9308)
18 import Text.Edifact.Parsing
19 import Text.Edifact.Types (Value)
21 -- | Derived from this specification:
25 -- > Function: To specify a seal number related to equipment.
27 -- > 010 9308 SEAL NUMBER M an..10
29 -- > 020 C215 SEAL ISSUER C
30 -- > 9303 Sealing party, coded C an..3
31 -- > 1131 Code list qualifier C an..3
32 -- > 3055 Code list responsible agency, coded C an..3
33 -- > 9302 Sealing party C an..35
35 -- > 030 4517 SEAL CONDITION, CODED C an..3
37 -- Dependencies: 'compositeC215', 'simple4517', 'simple9308'.
38 segmentSEL :: Parser Value
41 [ "010" .@ mandatory simple9308
42 , "020" .@ optional compositeC215
43 , "030" .@ optional simple4517