Prescription Update

API URL

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

Method

POST

Description

Prescription Update

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Input:

Field Name

Type

Mandatory

Example

brandName

String

Yes

Antibiotics

classificationName

String

No

Spice123

dosageFormName

String

No

Diuretic

dosageFrequencyId

BigInt

No

1

dosageFrequencyName

String

No

TDS

dosageUnitId

BigInt

No

2

dosageUnitName

String

Yes

ยตg

dosageUnitValue

String

Yes

12

instructionNote

String

Yes

Three times a day

isDeleted

Boolean

No

False

medicationId

BigInt

Yes

6

medicationName

String

Yes

Dolo

prescribedDays

Integer

Yes

4

Sample Input:

{ "patientTrackId": 1, "patientVisitId": 21, "prescriptionList": [ { "brandName": "Antibiotics", "classificationName": "Diuretic", "dosageFormName": "Liquid", "dosageFrequencyId": 1, "dosageFrequencyName": "TDS", "dosageUnitId": 2, "dosageUnitName": "ยตg", "dosageUnitValue": "12", "instructionNote": "Three times a day", "isDeleted": false, "medicationId": 6, "medicationName": "Dolo", "prescribedDays": 4 } ], "tenantId": 4 }

Sample Output:

{
    "message": "Prescription saved successfully.",
    "entity": null,
    "status": true,
    "entityList": null,
    "responseCode": 201,
    "totalCount": null
}

@2024 Medtronic LABS