]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Composites/C237.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C237.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C237
7 ( -- * Definition
8 compositeC237
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple3207
13 , simple8260
14 ) where
15
16import Text.Edifact.D01B.Simples (simple1131, simple3055, simple3207,
17 simple8260)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > C237 EQUIPMENT IDENTIFICATION
25-- >
26-- > Desc: Marks (letters/numbers) identifying equipment.
27-- >
28-- > 010 8260 Equipment identifier C an..17
29-- > 020 1131 Code list identification code C an..17
30-- > 030 3055 Code list responsible agency code C an..3
31-- > 040 3207 Country name code C an..3
32--
33-- Dependencies: 'simple1131', 'simple3055', 'simple3207', 'simple8260'.
34compositeC237 :: Parser Value
35compositeC237 =
36 composite "C237"
37 [ "010" .@ optional simple8260
38 , "020" .@ optional simple1131
39 , "030" .@ optional simple3055
40 , "040" .@ optional simple3207
41 ]