how to add 'PIVL_PPD_TS' and TS in entry.AsSubstanceAdministration.EffectiveTime

Sep 11, 2014 at 4:13 PM
Edited Sep 11, 2014 at 4:17 PM
Hi ,
    I am trying to add 'PIVL_PPD_TS' type in entry.AsSubstanceAdministration.EffectiveTime but it generates compile time error . and same problem is with TS type too.  I am able to add PIVL_TS and EIVL_TS without any problem
var p = new PIVL_PPD_TS();
                p.InstitutionSpecified = false;
                p.Operator = new SetOperator();
                p.Period.Unit = "h";
                p.StandardDeviation.Unit = "h";

the last line compile time error is "cannot convert from 'HL7SDK.Cda.PIVL_PPD_TS' to 'HL7SDK.Cda.ISXCM_TS'"

The same issue is with TS type . Please guide how to resolve this .