public Extension copy() { Extension dst = new Extension(); copyValues(dst); dst.url = url == null ? null : url.copy(); dst.value = value == null ? null : value.copy(); return dst; }
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; }
public Coding copy() { Coding dst = new Coding(); copyValues(dst); 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.userSelected = userSelected == null ? null : userSelected.copy(); return dst; }
public Attachment copy() { Attachment dst = new Attachment(); copyValues(dst); dst.contentType = contentType == null ? null : contentType.copy(); dst.language = language == null ? null : language.copy(); dst.data = data == null ? null : data.copy(); dst.url = url == null ? null : url.copy(); dst.size = size == null ? null : size.copy(); dst.hash = hash == null ? null : hash.copy(); dst.title = title == null ? null : title.copy(); dst.creation = creation == null ? null : creation.copy(); return dst; }
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; }