aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C076.hs
blob: 6c9771c08b715ed0db178b8108de2b66b881eaca (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
31
32
33
34
35
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D96A.Composites.C076
  ( -- * Definition
    compositeC076
    -- * Dependencies
  , simple3148
  , simple3155
  ) where

import           Text.Edifact.D96A.Simples (simple3148, simple3155)

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

-- | Derived from this specification:
--
-- >       C076  COMMUNICATION CONTACT
-- >
-- >       Desc: Communication number of a department or employee in a
-- >             specified channel.
-- >
-- > 010   3148   Communication number                          M  an..512
-- > 020   3155   Communication channel qualifier               M  an..3
--
-- Dependencies: 'simple3148', 'simple3155'.
compositeC076 :: Parser Value
compositeC076 =
  composite "C076"
    [ "010" .@ mandatory simple3148
    , "020" .@ mandatory simple3155
    ]