public SequencingAnalysis copy() {
   SequencingAnalysis dst = new SequencingAnalysis();
   dst.subject = subject == null ? null : subject.copy();
   dst.date = date == null ? null : date.copy();
   dst.name = name == null ? null : name.copy();
   dst.genome = genome == null ? null : genome.copy(dst);
   dst.file = new ArrayList<Attachment>();
   for (Attachment i : file) dst.file.add(i.copy());
   dst.inputLab = new ArrayList<ResourceReference>();
   for (ResourceReference i : inputLab) dst.inputLab.add(i.copy());
   dst.inputAnalysis = new ArrayList<ResourceReference>();
   for (ResourceReference i : inputAnalysis) dst.inputAnalysis.add(i.copy());
   return dst;
 }
 public RelatedPerson copy() {
   RelatedPerson dst = new RelatedPerson();
   dst.identifier = new ArrayList<Identifier>();
   for (Identifier i : identifier) dst.identifier.add(i.copy());
   dst.patient = patient == null ? null : patient.copy();
   dst.relationship = relationship == null ? null : relationship.copy();
   dst.name = name == null ? null : name.copy();
   dst.telecom = new ArrayList<Contact>();
   for (Contact i : telecom) dst.telecom.add(i.copy());
   dst.gender = gender == null ? null : gender.copy();
   dst.address = address == null ? null : address.copy();
   dst.photo = new ArrayList<Attachment>();
   for (Attachment i : photo) dst.photo.add(i.copy());
   return dst;
 }
예제 #3
0
 public Media copy() {
   Media dst = new Media();
   copyValues(dst);
   dst.type = type == null ? null : type.copy();
   dst.subtype = subtype == null ? null : subtype.copy();
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.subject = subject == null ? null : subject.copy();
   dst.operator = operator == null ? null : operator.copy();
   dst.view = view == null ? null : view.copy();
   dst.deviceName = deviceName == null ? null : deviceName.copy();
   dst.height = height == null ? null : height.copy();
   dst.width = width == null ? null : width.copy();
   dst.frames = frames == null ? null : frames.copy();
   dst.duration = duration == null ? null : duration.copy();
   dst.content = content == null ? null : content.copy();
   return dst;
 }
 public DiagnosticReport copy() {
   DiagnosticReport dst = new DiagnosticReport();
   dst.status = status == null ? null : status.copy();
   dst.issued = issued == null ? null : issued.copy();
   dst.subject = subject == null ? null : subject.copy();
   dst.performer = performer == null ? null : performer.copy();
   dst.reportId = reportId == null ? null : reportId.copy();
   dst.requestDetail = new ArrayList<DiagnosticReportRequestDetailComponent>();
   for (DiagnosticReportRequestDetailComponent i : requestDetail)
     dst.requestDetail.add(i.copy(dst));
   dst.serviceCategory = serviceCategory == null ? null : serviceCategory.copy();
   dst.diagnostic = diagnostic == null ? null : diagnostic.copy();
   dst.results = results == null ? null : results.copy(dst);
   dst.image = new ArrayList<ResourceReference>();
   for (ResourceReference i : image) dst.image.add(i.copy());
   dst.conclusion = conclusion == null ? null : conclusion.copy();
   dst.codedDiagnosis = new ArrayList<CodeableConcept>();
   for (CodeableConcept i : codedDiagnosis) dst.codedDiagnosis.add(i.copy());
   dst.representation = new ArrayList<Attachment>();
   for (Attachment i : representation) dst.representation.add(i.copy());
   return dst;
 }
예제 #5
0
 public GVFVariant copy() {
   GVFVariant dst = new GVFVariant();
   dst.subject = subject == null ? null : subject.copy(dst);
   dst.meta = meta == null ? null : meta.copy();
   dst.sourceFile = sourceFile == null ? null : sourceFile.copy();
   dst.seqid = seqid == null ? null : seqid.copy();
   dst.source = source == null ? null : source.copy();
   dst.type = type == null ? null : type.copy();
   dst.start = start == null ? null : start.copy();
   dst.end = end == null ? null : end.copy();
   dst.score = score == null ? null : score.copy();
   dst.strand = strand == null ? null : strand.copy();
   dst.featureId = featureId == null ? null : featureId.copy();
   dst.alias = alias == null ? null : alias.copy();
   dst.dbxref = dbxref == null ? null : dbxref.copy(dst);
   dst.variantSeq = new ArrayList<String_>();
   for (String_ i : variantSeq) dst.variantSeq.add(i.copy());
   dst.referenceSeq = referenceSeq == null ? null : referenceSeq.copy();
   dst.variantFreq = new ArrayList<Decimal>();
   for (Decimal i : variantFreq) dst.variantFreq.add(i.copy());
   dst.variantEffect = new ArrayList<GVFVariantVariantEffectComponent>();
   for (GVFVariantVariantEffectComponent i : variantEffect) dst.variantEffect.add(i.copy(dst));
   dst.startRange = startRange == null ? null : startRange.copy(dst);
   dst.endRange = endRange == null ? null : endRange.copy(dst);
   dst.variantCodon = new ArrayList<String_>();
   for (String_ i : variantCodon) dst.variantCodon.add(i.copy());
   dst.referenceCodon = referenceCodon == null ? null : referenceCodon.copy();
   dst.variantAA = new ArrayList<String_>();
   for (String_ i : variantAA) dst.variantAA.add(i.copy());
   dst.referenceAA = new ArrayList<String_>();
   for (String_ i : referenceAA) dst.referenceAA.add(i.copy());
   dst.breakpointDetail = breakpointDetail == null ? null : breakpointDetail.copy(dst);
   dst.sequenceContext = sequenceContext == null ? null : sequenceContext.copy(dst);
   dst.individual = new ArrayList<String_>();
   for (String_ i : individual) dst.individual.add(i.copy());
   dst.sample = new ArrayList<GVFVariantSampleComponent>();
   for (GVFVariantSampleComponent i : sample) dst.sample.add(i.copy(dst));
   return dst;
 }