]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Segments/ICD.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / ICD.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Segments.ICD
7 ( -- * Definition
8 segmentICD
9 -- * Dependencies
10 , compositeC330
11 , compositeC331
12 ) where
13
14 import Text.Edifact.D01B.Composites (compositeC330, compositeC331)
15
16 import Text.Edifact.Parsing
17 import Text.Edifact.Types (Value)
18
19 -- | Derived from this specification:
20 --
21 -- > ICD INSURANCE COVER DESCRIPTION
22 -- >
23 -- > Function: To describe the insurance cover.
24 -- >
25 -- > 010 C330 INSURANCE COVER TYPE M 1
26 -- > 4497 Insurance cover type code M an..3
27 -- > 1131 Code list identification code C an..17
28 -- > 3055 Code list responsible agency code C an..3
29 -- >
30 -- > 020 C331 INSURANCE COVER DETAILS M 1
31 -- > 4495 Insurance cover description code C an..17
32 -- > 1131 Code list identification code C an..17
33 -- > 3055 Code list responsible agency code C an..3
34 -- > 4494 Insurance cover description C an..35
35 -- > 4494 Insurance cover description C an..35
36 --
37 -- Dependencies: 'compositeC330', 'compositeC331'.
38 segmentICD :: Parser Value
39 segmentICD =
40 segment "ICD"
41 [ "010" .@ mandatory compositeC330
42 , "020" .@ mandatory compositeC331
43 ]