1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.ICD
14 import Text.Edifact.D01B.Composites (compositeC330, compositeC331)
16 import Text.Edifact.Parsing
17 import Text.Edifact.Types (Value)
19 -- | Derived from this specification:
21 -- > ICD INSURANCE COVER DESCRIPTION
23 -- > Function: To describe the insurance cover.
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
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
37 -- Dependencies: 'compositeC330', 'compositeC331'.
38 segmentICD :: Parser Value
41 [ "010" .@ mandatory compositeC330
42 , "020" .@ mandatory compositeC331