I am currently working on a JIRA issue that involves making a post request to the /order api endpoint to create a new test-order resource on the system and I have been experiencing some difficulties.
The current issue I am experiencing is that the server responds with a status code of 400(client side error) with a fieldError message;
encounter cannot be null or empty
I am guessing it has to do with the id I am trying to use to create it because if I remove the encounter field, I get a different error message, but If I change the type in the request payload to drugorder, it works, and that makes it a little more confusing. please I would love to hear ideas on how I could resolve this blocker.