{
  "resourceType" : "OperationDefinition",
  "id" : "crmi-infer-manifest-parameters",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition crmi-infer-manifest-parameters</b></p><a name=\"crmi-infer-manifest-parameters\"> </a><a name=\"hccrmi-infer-manifest-parameters\"> </a><p>URL: [base]/Library/$infer-manifest-parameters</p><p>URL: [base]/Library/[id]/$infer-manifest-parameters</p><h3>Parameters</h3><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 module-definition library to process. Only one of id, url, or library may be provided.</p>\n</div></td></tr><tr><td>IN</td><td>url</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td><div><p>A canonical or artifact reference to the module-definition library to process. Only one of id, url, or library may be provided.</p>\n</div></td></tr><tr><td>IN</td><td>library</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/library.html\">Library</a></td><td/><td><div><p>The module-definition library to processs. Only one of id, url, or library may be provided.</p>\n</div></td></tr><tr><td>IN</td><td>v1Compatible</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td/><td><div><p>Indicates whether the resulting manifest parameters should be for a CRMI v1 or v2 server</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/library.html\">Library</a></td><td/><td><div><p>The result of the infer manifest operation is an asset-collection Library\nwith the expansion parameters as a contained Parameters resource.</p>\n</div></td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cds"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 4,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/crmi/ImplementationGuide/hl7.fhir.uv.crmi"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/crmi/ImplementationGuide/hl7.fhir.uv.crmi"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/uv/crmi/OperationDefinition/crmi-infer-manifest-parameters",
  "version" : "2.0.0",
  "name" : "CRMIInferManifestParameters",
  "title" : "CRMI Infer Manifest Parameters",
  "status" : "active",
  "kind" : "operation",
  "date" : "2026-05-11T04:30:28+00:00",
  "publisher" : "HL7 International / Clinical Decision Support",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/dss"
    }]
  }],
  "description" : "Infers manifest expansion parameters from a module-definition Library.\nThis operation takes a module-definition Library (the output of $data-requirements)\nand converts its relatedArtifacts into manifest expansion parameters:\n\n* CodeSystem -> default-system-version parameter (format: \"system|version\")\n* ValueSet -> default-valueset-version parameter (format: \"valueset|version\")\n* Other resources -> default-canonical-version parameter with a resourceType extension\n\nIf the v1Compatible parameter is true, then the following parameter names will be used (consistent \nwith CRMI STU1 parameter names):\n* CodeSystem -> system-version parameter (format: \"system|version\")\n* ValueSet -> canonicalVersion parameter (format: \"valueset|version\") with resourceType extension\n* Other resources -> canonicalVersion parameter (format: \"canonical|version\") with resourceType extension",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "code" : "infer-manifest-parameters",
  "resource" : ["Library"],
  "system" : false,
  "type" : true,
  "instance" : true,
  "parameter" : [{
    "name" : "id",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "The logical id of the module-definition library to process. Only one of id, url, or library may be provided.",
    "type" : "string"
  },
  {
    "name" : "url",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "A canonical or artifact reference to the module-definition library to process. Only one of id, url, or library may be provided.",
    "type" : "canonical"
  },
  {
    "name" : "library",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "The module-definition library to processs. Only one of id, url, or library may be provided.",
    "type" : "Library"
  },
  {
    "name" : "v1Compatible",
    "use" : "in",
    "min" : 0,
    "max" : "1",
    "documentation" : "Indicates whether the resulting manifest parameters should be for a CRMI v1 or v2 server",
    "type" : "boolean"
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "The result of the infer manifest operation is an asset-collection Library \nwith the expansion parameters as a contained Parameters resource.",
    "type" : "Library"
  }]
}