Beispiel #1
0
 public AdverseReaction copy() {
   AdverseReaction dst = new AdverseReaction();
   dst.reactionDate = reactionDate == null ? null : reactionDate.copy();
   dst.subject = subject == null ? null : subject.copy();
   dst.didNotOccurFlag = didNotOccurFlag == null ? null : didNotOccurFlag.copy();
   dst.recorder = recorder == null ? null : recorder.copy();
   dst.symptom = new ArrayList<AdverseReactionSymptomComponent>();
   for (AdverseReactionSymptomComponent i : symptom) dst.symptom.add(i.copy(dst));
   dst.exposure = new ArrayList<AdverseReactionExposureComponent>();
   for (AdverseReactionExposureComponent i : exposure) dst.exposure.add(i.copy(dst));
   return dst;
 }