Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

fix(image): enforce visit field when create image #2572

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

Conversation

bernoraj
Copy link

Fixes #2556

Changes proposed in this pull request:

  • validated visit field when creating the image request.
  • Added warning message Visit is required and Unable to create new imaging request

@CLAassistant
Copy link

CLAassistant commented Feb 16, 2021

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Feb 16, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/1lwlefj80
✅ Preview: https://hospitalrun-frontend-git-fork-bernoraj-master.hospitalrun.now.sh

@morrme
Copy link
Contributor

morrme commented Feb 17, 2021

Hi @bernoraj !
Have you taken a look at the failing test?

@bernoraj
Copy link
Author

bernoraj commented Feb 18, 2021

Hi @bernoraj !
Have you taken a look at the failing test?

The test file src/__tests__/patients/care-goals/CareGoalTab.test.tsx failed with timeout exception. When I ran the test in my local it passed. Can you trigger the test again?

@matteovivona matteovivona added the in progress indicates that issue/pull request is currently being worked on label Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress indicates that issue/pull request is currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Imaging Request - required visit not enforced
4 participants