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;
 }
 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;
 }