aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S3045.hs
blob: a40989a49d26c5572098a018d208852c27f3a4aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D96A.Simples.S3045
  ( simple3045
  ) where

import           Text.Edifact.Parsing
import           Text.Edifact.Types   (Value)

-- | Derived from this specification:
--
-- >   3045  Party name format, coded
-- >
-- >   Desc: Specification of the representation of a party name.
-- >
-- >   Repr: an..3
-- >
-- >         1 Name components in sequence as defined in description below
-- >              Name component 1: Family name Name component 2: Given
-- >              name or initials Name component 3: Given name or initials
-- >              Name component 4: Maiden name Name component 5: Title
-- >              Group of name components transmitted in sequence with
-- >              name component 1 transmitted first. The maiden name is
-- >              the family name given at birth of a female. Other names
-- >              are self-explanatory.
simple3045 :: Parser Value
simple3045 = simple "3045" (alphaNumeric `upTo` 3)