aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S3045.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Simples/S3045.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Simples/S3045.hs42
1 files changed, 42 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S3045.hs b/specification/src/Text/Edifact/D01B/Simples/S3045.hs
new file mode 100644
index 0000000..87de401
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Simples/S3045.hs
@@ -0,0 +1,42 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Simples.S3045
7 ( simple3045
8 ) where
9
10import Text.Edifact.Parsing
11import Text.Edifact.Types (Value)
12
13-- | Derived from this specification:
14--
15-- > 3045 Party name format code [C]
16-- >
17-- > Desc: Code specifying the representation of a party name.
18-- >
19-- > Repr: an..3
20-- >
21-- > 1 Name components in sequence as defined in description below
22-- > Name component 1: Family name. Name component 2: Given
23-- > name or initials. Name component 3: Given name or
24-- > initials. Name component 4: Maiden name. Name component
25-- > 5: Title Group of name components transmitted in
26-- > sequence with name component 1 transmitted first. The
27-- > maiden name is the family name given at birth of a
28-- > female. Other names are self-explanatory.
29-- >
30-- > 2 Name component sequence 2, sequence as defined in
31-- > description
32-- > Name component 1: paternal name; name component 2:
33-- > maternal name; name component 3: given name or
34-- > initial(s); name component 4: middle name or initial(s);
35-- > name component 5: name suffix.
36-- >
37-- > 3 Name components in the sequence as defined in definition
38-- > Name component 1: Qualification
39-- > Name component 2: First part of the name
40-- > Name component 3: Second part of the name.
41simple3045 :: Parser Value
42simple3045 = simple "3045" (alphaNumeric `upTo` 3)