feat(tests/fixtures): Add radiology AI anomaly detection example#154
Open
Hitendrasinhdata7 wants to merge 1 commit intogoogle:mainfrom
Open
feat(tests/fixtures): Add radiology AI anomaly detection example#154Hitendrasinhdata7 wants to merge 1 commit intogoogle:mainfrom
Hitendrasinhdata7 wants to merge 1 commit intogoogle:mainfrom
Conversation
|
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. |
f5d3c69 to
760c2b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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".