PACIO - added extended case history and prescriber/pharmacy change detection#183
Merged
plarocque4 merged 14 commits intocommunincation-resourcefrom Feb 5, 2026
Merged
Conversation
plarocque4
approved these changes
Jan 13, 2026
plarocque4
approved these changes
Feb 5, 2026
plarocque4
added a commit
that referenced
this pull request
Feb 5, 2026
* send communication resource to EHR * Potential fix for code scanning alert no. 32: Database query built from user-controlled sources Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * create case on cds hook * update dispense auth * remove dispense auth endpoint - replacing with ncpdp * rename dispense to communcation resource * update create new case to check for existing case * PACIO - added extended case history and prescriber/pharmacy change detection (#183) * added advanced case history and prescriber/pharmacy change detection * run lint / prettier * ncpdp endpoint implimentation * update routing * add package ndc code tracking for ncpdp messages * fix ndc logic * updated models for patient id tracking * include response type in ncpdp messages * use saved medication on rems case creation to get ndc code from rxnorm * don't show patient status until patient enrolled * rxfill * proper reason code handling * singular denial reason * single denial reason * fix prettier and lint issues * Potential fix for code scanning alert no. 33: Database query built from user-controlled sources Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Patrick LaRocque <plarocque@mitre.org> Co-authored-by: Patrick LaRocque <41444457+plarocque4@users.noreply.github.com>
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.
Describe your changes
Add support for extended case history and prescriber/pharmacy change detection
Run with test-ehr pacio branch
Note: This is built on top of the communication/ncpdp branch. The changes in here are functional and working in terms of the prescriber change scenario for the pacio demo, however we should merge this into dev only after that feature also gets merged in
Issue ticket number and Jira link
Checklist before requesting a review
devnot main (the only exception to this is releases fromdevand hotfix branches)Checklist for conducting a review
Workflow
Owner of the Pull Request will be responsible for merge after all requirements are met, including approval from at least one reviewer. Additional changes made after a review will dismiss any approvals and require re-review of the additional updates. Auto merging can be enabled below if additional changes are likely not to be needed. The bot will auto assign reviewers to your Pull Request for you.