SPICE Product Docs
SPICE 1.0 Docs
SPICE 1.0 Docs
  • Overview
    • ๐Ÿ“’What is SPICE?
    • โœจSPICE App Workflows
      • Screening
      • Enrollment
      • Assessment
      • My Patients
      • Medical Review
      • Pharmacy
      • Admin Portal
    • ๐Ÿ‘ฉโ€โš•๏ธSPICE Users
    • ๐Ÿ”Data Privacy & Security
      • Privacy Policy
      • Terms & Conditions of Use
    • โ“Frequently Asked Questions (FAQs)
  • Engineering
    • ๐Ÿ–ฅ๏ธArchitecture
      • C4 Diagrams
      • FHIR & Standards
    • ๐Ÿ”งTechnology Stack
    • ๐Ÿ‘จโ€๐Ÿ’ปAPI Documentation
      • Common Services
        • Account Create
        • Change Password for Site Users
        • Country Create
        • Forgot Password
        • Get User Details
        • Get User Profile
        • Locked Users List
        • Login
        • Logout
        • Operating Unit Create
        • Reset Password
        • Set Password for New User
        • Site Create
        • Unlock User
        • User Profile Update
        • Validate User Email
        • Verify Set Password
        • Super Admin
          • Superadmin Details
          • Superadmin List
          • Superadmin Create
          • Superadmin Delete
          • Superadmin Update
      • Admin Services
        • Account
          • Account - Activate
          • Account - Deactivate
          • Account - Deactivated list
          • Account - Details
          • Account - Update
          • Account Admin - Create
          • Account Admin - Delete
          • Account Admin - Update
          • Account Dashboard - Region Admin
          • Account List - Admin
        • Clinical Workflow
          • Create
          • Delete
          • List
          • Update
          • Account Customization - Create
          • Account Customization - Details
          • Account Customization - Update
        • Country Dashboard - Superadmin
        • Lab Test
          • Create
          • Delete
          • Details
          • List
          • Update
          • Lab Test Range - Create
          • Lab Test Range - Delete
          • Lab Test Range - Details
          • Lab Test Range - Update
        • Medication
          • Create
          • Delete
          • Medication Validation
          • List
          • Update
        • Operating Unit
          • Operating Unit - Details
          • Operating Unit - Update
          • Operating Unit Admin - Create
          • Operating Unit Admin - Remove
          • Operating Unit Admin - Update
          • Operating Unit Dashboard - Account Admin
          • Operating Unit List - Admin
        • Program
          • Create
          • List
          • Delete
          • Details
          • Update
        • Region Admin
          • Region Admin - Create
          • Region admin - Delete
          • Region Admin - Details
          • Region admin - Update
        • Site
          • Site - Details
          • Site - Update
          • Site Dashboard - Operating Unit Admin
          • Site List - Admin
          • Site User - Create
          • Site User - Remove
          • Site User - Update
        • Site List - Region Admin
      • SPICE Services
        • Advance-search
        • Advanced search - Site
        • App Version
        • Assessment
        • Assessment Bplog Create
        • Assessment Glucose log Create
        • BPLog List
        • BPLog Create
        • Confirm Diagnosis
        • Device Details
        • Fill Prescription - Update
        • GlucoseLog Create
        • GlucoseLog List
        • Investigation Create
          • Fill Prescription List
        • Investigation List
        • Investigation Search
        • Labtest Result Create
        • Labtest Result Details
        • Labtest Result List
        • Lifestyle Create
        • Lifestyle List
        • Lifestyle remove
        • Lifestyle Update
        • Lifestyle Update view Status
        • Lifestyle view history
        • Medical Review Create - Continuous Medical Review
        • Medical Review Create - Initial Medical Review
        • Medical Review Static Data
        • Medical Review Count
        • Medical review list
        • Medical Review Summary
        • Mental Health Create
        • Mental Health Details
        • Mobile - Forgot Password
        • Mobile - Login
        • Mobile - Logout
        • Nutritionist Lifestyle Create
        • Patient Basic Details
        • Patient Details
        • Patient enrollment
        • Patient-labtest-list
        • Patient Labtest - Remove
        • Patient Labtest - Review
        • Patient-lifestyle-details
        • Patient list
        • Patient Pregnancy Details
        • Patient Pregnancy Details Create
        • Patient Remove
        • Patient Transfer - Create
        • Patient Transfer Count
        • Patient Transfer - Country Site List
        • Patient Transfer - Role user list
        • Patient Transfer List
        • Patient Transfer - Update
        • Patient Transfer - Validate
        • Patient update
        • Patient Visit
        • PatientVisit
        • Pregnancy Create
        • Pregnancy Details
        • Prescription History List
        • Prescription List
        • Prescription Remove
        • Prescription search
        • Pregnancy Update
        • Prescription-history list
        • Prescription Update
        • Refill Prescription History
        • Screening
        • Screening log details
        • Search
        • Transfer Notification Count
        • Treatment Plan Details
        • Treatment Plan Update
        • User Validate API
      • FHIR-Adapter Services
        • Add User
        • Get User By Id
        • Get User By Username
        • Get User List
        • Get User Profile
        • Update User
        • Reset User Password
        • Delete User by ID
        • Forgot Password Validation
        • Options
        • Receive Message
        • Login
        • Site Migration
        • User Migration
        • APIKey Manager API
          • Retrieve API Keys
          • Generate API Keys
          • Delete API Keys
          • Validate API Key
  • Deploy
    • ๐Ÿš€Deployment Guide
      • ๐Ÿ—„๏ธServer
      • ๐Ÿ“ฑAndroid
      • ๐Ÿ–ฅ๏ธAdmin Portal
      • ๐Ÿ—„๏ธFHIR Adapter
    • ๐ŸŒŽCustomization Guide
      • Multi-Language Translation
        • Support for multiple languages
      • Clinical Workflow Customization
      • WHO Hearts Algorithm
      • Country Level Administrative Divisions
  • PRODUCT
    • ๐Ÿฅ˜Releases
    • ๐Ÿ›ฃ๏ธRoadmap
  • COMMUNITY
    • ๐Ÿง‘โ€๐Ÿ’ปEngage
    • ๐Ÿ“žSupport
    • ๐Ÿ“ƒPolicies
  • LINKS
    • Source Code (GitHub)
    • Medtronic LABS
    • Developer Support
  • versions
    • SPICE 1.0
      • OVERVIEW
        • ๐Ÿ“’What is SPICE?
        • โœจSPICE App Workflows
          • Screening
          • Enrollment
          • Assessment
          • Medical Review
            • Treatment Plan
            • Prescribe
            • Lab Test
          • My Patients
          • Pharmacy
          • Admin Portal
        • ๐Ÿ‘ฉโ€โš•๏ธSPICE Users
        • ๐Ÿ”Data Privacy & Security
          • Privacy Policy
          • Terms & Conditions of Use
        • โ“Frequently Asked Questions (FAQs)
      • ENGINEERING
        • ๐Ÿ–ฅ๏ธArchitecture
          • C4 Diagrams
          • FHIR & Standards
        • ๐Ÿ”งTechnology Stack
        • ๐Ÿ‘จโ€๐Ÿ’ปAPI Documentation
          • Common Services
            • Account Create
            • Change Password for Site Users
            • Country Create
            • Forgot Password
            • Get User Details
            • Get User Profile
            • Locked Users List
            • Login
            • Logout
            • Operating Unit Create
            • Reset Password
            • Set Password for New User
            • Site Create
            • Unlock User
            • User Profile Update
            • Validate User Email
            • Verify Set Password
            • Super Admin
              • Superadmin Details
              • Superadmin List
              • Superadmin Create
              • Superadmin Delete
              • Superadmin Update
          • Admin Services
            • Account
              • Account - Activate
              • Account - Deactivate
              • Account - Deactivated list
              • Account - Details
              • Account - Update
              • Account Admin - Create
              • Account Admin - Delete
              • Account Admin - Update
              • Account Dashboard - Region Admin
              • Account List - Admin
            • Clinical Workflow
              • Create
              • Delete
              • List
              • Update
              • Account Customization - Create
              • Account Customization - Details
              • Account Customization - Update
            • Country Dashboard - Superadmin
            • Lab Test
              • Create
              • Delete
              • Details
              • List
              • Update
              • Lab Test Range - Create
              • Lab Test Range - Delete
              • Lab Test Range - Details
              • Lab Test Range - Update
            • Medication
              • Create
              • Delete
              • Medication Validation
              • List
              • Update
            • Operating Unit
              • Operating Unit - Details
              • Operating Unit - Update
              • Operating Unit Admin - Create
              • Operating Unit Admin - Remove
              • Operating Unit Admin - Update
              • Operating Unit Dashboard - Account Admin
              • Operating Unit List - Admin
            • Program
              • Create
              • List
              • Delete
              • Details
              • Update
            • Region Admin
              • Region Admin - Create
              • Region admin - Delete
              • Region Admin - Details
              • Region admin - Update
            • Site
              • Site - Details
              • Site - Update
              • Site Dashboard - Operating Unit Admin
              • Site List - Admin
              • Site User - Create
              • Site User - Remove
              • Site User - Update
            • Site List - Region Admin
          • SPICE Services
            • Advance-search
            • Advanced search - Site
            • App Version
            • Assessment
            • Assessment Bplog Create
            • Assessment Glucose log Create
            • BPLog List
            • BPLog Create
            • Confirm Diagnosis
            • Device Details
            • Fill Prescription - Update
            • GlucoseLog Create
            • GlucoseLog List
            • Investigation Create
              • Fill Prescription List
            • Investigation List
            • Investigation Search
            • Labtest Result Create
            • Labtest Result Details
            • Labtest Result List
            • Lifestyle Create
            • Lifestyle List
            • Lifestyle remove
            • Lifestyle Update
            • Lifestyle Update view Status
            • Lifestyle view history
            • Medical Review Create - Continuous Medical Review
            • Medical Review Create - Initial Medical Review
            • Medical Review Static Data
            • Medical Review Count
            • Medical review list
            • Medical Review Summary
            • Mental Health Create
            • Mental Health Details
            • Mobile - Forgot Password
            • Mobile - Login
            • Mobile - Logout
            • Nutritionist Lifestyle Create
            • Patient Basic Details
            • Patient Details
            • Patient enrollment
            • Patient-labtest-list
            • Patient Labtest - Remove
            • Patient Labtest - Review
            • Patient-lifestyle-details
            • Patient list
            • Patient Pregnancy Details
            • Patient Pregnancy Details Create
            • Patient Remove
            • Patient Transfer - Create
            • Patient Transfer Count
            • Patient Transfer - Country Site List
            • Patient Transfer - Role user list
            • Patient Transfer List
            • Patient Transfer - Update
            • Patient Transfer - Validate
            • Patient update
            • Patient Visit
            • PatientVisit
            • Pregnancy Create
            • Pregnancy Details
            • Prescription History List
            • Prescription List
            • Prescription Remove
            • Prescription search
            • Pregnancy Update
            • Prescription-history list
            • Prescription Update
            • Refill Prescription History
            • Screening
            • Screening log details
            • Search
            • Transfer Notification Count
            • Treatment Plan Details
            • Treatment Plan Update
            • User Validate API
          • FHIR-Adapter Services
            • Add User
            • Get User By Id
            • Get User By Username
            • Get User List
            • Get User Profile
            • Update User
            • Reset User Password
            • Delete User by ID
            • Forgot Password Validation
            • Options
            • Receive Message
            • Login
            • Site Migration
            • User Migration
            • APIKey Manager API
              • Retrieve API Keys
              • Generate API Keys
              • Delete API Keys
              • Validate API Key
      • DEPLOY
        • ๐Ÿš€Deployment Guide
          • ๐Ÿ—„๏ธServer
          • ๐Ÿ“ฑAndroid
          • ๐Ÿ–ฅ๏ธAdmin Portal
          • ๐Ÿ—„๏ธFHIR Adapter
        • ๐ŸŒŽCustomization Guide
          • Multi-Language Translation
            • Support for multiple languages
          • Clinical Workflow Customization
          • WHO Hearts Algorithm
          • Country Level Administrative Divisions
      • PRODUCT
        • ๐Ÿฅ˜Releases
        • ๐Ÿ›ฃ๏ธRoadmap
      • LINKS
        • Source Code (GitHub)
        • Medtronic LABS
        • Developer Support
Powered by GitBook

@2024 Medtronic LABS

On this page
  1. Engineering
  2. API Documentation
  3. SPICE Services

Prescription History List

API URL

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

Method

POST

Description

Prescription history list

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input:

{ "latestRequired": false, "patientTrackId": 1, "patientVisitId": 1, "tenantId": 4 }

Output:

Field Name

Type

Comments

prescriptionId

Bigint

Prescription ID

medicationName

String

Name of the medication

medicationId

Bigint

Medication ID

brandName

String

Medication Brand name

classificationName

String

Medication Classification name

dosageFormName

String

Medication dosage form name

dosageUnitName

String

Medication dosage unit name

dosageUnitValue

String

Medication dosage unit value

dosageUnitId

Integer

Medication dosage unit id

dosageFrequencyName

String

Medication frequency name

dosageFrequencyId

Integer

Medication dosage frequency ID

prescribedDays

Integer

Medication prescribed days

endDate

Timestamp

Medication prescribed End date

instructionNote

String

Medication instruction note

remainingPrescriptionDays

Integer

Prescription remaining days

prescriptionFilledDays

Integer

Prescription filled days

reason

String

Reason for not filling the medication

lastRefillDate

Timestamp

Last medication refilled date

Sample Output:

  {
    "message": "Got prescription histories.",
    "entity": {
        "patientPrescription": [
            {
                "createdBy": 5,
                "id": 1,
                "updatedBy": 5,
                "createdAt": "2023-05-24T06:24:58+00:00",
                "updatedAt": "2023-05-24T06:24:58+00:00",
                "tenantId": 4,
                "prescriptionId": 1,
                "patientTrackId": 1,
                "patientVisitId": 1,
                "medicationName": "Dolophime",
                "medicationId": 3,
                "brandName": "Antibiotics",
                "classificationName": "Diuretic",
                "dosageFormName": "Tablet",
                "dosageUnitName": "ยตg",
                "dosageUnitValue": "5",
                "dosageUnitId": 2,
                "dosageFrequencyName": "OM",
                "dosageFrequencyId": 2,
                "prescribedDays": 6,
                "endDate": "2023-05-29T11:54:58+05:30",
                "instructionNote": "In the morning",
                "signature": "/Prescription_Signatures/1_1_20230524062458387_prescsign.jpeg",
                "remainingPrescriptionDays": 6,
                "prescriptionFilledDays": 0,
                "reason": null,
                "lastRefillDate": null,
                "active": true,
                "deleted": false
            },
            {
                "createdBy": 5,
                "id": 2,
                "updatedBy": 5,
                "createdAt": "2023-05-24T06:25:21+00:00",
                "updatedAt": "2023-05-24T06:25:21+00:00",
                "tenantId": 4,
                "prescriptionId": 2,
                "patientTrackId": 1,
                "patientVisitId": 1,
                "medicationName": "Dolo",
                "medicationId": 6,
                "brandName": "Antibiotics",
                "classificationName": "Diuretic",
                "dosageFormName": "Liquid",
                "dosageUnitName": "ยตg",
                "dosageUnitValue": "6",
                "dosageUnitId": 2,
                "dosageFrequencyName": "TDS",
                "dosageFrequencyId": 1,
                "prescribedDays": 3,
                "endDate": "2023-05-26T11:55:21+05:30",
                "instructionNote": "Three times a day",
                "signature": "/Prescription_Signatures/1_1_20230524062521586_prescsign.jpeg",
                "remainingPrescriptionDays": 3,
                "prescriptionFilledDays": 0,
                "reason": null,
                "lastRefillDate": null,
                "active": true,
                "deleted": false
            },
            {
                "createdBy": 5,
                "id": 3,
                "updatedBy": 5,
                "createdAt": "2023-05-24T06:26:29+00:00",
                "updatedAt": "2023-05-24T06:26:29+00:00",
                "tenantId": 4,
                "prescriptionId": 3,
                "patientTrackId": 1,
                "patientVisitId": 1,
                "medicationName": "Acetolophime",
                "medicationId": 2,
                "brandName": "Biomet",
                "classificationName": "ACE inhibitor",
                "dosageFormName": "Liquid",
                "dosageUnitName": "ยตg",
                "dosageUnitValue": "9",
                "dosageUnitId": 2,
                "dosageFrequencyName": "TDS",
                "dosageFrequencyId": 1,
                "prescribedDays": 8,
                "endDate": "2023-05-31T11:56:29+05:30",
                "instructionNote": "Three times a day",
                "signature": "/Prescription_Signatures/1_1_20230524062629806_prescsign.jpeg",
                "remainingPrescriptionDays": 8,
                "prescriptionFilledDays": 0,
                "reason": null,
                "lastRefillDate": null,
                "active": true,
                "deleted": false
            }
        ],
        "prescriptionHistoryDates": []
    },
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}
PreviousPregnancy DetailsNextPrescription List
๐Ÿ‘จโ€๐Ÿ’ป