India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudRetail pharmacyHealthcare & Life Sciences

Pharmacy chain exposes e-prescription APIs and live stock across 720 stores

Retail pharmacy chain with 720 stores, an e-pharmacy app and telemedicine partners · Northern and Eastern India · 14 weeks

Amazon Web Services
01

As-is situation

Store POS systems uploaded sales to SAP every four hours through file drops, so the app's stock availability was hours old and 11% of online orders were cancelled because the chosen store had sold out. Telemedicine partners sent e-prescriptions by email or as PDFs uploaded to a shared portal, and pharmacists re-entered them manually, which took four to six minutes per prescription and caused transcription errors on dosage. Schedule H and H1 dispensing records were kept per store and assembled manually for inspections. Each telemedicine partner had requested a structured API, but none existed.

  • 11% of online orders cancelled due to stale stock data
  • Four to six minutes of manual entry per e-prescription with transcription errors
  • No structured API for telemedicine and clinic partners
  • Scheduled-drug dispensing records scattered across 720 stores
02

Selected Google Cloud services and architecture

NTSPL built an e-prescription API in Apigee X in asia-south1 that accepts structured prescriptions from registered telemedicine partners and doctors' platforms, verifies the prescriber's registration details and stores the signed prescription before routing it to the patient's chosen store. Store POS systems publish sale and stock-adjustment events to Pub/Sub, which updates a stock service on Cloud Run backed by Memorystore, giving the app availability within seconds. Application Integration with the SAP connector posts aggregated stock movements to SAP every 15 minutes and creates replenishment requests. Dispensing events for scheduled drugs flow through a BigQuery subscription into an audit dataset.

Telemedicine partners → Apigee X e-prescription API → Cloud Run prescription service → store queues; store POS → Pub/Sub → Cloud Run stock service + Memorystore → app; Application Integration → SAP; BigQuery subscription → audit dataset
Apigee XPub/SubApplication IntegrationIntegration ConnectorsCloud RunBigQuery
03

Implementation approach

Weeks 1-3 · Prescription data model and consentDefined the prescription schema, prescriber verification steps and DPDP Act consent capture with pharmacy compliance.
Weeks 4-7 · Store event publishingAdded Pub/Sub publishing to the POS application and rolled it out to 120 pilot stores.
Weeks 8-10 · Apigee e-prescription API and partnersLaunched the API to three telemedicine partners through the developer portal and integrated pharmacist work queues.
Weeks 11-14 · Chain-wide rollout and SAP flowsExtended events to all 720 stores and switched SAP updates from file drops to Application Integration.
04

Measured results

Online orders cancelled for stock-outs
11%→2.4%
Stock data freshness in the app
Up to 4 hours→Under 10 seconds
Pharmacist time per e-prescription
4-6 minutes→Under 1 minute
Time to compile scheduled-drug dispensing reports
About 2 days per inspection→Minutes from BigQuery

Operational improvements

  • Pharmacists review structured prescriptions instead of retyping PDFs
  • Store replenishment requests are generated every 15 minutes rather than after the four-hourly file upload
  • Inspection reports for Schedule H and H1 drugs are queried centrally instead of collected store by store
05

Cost considerations

Pub/Sub throughput for 720 stores is modest at around 40 GiB a month, so messaging cost is small. Application Integration executions were reduced by aggregating SAP postings into 15-minute windows. Apigee runs on pay-as-you-go because partner call volume is still growing; a subscription will be reviewed after 12 months.

06

Return on investment

ROI indicator

Reduced cancellations recover an indicative INR 3-4 crore in annual online revenue, and pharmacist time saved across 720 stores is worth roughly INR 1 crore a year. Telemedicine partners now route more prescriptions to the chain, which management expects to grow e-prescription volume by 25-35%.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.