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: Average Risk Events

Official URL: http://cancerscreeningcds.github.io/bcsm-cds/Library/AverageRiskEvents Version: 1.0.0
Draft as of 2025-02-28 Computable Name: AverageRiskEvents
Title: Average Risk Events
Id: AverageRiskEvents
Version: 1.0.0
Url: Average Risk 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

  • http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
  • http://cancerscreeningcds.github.io/bcsm-cds/Library/FHIRHelpers|4.0.1
  • DataElementsversion: null1.0.0)
Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
AgeInYearsinteger01Out
eve-ageUnder40boolean01Out
eve-age40to44boolean01Out
eve-Age45to54boolean01Out
eve-AgeOver54boolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
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 AverageRiskEvents 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-ageUnder40":
  AgeInYears < 40

define "eve-age40to44":
  AgeInYears >= 40 and AgeInYears <= 44

define "eve-Age45to54":
  AgeInYears >= 45 and AgeInYears <= 54

define "eve-AgeOver54":
  AgeInYears > 54

define AgeInYears:
  AgeInYears()
Content: application/elm+xml
Encoded data (13196 characters)
Content: application/elm+json
Encoded data (23004 characters)