Colorectal Cancer Screening and Management (CRCSM) Clinical Decision Support (CDS) Implementation Guide
0.1.0 - ci-build

Colorectal Cancer Screening and Management (CRCSM) Clinical Decision Support (CDS) Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Library: HighLevel

Official URL: http://cancerscreeningcds.github.io/crcsm-cds/Library/HighLevel Version: 0.1.0
Draft as of 2025-02-28 Computable Name: HighLevel
Id: HighLevel
Version: 0.1.0
Url: HighLevel
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/PrimaryScreeningDecision|1.0.0
  • http://cancerscreeningcds.github.io/crcsm-cds/Library/FollowUp|1.0.0
  • http://cancerscreeningcds.github.io/crcsm-cds/Library/ScreeningEligible|1.0.0
Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
ExistsFollowUpRecommendationboolean01Out
ExistsPrimaryScreeningDecisionRecommendationboolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library HighLevel version '1.0.0'

using FHIR version '4.0.1'

include PrimaryScreeningDecision version '1.0.0' called PrimaryScreeningDecision
include FollowUp version '1.0.0' called FollowUp

context Patient

//------------------------------------------------------------------------------
// DYNAMIC VALUES
//------------------------------------------------------------------------------

define ExistsFollowUpRecommendation:
  exists FollowUp."flow-FollowUp"

define ExistsPrimaryScreeningDecisionRecommendation:
  ExistsFollowUpRecommendation is false and exists PrimaryScreeningDecision.PrimaryScreeningDecision
Content: application/elm+xml
Encoded data (7804 characters)
Content: application/elm+json
Encoded data (12456 characters)