Ejemplo n.º 1
0
 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 ResultGroupComponent copy(DiagnosticReport e) {
   ResultGroupComponent dst = new ResultGroupComponent();
   dst.name = name == null ? null : name.copy();
   dst.specimen = specimen == null ? null : specimen.copy();
   dst.group = new ArrayList<ResultGroupComponent>();
   for (ResultGroupComponent i : group) dst.group.add(i.copy(e));
   dst.result = new ArrayList<ResourceReference>();
   for (ResourceReference i : result) dst.result.add(i.copy());
   return dst;
 }
Ejemplo n.º 3
0
 public Supply copy() {
   Supply dst = new Supply();
   dst.name = name == null ? null : name.copy();
   dst.identifier = identifier == null ? null : identifier.copy();
   dst.status = status == null ? null : status.copy();
   dst.orderedItem = orderedItem == null ? null : orderedItem.copy();
   dst.patient = patient == null ? null : patient.copy();
   dst.dispense = new ArrayList<SupplyDispenseComponent>();
   for (SupplyDispenseComponent i : dispense) dst.dispense.add(i.copy(dst));
   return dst;
 }
Ejemplo n.º 4
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;
 }
 public DiagnosticReportRequestDetailComponent copy(DiagnosticReport e) {
   DiagnosticReportRequestDetailComponent dst = new DiagnosticReportRequestDetailComponent();
   dst.encounter = encounter == null ? null : encounter.copy();
   dst.requestOrderId = requestOrderId == null ? null : requestOrderId.copy();
   dst.receiverOrderId = receiverOrderId == null ? null : receiverOrderId.copy();
   dst.requestTest = new ArrayList<CodeableConcept>();
   for (CodeableConcept i : requestTest) dst.requestTest.add(i.copy());
   dst.bodySite = bodySite == null ? null : bodySite.copy();
   dst.requester = requester == null ? null : requester.copy();
   dst.clinicalInfo = clinicalInfo == null ? null : clinicalInfo.copy();
   return dst;
 }
Ejemplo n.º 6
0
 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;
 }
Ejemplo n.º 7
0
 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 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;
 }
Ejemplo n.º 9
0
 public SupplyDispenseComponent copy(Supply e) {
   SupplyDispenseComponent dst = e.new SupplyDispenseComponent();
   dst.identifier = identifier == null ? null : identifier.copy();
   dst.status = status == null ? null : status.copy();
   dst.type = type == null ? null : type.copy();
   dst.quantity = quantity == null ? null : quantity.copy();
   dst.suppliedItem = suppliedItem == null ? null : suppliedItem.copy();
   dst.supplier = supplier == null ? null : supplier.copy();
   dst.whenPrepared = whenPrepared == null ? null : whenPrepared.copy();
   dst.whenHandedOver = whenHandedOver == null ? null : whenHandedOver.copy();
   dst.destination = destination == null ? null : destination.copy();
   dst.receiver = new ArrayList<ResourceReference>();
   for (ResourceReference i : receiver) dst.receiver.add(i.copy());
   return dst;
 }
Ejemplo n.º 10
0
 public SpecimenSourceComponent copy(Specimen e) {
   SpecimenSourceComponent dst = e.new SpecimenSourceComponent();
   dst.relationship = relationship == null ? null : relationship.copy();
   dst.target = new ArrayList<ResourceReference>();
   for (ResourceReference i : target) dst.target.add(i.copy());
   return dst;
 }
Ejemplo n.º 11
0
 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;
 }
Ejemplo n.º 12
0
 public SpecimenTreatmentComponent copy(Specimen e) {
   SpecimenTreatmentComponent dst = e.new SpecimenTreatmentComponent();
   dst.description = description == null ? null : description.copy();
   dst.procedure = procedure == null ? null : procedure.copy();
   dst.additive = new ArrayList<ResourceReference>();
   for (ResourceReference i : additive) dst.additive.add(i.copy());
   return dst;
 }
Ejemplo n.º 13
0
 public DiagnosticOrder copy() {
   DiagnosticOrder dst = new DiagnosticOrder();
   dst.subject = subject == null ? null : subject.copy();
   dst.orderer = orderer == null ? null : orderer.copy();
   dst.identifier = new ArrayList<Identifier>();
   for (Identifier i : identifier) dst.identifier.add(i.copy());
   dst.encounter = encounter == null ? null : encounter.copy();
   dst.clinicalNotes = clinicalNotes == null ? null : clinicalNotes.copy();
   dst.specimen = new ArrayList<ResourceReference>();
   for (ResourceReference i : specimen) dst.specimen.add(i.copy());
   dst.status = status == null ? null : status.copy();
   dst.event = new ArrayList<DiagnosticOrderEventComponent>();
   for (DiagnosticOrderEventComponent i : event) dst.event.add(i.copy(dst));
   dst.item = new ArrayList<DiagnosticOrderItemComponent>();
   for (DiagnosticOrderItemComponent i : item) dst.item.add(i.copy(dst));
   return dst;
 }
Ejemplo n.º 14
0
 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;
 }
Ejemplo n.º 15
0
 public Device copy() {
   Device dst = new Device();
   dst.type = type == null ? null : type.copy();
   dst.manufacturer = manufacturer == null ? null : manufacturer.copy();
   dst.model = model == null ? null : model.copy();
   dst.version = version == null ? null : version.copy();
   dst.expiry = expiry == null ? null : expiry.copy();
   dst.identity = identity == null ? null : identity.copy(dst);
   dst.owner = owner == null ? null : owner.copy();
   dst.assignedId = new ArrayList<Identifier>();
   for (Identifier i : assignedId) dst.assignedId.add(i.copy());
   dst.location = location == null ? null : location.copy();
   dst.patient = patient == null ? null : patient.copy();
   dst.contact = new ArrayList<Contact>();
   for (Contact i : contact) dst.contact.add(i.copy());
   dst.url = url == null ? null : url.copy();
   return dst;
 }
Ejemplo n.º 16
0
 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;
 }
Ejemplo n.º 17
0
 public Coding copy() {
   Coding dst = new Coding();
   dst.system = system == null ? null : system.copy();
   dst.version = version == null ? null : version.copy();
   dst.code = code == null ? null : code.copy();
   dst.display = display == null ? null : display.copy();
   dst.primary = primary == null ? null : primary.copy();
   dst.valueSet = valueSet == null ? null : valueSet.copy();
   return dst;
 }
Ejemplo n.º 18
0
 public SpecimenContainerComponent copy(Specimen e) {
   SpecimenContainerComponent dst = e.new SpecimenContainerComponent();
   dst.identifier = new ArrayList<Identifier>();
   for (Identifier i : identifier) dst.identifier.add(i.copy());
   dst.description = description == null ? null : description.copy();
   dst.type = type == null ? null : type.copy();
   dst.capacity = capacity == null ? null : capacity.copy();
   dst.specimenQuantity = specimenQuantity == null ? null : specimenQuantity.copy();
   dst.additive = additive == null ? null : additive.copy();
   return dst;
 }
Ejemplo n.º 19
0
 public DiagnosticOrderItemComponent copy(DiagnosticOrder e) {
   DiagnosticOrderItemComponent dst = e.new DiagnosticOrderItemComponent();
   dst.code = code == null ? null : code.copy();
   dst.specimen = new ArrayList<ResourceReference>();
   for (ResourceReference i : specimen) dst.specimen.add(i.copy());
   dst.bodySite = bodySite == null ? null : bodySite.copy();
   dst.status = status == null ? null : status.copy();
   dst.event = new ArrayList<DiagnosticOrderEventComponent>();
   for (DiagnosticOrderEventComponent i : event) dst.event.add(i.copy(e));
   return dst;
 }
Ejemplo n.º 20
0
 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;
 }
Ejemplo n.º 21
0
 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.collection = collection == null ? null : collection.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;
 }
Ejemplo n.º 23
0
 public SecurityEventParticipantComponent copy(SecurityEvent e) {
   SecurityEventParticipantComponent dst = e.new SecurityEventParticipantComponent();
   dst.role = new ArrayList<CodeableConcept>();
   for (CodeableConcept i : role) dst.role.add(i.copy());
   dst.reference = reference == null ? null : reference.copy();
   dst.userId = userId == null ? null : userId.copy();
   dst.authId = authId == null ? null : authId.copy();
   dst.name = name == null ? null : name.copy();
   dst.requestor = requestor == null ? null : requestor.copy();
   dst.media = media == null ? null : media.copy();
   dst.network = network == null ? null : network.copy(e);
   return dst;
 }
Ejemplo n.º 24
0
 public SecurityEventObjectComponent copy(SecurityEvent e) {
   SecurityEventObjectComponent dst = e.new SecurityEventObjectComponent();
   dst.identifier = identifier == null ? null : identifier.copy();
   dst.reference = reference == null ? null : reference.copy();
   dst.type = type == null ? null : type.copy();
   dst.role = role == null ? null : role.copy();
   dst.lifecycle = lifecycle == null ? null : lifecycle.copy();
   dst.sensitivity = sensitivity == null ? null : sensitivity.copy();
   dst.name = name == null ? null : name.copy();
   dst.query = query == null ? null : query.copy();
   dst.detail = new ArrayList<SecurityEventObjectDetailComponent>();
   for (SecurityEventObjectDetailComponent i : detail) dst.detail.add(i.copy(e));
   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;
 }
Ejemplo n.º 26
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;
 }
 public MedicationAdministration copy() {
   MedicationAdministration dst = new MedicationAdministration();
   dst.identifier = new ArrayList<Identifier>();
   for (Identifier i : identifier) dst.identifier.add(i.copy());
   dst.status = status == null ? null : status.copy();
   dst.patient = patient == null ? null : patient.copy();
   dst.practitioner = practitioner == null ? null : practitioner.copy();
   dst.encounter = encounter == null ? null : encounter.copy();
   dst.prescription = prescription == null ? null : prescription.copy();
   dst.wasNotGiven = wasNotGiven == null ? null : wasNotGiven.copy();
   dst.reasonNotGiven = new ArrayList<CodeableConcept>();
   for (CodeableConcept i : reasonNotGiven) dst.reasonNotGiven.add(i.copy());
   dst.whenGiven = whenGiven == null ? null : whenGiven.copy();
   dst.medication = medication == null ? null : medication.copy();
   dst.device = new ArrayList<ResourceReference>();
   for (ResourceReference i : device) dst.device.add(i.copy());
   dst.dosage = new ArrayList<MedicationAdministrationDosageComponent>();
   for (MedicationAdministrationDosageComponent i : dosage) dst.dosage.add(i.copy(dst));
   return dst;
 }
Ejemplo n.º 28
0
 public GVFVariantSubjectComponent copy(GVFVariant e) {
   GVFVariantSubjectComponent dst = e.new GVFVariantSubjectComponent();
   dst.patient = patient == null ? null : patient.copy();
   dst.fileId = fileId == null ? null : fileId.copy();
   return dst;
 }