public DocumentReference copy() { DocumentReference dst = new DocumentReference(); dst.masterIdentifier = masterIdentifier == null ? null : masterIdentifier.copy(); dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); dst.subject = subject == null ? null : subject.copy(); dst.type = type == null ? null : type.copy(); dst.subtype = subtype == null ? null : subtype.copy(); dst.author = new ArrayList<ResourceReference>(); for (ResourceReference i : author) dst.author.add(i.copy()); dst.custodian = custodian == null ? null : custodian.copy(); dst.authenticator = authenticator == null ? null : authenticator.copy(); dst.created = created == null ? null : created.copy(); dst.indexed = indexed == null ? null : indexed.copy(); dst.status = status == null ? null : status.copy(); dst.docStatus = docStatus == null ? null : docStatus.copy(); dst.supercedes = supercedes == null ? null : supercedes.copy(); dst.description = description == null ? null : description.copy(); dst.confidentiality = confidentiality == null ? null : confidentiality.copy(); dst.primaryLanguage = primaryLanguage == null ? null : primaryLanguage.copy(); dst.mimeType = mimeType == null ? null : mimeType.copy(); dst.format = format == null ? null : format.copy(); dst.size = size == null ? null : size.copy(); dst.hash = hash == null ? null : hash.copy(); dst.location = location == null ? null : location.copy(); dst.service = service == null ? null : service.copy(dst); dst.context = context == null ? null : context.copy(dst); return dst; }
public DiagnosticOrderEventComponent copy(DiagnosticOrder e) { DiagnosticOrderEventComponent dst = e.new DiagnosticOrderEventComponent(); dst.status = status == null ? null : status.copy(); dst.date = date == null ? null : date.copy(); dst.actor = actor == null ? null : actor.copy(); return dst; }
public AdverseReactionExposureComponent copy(AdverseReaction e) { AdverseReactionExposureComponent dst = e.new AdverseReactionExposureComponent(); dst.exposureDate = exposureDate == null ? null : exposureDate.copy(); dst.exposureType = exposureType == null ? null : exposureType.copy(); dst.causalityExpectation = causalityExpectation == null ? null : causalityExpectation.copy(); dst.substance = substance == null ? null : substance.copy(); return dst; }
public SpecimenCollectionComponent copy(Specimen e) { SpecimenCollectionComponent dst = e.new SpecimenCollectionComponent(); dst.collector = collector == null ? null : collector.copy(); dst.comments = new ArrayList<String_>(); for (String_ i : comments) dst.comments.add(i.copy()); dst.collectedTime = collectedTime == null ? null : collectedTime.copy(); dst.quantity = quantity == null ? null : quantity.copy(); return dst; }
public SpecimenCollectionComponent copy(Specimen e) { SpecimenCollectionComponent dst = e.new SpecimenCollectionComponent(); dst.collector = collector == null ? null : collector.copy(); dst.comment = new ArrayList<String_>(); for (String_ i : comment) dst.comment.add(i.copy()); dst.collectedTime = collectedTime == null ? null : collectedTime.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.method = method == null ? null : method.copy(); dst.sourceSite = sourceSite == null ? null : sourceSite.copy(); return dst; }
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; }
public OrderResponse copy() { OrderResponse dst = new OrderResponse(); dst.request = request == null ? null : request.copy(); dst.date = date == null ? null : date.copy(); dst.who = who == null ? null : who.copy(); dst.authority = authority == null ? null : authority.copy(); dst.cost = cost == null ? null : cost.copy(); dst.code = code == null ? null : code.copy(); dst.description = description == null ? null : description.copy(); dst.fulfillment = new ArrayList<ResourceReference>(); for (ResourceReference i : fulfillment) dst.fulfillment.add(i.copy()); return dst; }
public Order copy() { Order dst = new Order(); dst.date = date == null ? null : date.copy(); dst.subject = subject == null ? null : subject.copy(); dst.source = source == null ? null : source.copy(); dst.target = target == null ? null : target.copy(); dst.reason = reason == null ? null : reason.copy(); dst.authority = authority == null ? null : authority.copy(); dst.when = when == null ? null : when.copy(dst); dst.detail = new ArrayList<ResourceReference>(); for (ResourceReference i : detail) dst.detail.add(i.copy()); return dst; }
public Specimen copy() { Specimen dst = new Specimen(); dst.identifier = identifier == null ? null : identifier.copy(); dst.type = type == null ? null : type.copy(); dst.source = new ArrayList<SpecimenSourceComponent>(); for (SpecimenSourceComponent i : source) dst.source.add(i.copy(dst)); dst.subject = subject == null ? null : subject.copy(); dst.accessionIdentifier = new ArrayList<Identifier>(); for (Identifier i : accessionIdentifier) dst.accessionIdentifier.add(i.copy()); dst.receivedTime = receivedTime == null ? null : receivedTime.copy(); dst.collection = collection == null ? null : collection.copy(dst); dst.treatment = new ArrayList<SpecimenTreatmentComponent>(); for (SpecimenTreatmentComponent i : treatment) dst.treatment.add(i.copy(dst)); dst.container = new ArrayList<SpecimenContainerComponent>(); for (SpecimenContainerComponent i : container) dst.container.add(i.copy(dst)); 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; }