Medical Prescription Integration

Install Medical Prescription Integration

bench get-app https://github.com/alaalsalam/medical_prescription_integration

Add the Frappe Gems badge to your README

Maintain Medical Prescription Integration? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=alaalsalam%2Fmedical_prescription_integration)](https://frappegems.com/gems/apps/alaalsalam/medical_prescription_integration)

About Medical Prescription Integration

Medical Prescription Integration

Independent Frappe v16 application for retrieving medical prescriptions and adding validated items to an ERPNext Sales Invoice without changing ERPNext stock, pricing, tax, payment, or accounting rules.

Safety invariants

  • The browser never calls the medical system directly.
  • DRUG_ID maps only to the exact Item.item_code; names are never mapping keys.
  • A missing prescribed quantity is never inferred from dose, repetition, or duration.
  • CMP_ID maps only to Medical Company.cmp_id and never changes the invoice customer.
  • External values are escaped before rendering HTML.
  • A persisted reference and JSON snapshot remain the source of truth after reload.
  • Existing Sales Invoice items are preserved.
  • Submitted invoices are never updated by prescription refresh.

Components

  • Medical Prescription Integration Settings — endpoint, authentication, timeouts, vendor field names, and policies.
  • Medical Company — explicit CMP_ID master.
  • Medical Prescription Reference and Medical Prescription Drug — immutable integration snapshot and line provenance.
  • Medical Integration Log — safe operational audit metadata.
  • Sales Invoice dialog and custom fields — search, selection, preview, import, and persisted HTML rendering.

Start with setup, then use the UAT checklist. Architecture, vendor contract, networking, testing, and unresolved vendor questions are documented in docs/.

Related Healthcare apps for Frappe & ERPNext

  • Marley — Open Source, Enterprise and Modern Health Information System
  • Smarte — smarteCare - Frappe modules for healthcare management
  • Erpnext Hospitality Core — A Frappe APP for Hotel and Property Management that fully integrates with erpnext
  • Frappe Health — 💉 Frappe Health enables the health domain in ERPNext and has various features that will help healthcare practitioners, clinics and hospitals to leverage the power of Frappe and ERPNext.
  • Marley Frontend — Frontend UI application for Marley Healthcare app
  • Healthcare Plus — Healthcare with a plus!
  • Health — Open Source Health Information System. Get your Frappe Health instance ready within a few seconds and uncover the potentials of digitising your operations.
  • Frappe Health — Open Source Health Information System. Get your Frappe Health instance ready within a few seconds and uncover the potentials of digitising your operations.