public SupplyDispenseComponent copy(Supply e) { SupplyDispenseComponent dst = e.new SupplyDispenseComponent(); dst.identifier = identifier == null ? null : identifier.copy(); dst.status = status == null ? null : status.copy(); dst.type = type == null ? null : type.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.suppliedItem = suppliedItem == null ? null : suppliedItem.copy(); dst.supplier = supplier == null ? null : supplier.copy(); dst.whenPrepared = whenPrepared == null ? null : whenPrepared.copy(); dst.whenHandedOver = whenHandedOver == null ? null : whenHandedOver.copy(); dst.destination = destination == null ? null : destination.copy(); dst.receiver = new ArrayList<ResourceReference>(); for (ResourceReference i : receiver) dst.receiver.add(i.copy()); return dst; }
public Coverage copy() { Coverage dst = new Coverage(); copyValues(dst); dst.issuer = issuer == null ? null : issuer.copy(); dst.bin = bin == null ? null : bin.copy(); dst.period = period == null ? null : period.copy(); dst.type = type == null ? null : type.copy(); dst.subscriberId = subscriberId == null ? null : subscriberId.copy(); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); } ; dst.group = group == null ? null : group.copy(); dst.plan = plan == null ? null : plan.copy(); dst.subPlan = subPlan == null ? null : subPlan.copy(); dst.dependent = dependent == null ? null : dependent.copy(); dst.sequence = sequence == null ? null : sequence.copy(); dst.subscriber = subscriber == null ? null : subscriber.copy(); dst.network = network == null ? null : network.copy(); if (contract != null) { dst.contract = new ArrayList<Reference>(); for (Reference i : contract) dst.contract.add(i.copy()); } ; return dst; }
public CareTeam copy() { CareTeam dst = new CareTeam(); copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); } ; dst.status = status == null ? null : status.copy(); if (type != null) { dst.type = new ArrayList<CodeableConcept>(); for (CodeableConcept i : type) dst.type.add(i.copy()); } ; dst.name = name == null ? null : name.copy(); dst.subject = subject == null ? null : subject.copy(); dst.period = period == null ? null : period.copy(); if (participant != null) { dst.participant = new ArrayList<CareTeamParticipantComponent>(); for (CareTeamParticipantComponent i : participant) dst.participant.add(i.copy()); } ; dst.managingOrganization = managingOrganization == null ? null : managingOrganization.copy(); return dst; }
public CareTeamParticipantComponent copy() { CareTeamParticipantComponent dst = new CareTeamParticipantComponent(); copyValues(dst); dst.role = role == null ? null : role.copy(); dst.member = member == null ? null : member.copy(); dst.period = period == null ? null : period.copy(); return dst; }
public GroupMemberComponent copy() { GroupMemberComponent dst = new GroupMemberComponent(); copyValues(dst); dst.entity = entity == null ? null : entity.copy(); dst.period = period == null ? null : period.copy(); dst.inactive = inactive == null ? null : inactive.copy(); return dst; }
public DocumentReferenceContextComponent copy(DocumentReference e) { DocumentReferenceContextComponent dst = e.new DocumentReferenceContextComponent(); dst.code = new ArrayList<CodeableConcept>(); for (CodeableConcept i : code) dst.code.add(i.copy()); dst.period = period == null ? null : period.copy(); dst.facilityType = facilityType == null ? null : facilityType.copy(); return dst; }
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; }
public ContactPoint copy() { ContactPoint dst = new ContactPoint(); copyValues(dst); dst.system = system == null ? null : system.copy(); dst.value = value == null ? null : value.copy(); dst.use = use == null ? null : use.copy(); dst.rank = rank == null ? null : rank.copy(); dst.period = period == null ? null : period.copy(); return dst; }
public Account copy() { Account dst = new Account(); copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); } ; dst.name = name == null ? null : name.copy(); dst.type = type == null ? null : type.copy(); dst.status = status == null ? null : status.copy(); dst.activePeriod = activePeriod == null ? null : activePeriod.copy(); dst.currency = currency == null ? null : currency.copy(); dst.balance = balance == null ? null : balance.copy(); dst.coveragePeriod = coveragePeriod == null ? null : coveragePeriod.copy(); dst.subject = subject == null ? null : subject.copy(); dst.owner = owner == null ? null : owner.copy(); dst.description = description == null ? null : description.copy(); return dst; }
public HumanName copy() { HumanName dst = new HumanName(); dst.use = use == null ? null : use.copy(); dst.text = text == null ? null : text.copy(); dst.family = new ArrayList<String_>(); for (String_ i : family) dst.family.add(i.copy()); dst.given = new ArrayList<String_>(); for (String_ i : given) dst.given.add(i.copy()); dst.prefix = new ArrayList<String_>(); for (String_ i : prefix) dst.prefix.add(i.copy()); dst.suffix = new ArrayList<String_>(); for (String_ i : suffix) dst.suffix.add(i.copy()); dst.period = period == null ? null : period.copy(); return dst; }
public Address copy() { Address dst = new Address(); copyValues(dst); dst.use = use == null ? null : use.copy(); dst.text = text == null ? null : text.copy(); if (line != null) { dst.line = new ArrayList<StringType>(); for (StringType i : line) dst.line.add(i.copy()); } ; dst.city = city == null ? null : city.copy(); dst.state = state == null ? null : state.copy(); dst.postalCode = postalCode == null ? null : postalCode.copy(); dst.country = country == null ? null : country.copy(); dst.period = period == null ? null : period.copy(); return dst; }
public MedicationAdministration copy() { MedicationAdministration dst = new MedicationAdministration(); dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); dst.status = status == null ? null : status.copy(); dst.patient = patient == null ? null : patient.copy(); dst.practitioner = practitioner == null ? null : practitioner.copy(); dst.encounter = encounter == null ? null : encounter.copy(); dst.prescription = prescription == null ? null : prescription.copy(); dst.wasNotGiven = wasNotGiven == null ? null : wasNotGiven.copy(); dst.reasonNotGiven = new ArrayList<CodeableConcept>(); for (CodeableConcept i : reasonNotGiven) dst.reasonNotGiven.add(i.copy()); dst.whenGiven = whenGiven == null ? null : whenGiven.copy(); dst.medication = medication == null ? null : medication.copy(); dst.device = new ArrayList<ResourceReference>(); for (ResourceReference i : device) dst.device.add(i.copy()); dst.dosage = new ArrayList<MedicationAdministrationDosageComponent>(); for (MedicationAdministrationDosageComponent i : dosage) dst.dosage.add(i.copy(dst)); 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; }