Skip to content

PACIO - added extended case history and prescriber/pharmacy change detection#183

Merged
plarocque4 merged 14 commits intocommunincation-resourcefrom
advanced-case-history
Feb 5, 2026
Merged

PACIO - added extended case history and prescriber/pharmacy change detection#183
plarocque4 merged 14 commits intocommunincation-resourcefrom
advanced-case-history

Conversation

@smalho01
Copy link
Collaborator

@smalho01 smalho01 commented Jan 7, 2026

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

  • I have performed a self-review of my code
  • Ensure the target / base branch for any feature PR is set to dev not main (the only exception to this is releases from dev and hotfix branches)

Checklist for conducting a review

  • Review the code changes and make sure they all make sense and are necessary.
  • Pull the PR branch locally and test by running through workflow and making sure everything works as it is supposed to.

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.

@smalho01 smalho01 requested a review from plarocque4 January 7, 2026 20:42
@smalho01 smalho01 changed the title added extended case history and prescriber/pharmacy change detection PACIO - added extended case history and prescriber/pharmacy change detection Jan 12, 2026
@plarocque4 plarocque4 merged commit 0009f6c into communincation-resource Feb 5, 2026
5 of 8 checks passed
@plarocque4 plarocque4 deleted the advanced-case-history branch February 5, 2026 00:12
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>
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.

2 participants