Prescription search

API URL

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

Method

POST

Description

Prescription search

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input:

{ "searchTerm": "do" }

Output:

Field Name

Type

Comments

id

String

User ID

countryId

Integer

Country id

medicationName

String

Medication name

classificationId

Integer

Medication classification id

dosageFormId

Integer

Medication dosage form id

dosageFormName

String

Dosage form name

dosageUnitName

String

Dosage unit name

brandId

Integer

Brand id

classificationName

String

Medication classification name

brandName

String

Medication brand name

status

Boolean

Medication status

Sample Output:

{
  "message": "Got All Medications.",
  "entity": null,
  "status": true,
  "entityList": [
    {
      "id": 6,
      "patientTrackId": null,
      "countryId": 1,
      "roleNames": null,
      "searchTerm": null,
      "patientVisitId": null,
      "tenantId": 1,
      "medicationName": "Dolo",
      "classificationId": 2,
      "dosageFormId": 2,
      "dosageFormName": "Liquid",
      "dosageUnitName": null,
      "brandId": 1,
      "classificationName": "Diuretic",
      "brandName": "Antibiotics",
      "displayOrder": 0,
      "type": null,
      "status": false
    },
    {
      "id": 3,
      "patientTrackId": null,
      "countryId": 1,
      "roleNames": null,
      "searchTerm": null,
      "patientVisitId": null,
      "tenantId": 1,
      "medicationName": "Dolophime",
      "classificationId": 2,
      "dosageFormId": 1,
      "dosageFormName": "Tablet",
      "dosageUnitName": null,
      "brandId": 1,
      "classificationName": "Diuretic",
      "brandName": "Antibiotics",
      "displayOrder": 0,
      "type": null,
      "status": false
    }
  ],
  "responseCode": 200,
  "totalCount": 2
}

@2024 Medtronic LABS