public StructureMapGroupRuleDependentComponent copy() { StructureMapGroupRuleDependentComponent dst = new StructureMapGroupRuleDependentComponent(); copyValues(dst); dst.name = name == null ? null : name.copy(); if (variable != null) { dst.variable = new ArrayList<StringType>(); for (StringType i : variable) dst.variable.add(i.copy()); }; return dst; }
public StructureMapGroupRuleTargetComponent copy() { StructureMapGroupRuleTargetComponent dst = new StructureMapGroupRuleTargetComponent(); copyValues(dst); dst.context = context == null ? null : context.copy(); dst.contextType = contextType == null ? null : contextType.copy(); dst.element = element == null ? null : element.copy(); dst.variable = variable == null ? null : variable.copy(); if (listMode != null) { dst.listMode = new ArrayList<Enumeration<StructureMapTargetListMode>>(); for (Enumeration<StructureMapTargetListMode> i : listMode) dst.listMode.add(i.copy()); }; dst.listRuleId = listRuleId == null ? null : listRuleId.copy(); dst.transform = transform == null ? null : transform.copy(); if (parameter != null) { dst.parameter = new ArrayList<StructureMapGroupRuleTargetParameterComponent>(); for (StructureMapGroupRuleTargetParameterComponent i : parameter) dst.parameter.add(i.copy()); }; return dst; }
public StructureMapGroupComponent copy() { StructureMapGroupComponent dst = new StructureMapGroupComponent(); copyValues(dst); dst.name = name == null ? null : name.copy(); dst.extends_ = extends_ == null ? null : extends_.copy(); dst.typeMode = typeMode == null ? null : typeMode.copy(); dst.documentation = documentation == null ? null : documentation.copy(); if (input != null) { dst.input = new ArrayList<StructureMapGroupInputComponent>(); for (StructureMapGroupInputComponent i : input) dst.input.add(i.copy()); }; if (rule != null) { dst.rule = new ArrayList<StructureMapGroupRuleComponent>(); for (StructureMapGroupRuleComponent i : rule) dst.rule.add(i.copy()); }; return dst; }
public void copyValues(Resource dst) { dst.id = id == null ? null : id.copy(); dst.meta = meta == null ? null : meta.copy(); dst.implicitRules = implicitRules == null ? null : implicitRules.copy(); dst.language = language == null ? null : language.copy(); }
public StructureMapGroupRuleComponent copy() { StructureMapGroupRuleComponent dst = new StructureMapGroupRuleComponent(); copyValues(dst); dst.name = name == null ? null : name.copy(); if (source != null) { dst.source = new ArrayList<StructureMapGroupRuleSourceComponent>(); for (StructureMapGroupRuleSourceComponent i : source) dst.source.add(i.copy()); }; if (target != null) { dst.target = new ArrayList<StructureMapGroupRuleTargetComponent>(); for (StructureMapGroupRuleTargetComponent i : target) dst.target.add(i.copy()); }; if (rule != null) { dst.rule = new ArrayList<StructureMapGroupRuleComponent>(); for (StructureMapGroupRuleComponent i : rule) dst.rule.add(i.copy()); }; if (dependent != null) { dst.dependent = new ArrayList<StructureMapGroupRuleDependentComponent>(); for (StructureMapGroupRuleDependentComponent i : dependent) dst.dependent.add(i.copy()); }; dst.documentation = documentation == null ? null : documentation.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(); dst.source = source == null ? null : source.copy(); if (profile != null) { dst.profile = new ArrayList<CanonicalType>(); for (CanonicalType 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 PlanDefinitionActionRelatedActionComponent copy() { PlanDefinitionActionRelatedActionComponent dst = new PlanDefinitionActionRelatedActionComponent(); copyValues(dst); dst.actionId = actionId == null ? null : actionId.copy(); dst.relationship = relationship == null ? null : relationship.copy(); dst.offset = offset == null ? null : offset.copy(); return dst; }
public MessageHeaderResponseComponent copy() { MessageHeaderResponseComponent dst = new MessageHeaderResponseComponent(); copyValues(dst); dst.identifier = identifier == null ? null : identifier.copy(); dst.code = code == null ? null : code.copy(); dst.details = details == null ? null : details.copy(); return dst; }
public ImplementationGuideDependsOnComponent copy() { ImplementationGuideDependsOnComponent dst = new ImplementationGuideDependsOnComponent(); copyValues(dst); dst.uri = uri == null ? null : uri.copy(); dst.packageId = packageId == null ? null : packageId.copy(); dst.version = version == null ? null : version.copy(); return dst; }
public RequestGroupActionRelatedActionComponent copy() { RequestGroupActionRelatedActionComponent dst = new RequestGroupActionRelatedActionComponent(); copyValues(dst); dst.actionId = actionId == null ? null : actionId.copy(); dst.relationship = relationship == null ? null : relationship.copy(); dst.offset = offset == null ? null : offset.copy(); return dst; }
public ImplementationGuideDefinitionResourceComponent copy() { ImplementationGuideDefinitionResourceComponent dst = new ImplementationGuideDefinitionResourceComponent(); copyValues(dst); dst.reference = reference == null ? null : reference.copy(); if (fhirVersion != null) { dst.fhirVersion = new ArrayList<Enumeration<FHIRVersion>>(); for (Enumeration<FHIRVersion> i : fhirVersion) dst.fhirVersion.add(i.copy()); }; dst.name = name == null ? null : name.copy(); dst.description = description == null ? null : description.copy(); dst.example = example == null ? null : example.copy(); dst.groupingId = groupingId == null ? null : groupingId.copy(); return dst; }
public ImagingStudySeriesInstanceComponent copy() { ImagingStudySeriesInstanceComponent dst = new ImagingStudySeriesInstanceComponent(); copyValues(dst); dst.uid = uid == null ? null : uid.copy(); dst.sopClass = sopClass == null ? null : sopClass.copy(); dst.number = number == null ? null : number.copy(); dst.title = title == null ? null : title.copy(); return dst; }
public SetupActionOperationComponent copy() { SetupActionOperationComponent dst = new SetupActionOperationComponent(); copyValues(dst); dst.type = type == null ? null : type.copy(); dst.resource = resource == null ? null : resource.copy(); dst.label = label == null ? null : label.copy(); dst.description = description == null ? null : description.copy(); dst.accept = accept == null ? null : accept.copy(); dst.contentType = contentType == null ? null : contentType.copy(); dst.destination = destination == null ? null : destination.copy(); dst.encodeRequestUrl = encodeRequestUrl == null ? null : encodeRequestUrl.copy(); dst.method = method == null ? null : method.copy(); dst.origin = origin == null ? null : origin.copy(); dst.params = params == null ? null : params.copy(); if (requestHeader != null) { dst.requestHeader = new ArrayList<SetupActionOperationRequestHeaderComponent>(); for (SetupActionOperationRequestHeaderComponent i : requestHeader) dst.requestHeader.add(i.copy()); }; dst.requestId = requestId == null ? null : requestId.copy(); dst.responseId = responseId == null ? null : responseId.copy(); dst.sourceId = sourceId == null ? null : sourceId.copy(); dst.targetId = targetId == null ? null : targetId.copy(); dst.url = url == null ? null : url.copy(); return dst; }
public ElementDefinitionMappingComponent copy() { ElementDefinitionMappingComponent dst = new ElementDefinitionMappingComponent(); copyValues(dst); dst.identity = identity == null ? null : identity.copy(); dst.language = language == null ? null : language.copy(); dst.map = map == null ? null : map.copy(); dst.comment = comment == null ? null : comment.copy(); return dst; }
public StructureDefinitionMappingComponent copy() { StructureDefinitionMappingComponent dst = new StructureDefinitionMappingComponent(); copyValues(dst); dst.identity = identity == null ? null : identity.copy(); dst.uri = uri == null ? null : uri.copy(); dst.name = name == null ? null : name.copy(); dst.comment = comment == null ? null : comment.copy(); return dst; }
public StructureMapGroupInputComponent copy() { StructureMapGroupInputComponent dst = new StructureMapGroupInputComponent(); copyValues(dst); dst.name = name == null ? null : name.copy(); dst.type = type == null ? null : type.copy(); dst.mode = mode == null ? null : mode.copy(); dst.documentation = documentation == null ? null : documentation.copy(); return dst; }
public Expression copy() { Expression dst = new Expression(); copyValues(dst); dst.description = description == null ? null : description.copy(); dst.name = name == null ? null : name.copy(); dst.language = language == null ? null : language.copy(); dst.expression = expression == null ? null : expression.copy(); dst.reference = reference == null ? null : reference.copy(); return dst; }
public StructureMapGroupRuleSourceComponent copy() { StructureMapGroupRuleSourceComponent dst = new StructureMapGroupRuleSourceComponent(); copyValues(dst); dst.context = context == null ? null : context.copy(); dst.min = min == null ? null : min.copy(); dst.max = max == null ? null : max.copy(); dst.type = type == null ? null : type.copy(); dst.defaultValue = defaultValue == null ? null : defaultValue.copy(); dst.element = element == null ? null : element.copy(); dst.listMode = listMode == null ? null : listMode.copy(); dst.variable = variable == null ? null : variable.copy(); dst.condition = condition == null ? null : condition.copy(); dst.check = check == null ? null : check.copy(); dst.logMessage = logMessage == null ? null : logMessage.copy(); return dst; }
public ElementDefinitionConstraintComponent copy() { ElementDefinitionConstraintComponent dst = new ElementDefinitionConstraintComponent(); copyValues(dst); dst.key = key == null ? null : key.copy(); dst.requirements = requirements == null ? null : requirements.copy(); dst.severity = severity == null ? null : severity.copy(); dst.human = human == null ? null : human.copy(); dst.expression = expression == null ? null : expression.copy(); dst.xpath = xpath == null ? null : xpath.copy(); dst.source = source == null ? null : source.copy(); return dst; }
public TestScriptVariableComponent copy() { TestScriptVariableComponent dst = new TestScriptVariableComponent(); copyValues(dst); dst.name = name == null ? null : name.copy(); dst.defaultValue = defaultValue == null ? null : defaultValue.copy(); dst.description = description == null ? null : description.copy(); dst.expression = expression == null ? null : expression.copy(); dst.headerField = headerField == null ? null : headerField.copy(); dst.hint = hint == null ? null : hint.copy(); dst.path = path == null ? null : path.copy(); dst.sourceId = sourceId == null ? null : sourceId.copy(); return dst; }