Breast Cancer Screening and Management (BCSM) Clinical Decision Support (CDS) Implementation Guide
1.0.0 - ci-build

Breast Cancer Screening and Management (BCSM) Clinical Decision Support (CDS) Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Library: Screening Eligible Events

Official URL: http://cancerscreeningcds.github.io/bcsm-cds/Library/ScreeningEligibleEvents Version: 1.0.0
Draft as of 2025-02-28 Computable Name: ScreeningEligibleEvents
Title: Screening Eligible Events
Id: ScreeningEligibleEvents
Version: 1.0.0
Url: Screening Eligible Events
Status: draft
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2025-02-28 23:16:14+0000
Publisher: MITRE
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
encounterstring01In
ObservationLookbackPeriodQuantity01In
PatientPatient01Out
eve-femaleboolean01Out
eve-breastcaboolean01Out
eve-mastectomyboolean01Out
eve-breastsymptomsboolean01Out
eve-breastfindingsboolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient ;;;
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;;;; code filter:
path: code

system: http://loinc.org

code: 76691-5

display: Gender identity

Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;;;;; code filter:
path: code

system: http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/screening-observation-code-system

code: hxbreastcawithin5y

display: Breast cancer within 5 years

code filter:
path: encounter.reference
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;;; code filter:
path: code

system: http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/screening-observation-code-system

code: hxbreastcawithin5y

display: Breast cancer within 5 years

Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.383
Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.367
Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.383 code filter:
path: clinicalStatus
Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.367 code filter:
path: clinicalStatus code filter:
path: clinicalStatus code filter:
path: clinicalStatus
Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068
Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069
Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070
Condition http://hl7.org/fhir/StructureDefinition/Condition ;;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071
Procedure http://hl7.org/fhir/StructureDefinition/Procedure ;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005
Procedure http://hl7.org/fhir/StructureDefinition/Procedure ;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133
Procedure http://hl7.org/fhir/StructureDefinition/Procedure ;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134
Content: text/cql
/*  
  Author: CMS Alliance to Modernize Healthcare, operated by THE MITRE Corporation.

  (C) 2024 The MITRE Corporation. All Rights Reserved. 
  Approved for Public Release: 24-2711. 
  Distribution Unlimited.

  Unless otherwise noted, this work is available under an Apache 2.0 license. 
  It was produced by the MITRE Corporation for the Division of Cancer Prevention 
  and Control, Centers for Disease Control and Prevention in accordance with the 
  Statement of Work, contract number 75FCMC18D0047, task order number 75D30123F17931.
*/

library ScreeningEligibleEvents version '1.0.0'

using FHIR version '4.0.1'
include FHIRHelpers  version '4.0.1' called FHIRHelpers

include DataElements version '1.0.0' called DataElements

context Patient

define "eve-female":
  DataElements."de-female"

define "eve-breastca":
  DataElements."de-hxbreastcawithin5y" is true
    or exists DataElements."de-breastca" C where C.onset.value is null
    or exists DataElements."de-hxbreastca" P where P.onset.value is null

define "eve-mastectomy":
  DataElements."de-mastectomy"  

define "eve-breastsymptoms":
  DataElements."de-breastsymptoms"

define "eve-breastfindings":
  DataElements."de-breastfindings"

Content: application/elm+xml
Encoded data (17408 characters)
Content: application/elm+json
Encoded data (29888 characters)