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 SpecimenContainerComponent copy(Specimen e) { SpecimenContainerComponent dst = e.new SpecimenContainerComponent(); dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); dst.description = description == null ? null : description.copy(); dst.type = type == null ? null : type.copy(); dst.capacity = capacity == null ? null : capacity.copy(); dst.specimenQuantity = specimenQuantity == null ? null : specimenQuantity.copy(); dst.additive = additive == null ? null : additive.copy(); return dst; }
public SpecimenCollectionComponent copy(Specimen e) { SpecimenCollectionComponent dst = e.new SpecimenCollectionComponent(); dst.collector = collector == null ? null : collector.copy(); dst.comments = new ArrayList<String_>(); for (String_ i : comments) dst.comments.add(i.copy()); dst.collectedTime = collectedTime == null ? null : collectedTime.copy(); dst.quantity = quantity == null ? null : quantity.copy(); return dst; }
public SpecimenCollectionComponent copy(Specimen e) { SpecimenCollectionComponent dst = e.new SpecimenCollectionComponent(); dst.collector = collector == null ? null : collector.copy(); dst.comment = new ArrayList<String_>(); for (String_ i : comment) dst.comment.add(i.copy()); dst.collectedTime = collectedTime == null ? null : collectedTime.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.method = method == null ? null : method.copy(); dst.sourceSite = sourceSite == null ? null : sourceSite.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; }
public SupplyDispenseComponent copy(Supply e) { SupplyDispenseComponent dst = e.new SupplyDispenseComponent(); dst.identifier = identifier == null ? null : identifier.copy(); dst.status = status == null ? null : status.copy(); dst.type = type == null ? null : type.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.suppliedItem = suppliedItem == null ? null : suppliedItem.copy(); dst.supplier = supplier == null ? null : supplier.copy(); dst.whenPrepared = whenPrepared == null ? null : whenPrepared.copy(); dst.whenHandedOver = whenHandedOver == null ? null : whenHandedOver.copy(); dst.destination = destination == null ? null : destination.copy(); dst.receiver = new ArrayList<ResourceReference>(); for (ResourceReference i : receiver) dst.receiver.add(i.copy()); return dst; }
public Quantity copy() { Quantity dst = new Quantity(); copyValues(dst); dst.value = value == null ? null : value.copy(); dst.comparator = comparator == null ? null : comparator.copy(); dst.unit = unit == null ? null : unit.copy(); dst.system = system == null ? null : system.copy(); dst.code = code == null ? null : code.copy(); return dst; }
public boolean isEmpty() { return super.isEmpty() && (numerator == null || numerator.isEmpty()) && (denominator == null || denominator.isEmpty()); }