public ProcessResponse copy() { ProcessResponse dst = new ProcessResponse(); copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); } ; dst.request = request == null ? null : request.copy(); dst.outcome = outcome == null ? null : outcome.copy(); dst.disposition = disposition == null ? null : disposition.copy(); dst.ruleset = ruleset == null ? null : ruleset.copy(); dst.originalRuleset = originalRuleset == null ? null : originalRuleset.copy(); dst.created = created == null ? null : created.copy(); dst.organization = organization == null ? null : organization.copy(); dst.requestProvider = requestProvider == null ? null : requestProvider.copy(); dst.requestOrganization = requestOrganization == null ? null : requestOrganization.copy(); dst.form = form == null ? null : form.copy(); if (notes != null) { dst.notes = new ArrayList<ProcessResponseNotesComponent>(); for (ProcessResponseNotesComponent i : notes) dst.notes.add(i.copy()); } ; if (error != null) { dst.error = new ArrayList<Coding>(); for (Coding i : error) dst.error.add(i.copy()); } ; return dst; }
public ProcessResponseNotesComponent copy() { ProcessResponseNotesComponent dst = new ProcessResponseNotesComponent(); copyValues(dst); dst.type = type == null ? null : type.copy(); dst.text = text == null ? null : text.copy(); return dst; }
public EnrollmentResponse copy() { EnrollmentResponse dst = new EnrollmentResponse(); copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); } ; dst.request = request == null ? null : request.copy(); dst.outcome = outcome == null ? null : outcome.copy(); dst.disposition = disposition == null ? null : disposition.copy(); dst.ruleset = ruleset == null ? null : ruleset.copy(); dst.originalRuleset = originalRuleset == null ? null : originalRuleset.copy(); dst.created = created == null ? null : created.copy(); dst.organization = organization == null ? null : organization.copy(); dst.requestProvider = requestProvider == null ? null : requestProvider.copy(); dst.requestOrganization = requestOrganization == null ? null : requestOrganization.copy(); return dst; }
public EnrollmentRequest copy() { EnrollmentRequest dst = new EnrollmentRequest(); 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.subject = subject == null ? null : subject.copy(); dst.coverage = coverage == null ? null : coverage.copy(); dst.relationship = relationship == null ? null : relationship.copy(); return dst; }
public ProcessRequest copy() { ProcessRequest dst = new ProcessRequest(); copyValues(dst); dst.action = action == null ? null : action.copy(); 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.nullify = nullify == null ? null : nullify.copy(); dst.reference = reference == null ? null : reference.copy(); if (item != null) { dst.item = new ArrayList<ItemsComponent>(); for (ItemsComponent i : item) dst.item.add(i.copy()); } ; if (include != null) { dst.include = new ArrayList<StringType>(); for (StringType i : include) dst.include.add(i.copy()); } ; if (exclude != null) { dst.exclude = new ArrayList<StringType>(); for (StringType i : exclude) dst.exclude.add(i.copy()); } ; dst.period = period == null ? null : period.copy(); return dst; }