description: The CRMI Computable Library profile defines the must support elements for a computable library used to support artifact logic package_name: rs/hl7.fhir.uv.crmi derivation: constraint name: CRMIComputableLibrary 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 cqlOptions: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions', index: 1} min: 0 max: 1 subject: mustSupport: true choices: [] index: 3 relatedArtifact: {short: Dependencies used by the artifact, mustSupport: true, index: 4} parameter: {mustSupport: true, index: 5} dataRequirement: mustSupport: true index: 6 extensions: fhirQueryPattern: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', min: 0, type: Extension, mustSupport: false, index: 7} elements: extension: type: Extension mustSupport: false url: http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern index: 7 slicing: slices: fhirQueryPattern: match: {} schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern', index: 7} min: 0 content: mustSupport: false index: 8 slicing: rules: open discriminator: - {path: contentType, type: value} min: null slices: cqlContent: match: {contentType: text/cql} schema: mustSupport: true _required: true index: 9 elements: contentType: type: code pattern: {type: code, value: text/cql} mustSupport: true index: 10 data: {mustSupport: true, index: 11} required: [contentType, data] package_version: 1.0.0-ballot extensions: directReferenceCode: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode', min: 0, type: Extension, mustSupport: true, index: 0} cqlOptions: {url: 'http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-computablelibrary base: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary version: 1.0.0-ballot