public MedicationPackageComponent copy(Medication e) {
   MedicationPackageComponent dst = new MedicationPackageComponent();
   dst.container = container == null ? null : container.copy();
   dst.content = new ArrayList<MedicationPackageContentComponent>();
   for (MedicationPackageContentComponent i : content) dst.content.add(i.copy(e));
   return dst;
 }
 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;
 }