description: The CQL Module profile describes the elements used to provide a structured representation of the declarations and data requirements of a logic library or operation package_name: hl7.fhir.uv.cql derivation: constraint name: CQLModule 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: {mustSupport: true, 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} cqlType: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlType', min: 0, max: 1, type: Extension, index: 8} cqlAccessLevel: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessLevel', min: 0, max: 1, type: Extension, index: 9} 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 cqlType: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlType', index: 8} min: 0 max: 1 cqlAccessLevel: match: {} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessLevel', index: 9} min: 0 max: 1 dataRequirement: mustSupport: true index: 10 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: 11} valueFilter: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-valueFilter', min: 0, type: Extension, mustSupport: true, index: 12} fhirQueryPattern: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', min: 0, type: Extension, mustSupport: false, index: 13} elements: extension: short: specifies whether a given DataRequirement is "selective" type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/cqf-isSelective index: 11 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: 11} min: 0 max: 1 valueFilter: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-valueFilter', index: 12} min: 0 fhirQueryPattern: match: {} schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', index: 13} min: 0 package_version: 1.0.0-ballot 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/cql/StructureDefinition/cql-module base: http://hl7.org/fhir/StructureDefinition/Library version: 1.0.0-ballot required: [type]