Ejemplo n.º 1
0
 public MedicationProductComponent copy(Medication e) {
   MedicationProductComponent dst = new MedicationProductComponent();
   dst.form = form == null ? null : form.copy();
   dst.ingredient = new ArrayList<MedicationProductIngredientComponent>();
   for (MedicationProductIngredientComponent i : ingredient) dst.ingredient.add(i.copy(e));
   return dst;
 }
Ejemplo n.º 2
0
 public MedicationProductIngredientComponent copy(Medication e) {
   MedicationProductIngredientComponent dst = new MedicationProductIngredientComponent();
   dst.item = item == null ? null : item.copy();
   dst.amount = amount == null ? null : amount.copy();
   return dst;
 }