description: The ELM Library supports distributing a Clinical Quality Language (CQL) library compiled to Expression Logical Model (ELM) in either JSON or XML format package_name: hl7.fhir.uv.cql derivation: constraint name: ELMLibrary 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 content: mustSupport: true index: 1 slicing: rules: open discriminator: - {path: contentType, type: value} min: null slices: elmXmlContent: match: {contentType: application/elm+xml} schema: mustSupport: true index: 2 elements: contentType: type: code pattern: {type: Code, value: application/elm+xml} mustSupport: true index: 3 data: {mustSupport: true, index: 4} url: {mustSupport: true, index: 5} required: [contentType] elmJsonContent: match: {contentType: application/elm+json} schema: mustSupport: true index: 6 elements: contentType: type: code pattern: {type: Code, value: application/elm+json} mustSupport: true index: 7 data: {mustSupport: true, index: 8} url: {mustSupport: true, index: 9} 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/elm-library base: http://hl7.org/fhir/StructureDefinition/Library version: 1.0.0-ballot