public Ratio copy() { Ratio dst = new Ratio(); copyValues(dst); dst.numerator = numerator == null ? null : numerator.copy(); dst.denominator = denominator == null ? null : denominator.copy(); return dst; }
public MedicationAdministrationDosageComponent copy(MedicationAdministration e) { MedicationAdministrationDosageComponent dst = new MedicationAdministrationDosageComponent(); dst.timing = timing == null ? null : timing.copy(); dst.asNeeded = asNeeded == null ? null : asNeeded.copy(); dst.site = site == null ? null : site.copy(); dst.route = route == null ? null : route.copy(); dst.method = method == null ? null : method.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.rate = rate == null ? null : rate.copy(); dst.maxDosePerPeriod = maxDosePerPeriod == null ? null : maxDosePerPeriod.copy(); return dst; }