]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C517.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C517.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C517
7 ( -- * Definition
8 compositeC517
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple3224
13 , simple3225
14 ) where
15
16 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple3224,
17 simple3225)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > C517 LOCATION IDENTIFICATION
25 -- >
26 -- > Desc: Identification of a location by code or name.
27 -- >
28 -- > 010 3225 Place/location identification C an..25
29 -- > 020 1131 Code list qualifier C an..3
30 -- > 030 3055 Code list responsible agency, coded C an..3
31 -- > 040 3224 Place/location C an..70
32 --
33 -- Dependencies: 'simple1131', 'simple3055', 'simple3224', 'simple3225'.
34 compositeC517 :: Parser Value
35 compositeC517 =
36 composite "C517"
37 [ "010" .@ optional simple3225
38 , "020" .@ optional simple1131
39 , "030" .@ optional simple3055
40 , "040" .@ optional simple3224
41 ]