示例#1
0
 public IDayDiseaseInducedDeaths_ResultElement Calculate(
     FhirDateTime t_IndexElement,
     C19M.M.C.A.Safi2010.Interfaces.Parameters.DiseaseInducedDeathRateInfectiousIndividuals.Iδ δ_1,
     C19M.M.C.A.Safi2010.Interfaces.Parameters.DiseaseInducedDeathRateHospitalizedIndividuals.Iδ δ_2,
     IH H,
     II I)
 {
     return(new C19M.M.C.A.Safi2010.Classes.ResultElements.DayDiseaseInducedDeaths.DayDiseaseInducedDeaths_ResultElement(
                t_IndexElement,
                new FhirDecimal(
                    δ_1.Value.Value.Value
                    *
                    I.GetElementAtAsdecimal(
                        t_IndexElement)
                    +
                    δ_2.Value.Value.Value
                    *
                    H.GetElementAtAsdecimal(
                        t_IndexElement))));
 }
 public IDayProbableCases_ResultElement Calculate(
     FhirDateTime t_IndexElement,
     IH H,
     II I,
     IQ Q,
     IR R)
 {
     return(new C19M.M.C.A.Safi2010.Classes.ResultElements.DayProbableCases.DayProbableCases_ResultElement(
                t_IndexElement,
                new FhirDecimal(
                    H.GetElementAtAsdecimal(
                        t_IndexElement)
                    +
                    I.GetElementAtAsdecimal(
                        t_IndexElement)
                    +
                    Q.GetElementAtAsdecimal(
                        t_IndexElement)
                    +
                    R.GetElementAtAsdecimal(
                        t_IndexElement))));
 }