예제 #1
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;
 }
예제 #2
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;
 }
예제 #3
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;
 }
예제 #4
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;
 }
예제 #5
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;
 }
예제 #6
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;
 }
예제 #7
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.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;
 }
예제 #8
0
 public AdverseReactionSymptomComponent copy(AdverseReaction e) {
   AdverseReactionSymptomComponent dst = e.new AdverseReactionSymptomComponent();
   dst.code = code == null ? null : code.copy();
   dst.severity = severity == null ? null : severity.copy();
   return dst;
 }