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 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; }
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 boolean hasIdentifier() { if (this.identifier == null) return false; for (Identifier item : this.identifier) if (!item.isEmpty()) return true; return false; }