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 inputParameters: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-inputParameters', index: 1} 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: 2 subject: mustSupport: true choices: [] index: 4 relatedArtifact: {short: Dependencies used by the artifact, mustSupport: true, index: 5} parameter: mustSupport: true index: 6 extensions: defaultValue: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-defaultValue', min: 0, max: 1, type: Extension, mustSupport: true, index: 7} elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/cqf-defaultValue index: 7 slicing: slices: defaultValue: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-defaultValue', index: 7} min: 0 max: 1 dataRequirement: mustSupport: true index: 8 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: 9} valueFilter: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-valueFilter', min: 0, type: Extension, mustSupport: true, index: 10} fhirQueryPattern: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', min: 0, type: Extension, mustSupport: false, index: 11} elements: extension: short: specifies whether a given DataRequirement is "selective" type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/cqf-isSelective index: 9 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: 9} min: 0 max: 1 valueFilter: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-valueFilter', index: 10} min: 0 fhirQueryPattern: match: {} schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', index: 11} min: 0 content: {mustSupport: false, index: 12} package_version: 1.0.0-ballot2 extensions: directReferenceCode: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode', min: 0, type: Extension, mustSupport: true, index: 0} inputParameters: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-inputParameters', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} 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-ballot2 required: [type]