Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVSHealth sender transform #17437

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

lucero-v
Copy link
Collaborator

This PR adds a sender transform for CVSHealth that makes the following changes per their requirements:

  • Suppress OBX's with missing LOINCs
  • Convert OBX-5 value to codeable concept using the following value set for SNOMED:
    • Positive = 260373001
      Negative = 260415000
      Invalid = 455371000124106
      Other = 445297001
  • Change OBX-2 from ST to CWE to reflect the changes to OBX-5
  • Replace "Other" in SPM-4.1 with 445297001 and add SCT for SPM-4.3

Test Steps:

  1. download HL7 file from Receive folder for CVS
  2. use fhirdata tool with HL7 file and sender transform. For example:
fhirdata
--input-file
/Users/lucero/Documents/GIT/prime-reportstream/prime-router/junk/input_cvs.hl7
--output-file
/Users/lucero/Documents/GIT/prime-reportstream/prime-router/junk/cvs_output.hl7
-s
classpath:/metadata/fhir_transforms/senders/CVSHealth/cvs-health-sender-transform.yml
-r
classpath:/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml
--output-format=HL7
  1. Check OBX and SPM segments and ensure they meet CVS's requirements listed above

Changes

  • added cvs-health-sender-transform.yml

Checklist

Testing

  • Tested locally?
  • Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
  • (For Changes to /frontend-react/...) Ran npm run lint:write?
  • Added tests?

Process

  • Are there licensing issues with any new dependencies introduced?
  • Includes a summary of what a code reviewer should test/verify?
  • Updated the release notes?
  • Database changes are submitted as a separate PR?
  • DevOps team has been notified if PR requires ops support?

Linked Issues

To Be Done

Create GitHub issues to track the work remaining, if any

  • #issue

@lucero-v lucero-v requested a review from a team as a code owner February 25, 2025 17:12
@lucero-v lucero-v self-assigned this Feb 25, 2025
Copy link
Contributor

github-actions bot commented Feb 25, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Copy link
Contributor

github-actions bot commented Feb 25, 2025

Test Results

1 287 tests  ±0   1 283 ✅ ±0   7m 28s ⏱️ -32s
  168 suites ±0       4 💤 ±0 
  168 files   ±0       0 ❌ ±0 

Results for commit f426963. ± Comparison against base commit aef18c0.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Feb 25, 2025

Integration Test Results

 60 files  ±0   60 suites  ±0   42m 54s ⏱️ -51s
428 tests ±0  418 ✅ ±0  10 💤 ±0  0 ❌ ±0 
431 runs  ±0  421 ✅ ±0  10 💤 ±0  0 ❌ ±0 

Results for commit f426963. ± Comparison against base commit aef18c0.

♻️ This comment has been updated with latest results.

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.

CVS Sender Transforms for removing OBX segments and mapping to valid SNOMED codes
2 participants