public MedicationAdministrationDosageComponent copy(MedicationAdministration e) {
   MedicationAdministrationDosageComponent dst = new MedicationAdministrationDosageComponent();
   dst.timing = timing == null ? null : timing.copy();
   dst.asNeeded = asNeeded == null ? null : asNeeded.copy();
   dst.site = site == null ? null : site.copy();
   dst.route = route == null ? null : route.copy();
   dst.method = method == null ? null : method.copy();
   dst.quantity = quantity == null ? null : quantity.copy();
   dst.rate = rate == null ? null : rate.copy();
   dst.maxDosePerPeriod = maxDosePerPeriod == null ? null : maxDosePerPeriod.copy();
   return dst;
 }
 public FamilyMemberHistoryConditionComponent copy() {
   FamilyMemberHistoryConditionComponent dst = new FamilyMemberHistoryConditionComponent();
   copyValues(dst);
   dst.type = type == null ? null : type.copy();
   dst.outcome = outcome == null ? null : outcome.copy();
   dst.onset = onset == null ? null : onset.copy();
   dst.note = note == null ? null : note.copy();
   return dst;
 }
示例#3
0
 public GroupCharacteristicComponent copy() {
   GroupCharacteristicComponent dst = new GroupCharacteristicComponent();
   copyValues(dst);
   dst.code = code == null ? null : code.copy();
   dst.value = value == null ? null : value.copy();
   dst.exclude = exclude == null ? null : exclude.copy();
   dst.period = period == null ? null : period.copy();
   return dst;
 }
示例#4
0
 public PaymentNotice copy() {
   PaymentNotice dst = new PaymentNotice();
   copyValues(dst);
   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.paymentStatus = paymentStatus == null ? null : paymentStatus.copy();
   dst.statusDate = statusDate == null ? null : statusDate.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 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 ParameterizedT copy() {
   return new ParameterizedT(this, Type.copy(parameters), getType().copy());
 }