| Id: |
ScreeningDue |
| Version: |
0.1.0 |
| Url: |
ScreeningDue |
| 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/ScreeningDueEvents|1.0.0
http://cancerscreeningcds.github.io/crcsm-cds/Library/DataElements|1.0.0
http://cancerscreeningcds.github.io/crcsm-cds/Library/ScreeningEligible|1.0.0
http://cancerscreeningcds.github.io/crcsm-cds/Library/CRCSMCommonFunctions|1.0.0
http://cancerscreeningcds.github.io/crcsm-cds/Library/CSMCommonFunctions|1.0.0
- SNOMED CT (all versions)
- Recommendation Flag Code System
- Logical Observation Identifiers, Names and Codes (LOINC)
http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.11.1020
http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.11.1145
http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.356
http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.11.1097
http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.359
|
| Parameters: |
| Name | Type | Min | Max | In/Out |
| Patient | Patient | 0 | 1 | Out |
| DueOrOverdue | Resource | 0 | * | Out |
| flow-ScreeningDue | boolean | 0 | 1 | Out |
| Initial Population | boolean | 0 | 1 | Out |
| Denominator | boolean | 0 | 1 | Out |
| Denominator Exclusion | boolean | 0 | 1 | Out |
| Numerator | boolean | 0 | 1 | Out |
|
| Data Requirements: |
| Type | Profile | MS | Code Filter |
| Patient |
http://hl7.org/fhir/StructureDefinition/Patient |
|
|
| CarePlan |
http://hl7.org/fhir/StructureDefinition/CarePlan |
;;;;;;;;;;;;;; |
code filter:
path: status
code: active
|
| ServiceRequest |
http://hl7.org/fhir/StructureDefinition/ServiceRequest |
;; |
code filter:
path: intent
code: plan
|
| DiagnosticReport |
http://hl7.org/fhir/StructureDefinition/DiagnosticReport |
;; |
|
| 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
|
|
| Content: text/cql |
library ScreeningDue version '1.0.0'
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1' called FHIRHelpers
include ScreeningDueEvents version '1.0.0' called Events
include DataElements version '1.0.0' called DataElements
include ScreeningEligible version '1.0.0'
context Patient
//------------------------------------------------------------------------------
// RECOMMENDATIONS
//------------------------------------------------------------------------------
define "flow-ScreeningDue":
(Events."eve-nextdueexists" is false)
or exists DueOrOverdue
define DueOrOverdue:
Events."eve-DetermineIfDueForScreening"
//------------------------------------------------------------------------------
// MEASURE
//------------------------------------------------------------------------------
define "Initial Population":
ScreeningEligible.IsIncludedAndNotExcluded
define "Denominator":
"Initial Population"
define "Denominator Exclusion":
ScreeningEligible.IsNotScreeningEligible
//TODO: add Hospice."Has Hospice"
define "Numerator":
"flow-ScreeningDue"
|
|
| Content: application/elm+xml |
Encoded data (12216 characters)
|
|
| Content: application/elm+json |
Encoded data (19600 characters)
|
|