FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone

Packagedk.ehealth.sundhed.fhir.ig.core
TypeOperationDefinition
IdActivityDefinitionPlanDefinition-i-create-clone
FHIR VersionR4
Sourcehttp://ehealth.sundhed.dk/fhir/https://build.fhir.org/ig/fut-infrastructure/implementation-guide/OperationDefinition-ActivityDefinitionPlanDefinition-i-create-clone.html
URLhttps://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone
Version3.5.1
Statusactive
Date2025-07-03T10:29:25+00:00
Namecreate-clone
TitleCreate a clone of an ActivityDefinition
Realmdk
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
Typefalse
Kindoperation

Resources that use this resource

CapabilityStatement
planplan

Resources that this resource uses

No resources found


Narrative

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

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INclone-operation0..1Coding
INdefault-clone-behavior0..1boolean
INdeep-clone-references0..*Reference

Source

{
  "resourceType": "OperationDefinition",
  "id": "ActivityDefinitionPlanDefinition-i-create-clone",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone",
  "version": "3.5.1",
  "name": "create-clone",
  "title": "Create a clone of an ActivityDefinition",
  "status": "active",
  "kind": "operation",
  "date": "2025-07-03T10:29:25+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"
    }
  ]
}