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 Test Incomplete

Official URL: http://cancerscreeningcds.github.io/bcsm-cds/Library/ScreeningTestIncomplete Version: 1.0.0
Draft as of 2025-02-28 Computable Name: ScreeningTestIncomplete
Title: Screening Test Incomplete
Id: ScreeningTestIncomplete
Version: 1.0.0
Url: Screening Test Incomplete
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
PatientPatient01Out
IncompleteScreeningOrdersServiceRequest0*Out
IncompleteScreeningProceduresProcedure0*Out
IncompleteScreeningPathologyDiagnosticReport0*Out
flow-ScreeningTestIncompleteboolean01Out
Initial Populationboolean01Out
Denominatorboolean01Out
Denominator Exclusionboolean01Out
Numeratorboolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient ;;;
ServiceRequest http://hl7.org/fhir/StructureDefinition/ServiceRequest ;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.394
ServiceRequest http://hl7.org/fhir/StructureDefinition/ServiceRequest ;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.387
DiagnosticReport http://hl7.org/fhir/StructureDefinition/DiagnosticReport ;; code filter:
path: code

system: http://loinc.org

code: 66110-8

display: Breast Pathology biopsy report

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

system: http://loinc.org

code: 30525-0

display: Age

code filter:
path: value.unit

code: years

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

system: http://loinc.org

code: 76691-5

display: Gender identity

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 ScreeningTestIncomplete version '1.0.0'

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

include ScreeningTestIncompleteEvents version '1.0.0' called Events
include DataElements version '1.0.0' called DataElements
include ScreeningEligible version '1.0.0'
include BCSMCommonFunctions version '1.0.0' called BCSMCommon

context Patient

define "flow-ScreeningTestIncomplete":
  exists IncompleteScreeningOrders
    or exists IncompleteScreeningProcedures
    or exists IncompleteScreeningPathology

define IncompleteScreeningOrders:
  Events."eve-pendingorders"  

define IncompleteScreeningProcedures:
  Events."eve-pendingprocedures"

define IncompleteScreeningPathology:
  Events."eve-pendingpathology"  

//------------------------------------------------------------------------------
// MEASURE
//------------------------------------------------------------------------------  

define "Initial Population":
  ScreeningEligible.IsIncludedAndNotExcluded

define "Denominator":
	"Initial Population"

define "Denominator Exclusion":
  ScreeningEligible.IsNotScreeningEligible

define "Numerator":
  "flow-ScreeningTestIncomplete"  
Content: application/elm+xml
Encoded data (16372 characters)
Content: application/elm+json
Encoded data (26316 characters)