Prescribed Details
API URL
{{url}}/spice-service/prescription-request/prescribed-details
Method
POST
Description
Prescribed Details for the patient
Input:
Field Name
Type
Mandatory
Example
patientReference
Bigint
yes
Patient Reference id
requestFrom
String
Yes
SIERRA_LEONE
Authorization (Header)
String
Yes
Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6
client
String
Yes
mob
Sample Input:
{ "patientReference": "1", "requestFrom": "SIERRA_LEONE" }
Output:
Field Name
Type
Example
message
String
Fetched Prescription history details Successfully.
encounterId
String
Encounter details of the patient
patientReference
Bigint
Patient Reference
history
String
History details of the patient
id
Bigint
Encounter id
date
Date
Prescription history date
prescriptions
String
Prescriptions details
prescribedDays
Bigint
Prescribed Days
medicationName
String
Medication Name
medicationId
Bigint
Medication Id
frequency
Bigint
Medication Frequency
frequencyName
String
Medication Frequency Name
prescribedSince
Date
Prescribed Since
endDate
Date
End Date
prescriptionId
Bigint
Prescription Id
isActive
Boolean
Active status check
isDeleted
Boolean
Deleted check
prescriptionRemainingDays
Bigint
Prescription Remaining Days
dispenseRemainingDays
Bigint
Dispense Remaining Days
status
Boolean
Response status