description: Defines how a Library is used as a logic computable library within the ONC's Structured Data Capture standard. package_name: hl7.fhir.uv.sdc derivation: constraint name: SDCLibrary type: Library elements: subject: mustSupport: true choices: [] index: 1 relatedArtifact: mustSupport: true index: 2 elements: display: {mustSupport: true, index: 3} url: {mustSupport: true, index: 4} required: [url, display] content: mustSupport: true index: 5 slicing: rules: open discriminator: - {path: contentType, type: value} min: null slices: cqlContent: match: {contentType: text/cql} schema: short: CQL Content index: 6 elements: contentType: mustSupport: true pattern: {type: Code, value: text/cql} index: 7 data: {index: 8} required: [contentType, data] fhirpathContent: match: {contentType: text/fhirpath} schema: short: FHIRPath Content index: 9 elements: contentType: mustSupport: true pattern: {type: Code, value: text/fhirpath} index: 10 data: {index: 11} required: [contentType, data] queryContent: match: {contentType: application/x-fhir-query} schema: short: Query Content index: 12 elements: contentType: mustSupport: true pattern: {type: Code, value: application/x-fhir-query} index: 13 data: {index: 14} required: [contentType, data] package_version: 4.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library base: http://hl7.org/fhir/StructureDefinition/cqllibrary version: 4.0.0-ballot