Skip to content

add ppa support#152

Open
smalho01 wants to merge 1 commit into
devfrom
ppa-support
Open

add ppa support#152
smalho01 wants to merge 1 commit into
devfrom
ppa-support

Conversation

@smalho01

Copy link
Copy Markdown
Contributor

Describe your changes

  • Added NCPDP PPA JSON support on the existing /ncpdp/script endpoint alongside SCRIPT XML NewRx
    handling.

    • Added PPA request parsing, validation, response building, and structured
      error/refusal responses.

    • Added configurable inventory support with NDC normalization, substitution matching, quantities,
      obtainable/date states

    • Added inventory API endpoints for reading/updating pharmacy stock.

    • Added pharmacy inventory editing UI in the PIMS config/settings view.

    • Updated doctor order parsing/schema/UI to preserve selected pharmacy ID/name and selected product NDC
      metadata.

    • Added second-pharmacy/local defaults and REMS Admin 2 endpoint configuration.

    • Updated Vite cache configuration to avoid optimized dependency conflicts between two PIMS instances.

    • Hardened dev Docker runner to avoid repeated npm install loops and stale package-lock behavior.

    • Updated README with PPA /ncpdp/script and inventory API documentation.

Issue ticket number and Jira link

Please include the Jira Ticket Number and Link for this issue/task.

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.

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