| Package | dk.ehealth.sundhed.fhir.ig.core |
| Resource Type | OperationDefinition |
| Id | ActivityDefinitionPlanDefinition-i-create-clone |
| FHIR Version | R4 |
| Source | http://ehealth.sundhed.dk/fhir/https://build.fhir.org/ig/fut-infrastructure/implementation-guide/OperationDefinition-ActivityDefinitionPlanDefinition-i-create-clone.html |
| URL | http://ehealth.sundhed.dk/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone |
| Version | 5.0.1 |
| Status | active |
| Date | 2025-08-12T12:42:26+00:00 |
| Name | create-clone |
| Title | Create a clone of an ActivityDefinition |
| Realm | dk |
| Description | ### Input - 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 |
| Type | false |
| Kind | operation |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: Operationsdefinition ActivityDefinitionPlanDefinition-i-create-clone
URL: [base]/ActivityDefinition/[id]/$create-clone
URL: [base]/PlanDefinition/[id]/$create-clone
| 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 |
{
"resourceType": "OperationDefinition",
"id": "ActivityDefinitionPlanDefinition-i-create-clone",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "http://ehealth.sundhed.dk/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone",
"version": "5.0.1",
"name": "create-clone",
"title": "Create a clone of an ActivityDefinition",
"status": "active",
"kind": "operation",
"date": "2025-08-12T12:42:26+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"
}
]
}