I want to add concept for drugs by api, it shows 200 response in postman but doesn’t create that concept. I tried the following way.
api = http://openemr.accelx.net/openmrs/ws/rest/v1/concept
{
"names":[
{
"name":"Adapalene + Benzoyl peroxide",
"locale":"en",
"localePreferred":true,
"conceptNameType":"FULLY_SPECIFIED"
}
],
"datatype":"8d4a4ab4-c2cc-11de-8d13-0010c6dffd0f",
"version":"2.1.1",
"conceptClass":"8d490dfc-c2cc-11de-8d13-0010c6dffd0f",
"mappings":[
{
"conceptReferenceTerm":"81ca2ee1-3f10-11e4-adec-0800271c1b75",
"conceptMapType":"35543629-7d8c-11e1-909d-c80aa9edcf4e"
}
],
"descriptions":[
{
"description":"This is for try",
"locale":"en"
}
]
}