Skip to content

Conversation

@Hitendrasinhdata7
Copy link

This pull request adds a new, working example demonstrating how to use CQL for AI-assisted clinical decision support in radiology. The example provides a practical template for integrating clinical logic with AI workflows, specifically showing how to flag radiology findings for urgent review.

Changes
radiology_anomaly_detection.cql: A CQL library that defines logic to retrieve finalized radiology reports (DiagnosticReport) and flag those containing a high-risk conclusion code (SNOMED CT code 386661006).

radiology_anomaly_test.go: A Go example test that loads the CQL library, parses it with the FHIR 4.0.1 data model, and evaluates it against a sample patient bundle.

radiology_sample_bundle.json: A sample FHIR bundle containing a patient with one normal and one anomalous radiology report to validate the CQL logic.

Purpose / Motivation
This example serves as a clear, runnable template for developers looking to build systems where CQL clinical logic is used to identify cases that should be prioritized for AI-assisted review or other downstream processes.

Testing Performed
The included test passes: go test -v -run Example_radiologyAnomalyDetection.

The logic correctly identifies the report with the target SNOMED CT code and returns the decision "Prioritize for Urgent AI-Assisted Review".

@google-cla
Copy link

google-cla bot commented Dec 26, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Hitendrasinhdata7 Hitendrasinhdata7 force-pushed the feat/radiology-ai-anomaly-example branch from f5d3c69 to 760c2b8 Compare December 26, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant