description: The CRMI Module Definition Library profile defines the must support elements for a library that communicates the effective data requirements and dependencies of an artifact (or set of artifacts). This is most commonly used as the result of a $data-requirements operation, but could also be persisted statically as a way to persist the calculation of effective data requirements for a specific artifact and input parameters package_name: hl7.fhir.uv.crmi derivation: constraint name: CRMIModuleDefinitionLibrary type: Library elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode index: 0 slicing: slices: directReferenceCode: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode', index: 0} min: 0 logicDefinition: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition', index: 1} min: 0 inputParameters: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-inputParameters', index: 2} min: 0 max: 1 type: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: module-definition, system: 'http://terminology.hl7.org/CodeSystem/library-type'} index: 3 subject: mustSupport: true choices: [] index: 5 relatedArtifact: {short: Dependencies used by the artifact, mustSupport: true, index: 6} parameter: mustSupport: true index: 7 extensions: defaultValue: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-defaultValue', min: 0, max: 1, type: Extension, mustSupport: true, index: 8} elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/cqf-defaultValue index: 8 slicing: slices: defaultValue: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-defaultValue', index: 8} min: 0 max: 1 dataRequirement: mustSupport: true index: 9 extensions: isSelective: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-isSelective', min: 0, max: 1, short: specifies whether a given DataRequirement is "selective", type: Extension, mustSupport: true, index: 10} valueFilter: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-valueFilter', min: 0, type: Extension, mustSupport: true, index: 11} fhirQueryPattern: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', min: 0, type: Extension, mustSupport: false, index: 12} elements: extension: short: specifies whether a given DataRequirement is "selective" type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/cqf-isSelective index: 10 slicing: slices: isSelective: match: {} schema: {short: specifies whether a given DataRequirement is "selective", type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-isSelective', index: 10} min: 0 max: 1 valueFilter: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-valueFilter', index: 11} min: 0 fhirQueryPattern: match: {} schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', index: 12} min: 0 content: {mustSupport: false, index: 13} package_version: 1.0.0-snapshot extensions: directReferenceCode: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode', min: 0, type: Extension, mustSupport: true, index: 0} logicDefinition: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition', min: 0, type: Extension, mustSupport: true, index: 1} inputParameters: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-inputParameters', min: 0, max: 1, type: Extension, mustSupport: true, index: 2} class: profile kind: resource url: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-moduledefinitionlibrary base: http://hl7.org/fhir/StructureDefinition/Library version: 1.0.0-snapshot required: [type]