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

Official URL: http://cancerscreeningcds.github.io/crcsm-cds/Library/DecisionToScreenActions Version: 0.1.0
Draft as of 2025-02-28 Computable Name: DecisionToScreenActions
Id: DecisionToScreenActions
Version: 0.1.0
Url: DecisionToScreenActions
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-HarmsLikelyOutweighBenefitsResource01Out
act-SelectivelyOfferScreeningResource01Out
act-sdmcontinuelifexpResource01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library DecisionToScreenActions 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 "Discuss decision to continue screening": 'sdmcontinue' from "ActCode" display 'Shared decision making to continue screening'
code "Stop screening": 'stopscreening' from "ActCode" display 'Stop screening'

// Reason Codes
code "Age 76 to 86 years": 'age76to86' from "ReasonCode" display 'Age 76 to 86 years'
code "Age over 86 years": 'ageover86' from "ReasonCode" display 'Age over 86 years'
code "Reduced life expectancy indicator": 'lifeexp' from "ReasonCode" display 'Reduced life expectancy indicator'

context Patient

define "act-HarmsLikelyOutweighBenefits":
  {
		code: "Stop screening",
    reason: "Age over 86 years"
	} 

define "act-SelectivelyOfferScreening":
  {
		code: "Discuss decision to continue screening",
    reason: "Age 76 to 86 years"
  }

define "act-sdmcontinuelifexp":
  {
		code: "Discuss decision to continue screening",
    reason: "Reduced life expectancy indicator"
  }
Content: application/elm+xml
Encoded data (14672 characters)
Content: application/elm+json
Encoded data (23184 characters)