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: Special Populations Events

Official URL: http://cancerscreeningcds.github.io/bcsm-cds/Library/SpecialPopulationsEvents Version: 1.0.0
Draft as of 2025-02-28 Computable Name: SpecialPopulationsEvents
Title: Special Populations Events
Id: SpecialPopulationsEvents
Version: 1.0.0
Url: Special Populations 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
PatientPatient01Out
eve-highlifetimeriskboolean01Out
FirstDegRelativeGeneticMarkerOrSyndromeObservationboolean01Out
FirstDegRelativeGeneticMarkerOrSyndromeFamilyMemberHistory0*Out
eve-firstdeggeneticboolean01Out
eve-breastdensitycordboolean01Out
eve-fhxbreastcariskboolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Observation http://hl7.org/fhir/StructureDefinition/Observation ;;;; code filter:
path: code

system: http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/plan-definition-action-code-system

code: lifetimeriskassessment

display: Lifetime risk assessment

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

system: http://loinc.org

code: 10193-1

display: Physical findings of Breasts Narrative

FamilyMemberHistory http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory ;;
FamilyMemberHistory http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory ;; code filter:
path: condition.code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.1444.5.232
FamilyMemberHistory http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory ;;; code filter:
path: condition.code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.367
DiagnosticReport http://hl7.org/fhir/StructureDefinition/DiagnosticReport ;;;
DiagnosticReport http://hl7.org/fhir/StructureDefinition/DiagnosticReport ;;;; code filter:
path: code
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.394
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 SpecialPopulationsEvents version '1.0.0'

using FHIR version '4.0.1'

include CDSConnectCommonsforFHIRv401 version '1.0.0' called C3F
include FHIRHelpers  version '4.0.1' called FHIRHelpers
include DataElements version '1.0.0' called DataElements

codesystem "LOCAL": 'http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/screening-observation-code-system'
codesystem "v3-RoleCode": 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'

context Patient

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

define "eve-firstdeggenetic":
  FirstDegRelativeGeneticMarkerOrSyndromeObservation or exists FirstDegRelativeGeneticMarkerOrSyndrome

define "FirstDegRelativeGeneticMarkerOrSyndromeObservation":
  if DataElements.MostRecentFirstDegRelativeGeneticObservation is not null
    then FHIRHelpers.ToBoolean(DataElements.MostRecentFirstDegRelativeGeneticObservation.value as boolean) 
  else false

define "FirstDegRelativeGeneticMarkerOrSyndrome":
  DataElements."FirstDegRelativeGeneticMarkerOrSyndrome"

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

define "eve-fhxbreastcarisk":
  DataElements."de-fhxbreastcarisk" or DataElements."de-fhxrisk"
Content: application/elm+xml
Encoded data (17716 characters)
Content: application/elm+json
Encoded data (29104 characters)