Home / MediCompare / MediCompare Specification
MediCompare
Compare, Save, and Stay Safe
Overview
MediCompare is an open-source, AI-powered global medication intelligence and pharmacy comparison platform designed to help individuals find affordable medications, verify legitimate pharmacies, understand pharmaceutical safety information, and save on prescription medications, over-the-counter products, and healthcare supplies.
The platform provides a centralized environment for searching participating pharmacies and authorized pharmaceutical sellers across international markets, comparing medication prices, identifying eligible generic alternatives, and evaluating purchasing options. By normalizing medication information, package sizes, dosage strengths, currencies, and associated purchasing costs, MediCompare helps users identify competitive prices while maintaining transparency about availability, regulatory restrictions, and pharmacy legitimacy.
An integrated AI pharmaceutical assistant provides accessible, evidence-based medication information, answers pharmaceutical questions, explains potential side effects, identifies possible drug interactions, and highlights important safety considerations before purchase. The platform combines pharmaceutical knowledge, regulatory intelligence, medication safety screening, and cost optimization to help users make informed decisions.
MediCompare is designed around modular architecture, open interoperability, privacy, accessibility, transparent data sourcing, and user control. Its core modules provide essential platform capabilities, while optional plugin modules support additional integrations, services, and specialized functionality.
Project Objectives
- Make medication pricing more transparent and accessible across international markets.
- Help consumers identify legitimate pharmacies and authorized pharmaceutical sellers.
- Reduce medication expenses through intelligent price comparisons and savings discovery.
- Provide accessible pharmaceutical information through an AI-powered assistant.
- Present potential side effects, contraindications, and medication interactions prominently.
- Help users identify appropriate generic alternatives and therapeutically equivalent products.
- Support prescription and over-the-counter medication comparisons.
- Expand savings opportunities to vitamins, supplements, medical supplies, and healthcare products.
- Identify jurisdiction-specific medication availability and purchasing restrictions.
- Protect personal medication information through strong privacy and security controls.
- Support integration with pharmaceutical databases, healthcare providers, pharmacies, and regulatory authorities.
- Provide an open, extensible platform that can be independently deployed and expanded.
Core Modules
Medication Discovery and Identification Module
- Search prescription medications, over-the-counter medications, generic drugs, brand-name medications, and specialty pharmaceuticals.
- Support searches by medication name, active ingredient, brand, manufacturer, therapeutic class, strength, dosage, and formulation.
- Recognize international medication names, synonyms, and regional brand variations.
- Identify products containing matching active ingredients.
- Map international brand names to standardized medication identities.
- Support multilingual medication searches.
- Provide medication descriptions, approved indications, formulations, and available strengths.
- Identify discontinued, recalled, restricted, and unavailable medications.
- Support barcode and QR code medication identification.
- Support medication packaging and label recognition.
- Provide manufacturer and product identification information.
- Allow users to save medications and products for future comparisons.
- Distinguish medications with similar names but different active ingredients.
Global Pharmacy Discovery and Verification Module
- Discover participating pharmacies and authorized pharmaceutical sellers across international markets.
- Verify pharmacy registrations against authoritative national and regional regulatory databases.
- Identify pharmacy licensing jurisdictions and authorized operating locations.
- Verify professional credentials where supported by official registries.
- Monitor regulatory enforcement actions, warnings, suspensions, and license revocations.
- Identify pharmacies associated with counterfeit, falsified, or substandard medication warnings.
- Evaluate available manufacturer and authorized distributor information.
- Detect suspicious pharmacy websites and misleading seller identities.
- Maintain pharmacy verification records and supporting regulatory evidence.
- Revalidate pharmacy credentials periodically.
- Display verification status and the source of verification.
- Distinguish verified pharmacies from sellers whose credentials cannot be independently confirmed.
- Exclude pharmacies that fail mandatory legitimacy requirements from verified purchasing recommendations.
- Maintain historical pharmacy verification records.
- Provide transparent explanations when a pharmacy cannot be verified.
Global Medication Price Comparison Module
- Search participating pharmacies for available medication prices.
- Compare prices across countries and regions where purchasing is legally permissible.
- Compare brand-name medications and eligible generic alternatives.
- Normalize pricing by active ingredient, strength, dosage form, package size, and individual unit.
- Convert international prices into the user’s preferred currency.
- Integrate current foreign exchange rates.
- Compare prescription, cash-pay, insurance, and discount-program pricing when available.
- Calculate estimated total purchasing costs, including shipping, dispensing fees, taxes, and applicable duties.
- Identify available quantity discounts and bulk purchasing opportunities where legally permitted.
- Display historical medication prices and pricing trends.
- Identify significant price differences between pharmacies.
- Provide price-drop notifications.
- Allow users to establish target prices.
- Compare prices for equivalent package quantities.
- Distinguish verified prices, estimated prices, promotional prices, and unavailable pricing information.
- Display the original price currency and converted price.
- Identify the source and last-updated timestamp for each price.
- Provide transparent calculations explaining estimated savings.
- Avoid presenting outdated or unavailable pricing as current.
Pharmaceutical Knowledge and Intelligence Module
- Maintain structured pharmaceutical information and medication relationships.
- Integrate authoritative medication databases and regulatory publications.
- Organize medications by active ingredient, therapeutic class, formulation, strength, and manufacturer.
- Maintain relationships between brand-name medications and generic products.
- Identify approved indications and available formulations.
- Maintain medication-specific precautions and contraindications.
- Incorporate official medication labeling and patient information leaflets.
- Maintain pharmaceutical terminology and standardized medication identifiers.
- Track medication approval status by jurisdiction.
- Identify relevant patent and generic market-entry information where available.
- Track pharmaceutical product discontinuations and market availability.
- Maintain historical medication information.
- Identify discrepancies between pharmaceutical information sources.
- Preserve source provenance and data update timestamps.
- Support evidence-based pharmaceutical information retrieval.
AI Pharmaceutical Assistant Module
- Provide an integrated conversational AI assistant for pharmaceutical questions.
- Explain medication purposes, therapeutic effects, and approved uses.
- Answer questions about medication administration and precautions.
- Explain common, uncommon, serious, and potentially life-threatening side effects.
- Present important side effects and safety warnings prominently before purchase.
- Explain contraindications and relevant precautions.
- Identify potential medication interactions.
- Explain interactions involving prescription medications, OTC products, vitamins, supplements, and herbal products.
- Explain relevant food, beverage, and alcohol interactions.
- Provide medication-specific information about missed doses using authoritative references.
- Explain medication storage, handling, and disposal requirements.
- Compare brand-name and generic medications.
- Explain pharmaceutical terminology in accessible language.
- Support contextual follow-up questions.
- Provide citations and references to authoritative pharmaceutical sources.
- Identify uncertainty, conflicting evidence, and missing information.
- Distinguish established clinical evidence from preliminary research.
- Recognize questions requiring professional pharmacist or physician involvement.
- Identify emergency situations requiring immediate medical attention.
- Avoid presenting AI-generated information as a substitute for professional medical judgment.
- Maintain transparency about the sources and limitations of AI-generated responses.
Medication Safety and Side Effect Intelligence Module
- Identify and display medication side effects.
- Categorize side effects by frequency, severity, and clinical significance when reliable data is available.
- Highlight boxed warnings and equivalent international safety warnings.
- Identify medication contraindications and precautions.
- Identify potential allergic reactions and ingredient sensitivities.
- Detect duplicate active ingredients across different products.
- Identify therapeutic duplication.
- Flag potentially dangerous medication combinations.
- Identify relevant age-related medication precautions.
- Present pregnancy and breastfeeding warnings using authoritative information.
- Identify kidney and liver impairment precautions.
- Explain medication-specific monitoring requirements.
- Monitor regulatory safety alerts and newly published warnings.
- Provide links to official medication guides and patient information leaflets.
- Present safety information before purchase decisions.
- Clearly distinguish potential risks from confirmed adverse reactions.
- Identify when professional review is recommended.
Medication Interaction Checker Module
- Allow users to maintain a personal medication and supplement list.
- Evaluate interactions between multiple medications.
- Include prescription medications, OTC products, vitamins, supplements, and herbal products.
- Identify duplicate active ingredients.
- Detect overlapping therapeutic effects.
- Identify interactions involving food and beverages.
- Display interaction severity classifications when supported by reliable evidence.
- Explain potential consequences of identified interactions.
- Provide supporting references.
- Identify combinations requiring immediate professional review.
- Reevaluate medication combinations when users add or modify medications.
- Monitor authoritative safety updates affecting saved medication combinations.
- Support manual entry, barcode identification, and authorized healthcare record imports.
- Allow users to export medication interaction reports.
Medication Equivalency and Generic Alternatives Module
- Identify generic alternatives to brand-name medications.
- Compare active ingredients, strengths, formulations, and approved indications.
- Identify pharmaceutical equivalents using authoritative product information.
- Identify therapeutically equivalent products using jurisdiction-specific regulatory classifications.
- Distinguish pharmaceutical equivalence from therapeutic equivalence.
- Identify biosimilars and interchangeable biological products where applicable.
- Compare manufacturers and product specifications.
- Identify relevant patent expiration and generic market-entry information.
- Compare available prices and potential savings.
- Explain clinically relevant differences between products.
- Identify formulation and administration differences.
- Provide supporting regulatory references.
- Require appropriate professional authorization when medication substitution requires clinical judgment.
- Never automatically recommend a substitution based solely on price or AI-generated conclusions.
Prescription Management Module
- Maintain a secure personal prescription library.
- Support prescription document uploads.
- Extract medication names, strengths, quantities, prescribing instructions, and refill information.
- Track prescription expiration dates.
- Monitor refill schedules.
- Provide configurable refill reminders.
- Identify participating pharmacies that accept the user’s prescription.
- Support jurisdictionally compliant electronic prescription integrations.
- Track prescription fulfillment when participating providers support it.
- Identify prescription transfer options where legally permitted.
- Maintain prescription history and downloadable records.
- Support caregiver-authorized prescription management.
- Protect uploaded prescription documents and associated personal information.
- Provide configurable prescription record retention and deletion.
Pharmacy Products and Healthcare Supplies Module
- Compare OTC medications and nonprescription pharmaceutical products.
- Search vitamins, minerals, supplements, and eligible herbal products.
- Compare first-aid and wound-care supplies.
- Search medical devices and home healthcare equipment.
- Compare diabetes testing supplies and glucose-monitoring accessories.
- Search blood pressure monitors, thermometers, and pulse oximeters.
- Compare mobility aids and accessibility equipment.
- Search incontinence products and personal care supplies.
- Compare home diagnostic and monitoring products.
- Search medication organizers and prescription-related accessories.
- Compare manufacturers, specifications, package sizes, and prices.
- Identify product recalls and safety warnings.
- Display relevant regulatory classifications.
- Distinguish regulated medications from supplements and general consumer products.
- Verify participating sellers and authorized distributors.
- Provide product-specific safety information.
- Identify available discounts and purchasing opportunities.
Medication Cost Optimization Module
- Calculate monthly and annual medication expenses.
- Identify potential savings through eligible generic alternatives.
- Compare available insurance and cash-pay options.
- Identify manufacturer-sponsored medication assistance programs.
- Search legitimate patient assistance and nonprofit medication programs.
- Identify government-sponsored prescription assistance programs.
- Compare eligible pharmacy discount programs.
- Identify lower-cost package sizes and purchasing quantities.
- Calculate potential savings from alternative legitimate pharmacies.
- Provide medication expense reports.
- Allow users to establish medication budgets.
- Identify significant medication price fluctuations.
- Generate cost-saving recommendations without compromising medication safety.
- Display transparent comparisons between current and alternative purchasing costs.
- Distinguish guaranteed savings from estimated savings.
- Monitor available assistance program eligibility requirements.
International Regulatory and Availability Module
- Identify countries where medications are approved and commercially available.
- Compare country-specific medication authorization and regulatory classifications.
- Identify prescription-only, OTC, controlled, and restricted medication classifications.
- Identify country-specific prescribing and dispensing requirements.
- Display international medication naming differences.
- Identify relevant importation and exportation restrictions.
- Evaluate whether medication purchasing and delivery are legally permissible in the user’s jurisdiction.
- Identify country-specific medication warnings and recalls.
- Provide links to official regulatory documentation.
- Distinguish international availability from legal purchasing eligibility.
- Prevent the platform from facilitating unlawful medication imports or purchases.
- Monitor relevant changes in pharmaceutical regulations.
- Maintain jurisdiction-specific regulatory records and source references.
Personal Medication Dashboard Module
- Provide a centralized personal medication management dashboard.
- Display current medications and saved healthcare products.
- Show upcoming refill dates.
- Display medication safety alerts.
- Track medication expenses and savings.
- Display price changes for monitored medications.
- Show pharmacy verification updates.
- Provide medication schedules and reminders.
- Support multiple household members through separate authorized profiles.
- Support caregiver access with explicit user permissions.
- Allow users to export medication and purchasing records.
- Provide configurable privacy and notification settings.
- Display relevant medication and purchasing history.
- Support personalized medication search lists and saved comparisons.
Medication Reminders and Adherence Module
- Create medication schedules.
- Provide configurable dose reminders.
- Track user-reported medication adherence.
- Identify missed or delayed doses.
- Provide medication-specific missed-dose information from authoritative references.
- Support recurring schedules and international time-zone changes.
- Track refill intervals.
- Identify potential medication supply interruptions.
- Provide optional caregiver notifications.
- Generate adherence summaries.
- Allow users to modify reminder preferences.
- Avoid independently changing prescribed doses or schedules.
Pharmaceutical Data Integration Module
- Integrate publicly available national medication databases.
- Connect to regulatory approval and product registration databases.
- Integrate official medication labeling and safety information.
- Support participating pharmacy inventory and pricing feeds.
- Integrate manufacturer catalogs and authorized distributor information.
- Support standardized medication identifiers.
- Normalize international brand names, active ingredients, strengths, concentrations, and formulations.
- Maintain historical medication and pricing records.
- Track data provenance and update frequency.
- Detect inconsistencies between pharmaceutical data sources.
- Support automated data synchronization and validation.
- Provide auditable data ingestion processes.
- Identify unavailable, incomplete, and outdated information.
- Support independently maintained data connectors.
Privacy and Security Module
- Encrypt sensitive personal and medication information.
- Support secure authentication and passkeys.
- Provide granular permissions for personal and caregiver accounts.
- Support user-controlled data storage.
- Minimize the collection of personally identifiable and health information.
- Provide configurable data retention policies.
- Support secure data export and deletion.
- Maintain auditable access logs.
- Protect prescription uploads and medication histories.
- Prevent unauthorized disclosure of personal medication information.
- Secure API authentication and authorization.
- Support privacy-preserving analytics.
- Never sell personal health information or medication histories.
- Provide self-hosted deployment options.
- Support security monitoring and vulnerability reporting.
- Maintain secure handling of third-party integrations.
Notification and Monitoring Module
- Notify users of medication price reductions.
- Notify users of new generic availability.
- Notify users of medication recalls and safety alerts.
- Notify users of changes in pharmacy verification status.
- Provide refill and prescription expiration notifications.
- Alert users to relevant medication interaction updates.
- Notify users when saved products become unavailable.
- Support configurable notification preferences.
- Support email, push, and in-application notifications.
- Maintain notification history and delivery records.
- Support notification prioritization based on urgency.
- Provide controls for managing notification frequency.
API and Healthcare Interoperability Module
- Provide documented public APIs.
- Support healthcare data exchange using applicable HL7 FHIR standards.
- Provide pharmacy integration APIs.
- Support pharmaceutical database integrations.
- Support third-party pricing providers.
- Provide developer authentication and access controls.
- Support webhook notifications.
- Provide standardized medication search and comparison endpoints.
- Support integration with healthcare applications and electronic health records.
- Provide versioned API specifications.
- Support third-party application connectivity.
- Provide secure integration permissions.
- Support independently operated platform instances.
- Maintain API usage documentation and compatibility standards.
Accessibility and Internationalization Module
- Support multiple languages.
- Recognize regional medication naming conventions.
- Support international currencies and measurement systems.
- Provide accessible interfaces for users with visual, auditory, and motor disabilities.
- Support screen readers and keyboard navigation.
- Provide adjustable text sizes and contrast settings.
- Use plain-language pharmaceutical explanations.
- Support localization of dates, times, and measurement units.
- Provide multilingual AI pharmaceutical assistance.
- Support right-to-left languages.
- Provide responsive interfaces for mobile devices, tablets, and desktop computers.
- Support accessibility preferences across user sessions.
Administration and Audit Module
- Provide administrative platform management.
- Manage pharmacy verification records and regulatory sources.
- Monitor pharmaceutical data integrations.
- Review pharmacy verification exceptions.
- Maintain auditable data synchronization records.
- Monitor pricing data quality and freshness.
- Track system activity and operational events.
- Maintain administrative access controls.
- Support security incident reporting.
- Provide platform health monitoring.
- Maintain audit histories for important platform decisions.
- Support independent deployment administration.
- Provide transparent reporting on data-source reliability.
Optional Plugin Modules
Optional plugins extend the core platform without replacing or weakening mandatory medication safety, pharmacy verification, privacy, or regulatory requirements.
Pharmacy Network Connectors
- Integrate participating national and international pharmacy chains.
- Support pharmacy-specific medication searches.
- Retrieve available pricing and inventory information.
- Support authorized purchasing and fulfillment integrations.
- Synchronize participating pharmacy product catalogs.
Pharmacy Inventory Connectors
- Connect directly to participating pharmacy inventory systems.
- Retrieve product availability.
- Monitor inventory changes.
- Identify available package quantities.
- Provide inventory freshness information.
Insurance Integration
- Connect supported insurance providers.
- Retrieve medication formulary information.
- Compare coverage and copayments.
- Identify applicable deductibles and benefit restrictions.
- Compare insurance and cash-pay purchasing options.
Manufacturer Assistance Integration
- Connect manufacturer-sponsored patient assistance programs.
- Identify available medication savings programs.
- Retrieve eligibility requirements.
- Provide application information.
- Track available assistance opportunities.
Government Assistance Integration
- Connect government-sponsored medication assistance programs.
- Identify applicable eligibility requirements.
- Search public healthcare benefits.
- Provide relevant application resources.
- Monitor changes in program availability.
Healthcare Provider Integration
- Connect participating hospitals and clinics.
- Support authorized medication record exchange.
- Integrate supported healthcare provider systems.
- Support clinician-authorized medication information sharing.
Electronic Prescription Integration
- Connect authorized electronic prescription services.
- Support jurisdiction-specific prescription workflows.
- Integrate participating pharmacy prescription acceptance systems.
- Support compliant prescription transfer services.
Laboratory Integration
- Connect authorized laboratory information services.
- Support medication-related monitoring records.
- Import authorized laboratory results.
- Provide relevant medication monitoring information.
- Maintain appropriate privacy and access controls.
Wearable Device Integration
- Connect supported health monitoring devices.
- Integrate authorized wearable data.
- Support user-controlled health information sharing.
- Provide relevant medication adherence and monitoring insights.
Advanced OCR Integration
- Provide enhanced prescription recognition.
- Extract information from medication labels.
- Recognize pharmaceutical packaging.
- Process uploaded medication guides.
- Support multilingual document recognition.
Barcode and QR Integration
- Identify medications using supported product barcodes.
- Retrieve manufacturer and product information.
- Compare scanned products against verified medication records.
- Support product identification and recall checks.
Voice Assistant Integration
- Support voice-based medication searches.
- Allow users to ask pharmaceutical questions through speech.
- Provide spoken medication explanations.
- Support accessible voice navigation.
- Maintain privacy controls for voice interactions.
Advanced AI Model Integration
- Support additional locally hosted AI models.
- Integrate approved external AI services.
- Provide model selection and configuration.
- Support specialized pharmaceutical information models.
- Maintain consistent safety validation across AI providers.
Pharmaceutical Research Integration
- Connect clinical trial databases.
- Retrieve published pharmaceutical research.
- Integrate medical literature repositories.
- Identify relevant clinical evidence.
- Provide research references and publication information.
- Distinguish research findings from approved medication indications.
Supply Chain Intelligence
- Integrate authorized manufacturer information.
- Identify participating pharmaceutical distributors.
- Track available supply-chain information.
- Identify relevant product shortages.
- Support pharmaceutical provenance research.
Pharmacy Delivery Integration
- Connect participating pharmacy delivery services.
- Compare available delivery options.
- Display estimated delivery costs and timelines.
- Support legally compliant fulfillment workflows.
- Identify delivery restrictions and geographic limitations.
Telepharmacy Integration
- Connect authorized remote pharmacist consultation services.
- Support pharmacist question referrals.
- Provide appointment scheduling integrations.
- Support secure communication with participating pharmacy professionals.
Caregiver and Family Management
- Provide expanded household medication management.
- Support caregiver-authorized profiles.
- Manage multiple medication schedules.
- Provide configurable caregiver notifications.
- Support delegated access and revocation.
Self-Hosted AI Integration
- Support locally hosted AI inference.
- Provide configurable local pharmaceutical knowledge retrieval.
- Support independently managed AI infrastructure.
- Reduce dependence on external AI service providers.
- Preserve mandatory safety and source-validation requirements.
Advanced Analytics
- Analyze medication spending trends.
- Compare pharmaceutical pricing across markets.
- Identify historical price fluctuations.
- Generate personalized medication expense reports.
- Provide aggregated, privacy-preserving market intelligence.
Advanced Reporting
- Generate medication summaries.
- Produce medication interaction reports.
- Create pharmaceutical price comparison reports.
- Generate medication expense and savings reports.
- Support configurable exports.
Developer Extension Framework
- Provide documented plugin interfaces.
- Support independently developed integrations.
- Define plugin permissions and security requirements.
- Support versioned plugin compatibility.
- Provide extension validation and auditing.
- Allow independent developers to contribute specialized functionality.
Specification Branding License (SBL)
Standard
- Fully AGPL-3.0+ compliant system
- Copyleft enforced for network deployments
- Required attribution:
- Roxanne Ardary
- https://www.roxanneardary.com/
Optional
- Specification Branding License (SBL)
- Attribution-free commercial deployment
- Pricing based on scale, usage, and deployment scope
- https://roxanneardary.com/medicompare/
License & Notice Requirements
MediCompare is released under the GNU Affero General Public License v3.0 or later (AGPL-3.0+).
By contributing to any Open Arsenal project, you agree that your contributions will also be released under this license.
Please note the following:
- All contributions must comply with the AGPL-3.0+ terms.
- Under Section 7 of the license, all redistributions, forks, and derivative works must preserve attribution to:
Roxanne Ardary and roxanneardary.com. - MediCompare specifications are free to use with attribution. A Specification Branding License can be negotiated upon request.
- The project’s notice.md file tracks attribution requirements and contributor acknowledgments.
Any update that adds new contributors or modifies attribution should also updatenotice.md. - When submitting a pull request, ensure that any new files maintain the attribution headers where applicable.
- Network-deployed versions of this software must also remain fully AGPL-3.0+ compliant, including exposure of source code modifications when applicable under the license.
For full legal details, please refer to the AGPL-3.0+ license and the project’s notice.md file.
Notice – MediCompare
Attribution Requirement: Under Section 7 of the AGPL 3.0+ license, all redistributions, forks, and derivative works, including network-deployed versions of this project, must provide attribution to Roxanne Ardary and roxanneardary.com.
Contributors
This file tracks contributors and their specific contributions to the project.
- Roxanne Ardary, roxanneardary.com – November 29, 2026
Created the repository for MediCompare. Developed the initial project concept and specification for an open-source, AI-powered global medication and pharmacy comparison platform featuring pharmacy verification, pharmaceutical safety intelligence, medication price optimization, and healthcare product discovery. - [Add other contributors here] – [Date]
[Describe contribution in one sentence]
License – MediCompare
This repository is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0+).
Key Points:
- You are free to use, modify, and distribute the code.
- All redistributions, forks, and derivative works or network-deployed versions must also be licensed under AGPL-3.0+ and provide attribution to Roxanne Ardary and roxanneardary.com as required under Section 7 of the license.
- The software is provided “as is,” without warranty of any kind.
For the full license text, see GNU AGPL-3.0 License.



