public Meta copy() { Meta dst = new Meta(); copyValues(dst); dst.versionId = versionId == null ? null : versionId.copy(); dst.lastUpdated = lastUpdated == null ? null : lastUpdated.copy(); if (profile != null) { dst.profile = new ArrayList<UriType>(); for (UriType i : profile) dst.profile.add(i.copy()); }; if (security != null) { dst.security = new ArrayList<Coding>(); for (Coding i : security) dst.security.add(i.copy()); }; if (tag != null) { dst.tag = new ArrayList<Coding>(); for (Coding i : tag) dst.tag.add(i.copy()); }; return dst; }
public AppointmentResponse copy() { AppointmentResponse dst = new AppointmentResponse(); copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); }; dst.appointment = appointment == null ? null : appointment.copy(); dst.start = start == null ? null : start.copy(); dst.end = end == null ? null : end.copy(); if (participantType != null) { dst.participantType = new ArrayList<CodeableConcept>(); for (CodeableConcept i : participantType) dst.participantType.add(i.copy()); }; dst.actor = actor == null ? null : actor.copy(); dst.participantStatus = participantStatus == null ? null : participantStatus.copy(); dst.comment = comment == null ? null : comment.copy(); return dst; }
public DeviceMetricCalibrationComponent copy() { DeviceMetricCalibrationComponent dst = new DeviceMetricCalibrationComponent(); copyValues(dst); dst.type = type == null ? null : type.copy(); dst.state = state == null ? null : state.copy(); dst.time = time == null ? null : time.copy(); return dst; }
public Slot copy() { Slot dst = new Slot(); copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); }; dst.serviceCategory = serviceCategory == null ? null : serviceCategory.copy(); if (serviceType != null) { dst.serviceType = new ArrayList<CodeableConcept>(); for (CodeableConcept i : serviceType) dst.serviceType.add(i.copy()); }; if (specialty != null) { dst.specialty = new ArrayList<CodeableConcept>(); for (CodeableConcept i : specialty) dst.specialty.add(i.copy()); }; dst.appointmentType = appointmentType == null ? null : appointmentType.copy(); dst.schedule = schedule == null ? null : schedule.copy(); dst.status = status == null ? null : status.copy(); dst.start = start == null ? null : start.copy(); dst.end = end == null ? null : end.copy(); dst.overbooked = overbooked == null ? null : overbooked.copy(); dst.comment = comment == null ? null : comment.copy(); return dst; }
}; dst.period = period == null ? null : period.copy(); dst.recorded = recorded == null ? null : recorded.copy(); if (policy != null) { dst.policy = new ArrayList<UriType>();
public Signature copy() { Signature dst = new Signature(); copyValues(dst); if (type != null) { dst.type = new ArrayList<Coding>(); for (Coding i : type) dst.type.add(i.copy()); }; dst.when = when == null ? null : when.copy(); dst.who = who == null ? null : who.copy(); dst.onBehalfOf = onBehalfOf == null ? null : onBehalfOf.copy(); dst.contentType = contentType == null ? null : contentType.copy(); dst.blob = blob == null ? null : blob.copy(); return dst; }
}; dst.action = action == null ? null : action.copy(); dst.recorded = recorded == null ? null : recorded.copy(); dst.outcome = outcome == null ? null : outcome.copy(); dst.outcomeDesc = outcomeDesc == null ? null : outcomeDesc.copy();
public Subscription copy() { Subscription dst = new Subscription(); copyValues(dst); dst.status = status == null ? null : status.copy(); if (contact != null) { dst.contact = new ArrayList<ContactPoint>(); for (ContactPoint i : contact) dst.contact.add(i.copy()); }; dst.end = end == null ? null : end.copy(); dst.reason = reason == null ? null : reason.copy(); dst.criteria = criteria == null ? null : criteria.copy(); dst.error = error == null ? null : error.copy(); dst.channel = channel == null ? null : channel.copy(); if (tag != null) { dst.tag = new ArrayList<Coding>(); for (Coding i : tag) dst.tag.add(i.copy()); }; return dst; }
dst.context = context == null ? null : context.copy(); dst.effective = effective == null ? null : effective.copy(); dst.issued = issued == null ? null : issued.copy(); if (performer != null) { dst.performer = new ArrayList<DiagnosticReportPerformerComponent>();
public BundleEntryResponseComponent copy() { BundleEntryResponseComponent dst = new BundleEntryResponseComponent(); copyValues(dst); dst.status = status == null ? null : status.copy(); dst.location = location == null ? null : location.copy(); dst.etag = etag == null ? null : etag.copy(); dst.lastModified = lastModified == null ? null : lastModified.copy(); dst.outcome = outcome == null ? null : outcome.copy(); return dst; }
public DeviceComponent copy() { DeviceComponent dst = new DeviceComponent(); copyValues(dst); dst.identifier = identifier == null ? null : identifier.copy(); dst.type = type == null ? null : type.copy(); dst.lastSystemChange = lastSystemChange == null ? null : lastSystemChange.copy(); dst.source = source == null ? null : source.copy(); dst.parent = parent == null ? null : parent.copy(); if (operationalStatus != null) { dst.operationalStatus = new ArrayList<CodeableConcept>(); for (CodeableConcept i : operationalStatus) dst.operationalStatus.add(i.copy()); }; dst.parameterGroup = parameterGroup == null ? null : parameterGroup.copy(); dst.measurementPrinciple = measurementPrinciple == null ? null : measurementPrinciple.copy(); if (productionSpecification != null) { dst.productionSpecification = new ArrayList<DeviceComponentProductionSpecificationComponent>(); for (DeviceComponentProductionSpecificationComponent i : productionSpecification) dst.productionSpecification.add(i.copy()); }; dst.languageCode = languageCode == null ? null : languageCode.copy(); return dst; }
dst.subject = subject == null ? null : subject.copy(); dst.created = created == null ? null : created.copy(); dst.indexed = indexed == null ? null : indexed.copy(); if (author != null) { dst.author = new ArrayList<Reference>();
dst.context = context == null ? null : context.copy(); dst.effective = effective == null ? null : effective.copy(); dst.issued = issued == null ? null : issued.copy(); if (performer != null) { dst.performer = new ArrayList<Reference>();
public BundleEntryRequestComponent copy() { BundleEntryRequestComponent dst = new BundleEntryRequestComponent(); copyValues(dst); dst.method = method == null ? null : method.copy(); dst.url = url == null ? null : url.copy(); dst.ifNoneMatch = ifNoneMatch == null ? null : ifNoneMatch.copy(); dst.ifModifiedSince = ifModifiedSince == null ? null : ifModifiedSince.copy(); dst.ifMatch = ifMatch == null ? null : ifMatch.copy(); dst.ifNoneExist = ifNoneExist == null ? null : ifNoneExist.copy(); return dst; }
public MessageHeader copy() { MessageHeader dst = new MessageHeader(); copyValues(dst); dst.event = event == null ? null : event.copy(); if (destination != null) { dst.destination = new ArrayList<MessageDestinationComponent>(); for (MessageDestinationComponent i : destination) dst.destination.add(i.copy()); }; dst.receiver = receiver == null ? null : receiver.copy(); dst.sender = sender == null ? null : sender.copy(); dst.timestamp = timestamp == null ? null : timestamp.copy(); dst.enterer = enterer == null ? null : enterer.copy(); dst.author = author == null ? null : author.copy(); dst.source = source == null ? null : source.copy(); dst.responsible = responsible == null ? null : responsible.copy(); dst.reason = reason == null ? null : reason.copy(); dst.response = response == null ? null : response.copy(); if (focus != null) { dst.focus = new ArrayList<Reference>(); for (Reference i : focus) dst.focus.add(i.copy()); }; return dst; }