Prescription List

API URL

{{url}}/spice-service/prescription/list

Method

POST

Description

Prescription List

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Input:

Field Name

Type

Mandatory

Example

isDeleted

Boolean

Yes

False

Sample Input 1:

{ "isDeleted": false, "patientTrackId": 1, "tenantId": 4 }

Sample Input 2:

{ "isDeleted": true, "patientTrackId": 1, "tenantId": 4 }

Output:

Field Name

Type

Comments

id

Integer

Country ID

medicationId

BigInt

Medication Id

dosageFrequencyId

BigInt

Dosage frequency ID

dosageUnitId

BigInt

Dosage Unit ID

endDate

Timestamp

Medication End date

prescribedDays

Integer

Medication prescribed days

classificationName

String

Medication classification name

brandName

String

Medication brand name

medicationName

String

Medication name

dosageUnitValue

String

Dosage Unit Value

dosageUnitName

String

Dosage unit name

dosageFrequencyName

String

Dosage frequency name

instructionNote

String

Instruction note

dosageFormName

String

Dosage form name

isActive

Boolean

Is Active

isDeleted

Boolean

Is Deleted

prescribedSince

Timestamp

Prescription Start date

prescriptionRemainingDays

Integer

Prescription Remaining Days

discontinuedOn

Timestamp

Prescription Discontinued on

Sample Output:

{
    "message": "Got prescription's.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 1,
            "medicationId": 3,
            "dosageFrequencyId": 2,
            "dosageUnitId": 2,
            "endDate": "2023-05-29T11:54:58+05:30",
            "prescribedDays": 6,
            "classificationName": "Diuretic",
            "brandName": "Antibiotics",
            "medicationName": "Dolophime",
            "dosageUnitValue": "5",
            "dosageUnitName": "µg",
            "dosageFrequencyName": "OM",
            "instructionNote": "In the morning",
            "dosageFormName": "Tablet",
            "isActive": null,
            "isDeleted": null,
            "prescribedSince": "2023-05-24T11:54:58+05:30",
            "prescriptionRemainingDays": 4,
            "discontinuedOn": null
        },
        {
            "id": 2,
            "medicationId": 6,
            "dosageFrequencyId": 1,
            "dosageUnitId": 2,
            "endDate": "2023-05-26T11:55:21+05:30",
            "prescribedDays": 3,
            "classificationName": "Diuretic",
            "brandName": "Antibiotics",
            "medicationName": "Dolo",
            "dosageUnitValue": "6",
            "dosageUnitName": "µg",
            "dosageFrequencyName": "TDS",
            "instructionNote": "Three times a day",
            "dosageFormName": "Liquid",
            "isActive": null,
            "isDeleted": null,
            "prescribedSince": "2023-05-24T11:55:21+05:30",
            "prescriptionRemainingDays": 1,
            "discontinuedOn": null
        },
        {
            "id": 3,
            "medicationId": 2,
            "dosageFrequencyId": 1,
            "dosageUnitId": 2,
            "endDate": "2023-05-31T11:56:29+05:30",
            "prescribedDays": 8,
            "classificationName": "ACE inhibitor",
            "brandName": "Biomet",
            "medicationName": "Acetolophime",
            "dosageUnitValue": "9",
            "dosageUnitName": "µg",
            "dosageFrequencyName": "TDS",
            "instructionNote": "Three times a day",
            "dosageFormName": "Liquid",
            "isActive": null,
            "isDeleted": null,
            "prescribedSince": "2023-05-24T11:56:29+05:30",
            "prescriptionRemainingDays": 6,
            "discontinuedOn": null
        }
    ],
    "responseCode": 200,
    "totalCount": 3
}

@2024 Medtronic LABS