aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/FTX.hs
diff options
context:
space:
mode:
authorFrédéric Menou <frederic.menou@fretlink.com>2016-12-08 10:19:15 +0200
committerIsmaël Bouya <ismael.bouya@fretlink.com>2022-05-17 18:01:51 +0200
commita9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch)
treeadf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D96A/Segments/FTX.hs
downloadedi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.gz
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.zst
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.zip
Release code as open sourceHEADmaster
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/FTX.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/FTX.hs57
1 files changed, 57 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/FTX.hs b/specification/src/Text/Edifact/D96A/Segments/FTX.hs
new file mode 100644
index 0000000..68eebbc
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/FTX.hs
@@ -0,0 +1,57 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.FTX
7 ( -- * Definition
8 segmentFTX
9 -- * Dependencies
10 , compositeC107
11 , compositeC108
12 , simple3453
13 , simple4451
14 , simple4453
15 ) where
16
17import Text.Edifact.D96A.Composites (compositeC107, compositeC108)
18import Text.Edifact.D96A.Simples (simple3453, simple4451,
19 simple4453)
20
21import Text.Edifact.Parsing
22import Text.Edifact.Types (Value)
23
24-- | Derived from this specification:
25--
26-- > FTX FREE TEXT
27-- >
28-- > Function: To provide free form or coded text information.
29-- >
30-- > 010 4451 TEXT SUBJECT QUALIFIER M an..3
31-- >
32-- > 020 4453 TEXT FUNCTION, CODED C an..3
33-- >
34-- > 030 C107 TEXT REFERENCE C
35-- > 4441 Free text, coded M an..3
36-- > 1131 Code list qualifier C an..3
37-- > 3055 Code list responsible agency, coded C an..3
38-- >
39-- > 040 C108 TEXT LITERAL C
40-- > 4440 Free text M an..70
41-- > 4440 Free text C an..70
42-- > 4440 Free text C an..70
43-- > 4440 Free text C an..70
44-- > 4440 Free text C an..70
45-- >
46-- > 050 3453 LANGUAGE, CODED C an..3
47--
48-- Dependencies: 'compositeC107', 'compositeC108', 'simple3453', 'simple4451', 'simple4453'.
49segmentFTX :: Parser Value
50segmentFTX =
51 segment "FTX"
52 [ "010" .@ mandatory simple4451
53 , "020" .@ optional simple4453
54 , "030" .@ optional compositeC107
55 , "040" .@ optional compositeC108
56 , "050" .@ optional simple3453
57 ]