List

API URL

{{url}}/admin-service/medication/list

Method

POST

Description

Get medication list

Input 1:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input 1:

{ "countryId": 4, "searchTerm": "", "tenantId": 156, "sortField": "medication_name", "sortOrder": -1, "limit": 10 }

Output :

Field Name

Type

Comments

id

Number

Medication id

countryId

Number

Country id for medication

tenantId

Number

Country tenant id

medicationName

String

Medication name

classificationId

Number

Classification id for medication

dosageFormId

Number

Dosage form id for medication

brandId

Number

Brand name id

classificationName

String

Classification name

brandName

String

Brand name

Sample Output 1:

{
    "message": "Got All Medications.",
    "entity": null,
    "status": true,
    "entityList": [
     {
            "id": 288,
            "countryId": 4,
            "tenantId": 156,
            "medicationName": "Vildagliptin + Metformin",
            "classificationId": 3,
            "dosageFormId": 2,
            "dosageFormName": "Tablet",
            "brandId": 147,
            "classificationName": "Dual Therapy",
            "brandName": "Other"
        },
        {
            "id": 117,           
            "countryId": 4,           
            "tenantId": 156,
            "medicationName": "Vildagliptin + Metformin",
            "classificationId": 3,
            "dosageFormId": 2,
            "dosageFormName": "Tablet",
            "brandId": 135,
            "classificationName": "Aldosterone Antagonist",
            "brandName": "Other"
        }
    ],
    "responseCode": 200,
    "totalCount": 420
}

Sample Input 2:

{ "tenantId": 5, "countryId": 3, "limit": 10, "sortField": "medication_name", "sortOrder": 1, "searchTerm": "Cetrizen" }

Sample Output 2:

{
    "message": "Got All Medications.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 76,
            "patientTrackId": null,
            "countryId": 4,
            "roleNames": null,
            "searchTerm": null,
            "patientVisitId": null,
            "tenantId": 6,
            "medicationName": "Cetrizen",
            "classificationId": 135,
            "dosageFormId": 1,
            "dosageFormName": "Tablet",
            "dosageUnitName": "mg",
            "dosageUnitValue": "2",
            "brandId": 148,
            "dosageUnitId": 14,
            "classificationName": "Other",
            "brandName": "Other",
            "displayOrder": 0,
            "type": null,
            "status": false
        }
    ],
    "responseCode": 200,
    "totalCount": 1
}

@2024 Medtronic LABS