1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.GIR
14 import Text.Edifact.D96A.Composites (compositeC206)
15 import Text.Edifact.D96A.Simples (simple7297)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > GIR RELATED IDENTIFICATION NUMBERS
24 -- > Function: To specify a related set of identification numbers.
26 -- > 010 7297 SET IDENTIFICATION QUALIFIER M an..3
28 -- > 020 C206 IDENTIFICATION NUMBER M
29 -- > 7402 Identity number M an..35
30 -- > 7405 Identity number qualifier C an..3
31 -- > 4405 Status, coded C an..3
33 -- > 030 C206 IDENTIFICATION NUMBER C
34 -- > 7402 Identity number M an..35
35 -- > 7405 Identity number qualifier C an..3
36 -- > 4405 Status, coded C an..3
38 -- > 040 C206 IDENTIFICATION NUMBER C
39 -- > 7402 Identity number M an..35
40 -- > 7405 Identity number qualifier C an..3
41 -- > 4405 Status, coded C an..3
43 -- > 050 C206 IDENTIFICATION NUMBER C
44 -- > 7402 Identity number M an..35
45 -- > 7405 Identity number qualifier C an..3
46 -- > 4405 Status, coded C an..3
48 -- > 060 C206 IDENTIFICATION NUMBER C
49 -- > 7402 Identity number M an..35
50 -- > 7405 Identity number qualifier C an..3
51 -- > 4405 Status, coded C an..3
53 -- Dependencies: 'compositeC206', 'simple7297'.
54 segmentGIR :: Parser Value
57 [ "010" .@ mandatory simple7297
58 , "020" .@ mandatory compositeC206
59 , "030" .@ optional compositeC206
60 , "040" .@ optional compositeC206
61 , "050" .@ optional compositeC206
62 , "060" .@ optional compositeC206