1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C502
16 import Text.Edifact.D96A.Simples (simple6154, simple6155, simple6313,
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
22 -- | Derived from this specification:
24 -- > C502 MEASUREMENT DETAILS
26 -- > Desc: Identification of measurement type.
28 -- > 010 6313 Measurement dimension, coded C an..3
29 -- > 020 6321 Measurement significance, coded C an..3
30 -- > 030 6155 Measurement attribute, coded C an..3
31 -- > 040 6154 Measurement attribute C an..70
33 -- Dependencies: 'simple6154', 'simple6155', 'simple6313', 'simple6321'.
34 compositeC502 :: Parser Value
37 [ "010" .@ optional simple6313
38 , "020" .@ optional simple6321
39 , "030" .@ optional simple6155
40 , "040" .@ optional simple6154