PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@5.0.1
    http://ehealth.sundhed.dk/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone
{
  "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-08-12T12:53:07+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": "5.0.1",
  "status": "active",
  "id": "cf2bda9a-b102-4b6e-a6c9-ef653a42f985",
  "resource": [ "ActivityDefinition", "PlanDefinition" ],
  "affectsState": true,
  "kind": "operation",
  "url": "http://ehealth.sundhed.dk/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone",
  "code": "create-clone",
  "version": "5.0.1",
  "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"
  } ]
}