SupplementalDataElements
type: Library
node role: treeRoot
id:
  v: SupplementalDataElements
text:
  status:
    v: extensions
  div: Metadata Title Supplemental Data Elements Version 2.0.000 Identifier urn:oid:2.16.840.1.113883.4.642.40.61.28.32 Experimental true Jurisdiction Global (Whole world) Steward (Publisher) HL7 International / Clinical Quality Information Description This example illustrates logic for sharing supplemental data element calculation between multiple measures. Type Logic Library Parameter Name: Patient Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: Patient Parameter Name: SDE Ethnicity Use: Out Min Cardinality: 0 Max Cardinality: * Type: Coding Parameter Name: SDE Payer Use: Out Min Cardinality: 0 Max Cardinality: * Type: Resource Parameter Name: SDE Race Use: Out Min Cardinality: 0 Max Cardinality: * Type: Coding Parameter Name: SDE Sex Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: Coding Data Requirement Type: Patient Profile(s): Patient Must Support Elements: url, extension, value Data Requirement Type: Coverage Profile(s): Coverage Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Payer Type Library Content CQL Content /*#xD; This example is a work in progress and should not be considered a final specification#xD; or recommendation for guidance. This example will help guide and direct the process#xD; of finding conventions and usage patterns that meet the needs of the various stakeholders#xD; in the measure development community.#xD; */#xD; library SupplementalDataElements version '2.0.000'#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include hl7.fhir.uv.cql.FHIRHelpers version '4.0.1' called FHIRHelpers#xD; #xD; valueset "Ethnicity": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'#xD; valueset "ONC Administrative Sex": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'#xD; valueset "Payer": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'#xD; valueset "Race": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'#xD; #xD; context Patient#xD; #xD; define "SDE Ethnicity":#xD; (f…
contained: Parameters
  id:
    v: options
  parameter:
    name:
      v: translatorVersion
    value: string
      v: 3.25.0
  parameter:
    name:
      v: option
    value: string
      v: EnableAnnotations
  parameter:
    name:
      v: option
    value: string
      v: EnableLocators
  parameter:
    name:
      v: format
    value: string
      v: JSON
  parameter:
    name:
      v: format
    value: string
      v: XML
  parameter:
    name:
      v: analyzeDataRequirements
    value: boolean
      v: false
  parameter:
    name:
      v: collapseDataRequirements
    value: boolean
      v: true
  parameter:
    name:
      v: compatibilityLevel
    value: string
      v: 1.5
  parameter:
    name:
      v: enableCqlOnly
    value: boolean
      v: false
  parameter:
    name:
      v: errorLevel
    value: string
      v: Info
  parameter:
    name:
      v: signatureLevel
    value: string
      v: None
  parameter:
    name:
      v: validateUnits
    value: boolean
      v: true
  parameter:
    name:
      v: verifyOnly
    value: boolean
      v: false
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions
  value: Reference
    reference:
      v: #options
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  value: code
    v: cqi
url:
  v: http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements
identifier:
  system:
    v: urn:ietf:rfc:3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.61.28.32
version:
  v: 2.0.000
name:
  v: SupplementalDataElements
title:
  v: Supplemental Data Elements
status:
  v: active
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
    code:
      v: logic-library
date:
  v: 2025-09-11T18:58:45+00:00
publisher:
  v: HL7 International / Clinical Quality Information
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/cqi
description:
  v: This example illustrates logic for sharing supplemental data element calculation between multiple measures.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
related artifact:
  type:
    v: depends-on
  display:
    v: FHIR model information
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Ethnicity
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
related artifact:
  type:
    v: depends-on
  display:
    v: Value set ONC Administrative Sex
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Payer
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Race
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: SDE Ethnicity
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Coding

name:
  v: SDE Payer
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: SDE Race
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Coding

name:
  v: SDE Sex
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Coding

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/StructureDefinition/Patient
  link: http://hl7.org/fhir/StructureDefinition/Patient
must support:
  v: url
must support:
  v: extension
must support:
  v: value

type:
  v: Coverage
profile:
  v: http://hl7.org/fhir/StructureDefinition/Coverage
  link: http://hl7.org/fhir/StructureDefinition/Coverage
must support:
  v: type
must support:
  v: period
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json