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: ScreeningEligibleActions

Official URL: http://cancerscreeningcds.github.io/crcsm-cds/Library/ScreeningEligibleActions Version: 0.1.0
Draft as of 2025-02-28 Computable Name: ScreeningEligibleActions
Id: ScreeningEligibleActions
Version: 0.1.0
Url: ScreeningEligibleActions
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

Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
act-ScreeningEligibleResource01Out
end-noteligible-currentcolorectalcancerResource01Out
end-noteligible-colectomyResource01Out
act-DiagnosticResource01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library ScreeningEligibleActions 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


codesystem "ActCode": 'http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/plan-definition-action-code-system'
codesystem "ReasonCode": 'http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/plan-definition-action-reason-code-system'

// Act Codes
code "Eligible for screening": 'eligible' from "ActCode" display 'Eligible for screening'
code "Not eligible for screening": 'noteligible' from "ActCode" display 'Not eligible for screening'
// Reason Codes
code "Eligible for screening reason": 'eligibleforscreening' from "ReasonCode" display 'Eligible for screening'
code "Current colorectal cancer": 'currentcolorectalcancer' from "ReasonCode" display 'Current colorectal cancer'
code "Total colectomy":  'totalcolectomy' from "ReasonCode" display 'Total colectomy'
code "Diagnostic testing":  'diagtesting' from "ReasonCode" display 'Diagnostic testing'

context Patient

define "act-ScreeningEligible":
  {
		code: "Eligible for screening",
    reason: "Eligible for screening reason"
	}

define "end-noteligible-currentcolorectalcancer":
  {
		code: "Not eligible for screening",
    reason: "Current colorectal cancer"
	}  

define "end-noteligible-colectomy":  
  {
		code: "Not eligible for screening",
    reason: "Total colectomy"
	} 

define "act-Diagnostic":
  {
		code: "Not eligible for screening",
    reason: "Diagnostic testing"
	} 
Content: application/elm+xml
Encoded data (17220 characters)
Content: application/elm+json
Encoded data (27476 characters)