description: The ELM CQL Library supports distributing a Clinical Quality Language (CQL) library compiled to Expression Logical Model (ELM) in XML format package_name: hl7.fhir.uv.cql derivation: constraint name: ELMXMLLibrary 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 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/uv/cql/StructureDefinition/cql-options'] index: 3 required: [valueReference, value] content: constraint: exl-2: {human: ELM libraries must have a content element with data or a url (or both), severity: error, expression: data.exists() or url.exists()} mustSupport: true array: true index: 4 elements: contentType: {type: code, mustSupport: true, index: 5} data: {mustSupport: true, index: 6} url: {mustSupport: true, index: 7} required: [contentType] package_version: 2.0.0-ballot extensions: cqlOptions: url: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions type: Extension mustSupport: true index: 0 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/uv/cql/StructureDefinition/cql-options'] index: 3 required: [valueReference, value] class: profile kind: resource url: http://hl7.org/fhir/uv/cql/StructureDefinition/elm-xml-library base: http://hl7.org/fhir/StructureDefinition/Library version: 2.0.0-ballot