This page is part of the FUT Infrastructure (v5.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions
Active as of 2025-08-11 |
{
"resourceType" : "OperationDefinition",
"id" : "ActivityDefinitionPlanDefinition-i-create-clone",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Operation</div>"
},
"url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone",
"version" : "5.0.0",
"name" : "create-clone",
"title" : "Create a clone of an ActivityDefinition",
"status" : "active",
"kind" : "operation",
"date" : "2025-08-11T11:41:57+00:00",
"publisher" : "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"contact" : [
{
"name" : "Den telemedicinske infrastruktur (eHealth Infrastructure)",
"telecom" : [
{
"system" : "url",
"value" : "http://ehealth.sundhed.dk"
}
]
}
],
"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",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "DK",
"display" : "Denmark"
}
]
}
],
"affectsState" : true,
"code" : "create-clone",
"resource" : [
"ActivityDefinition",
"PlanDefinition"
],
"system" : false,
"type" : false,
"instance" : true,
"parameter" : [
{
"name" : "clone-operation",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Coding"
},
{
"name" : "default-clone-behavior",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "boolean"
},
{
"name" : "deep-clone-references",
"use" : "in",
"min" : 0,
"max" : "*",
"type" : "Reference"
}
]
}