This page is part of the FUT Infrastructure (v5.0.1: Release) based on FHIR (HL7® FHIR® Standard) R4 . This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
OperationDefinition: Create a clone of an ActivityDefinition
Official URL : http://ehealth.sundhed.dk/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone
Version :
5.0.1
Active
as of 2025-08-12
Computable Name : create-clone
resourceId: reference to the ActivityDefinition resource that should be cloned
clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation
default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned
deep-clone-references: References to resources to create as new resources rather than referencing the existing ones.
Output
Bundle containing all resources that were created during the operation.
Validation
New business versions require that the user has modifier-role: owner or co-author for the resource
New copy does not require that the user has a modifier-role.
New business version can be made only when no draft resource exists (having identical base identifier).
Read/search/create privileges are required for the resource types affected by $create-clone
URL: [base]/ActivityDefinition/[id]/$create-clone
URL: [base]/PlanDefinition/[id]/$create-clone
Parameters Use Name Scope Cardinality Type Binding Documentation IN clone-operation 0..1 Coding IN default-clone-behavior 0..1 boolean IN deep-clone-references 0..* Reference