BCSComponent
type: Library
node role: treeRoot
id:
  v: BCSComponent
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Metadata Title BCS Component Library Version 0.0.001 Identifier urn:oid:2.16.840.1.113883.4.642.40.61.28.4 Status Draft Jurisdiction Global (Whole world) Steward (Publisher) HL7 International / Clinical Quality Information Description This library is the primary measure library for the Breast Cancer Screening component of the composite measure examples in this implementation guide. Type Logic Library Parameter Name: Measurement Period Use: In Min Cardinality: 0 Max Cardinality: 1 Type: Period 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 Parameter Name: Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean Parameter Name: Denominator Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean Parameter Name: Right Mastectomy Diagnosis Use: Out Min Cardinality: 0 Max Cardinality: * Type: Condition Parameter Name: Right Mastectomy Procedure Use: Out Min Cardinality: 0 Max Cardinality: * Type: Procedure Parameter Name: Left Mastectomy Procedure Use: Out Min Cardinality: 0 Max Cardinality: * Type: Procedure Parameter Name: Bilateral Mastectomy Diagnosis Use: Out Min Cardinality: 0 Max Cardinality: * Type: Condition Parameter Name: Bilateral Mastectomy Procedure Use: Out Min Cardinality: 0 Max Cardinality: * Type: Procedure Parameter Name: Numerator Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean Parameter Name: Left Mastectomy Use: Out Min Cardinality: 0 Max Cardinality: * Type: Condition Parameter Name: Denominator Exclusion Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean Data Requirement Type: Patient Profile(s): Patient Data Requirement…
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
    l: cqf-cqlOptions
  value: Reference
    l: options
    reference:
      v: #options
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: cqi
url:
  v: http://hl7.org/fhir/uv/cqm/Library/BCSComponent
  l: BCSComponent
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.61.28.4
version:
  v: 0.0.001
name:
  v: BCSComponent
title:
  v: BCS Component Library
status:
  v: draft
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-03-03T17:18:20+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 library is the primary measure library for the Breast Cancer Screening component of the composite measure examples in this implementation guide.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: 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
    l: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    l: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library SDE
  resource:
    v: http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000
    l: http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library Global
  resource:
    v: http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000
    l: http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions
related artifact:
  type:
    v: depends-on
  display:
    v: Library AdultOutpatientEncounters
  resource:
    v: http://hl7.org/fhir/uv/cqm/Library/AdultOutpatientEncounters|2.0.000
    l: http://hl7.org/fhir/uv/cqm/Library/AdultOutpatientEncounters
related artifact:
  type:
    v: depends-on
  display:
    v: Library Hospice
  resource:
    v: http://hl7.org/fhir/uv/cqm/Library/Hospice|2.0.000
    l: http://hl7.org/fhir/uv/cqm/Library/Hospice
related artifact:
  type:
    v: depends-on
  display:
    v: Library Frailty
  resource:
    v: http://hl7.org/fhir/uv/cqm/Library/AdvancedIllnessandFrailtyExclusion|5.12.000
    l: http://hl7.org/fhir/uv/cqm/Library/AdvancedIllnessandFrailtyExclusion
related artifact:
  type:
    v: depends-on
  display:
    v: Code system LOINC
  resource:
    v: http://loinc.org
    l: loinc.org

type:
  v: depends-on
display:
  v: Code system SNOMEDCT
resource:
  v: http://snomed.info/sct
  l: sct

type:
  v: depends-on
display:
  v: Value set Bilateral Mastectomy
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005

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
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837

type:
  v: depends-on
display:
  v: Value set Female
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.560.100.2
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.560.100.2

type:
  v: depends-on
display:
  v: Value set History of bilateral mastectomy
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068

type:
  v: depends-on
display:
  v: Value set Left
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.12.1036
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.12.1036

type:
  v: depends-on
display:
  v: Value set Mammography
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1018
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1018

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
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1

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
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

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
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836

type:
  v: depends-on
display:
  v: Value set Right
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.12.1035
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.12.1035

type:
  v: depends-on
display:
  v: Value set Status Post Left Mastectomy
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069

type:
  v: depends-on
display:
  v: Value set Status Post Right Mastectomy
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070

type:
  v: depends-on
display:
  v: Value set Unilateral Mastectomy Left
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133

type:
  v: depends-on
display:
  v: Value set Unilateral Mastectomy Right
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134

type:
  v: depends-on
display:
  v: Value set Unilateral Mastectomy, Unspecified Laterality
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071

name:
  v: Measurement Period
use:
  v: in
min:
  v: 0
max:
  v: 1
type:
  v: Period

name:
  v: Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Patient

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

name:
  v: Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Denominator
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Right Mastectomy Diagnosis
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Right Mastectomy Procedure
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Procedure

name:
  v: Left Mastectomy Procedure
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Procedure

name:
  v: Bilateral Mastectomy Diagnosis
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Bilateral Mastectomy Procedure
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Procedure

name:
  v: Numerator
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Left Mastectomy
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Denominator Exclusion
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/StructureDefinition/Patient
  l: Patient

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
must support:
  v: code
must support:
  v: onset
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
must support:
  v: code
must support:
  v: onset
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
must support:
  v: code
must support:
  v: onset
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
must support:
  v: code
must support:
  v: bodySite
must support:
  v: onset
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/StructureDefinition/Procedure
  l: Procedure
must support:
  v: code
must support:
  v: performed
must support:
  v: status
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/StructureDefinition/Procedure
  l: Procedure
must support:
  v: code
must support:
  v: performed
must support:
  v: status
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/StructureDefinition/Procedure
  l: Procedure
must support:
  v: code
must support:
  v: performed
must support:
  v: status
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005

type:
  v: DiagnosticReport
profile:
  v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
  l: DiagnosticReport
must support:
  v: code
must support:
  v: effective
must support:
  v: status
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1018
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1018

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json