{
  "resourceType" : "OperationDefinition",
  "id" : "crmi-clone",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>URL: [base]/ActivityDefinition/$clone</p><p>URL: [base]/ActivityDefinition/[id]/$clone</p><p>URL: [base]/CapabilityStatement/$clone</p><p>URL: [base]/CapabilityStatement/[id]/$clone</p><p>URL: [base]/CodeSystem/$clone</p><p>URL: [base]/CodeSystem/[id]/$clone</p><p>URL: [base]/CompartmentDefinition/$clone</p><p>URL: [base]/CompartmentDefinition/[id]/$clone</p><p>URL: [base]/ConceptMap/$clone</p><p>URL: [base]/ConceptMap/[id]/$clone</p><p>URL: [base]/ExampleScenario/$clone</p><p>URL: [base]/ExampleScenario/[id]/$clone</p><p>URL: [base]/GraphDefinition/$clone</p><p>URL: [base]/GraphDefinition/[id]/$clone</p><p>URL: [base]/ImplementationGuide/$clone</p><p>URL: [base]/ImplementationGuide/[id]/$clone</p><p>URL: [base]/Library/$clone</p><p>URL: [base]/Library/[id]/$clone</p><p>URL: [base]/Measure/$clone</p><p>URL: [base]/Measure/[id]/$clone</p><p>URL: [base]/Medication/$clone</p><p>URL: [base]/Medication/[id]/$clone</p><p>URL: [base]/MedicationKnowledge/$clone</p><p>URL: [base]/MedicationKnowledge/[id]/$clone</p><p>URL: [base]/MessageDefinition/$clone</p><p>URL: [base]/MessageDefinition/[id]/$clone</p><p>URL: [base]/NamingSystem/$clone</p><p>URL: [base]/NamingSystem/[id]/$clone</p><p>URL: [base]/OperationDefinition/$clone</p><p>URL: [base]/OperationDefinition/[id]/$clone</p><p>URL: [base]/PlanDefinition/$clone</p><p>URL: [base]/PlanDefinition/[id]/$clone</p><p>URL: [base]/Questionnaire/$clone</p><p>URL: [base]/Questionnaire/[id]/$clone</p><p>URL: [base]/SearchParameter/$clone</p><p>URL: [base]/SearchParameter/[id]/$clone</p><p>URL: [base]/StructureDefinition/$clone</p><p>URL: [base]/StructureDefinition/[id]/$clone</p><p>URL: [base]/StructureMap/$clone</p><p>URL: [base]/StructureMap/[id]/$clone</p><p>URL: [base]/Substance/$clone</p><p>URL: [base]/Substance/[id]/$clone</p><p>URL: [base]/TerminologyCapabilities/$clone</p><p>URL: [base]/TerminologyCapabilities/[id]/$clone</p><p>URL: [base]/TestScript/$clone</p><p>URL: [base]/TestScript/[id]/$clone</p><p>URL: [base]/ValueSet/$clone</p><p>URL: [base]/ValueSet/[id]/$clone</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>id</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>The logical id of the artifact to clone. The server must know the artifact (e.g. it is defined explicitly in the server's resources)</p>\n</div></td></tr><tr><td>IN</td><td>version</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>A semantic version in the form MAJOR.MINOR.PATCH.REVISION</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>The Bundle result containing the new resource(s)</p>\n</div></td></tr></table><div><p>This operation is used to set the status and version. It also removes effectivePeriod, approvalDate and any extensions which are only valid for active artifacts.</p>\n</div></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cds"
  }],
  "url" : "http://hl7.org/fhir/uv/crmi/OperationDefinition/crmi-clone",
  "version" : "1.0.0",
  "name" : "CRMIClone",
  "title" : "CRMI Clone",
  "status" : "active",
  "kind" : "operation",
  "experimental" : false,
  "date" : "2024-05-31T16:42:56+00:00",
  "publisher" : "HL7 International / Clinical Decision Support",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/dss"
    }]
  }],
  "description" : "Creates a clone version of a knowledge artifact, as well as for all resources it is composed of.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "code" : "clone",
  "comment" : "This operation is used to set the status and version. It also removes effectivePeriod, approvalDate and any extensions which are only valid for active artifacts.",
  "resource" : ["ActivityDefinition",
  "CapabilityStatement",
  "CodeSystem",
  "CompartmentDefinition",
  "ConceptMap",
  "ExampleScenario",
  "GraphDefinition",
  "ImplementationGuide",
  "Library",
  "Measure",
  "Medication",
  "MedicationKnowledge",
  "MessageDefinition",
  "NamingSystem",
  "OperationDefinition",
  "PlanDefinition",
  "Questionnaire",
  "SearchParameter",
  "StructureDefinition",
  "StructureMap",
  "Substance",
  "TerminologyCapabilities",
  "TestScript",
  "ValueSet"],
  "system" : false,
  "type" : true,
  "instance" : true,
  "parameter" : [{
    "name" : "id",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "The logical id of the artifact to clone. The server must know the artifact (e.g. it is defined explicitly in the server's resources)",
    "type" : "string"
  },
  {
    "name" : "version",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "A semantic version in the form MAJOR.MINOR.PATCH.REVISION",
    "type" : "string"
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "The Bundle result containing the new resource(s)",
    "type" : "Bundle"
  }]
}