Medication Validation

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

Input

Field Name

Type

Mandatory

Example

medicationName

String

Yes

Dolo

dosageFormId

Integer

Yes

dosageFormName

String

Yes

Tablet

brandId

Integer

Yes

brandName

String

Yes

Generic

classificationId

Integer

Yes

classificationName

String

Yes

Beta-blocker

dosageUnitId

Integer

Yes

dosageUnitValue

String

Yes

dosageUnitName

String

Yes

tenantId

String

Yes

Sample Input:

{ "countryId": "4", "classificationId": 123, "classificationName": "Biguanide", "brandId": 121, "brandName": "Generic", "medicationName": "Zincovit", "dosageFormId": 4, "dosageFormName": "Liquid", "dosageUnitValue": "8", "dosageUnitId": 14, "dosageUnitName": "mg", "tenantId": "6" }

Sample Output:

{
  "dateTime": 1683037472729,
  "status": false,
  "errorCode": 409,
  "message": "Zincovit already exist(s) in the regional database",
  "exception": "Zincovit already exist(s) in the regional database"
}

@2024 Medtronic LABS