Application Name: Platform, Reference Application Version Number: 2.5.
Question: Hey Guys, i am trying to make a drug order with this payload but i am getting the errors mentioned below:
- {
- “type”: “drugorder”,
- “encounter”:“cdaedf21-f1d7-4568-808d-89af957ed59d”,
- “patient”:“2a813509-6229-4a5e-b9e8-ebb8f45a3a6a”,
- “orderer”:“2c0a9f95-44ed-485d-bdee-e80353b5d5db”,
- “concept”:“be379df6-1691-11df-97a5-7038c432aabf”,
- “frequency”:“f79faeee-9fca-4d87-a830-c30333b2ff11”,
- “dose”:“2”,
- “doseUnits”:“c6adc608-664c-4b48-a976-8da304f876ce”,
- “route”:“5172653e-68b8-4fd5-9b48-fe57bc138415”
- }
ERRORS
"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"
}],
"route": [{
"code": "DrugOrder.error.routeNotAmongAllowedConcepts",
"message": "The route concept must be among allowed concepts as specified by the order.drugRoutesConceptUuid global property"
}]
}
}
Route and doseUnits i provided, are the concepts named oral(class=misc) and milliliter(class= units of measure). My question is how can i make them in allowed concepts?