Beispiel #1
0
 public DeviceIdentityComponent copy(Device e) {
   DeviceIdentityComponent dst = e.new DeviceIdentityComponent();
   dst.gtin = gtin == null ? null : gtin.copy();
   dst.lot = lot == null ? null : lot.copy();
   dst.serialNumber = serialNumber == null ? null : serialNumber.copy();
   return dst;
 }
Beispiel #2
0
 public DocumentReferenceServiceParameterComponent copy(DocumentReference e) {
   DocumentReferenceServiceParameterComponent dst =
       e.new DocumentReferenceServiceParameterComponent();
   dst.name = name == null ? null : name.copy();
   dst.value = value == null ? null : value.copy();
   return dst;
 }
Beispiel #3
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 CodeableConcept copy() {
   CodeableConcept dst = new CodeableConcept();
   dst.coding = new ArrayList<Coding>();
   for (Coding i : coding) dst.coding.add(i.copy());
   dst.text = text == null ? null : text.copy();
   dst.primary = primary == null ? null : primary.copy();
   return dst;
 }
Beispiel #5
0
 public SecurityEventSourceComponent copy(SecurityEvent e) {
   SecurityEventSourceComponent dst = e.new SecurityEventSourceComponent();
   dst.site = site == null ? null : site.copy();
   dst.identifier = identifier == null ? null : identifier.copy();
   dst.type = new ArrayList<Coding>();
   for (Coding i : type) dst.type.add(i.copy());
   return dst;
 }
Beispiel #6
0
 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;
 }
Beispiel #7
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;
 }
 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;
 }
Beispiel #9
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;
 }
Beispiel #10
0
 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;
 }
Beispiel #11
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;
 }
Beispiel #12
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;
 }
Beispiel #13
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;
 }
Beispiel #14
0
 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;
 }
Beispiel #15
0
 public DocumentReferenceServiceComponent copy(DocumentReference e) {
   DocumentReferenceServiceComponent dst = e.new DocumentReferenceServiceComponent();
   dst.type = type == null ? null : type.copy();
   dst.address = address == null ? null : address.copy();
   dst.parameter = new ArrayList<DocumentReferenceServiceParameterComponent>();
   for (DocumentReferenceServiceParameterComponent i : parameter) dst.parameter.add(i.copy(e));
   return dst;
 }
Beispiel #16
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;
 }
 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;
 }
Beispiel #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;
 }
Beispiel #19
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;
 }
 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;
 }
 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;
 }
Beispiel #22
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;
 }
Beispiel #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;
 }
Beispiel #25
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;
 }
 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 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;
 }
Beispiel #28
0
 public String_ addPhasedSimple(String value) {
   String_ t = new String_();
   t.setValue(value);
   this.phased.add(t);
   return t;
 }
Beispiel #29
0
 public String_ addGenotypeSimple(String value) {
   String_ t = new String_();
   t.setValue(value);
   this.genotype.add(t);
   return t;
 }
Beispiel #30
0
 public SecurityEventObjectDetailComponent copy(SecurityEvent e) {
   SecurityEventObjectDetailComponent dst = e.new SecurityEventObjectDetailComponent();
   dst.type = type == null ? null : type.copy();
   dst.value = value == null ? null : value.copy();
   return dst;
 }