{
"description": "### Input\\n- resourceId: reference to the ActivityDefinition resource that should be cloned\\n- clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation \\n- default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned \\n- deep-clone-references: References to resources to create as new resources rather than referencing the existing ones.\\n\\n### Output\\nBundle containing all resources that were created during the operation.\\n\\n### Validation\\n- New business versions require that the user has modifier-role: owner or co-author for the resource\\n- New copy does not require that the user has a modifier-role.\\n- New business version can be made only when no draft resource exists (having identical base identifier).\\n- Read/search/create privileges are required for the resource types affected by $create-clone\\n",
"_filename": "OperationDefinition-ActivityDefinitionPlanDefinition-i-create-clone.json",
"package_name": "dk.ehealth.sundhed.fhir.ig.core",
"date": "2025-10-23T10:25:37+00:00",
"system": false,
"publisher": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"instance": true,
"jurisdiction": [ {
"coding": [ {
"code": "DK",
"system": "urn:iso:std:iso:3166",
"display": "Denmark"
} ]
} ],
"name": "create-clone",
"type": "false",
"experimental": null,
"resourceType": "OperationDefinition",
"title": "Create a clone of an ActivityDefinition",
"package_version": "6.0.0",
"status": "active",
"id": "ca5c2cb2-83f9-449d-bb9a-1e9d484cb6fa",
"resource": [ "ActivityDefinition", "PlanDefinition" ],
"affectsState": true,
"kind": "operation",
"url": "http://ehealth.sundhed.dk/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone",
"code": "create-clone",
"version": "6.0.0",
"contact": [ {
"name": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"telecom": [ {
"value": "http://ehealth.sundhed.dk",
"system": "url"
} ]
} ],
"parameter": [ {
"max": "1",
"min": 0,
"use": "in",
"name": "clone-operation",
"type": "Coding"
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "default-clone-behavior",
"type": "boolean"
}, {
"max": "*",
"min": 0,
"use": "in",
"name": "deep-clone-references",
"type": "Reference"
} ]
}