description: The CQFM Library profile defines expectations for a library used to distribute eCQM logic package_name: hl7.fhir.us.cqfmeasures derivation: constraint name: CQFMLibrary type: Library elements: description: {mustSupport: true, index: 9} date: {mustSupport: true, index: 6} dataRequirement: {mustSupport: true, index: 21} publisher: {mustSupport: true, index: 7} approvalDate: {mustSupport: true, index: 15} jurisdiction: {mustSupport: true, index: 11} purpose: {mustSupport: true, index: 12} content: mustSupport: false index: 22 slicing: rules: open discriminator: - {path: contentType, type: value} min: null slices: cqlContent: match: {contentType: text/cql} schema: mustSupport: true array: true min: 1 _required: true index: 23 elements: contentType: type: code pattern: {type: Code, value: text/cql} mustSupport: true index: 24 required: [contentType] elmXmlContent: match: {contentType: application/elm+xml} schema: mustSupport: true array: true index: 25 elements: contentType: type: code pattern: {type: Code, value: application/elm+xml} mustSupport: true index: 26 required: [contentType] elmJsonContent: match: {contentType: application/elm+json} schema: mustSupport: true array: true index: 27 elements: contentType: type: code pattern: {type: Code, value: application/elm+json} mustSupport: true index: 28 required: [contentType] name: {mustSupport: true, index: 4} useContext: {mustSupport: true, index: 10} copyright: {mustSupport: true, index: 14} topic: {mustSupport: true, index: 18} title: {mustSupport: true, index: 5} extension: type: Extension mustSupport: true url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment index: 0 slicing: slices: comment: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment', index: 0} min: 0 usage: {mustSupport: true, index: 13} url: {mustSupport: true, index: 1} identifier: {mustSupport: true, array: true, min: 1, index: 2} lastReviewDate: {mustSupport: true, index: 16} version: {mustSupport: true, index: 3} relatedArtifact: {short: 'Any referenced CQL libraries or additional documentation, citations, etc.', mustSupport: true, index: 19} contact: {mustSupport: true, array: true, min: 1, index: 8} parameter: {mustSupport: true, index: 20} effectivePeriod: {mustSupport: true, index: 17} package_version: 1.1.0 extensions: comment: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment', min: 0, type: Extension, mustSupport: true, index: 0} class: profile kind: resource url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/library-cqfm base: http://hl7.org/fhir/StructureDefinition/Library version: 1.1.0 required: [url, approvalDate, name, identifier, title, publisher, version, date, lastReviewDate, contact, description]