]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Composites.C206 | |
7 | ( -- * Definition | |
8 | compositeC206 | |
9 | -- * Dependencies | |
10 | , simple4405 | |
11 | , simple7402 | |
12 | , simple7405 | |
13 | ) where | |
14 | ||
15 | import Text.Edifact.D96A.Simples (simple4405, simple7402, simple7405) | |
16 | ||
17 | import Text.Edifact.Parsing | |
18 | import Text.Edifact.Types (Value) | |
19 | ||
20 | -- | Derived from this specification: | |
21 | -- | |
22 | -- > C206 IDENTIFICATION NUMBER | |
23 | -- > | |
24 | -- > Desc: The identification of an object. | |
25 | -- > | |
26 | -- > 010 7402 Identity number M an..35 | |
27 | -- > 020 7405 Identity number qualifier C an..3 | |
28 | -- > 030 4405 Status, coded C an..3 | |
29 | -- | |
30 | -- Dependencies: 'simple4405', 'simple7402', 'simple7405'. | |
31 | compositeC206 :: Parser Value | |
32 | compositeC206 = | |
33 | composite "C206" | |
34 | [ "010" .@ mandatory simple7402 | |
35 | , "020" .@ optional simple7405 | |
36 | , "030" .@ optional simple4405 | |
37 | ] |