public Medication copy() {
   Medication dst = new Medication();
   dst.name = name == null ? null : name.copy();
   dst.code = code == null ? null : code.copy();
   dst.isBrand = isBrand == null ? null : isBrand.copy();
   dst.manufacturer = manufacturer == null ? null : manufacturer.copy();
   dst.kind = kind == null ? null : kind.copy();
   dst.product = product == null ? null : product.copy(dst);
   dst.package_ = package_ == null ? null : package_.copy(dst);
   return dst;
 }
 public MedicationPackageContentComponent copy(Medication e) {
   MedicationPackageContentComponent dst = new MedicationPackageContentComponent();
   dst.item = item == null ? null : item.copy();
   dst.amount = amount == null ? null : amount.copy();
   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;
 }