Canonical Resource Management Infrastructure Implementation Guide
1.0.0-ballot - Ballot International flag

This page is part of the Canonical Resource Management Infrastructure Implementation Guide (v1.0.0-ballot: STU1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

OperationDefinition: CRMI Data Requirements Operation

Official URL: http://hl7.org/fhir/uv/crmi/OperationDefinition/crmi-data-requirements Version: 1.0.0-ballot
Draft as of 2023-03-12 Computable Name: CRMIDataRequirements

Determines the effective data requirements for the artifact, including known components and dependencies, and optionally informed by a version manifest.

See $crmi.package and $crmi.data-requirements

TODO: Add example of the use-case that will do dependency tracing, similar to $package but returns only the information and not the actual resources.

URL: [base]/ActivityDefinition/$crmi.data-requirements

URL: [base]/ActivityDefinition/[id]/$crmi.data-requirements

URL: [base]/CapabilityStatement/$crmi.data-requirements

URL: [base]/CapabilityStatement/[id]/$crmi.data-requirements

URL: [base]/ChargeItemDefinition/$crmi.data-requirements

URL: [base]/ChargeItemDefinition/[id]/$crmi.data-requirements

URL: [base]/CodeSystem/$crmi.data-requirements

URL: [base]/CodeSystem/[id]/$crmi.data-requirements

URL: [base]/CompartmentDefinition/$crmi.data-requirements

URL: [base]/CompartmentDefinition/[id]/$crmi.data-requirements

URL: [base]/ConceptMap/$crmi.data-requirements

URL: [base]/ConceptMap/[id]/$crmi.data-requirements

URL: [base]/EffectEvidenceSynthesis/$crmi.data-requirements

URL: [base]/EffectEvidenceSynthesis/[id]/$crmi.data-requirements

URL: [base]/EventDefinition/$crmi.data-requirements

URL: [base]/EventDefinition/[id]/$crmi.data-requirements

URL: [base]/Evidence/$crmi.data-requirements

URL: [base]/Evidence/[id]/$crmi.data-requirements

URL: [base]/EvidenceVariable/$crmi.data-requirements

URL: [base]/EvidenceVariable/[id]/$crmi.data-requirements

URL: [base]/ExampleScenario/$crmi.data-requirements

URL: [base]/ExampleScenario/[id]/$crmi.data-requirements

URL: [base]/GraphDefinition/$crmi.data-requirements

URL: [base]/GraphDefinition/[id]/$crmi.data-requirements

URL: [base]/ImplementationGuide/$crmi.data-requirements

URL: [base]/ImplementationGuide/[id]/$crmi.data-requirements

URL: [base]/Library/$crmi.data-requirements

URL: [base]/Library/[id]/$crmi.data-requirements

URL: [base]/Measure/$crmi.data-requirements

URL: [base]/Measure/[id]/$crmi.data-requirements

URL: [base]/MessageDefinition/$crmi.data-requirements

URL: [base]/MessageDefinition/[id]/$crmi.data-requirements

URL: [base]/NamingSystem/$crmi.data-requirements

URL: [base]/NamingSystem/[id]/$crmi.data-requirements

URL: [base]/OperationDefinition/$crmi.data-requirements

URL: [base]/OperationDefinition/[id]/$crmi.data-requirements

URL: [base]/PlanDefinition/$crmi.data-requirements

URL: [base]/PlanDefinition/[id]/$crmi.data-requirements

URL: [base]/Questionnaire/$crmi.data-requirements

URL: [base]/Questionnaire/[id]/$crmi.data-requirements

URL: [base]/ResearchDefinition/$crmi.data-requirements

URL: [base]/ResearchDefinition/[id]/$crmi.data-requirements

URL: [base]/ResearchElementDefinition/$crmi.data-requirements

URL: [base]/ResearchElementDefinition/[id]/$crmi.data-requirements

URL: [base]/RiskEvidenceSynthesis/$crmi.data-requirements

URL: [base]/RiskEvidenceSynthesis/[id]/$crmi.data-requirements

URL: [base]/SearchParameter/$crmi.data-requirements

URL: [base]/SearchParameter/[id]/$crmi.data-requirements

URL: [base]/StructureDefinition/$crmi.data-requirements

URL: [base]/StructureDefinition/[id]/$crmi.data-requirements

URL: [base]/StructureMap/$crmi.data-requirements

URL: [base]/StructureMap/[id]/$crmi.data-requirements

URL: [base]/TerminologyCapabilities/$crmi.data-requirements

URL: [base]/TerminologyCapabilities/[id]/$crmi.data-requirements

URL: [base]/TestScript/$crmi.data-requirements

URL: [base]/TestScript/[id]/$crmi.data-requirements

URL: [base]/ValueSet/$crmi.data-requirements

URL: [base]/ValueSet/[id]/$crmi.data-requirements

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INid0..1string

The logical id of the canonical resource to analyze.

INurl0..1uri

A canonical reference to a canonical resource.

INversion0..1string

The version of the canonical resource to analyze

INidentifier0..1string
(token)

A business identifier of the canonical resource to be analyzed.

INexpression0..*string

The name of a specific expression to be considered for analysis. If no expressions are specified, the analysis is performed on the entire resource. If expressions are specified, the analysis is performed only on the expressions specified.

INparameters0..1Parameters

Any input parameters for the artifact. Parameters defined in this input will be bound by name to parameters defined in the CQL library (or referenced libraries). Parameter types are mapped to CQL as specified in the Using CQL section of this implementation guide. If a parameter appears more than once in the input Parameters resource, it is represented with a List in the input CQL. If a parameter has parts, it is represented as a Tuple in the input CQL.

NOTE: Does this only apply to Library resource types?

INcanonicalVersion0..*canonical

Specifies a version to use for a canonical resource if the artifact referencing the resource does not already specify a version. The format is the same as a canonical URL: [url]|[version] - e.g. http://loinc.org|2.56

Note that this is a generalization of the system-version parameter to the $expand operation to apply to any canonical resource, including code systems.

INcheckCanonicalVersion0..*canonical

Edge Case: Specifies a version to use for a canonical resource. If the artifact referencing the resource specifies a different version, an error is returned instead of the package. The format is the same as a canonical URL: [url]|[version] - e.g. http://loinc.org|2.56

Note that this is a generalization of the check-system-version parameter to the $expand operation to apply to any canonical resource, including code systems.

INforceCanonicalVersion0..*canonical

Edge Case: Specifies a version to use for a canonical resource. This parameter overrides any specified version in the artifact (and any artifacts it depends on). The format is the same as a canonical URL: [system]|[version] - e.g. http://loinc.org|2.56. Note that this has obvious safety issues, in that it may result in a value set expansion giving a different list of codes that is both wrong and unsafe, and implementers should only use this capability reluctantly.

It primarily exists to deal with situations where specifications have fallen into decay as time passes. If the version of a canonical is overriden, the version used SHALL explicitly be represented in the expansion parameters.

Note that this is a generalization of the force-system-version parameter to the $expand operation to apply to any canonical resource, including code systems.

INmanifest0..1canonical

Specifies an asset-collection library that defines version bindings for code systems and other canonical resources referenced by the value set(s) being expanded and other canonical resources referenced by the artifact. When specified, code systems and other canonical resources identified as depends-on related artifacts in the manifest library have the same meaning as specifying that code system or other canonical version in the system-version parameter of an expand or the canonicalVersion parameter.

INinclude0..*string

Specifies what contents should be included in the resulting package. The codes indicate which types of resources should be included, but note that the set of possible resources is determined as all known (i.e. present on the server) dependencies and related artifacts. Possible values are:

  • all (default) - all resource types
  • artifact - the specified artifact
  • canonical - canonical resources (i.e. resources with a defined url element or that can be canonical resources using the artifact-url extension)
  • terminology - terminology resources (i.e. CodeSystem, ValueSet, NamingSystem, ConceptMap)
  • conformance - conformance resources (i.e. StructureDefinition, StructureMap, SearchParameter, CompartmentDefinition)
  • profiles - profile definitions (i.e. StructureDefinition resources that define profiles)
  • extensions - extension definitions (i.e. StructureDefinition resources that define extensions)
  • knowledge - knowledge artifacts (i.e. ActivityDefinition, Library, PlanDefinition, Measure, Questionnaire)
  • tests - test cases and data (i.e. test cases as defined by the testing specification in this implementation guide)
  • examples - example resources (i.e. resources identified as examples in the implementation guide)
INcontentEndpoint0..1Endpoint

An endpoint to use to access content (i.e. libraries, activities, measures, questionnaires, and plans) referenced by the artifact. If no content endpoint is supplied the evaluation will attempt to retrieve content from the server on which the operation is being performed.

INterminologyEndpoint0..1Endpoint

An endpoint to use to access terminology (i.e. valuesets, codesystems, naming systems, concept maps, and membership testing) referenced by the Resource. If no terminology endpoint is supplied, the evaluation will attempt to use the server on which the operation is being performed as the terminology server.

OUTreturn1..1Bundle

The result of the requirements operation is a module-definition Library that returns the computed effective requirements of the artifact.

The requirements operation supports the ability of a repository to determine the effective requirements of an artifact, including terminology usage (code systems, value sets, and direct-reference codes), parameters, dependencies (artifacts), and data requirements