API URL
{{url}}/admin-service/medication/validate
Method
POST
Description
Validate if same Medication Name, Dosage Unit, Dosage Unit Name, Classification, Brand and Dosage form already exist in Medication DB
Field Name
Type
Mandatory
Example
medicationName
String
Yes
Dolo
dosageFormId
Integer
dosageFormName
Tablet
brandId
brandName
Generic
classificationId
classificationName
Beta-blocker
dosageUnitId
dosageUnitValue
dosageUnitName
tenantId
{ "countryId": "4", "classificationId": 123, "classificationName": "Biguanide", "brandId": 121, "brandName": "Generic", "medicationName": "Zincovit", "dosageFormId": 4, "dosageFormName": "Liquid", "dosageUnitValue": "8", "dosageUnitId": 14, "dosageUnitName": "mg", "tenantId": "6" }
{ "dateTime": 1683037472729, "status": false, "errorCode": 409, "message": "Zincovit already exist(s) in the regional database", "exception": "Zincovit already exist(s) in the regional database" }