aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S9411.hs
blob: 210c2a54cf931b2ca06f7cbc7448c442b8b2943f (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
36
37
38
39
40
41
42
43
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D01B.Simples.S9411
  ( simple9411
  ) where

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

-- | Derived from this specification:
--
-- >      9411  Government involvement code                             [B]
-- >
-- >      Desc: Code indicating the requirement and status of
-- >            governmental involvement.
-- >
-- >      Repr: an..3
-- >
-- >      1     Carried out as instructed
-- >               Instructions have been carried out.
-- >
-- >      2     Carried out as amended
-- >               Procedures have been carried out as amended.
-- >
-- >      3     Completed
-- >               Procedures have been completed.
-- >
-- >      4     Not applicable
-- >               Instructions are not applicable.
-- >
-- >      5     Optimal
-- >               An action which is most desirable but not required.
-- >
-- >      6     Required
-- >               Procedures are required.
-- >
-- >      7     Applicable
-- >               Procedures are applicable.
simple9411 :: Parser Value
simple9411 = simple "9411" (alphaNumeric `upTo` 3)