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.r4b 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] parameter: {mustSupport: true, index: 5} dataRequirement: {mustSupport: true, index: 6} content: mustSupport: true index: 7 slicing: rules: open discriminator: - {path: contentType, type: value} min: null slices: cqlContent: match: {contentType: text/cql} schema: short: CQL Content mustSupport: false index: 8 elements: contentType: type: code pattern: {type: Code, value: text/cql} mustSupport: true index: 9 data: {mustSupport: false, index: 10} required: [contentType, data] fhirpathContent: match: {contentType: text/fhirpath} schema: short: FHIRPath Content mustSupport: false index: 11 elements: contentType: type: code pattern: {type: Code, value: text/fhirpath} mustSupport: true index: 12 data: {mustSupport: false, index: 13} required: [contentType, data] queryContent: match: {contentType: application/x-fhir-query} schema: short: Query Content mustSupport: false index: 14 elements: contentType: type: code pattern: {type: Code, value: application/x-fhir-query} mustSupport: true index: 15 data: {mustSupport: false, index: 16} required: [contentType, data] package_version: 3.0.0 class: profile kind: resource url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library base: http://hl7.org/fhir/StructureDefinition/cqllibrary version: 3.0.0