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 GVFVariantVariantEffectComponent copy(GVFVariant e) {
   GVFVariantVariantEffectComponent dst = e.new GVFVariantVariantEffectComponent();
   dst.sequenceVariant = sequenceVariant == null ? null : sequenceVariant.copy();
   dst.index = index == null ? null : index.copy();
   dst.featureType = featureType == null ? null : featureType.copy();
   dst.featureId = new ArrayList<String_>();
   for (String_ i : featureId) dst.featureId.add(i.copy());
   return dst;
 }
 public ContactPoint copy() {
   ContactPoint dst = new ContactPoint();
   copyValues(dst);
   dst.system = system == null ? null : system.copy();
   dst.value = value == null ? null : value.copy();
   dst.use = use == null ? null : use.copy();
   dst.rank = rank == null ? null : rank.copy();
   dst.period = period == null ? null : period.copy();
   return dst;
 }
Exemple #4
0
 public SecurityEventEventComponent copy(SecurityEvent e) {
   SecurityEventEventComponent dst = e.new SecurityEventEventComponent();
   dst.type = type == null ? null : type.copy();
   dst.subtype = new ArrayList<CodeableConcept>();
   for (CodeableConcept i : subtype) dst.subtype.add(i.copy());
   dst.action = action == null ? null : action.copy();
   dst.dateTime = dateTime == null ? null : dateTime.copy();
   dst.outcome = outcome == null ? null : outcome.copy();
   dst.outcomeDesc = outcomeDesc == null ? null : outcomeDesc.copy();
   return dst;
 }
Exemple #5
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;
 }
Exemple #6
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;
 }
Exemple #7
0
 public Group copy() {
   Group dst = new Group();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.type = type == null ? null : type.copy();
   dst.actual = actual == null ? null : actual.copy();
   dst.code = code == null ? null : code.copy();
   dst.name = name == null ? null : name.copy();
   dst.quantity = quantity == null ? null : quantity.copy();
   if (characteristic != null) {
     dst.characteristic = new ArrayList<GroupCharacteristicComponent>();
     for (GroupCharacteristicComponent i : characteristic) dst.characteristic.add(i.copy());
   }
   ;
   if (member != null) {
     dst.member = new ArrayList<GroupMemberComponent>();
     for (GroupMemberComponent i : member) dst.member.add(i.copy());
   }
   ;
   return dst;
 }
 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;
 }
Exemple #9
0
 public SecurityEventParticipantNetworkComponent copy(SecurityEvent e) {
   SecurityEventParticipantNetworkComponent dst =
       e.new SecurityEventParticipantNetworkComponent();
   dst.identifier = identifier == null ? null : identifier.copy();
   dst.type = type == null ? null : type.copy();
   return dst;
 }
Exemple #10
0
 public LinkageItemComponent copy() {
   LinkageItemComponent dst = new LinkageItemComponent();
   copyValues(dst);
   dst.type = type == null ? null : type.copy();
   dst.resource = resource == null ? null : resource.copy();
   return dst;
 }
Exemple #11
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;
 }
 public GVFVariantBreakpointDetailComponent copy(GVFVariant e) {
   GVFVariantBreakpointDetailComponent dst = e.new GVFVariantBreakpointDetailComponent();
   dst.seqid = seqid == null ? null : seqid.copy();
   dst.start = start == null ? null : start.copy();
   dst.end = end == null ? null : end.copy();
   dst.strand = strand == null ? null : strand.copy();
   return dst;
 }
 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.priority = priority == null ? null : priority.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;
 }
Exemple #14
0
 public Quantity copy() {
   Quantity dst = new Quantity();
   copyValues(dst);
   dst.value = value == null ? null : value.copy();
   dst.comparator = comparator == null ? null : comparator.copy();
   dst.unit = unit == null ? null : unit.copy();
   dst.system = system == null ? null : system.copy();
   dst.code = code == null ? null : code.copy();
   return dst;
 }
Exemple #15
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;
 }
 public GVFVariantSampleComponent copy(GVFVariant e) {
   GVFVariantSampleComponent dst = e.new GVFVariantSampleComponent();
   dst.phased = new ArrayList<String_>();
   for (String_ i : phased) dst.phased.add(i.copy());
   dst.genotype = new ArrayList<String_>();
   for (String_ i : genotype) dst.genotype.add(i.copy());
   dst.variantReads = new ArrayList<Integer>();
   for (Integer i : variantReads) dst.variantReads.add(i.copy());
   dst.totalReads = totalReads == null ? null : totalReads.copy();
   dst.zygosity = zygosity == null ? null : zygosity.copy();
   return dst;
 }
 public OperationOutcomeIssueComponent copy() {
   OperationOutcomeIssueComponent dst = new OperationOutcomeIssueComponent();
   copyValues(dst);
   dst.severity = severity == null ? null : severity.copy();
   dst.code = code == null ? null : code.copy();
   dst.details = details == null ? null : details.copy();
   if (location != null) {
     dst.location = new ArrayList<StringType>();
     for (StringType i : location) dst.location.add(i.copy());
   }
   ;
   return dst;
 }
 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 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 HumanName copy() {
   HumanName dst = new HumanName();
   dst.use = use == null ? null : use.copy();
   dst.text = text == null ? null : text.copy();
   dst.family = new ArrayList<String_>();
   for (String_ i : family) dst.family.add(i.copy());
   dst.given = new ArrayList<String_>();
   for (String_ i : given) dst.given.add(i.copy());
   dst.prefix = new ArrayList<String_>();
   for (String_ i : prefix) dst.prefix.add(i.copy());
   dst.suffix = new ArrayList<String_>();
   for (String_ i : suffix) dst.suffix.add(i.copy());
   dst.period = period == null ? null : period.copy();
   return dst;
 }
Exemple #21
0
 public Address copy() {
   Address dst = new Address();
   copyValues(dst);
   dst.use = use == null ? null : use.copy();
   dst.text = text == null ? null : text.copy();
   if (line != null) {
     dst.line = new ArrayList<StringType>();
     for (StringType i : line) dst.line.add(i.copy());
   }
   ;
   dst.city = city == null ? null : city.copy();
   dst.state = state == null ? null : state.copy();
   dst.postalCode = postalCode == null ? null : postalCode.copy();
   dst.country = country == null ? null : country.copy();
   dst.period = period == null ? null : period.copy();
   return dst;
 }
 public EnrollmentResponse copy() {
   EnrollmentResponse dst = new EnrollmentResponse();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.request = request == null ? null : request.copy();
   dst.outcome = outcome == null ? null : outcome.copy();
   dst.disposition = disposition == null ? null : disposition.copy();
   dst.ruleset = ruleset == null ? null : ruleset.copy();
   dst.originalRuleset = originalRuleset == null ? null : originalRuleset.copy();
   dst.created = created == null ? null : created.copy();
   dst.organization = organization == null ? null : organization.copy();
   dst.requestProvider = requestProvider == null ? null : requestProvider.copy();
   dst.requestOrganization = requestOrganization == null ? null : requestOrganization.copy();
   return dst;
 }
Exemple #23
0
 public Goal copy() {
   Goal dst = new Goal();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.patient = patient == null ? null : patient.copy();
   dst.description = description == null ? null : description.copy();
   dst.status = status == null ? null : status.copy();
   dst.notes = notes == null ? null : notes.copy();
   if (concern != null) {
     dst.concern = new ArrayList<Reference>();
     for (Reference i : concern) dst.concern.add(i.copy());
   }
   ;
   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;
 }
 public Account copy() {
   Account dst = new Account();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.name = name == null ? null : name.copy();
   dst.type = type == null ? null : type.copy();
   dst.status = status == null ? null : status.copy();
   dst.activePeriod = activePeriod == null ? null : activePeriod.copy();
   dst.currency = currency == null ? null : currency.copy();
   dst.balance = balance == null ? null : balance.copy();
   dst.coveragePeriod = coveragePeriod == null ? null : coveragePeriod.copy();
   dst.subject = subject == null ? null : subject.copy();
   dst.owner = owner == null ? null : owner.copy();
   dst.description = description == null ? null : description.copy();
   return dst;
 }
Exemple #26
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;
 }
 public ProcessRequest copy() {
   ProcessRequest dst = new ProcessRequest();
   copyValues(dst);
   dst.action = action == null ? null : action.copy();
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.ruleset = ruleset == null ? null : ruleset.copy();
   dst.originalRuleset = originalRuleset == null ? null : originalRuleset.copy();
   dst.created = created == null ? null : created.copy();
   dst.target = target == null ? null : target.copy();
   dst.provider = provider == null ? null : provider.copy();
   dst.organization = organization == null ? null : organization.copy();
   dst.request = request == null ? null : request.copy();
   dst.response = response == null ? null : response.copy();
   dst.nullify = nullify == null ? null : nullify.copy();
   dst.reference = reference == null ? null : reference.copy();
   if (item != null) {
     dst.item = new ArrayList<ItemsComponent>();
     for (ItemsComponent i : item) dst.item.add(i.copy());
   }
   ;
   if (include != null) {
     dst.include = new ArrayList<StringType>();
     for (StringType i : include) dst.include.add(i.copy());
   }
   ;
   if (exclude != null) {
     dst.exclude = new ArrayList<StringType>();
     for (StringType i : exclude) dst.exclude.add(i.copy());
   }
   ;
   dst.period = period == null ? null : period.copy();
   return dst;
 }
 public FamilyMemberHistory copy() {
   FamilyMemberHistory dst = new FamilyMemberHistory();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.patient = patient == null ? null : patient.copy();
   dst.date = date == null ? null : date.copy();
   dst.name = name == null ? null : name.copy();
   dst.relationship = relationship == null ? null : relationship.copy();
   dst.gender = gender == null ? null : gender.copy();
   dst.born = born == null ? null : born.copy();
   dst.age = age == null ? null : age.copy();
   dst.deceased = deceased == null ? null : deceased.copy();
   dst.note = note == null ? null : note.copy();
   if (condition != null) {
     dst.condition = new ArrayList<FamilyMemberHistoryConditionComponent>();
     for (FamilyMemberHistoryConditionComponent i : condition) dst.condition.add(i.copy());
   }
   ;
   return dst;
 }
 public SequencingAnalysisGenomeComponent copy(SequencingAnalysis e) {
   SequencingAnalysisGenomeComponent dst = e.new SequencingAnalysisGenomeComponent();
   dst.name = name == null ? null : name.copy();
   dst.build = build == null ? null : build.copy();
   return dst;
 }