description: The CQL Library profile defines conformance expectations for the use of a FHIR Library resource as a wrapper for a Clinical Quality Language (CQL) library package_name: hl7.fhir.uv.cql derivation: constraint name: CQLLibrary type: Library elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions index: 0 slicing: slices: cqlOptions: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions', index: 0} min: 0 max: 1 subject: mustSupport: true choices: [] index: 2 content: mustSupport: true index: 3 slicing: rules: open discriminator: - {path: contentType, type: value} min: null slices: cqlContent: match: {contentType: text/cql} schema: mustSupport: true _required: true index: 4 elements: contentType: type: code pattern: {type: Code, value: text/cql} mustSupport: true index: 5 data: {mustSupport: true, index: 6} url: {mustSupport: true, index: 7} required: [contentType] package_version: 1.0.0-ballot extensions: cqlOptions: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions', min: 0, max: 1, type: Extension, mustSupport: true, index: 0} class: profile kind: resource url: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library base: http://hl7.org/fhir/StructureDefinition/Library version: 1.0.0-ballot