| Id: |
DecisionToScreenEvents |
| Version: |
0.1.0 |
| Url: |
DecisionToScreenEvents |
| Status: |
draft |
| Type: |
system: http://terminology.hl7.org/CodeSystem/library-type
code: logic-library
|
| Date: |
2025-02-28 21:24:30+0000 |
| Publisher: |
MITRE |
| Related Artifacts: |
Dependencies
http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
http://cancerscreeningcds.github.io/crcsm-cds/Library/FHIRHelpers|4.0.1
http://cancerscreeningcds.github.io/crcsm-cds/Library/DataElements|1.0.0
http://cancerscreeningcds.github.io/crcsm-cds/Library/CDSConnectCommonsforFHIRv401|1.0.0
- Screening Observation Code System
|
| Parameters: |
| Name | Type | Min | Max | In/Out |
| ObservationLookbackPeriod | Quantity | 0 | 1 | In |
| SymptomaticLookBack | Quantity | 0 | 1 | In |
| Patient | Patient | 0 | 1 | Out |
| eve-LifeExp | boolean | 0 | 1 | Out |
| eve-AgeOver76 | boolean | 0 | 1 | Out |
| eve-Age86AndOlder | boolean | 0 | 1 | Out |
|
| Data Requirements: |
|
| Content: text/cql |
library DecisionToScreenEvents 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-LifeExp":
DataElements."de-lifeexp"
define "eve-AgeOver76":
AgeInYears() > 76 and AgeInYears() < 86
define "eve-Age86AndOlder":
AgeInYears() >= 86
//define "eve-riskFactors":
// TODO: Implement logic for eve-riskFactors
|
|
| Content: application/elm+xml |
Encoded data (9800 characters)
|
|
| Content: application/elm+json |
Encoded data (17104 characters)
|
|