Skip to content

Conversation

@zacharyrobin
Copy link

@zacharyrobin zacharyrobin commented Jan 8, 2024

Describe your changes

This PR should be tested with branch 324-RxStatus in pims (mcode/pims#58)

  • Cleaned up comments and console log in request generator in relation to RxStatus and NewRx
  • Added in MUI "snackbar" for UI notification of RxStatus received (should see this in the bottom left when you hit "send Rx to Pharmacy"
  • Validate RxStatus was received by checking the response in the addRx payload in the network tab

Potential bug noted: Its old, but addRx sends twice? I believe this is an issue we have been aware but wanted to document again.

Issue ticket number and Jira link

REMS-325

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.

@zacharyrobin zacharyrobin mentioned this pull request Jan 8, 2024
4 tasks
@plarocque4 plarocque4 self-assigned this Jan 8, 2024
console.log('Successfully sent NewRx to PIMS');
console.log(response);
this.props.consoleLog('Successfully sent Rx to PIMS', types.info);
this.handleRxResponse();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this check the return code, or the data that was returned to see if it was a valid RxStatus message returned?

@zacharyrobin zacharyrobin merged commit 1f05ef2 into dev Jan 9, 2024
@zacharyrobin zacharyrobin deleted the 325-RxStatus branch January 9, 2024 21:08
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.

3 participants