Drug order Entry error


(Eugene Kandie) #1

who has a working payload that can be posted to the endpoint? I am trying to save a drug order and this is the response I get, “code”: “DrugOrder.error.notAmongAllowedConcepts”, “message”: "The units concept must be among allowed concepts


(Daniel Kayiwa) #2

Is this of help? DrugOrder.error.notAmongAllowedConcepts


(Eugene Kandie) #3

i have tried that solution but am getting the same results


(Daniel Kayiwa) #4

What exactly did you do? Can you give as much details as you can?


(Eugene Kandie) #5

{ “error”: { “message”: “Invalid Submission”, “code”: “webservices.rest.error.invalid.submission”, “globalErrors”: [], “fieldErrors”: { “doseUnits”: [{ “code”: “DrugOrder.error.notAmongAllowedConcepts”, “message”: “The units concept must be among allowed concepts” }], “quantityUnits”: [{ “code”: “DrugOrder.error.notAmongAllowedConcepts”, “message”: “The units concept must be among allowed concepts” }], “route”: [{ “code”: “DrugOrder.error.routeNotAmongAllowedConcepts”, “message”: “The route concept must be among allowed concepts as specified by the order.drugRoutesConceptUuid global property” }] } } }