See the stars

MedixAI Specification

Home / MedixAI / MedixAI Specification

MedixAI

Turning Data Into Accountability.


MedixAI is an open-source, AI-powered healthcare financial intelligence, fraud detection, and government spending accountability specification. It is designed to systematically collect, integrate, and analyze publicly available data from the U.S. Department of Health and Human Services (HHS) Open Data Portal and other supported public healthcare data sources to identify potential fraud indicators, duplicate billings, unusual reimbursements, statistical anomalies, and questionable healthcare spending patterns.

MedixAI provides a comprehensive analytical framework for examining Medicaid, Medicare, and other government-funded healthcare programs. Through automated data acquisition, cross-dataset correlation, statistical benchmarking, machine learning, provider intelligence, and explainable AI, the platform helps identify spending irregularities that may otherwise remain undetected. Its objective is to make healthcare financial information more accessible, investigative findings more transparent, and public healthcare spending more accountable.

The specification establishes a modular architecture that supports independent analytical engines, interoperable data sources, extensible detection models, configurable investigation workflows, and community-developed plugins. Core fraud detection and analytical capabilities must remain available without requiring paid third-party AI services.

Core Objectives

  • Provide comprehensive analytical coverage of available HHS public datasets.
  • Identify potential healthcare billing fraud and financial irregularities.
  • Detect duplicate billing entries and potentially duplicated reimbursements.
  • Identify providers with unusually high Medicaid and Medicare reimbursements.
  • Compare provider billing patterns against appropriate statistical benchmarks.
  • Detect unusual billing frequencies, reimbursement increases, and spending patterns.
  • Correlate information across multiple healthcare datasets.
  • Identify potential fraud indicators through statistical analysis and machine learning.
  • Provide historical healthcare spending analysis.
  • Quantify the potential financial impact of identified anomalies.
  • Make analytical findings understandable, traceable, and independently verifiable.
  • Provide accessible tools for researchers, journalists, auditors, policymakers, and the public.
  • Protect sensitive information and preserve data integrity.
  • Support transparent, reproducible, and independently auditable analysis.

Core Modules

HHS Data Acquisition Module

Provides comprehensive access to publicly available datasets through the HHS Open Data Portal.

  • HHS Open Data Portal integration.
  • Automated dataset discovery and cataloging.
  • Comprehensive ingestion of accessible datasets within the defined project scope.
  • Support for CSV, JSON, XML, API endpoints, and other supported formats.
  • Automated dataset retrieval and synchronization.
  • Historical dataset collection and archival.
  • Scheduled data updates.
  • Dataset version tracking.
  • Source attribution and provenance tracking.
  • Data availability monitoring.
  • Identification of unavailable, incomplete, or discontinued datasets.
  • Dataset metadata extraction.
  • Automated ingestion validation.
  • Data source change detection.
  • Support for additional public healthcare data sources.
  • Dataset coverage reporting.
  • Ingestion progress monitoring.
  • Failure detection and recovery.

The module must distinguish between datasets successfully processed, partially processed, unavailable, and unsupported. It must not represent incomplete catalog coverage as comprehensive analysis.

Data Normalization and Validation Module

Standardizes incoming information to support accurate cross-dataset analysis.

  • Data cleaning and normalization.
  • Field and schema standardization.
  • Provider name normalization.
  • National Provider Identifier (NPI) validation.
  • Financial amount normalization.
  • Date and reporting period standardization.
  • Healthcare procedure and service code normalization.
  • Missing value identification.
  • Invalid record detection.
  • Inconsistent record identification.
  • Duplicate record preprocessing.
  • Data quality scoring.
  • Source record preservation.
  • Dataset integrity verification.
  • Conflicting information identification.
  • Data transformation documentation.
  • Validation history tracking.

Original source records must remain distinguishable from normalized and transformed records to preserve analytical reproducibility.

Cross-Dataset Intelligence Module

Correlates information across independently published healthcare datasets to identify relationships and irregularities.

  • Cross-dataset provider matching.
  • Provider identity reconciliation.
  • Medicaid and Medicare data correlation.
  • Historical provider record matching.
  • Cross-program reimbursement analysis.
  • Cross-state provider analysis.
  • Organizational relationship identification where supported by public records.
  • Financial record correlation.
  • Conflicting provider information detection.
  • Multiple-source verification.
  • Historical data relationship tracking.
  • Identification of recurring patterns across datasets.
  • Cross-dataset anomaly discovery.
  • Source-level confidence measurements.
  • Relationship provenance tracking.

The module must distinguish confirmed identity matches from probable matches and unresolved relationships.

Medicaid Analytics Module

Provides comprehensive analysis of Medicaid spending, reimbursements, and provider billing patterns.

  • Provider-level Medicaid reimbursement analysis.
  • Total Medicaid billing calculations.
  • Provider reimbursement comparisons.
  • State-by-state Medicaid spending analysis.
  • Regional reimbursement comparisons.
  • Specialty-specific billing analysis.
  • Procedure-specific reimbursement analysis.
  • Average and median reimbursement calculations.
  • Provider billing volume comparisons.
  • Historical Medicaid spending analysis.
  • Unusually high reimbursement identification.
  • Unusual reimbursement growth detection.
  • Billing frequency analysis.
  • Provider spending concentration analysis.
  • Medicaid expenditure trend identification.
  • Comparative provider benchmarking.
  • Identification of unusual billing distributions.
  • Detection of statistically significant reimbursement deviations.
  • Analysis of available Medicaid payment and utilization records.

Medicare Analytics Module

Analyzes Medicare spending and provider reimbursement information.

  • Medicare provider payment analysis.
  • Provider-level reimbursement comparisons.
  • Historical Medicare expenditure analysis.
  • Unusually high reimbursement identification.
  • Provider billing trend analysis.
  • Reimbursement growth detection.
  • Statistical outlier identification.
  • Specialty-specific benchmarking.
  • Geographic spending comparisons.
  • Cross-program provider analysis.
  • Unusual payment pattern identification.
  • Medicare expenditure concentration analysis.
  • Identification of recurring reimbursement anomalies.
  • Comparison of Medicare and Medicaid participation and reimbursement patterns.

Duplicate Billing Detection Module

Identifies potentially duplicated billing records and reimbursement activity.

  • Exact duplicate record detection.
  • Potential duplicate billing identification.
  • Repeated payment entry detection.
  • Provider, service, date, and amount matching.
  • Repeated procedure code analysis.
  • Overlapping service period detection.
  • Potential duplicate reimbursement identification.
  • Fuzzy matching for records containing minor differences.
  • Cross-dataset duplicate identification.
  • Repeated billing frequency analysis.
  • Duplicate provider record identification.
  • Historical duplicate pattern analysis.
  • Duplicate financial impact calculations.
  • Configurable duplicate detection criteria.
  • Evidence-linked duplicate findings.

The module must distinguish between identical records, potentially duplicated claims, legitimate recurring services, and confirmed duplicate payments. Aggregate datasets must not be represented as providing claim-level duplicate detection when individual claim records are unavailable.

Statistical Analysis and Benchmarking Module

Establishes meaningful financial and operational comparisons between healthcare providers.

  • National reimbursement averages.
  • State-level reimbursement averages.
  • Regional reimbursement averages.
  • Specialty-specific averages.
  • Procedure-specific averages.
  • Provider category comparisons.
  • Median reimbursement calculations.
  • Percentile-based analysis.
  • Standard deviation calculations.
  • Statistical significance testing.
  • Outlier detection.
  • Reimbursement distribution analysis.
  • Provider volume comparisons.
  • Historical benchmark comparisons.
  • Geographic cost comparisons.
  • Configurable comparison groups.
  • Statistical deviation reporting.
  • Benchmark methodology documentation.

Provider comparisons must account for relevant differences in specialty, geography, service volume, patient population where available, and other factors that influence legitimate reimbursement variation.

AI Anomaly Detection Module

Uses machine learning and statistical methods to identify unusual healthcare spending and billing behavior.

  • Unsupervised anomaly detection.
  • Isolation Forest analysis.
  • Clustering-based anomaly identification.
  • Statistical outlier detection.
  • Time-series anomaly detection.
  • Unusual reimbursement growth detection.
  • Sudden billing increase identification.
  • Unusual billing frequency detection.
  • Unusual service volume identification.
  • Abnormal reimbursement distribution detection.
  • Provider behavior deviation analysis.
  • Geographic anomaly identification.
  • Multi-variable anomaly detection.
  • Unusual procedure and reimbursement combinations.
  • Recurring anomaly identification.
  • Configurable detection thresholds.
  • Anomaly sensitivity controls.
  • Historical anomaly comparisons.
  • Model performance monitoring.
  • Detection confidence measurements.

The module must support explainable detection methods and provide the underlying factors responsible for each anomaly.

Fraud Pattern Recognition Module

Identifies billing patterns and financial behaviors that may warrant further investigation.

  • Potential duplicate billing patterns.
  • Potential upcoding indicators.
  • Potential unbundling indicators.
  • Unusual reimbursement frequency.
  • Excessive service billing indicators.
  • Unusual procedure combinations.
  • Abnormal provider reimbursement growth.
  • Unusual geographic billing concentrations.
  • Potentially excessive billing relative to comparable providers.
  • Repeated anomalous reimbursement patterns.
  • Unusual provider activity changes.
  • Cross-program billing irregularities.
  • Known healthcare fraud pattern analysis.
  • Emerging fraud indicator identification.
  • Configurable detection rules.
  • Historical fraud pattern comparisons.
  • Multi-indicator correlation.
  • Fraud indicator documentation.

Fraud pattern recognition must identify potential indicators rather than make unsupported determinations of criminal conduct or fraudulent intent.

Provider Intelligence Module

Creates comprehensive analytical profiles for healthcare providers and organizations.

  • National Provider Identifier integration.
  • Provider identity matching.
  • Provider name and organization identification.
  • Provider specialty information.
  • Geographic provider information.
  • Publicly available organizational information.
  • Medicaid participation analysis.
  • Medicare participation analysis.
  • Historical reimbursement records.
  • Provider billing volume analysis.
  • Provider spending trends.
  • Specialty-specific comparisons.
  • Geographic provider comparisons.
  • Provider reimbursement profiles.
  • Unusual billing behavior identification.
  • Provider activity timelines.
  • Publicly documented ownership relationship analysis.
  • Provider identity conflict detection.
  • Consolidated provider intelligence profiles.

Provider information must include source references and distinguish between verified public records and inferred relationships.

Financial Impact Analysis Module

Evaluates the potential financial significance of identified billing anomalies and suspicious spending patterns.

  • Estimated duplicate payment calculations.
  • Potentially questionable reimbursement aggregation.
  • Provider-level financial impact analysis.
  • State-level financial impact analysis.
  • National healthcare expenditure analysis.
  • Historical financial impact comparisons.
  • Estimated exposure calculations.
  • High-value anomaly identification.
  • Recurring anomaly financial aggregation.
  • Reimbursement trend comparisons.
  • Potential financial recovery opportunity analysis.
  • Spending concentration analysis.
  • Financial impact prioritization.
  • Supporting calculation documentation.

Financial impact estimates must clearly distinguish confirmed financial losses from estimated exposure and potentially questionable payments.

Risk Assessment and Scoring Module

Prioritizes analytical findings based on measurable indicators and supporting evidence.

  • Provider-level anomaly scoring.
  • Individual finding severity scoring.
  • Duplicate billing indicators.
  • Statistical deviation measurements.
  • Financial impact weighting.
  • Historical behavior comparisons.
  • Detection confidence measurements.
  • Multiple anomaly correlation.
  • Configurable scoring criteria.
  • Risk prioritization.
  • Score explanation and documentation.
  • Historical score comparisons.
  • False-positive tracking.
  • Human-reviewed finding status.
  • Model and rule version tracking.

Risk scores must represent analytical prioritization rather than determinations of fraud, guilt, or legal liability. The scoring methodology must be transparent and independently reviewable.

AI Investigation Assistant Module

Provides natural-language interaction with indexed datasets and analytical findings.

  • Natural-language data queries.
  • Conversational healthcare spending analysis.
  • Provider billing history summaries.
  • Automated anomaly explanations.
  • Comparative provider analysis.
  • Investigation assistance.
  • Related dataset recommendations.
  • Supporting record identification.
  • Suggested analytical queries.
  • Automated investigation summaries.
  • Historical pattern explanations.
  • Financial impact explanations.
  • Evidence-linked findings.
  • Report drafting assistance.
  • Natural-language statistical analysis.
  • Human-reviewed investigation workflows.

The AI assistant must distinguish source information, statistical findings, model-generated interpretations, and unverified hypotheses. It must not fabricate supporting records, financial figures, or investigative conclusions.

Investigation and Case Management Module

Provides structured workflows for reviewing and documenting potential healthcare billing irregularities.

  • Investigation record creation.
  • Anomaly-to-case association.
  • Investigation status tracking.
  • Case prioritization.
  • Supporting record attachment.
  • Source dataset references.
  • Evidence provenance tracking.
  • Investigation notes.
  • Reviewer documentation.
  • Human approval workflows.
  • Finding verification status.
  • Investigation history.
  • Case relationship identification.
  • Investigation report generation.
  • Evidence export.
  • Complete investigative audit trails.

The module must distinguish automated findings, analyst-reviewed findings, and independently verified conclusions.

Dashboard and Visualization Module

Provides interactive access to healthcare spending information and analytical findings.

  • National healthcare expenditure dashboard.
  • Medicaid spending dashboard.
  • Medicare spending dashboard.
  • Provider reimbursement dashboard.
  • State-by-state spending comparisons.
  • Regional spending comparisons.
  • Geographic anomaly visualization.
  • Duplicate billing dashboard.
  • High-reimbursement provider dashboard.
  • Statistical outlier dashboard.
  • Provider comparison charts.
  • Historical spending graphs.
  • Financial impact visualizations.
  • Provider investigation timelines.
  • Searchable provider records.
  • Searchable anomaly records.
  • Configurable analytical filters.
  • Customizable dashboard views.
  • Interactive data exploration.
  • Exportable visualizations.

Reporting and Export Module

Generates accessible and reproducible analytical reports.

  • Provider reimbursement reports.
  • Duplicate billing reports.
  • Anomaly detection reports.
  • Medicaid expenditure reports.
  • Medicare expenditure reports.
  • State comparison reports.
  • National spending reports.
  • Historical trend reports.
  • Financial impact reports.
  • Investigation reports.
  • Supporting evidence documentation.
  • Source dataset references.
  • CSV exports.
  • JSON exports.
  • Spreadsheet-compatible exports.
  • PDF reports.
  • Custom report generation.
  • Scheduled reporting.
  • Public transparency reports.

All reports must identify their source datasets, reporting periods, analytical methods, and relevant limitations.

Transparency and Public Accountability Module

Makes healthcare spending analysis accessible to the public and independent researchers.

  • Public-facing analytical dashboards.
  • Searchable provider spending information.
  • Public anomaly statistics.
  • State-level spending comparisons.
  • National expenditure analysis.
  • Historical healthcare spending comparisons.
  • Published detection methodologies.
  • Transparent scoring criteria.
  • Dataset source citations.
  • Downloadable analytical results.
  • Independent verification support.
  • Community-contributed detection rules.
  • Public reporting of aggregate findings.
  • Documented analytical limitations.
  • Reproducible findings.
  • Public methodology documentation.

Public reporting must distinguish statistical anomalies from verified misconduct and must not expose protected health information or unsupported allegations.

Data Security and Privacy Module

Protects the integrity, confidentiality, and appropriate use of healthcare-related information.

  • Encryption at rest and in transit.
  • Secure authentication.
  • Role-based access controls.
  • Secure API authorization.
  • Data source verification.
  • Cryptographic dataset checksums.
  • Immutable analytical audit logs.
  • Sensitive information detection.
  • Personally identifiable information safeguards.
  • Protected health information safeguards.
  • Data minimization.
  • Secure data retention policies.
  • Access monitoring.
  • Export permissions.
  • Data integrity monitoring.
  • Privacy-preserving analytical workflows.
  • Sensitive information exclusion and redaction.
  • Secure configuration management.

The platform must not attempt to reidentify patients or expose protected health information. Public data must not automatically be assumed to be unrestricted or free of privacy obligations.

API and Integration Module

Provides standardized interfaces for accessing MedixAI functionality and integrating additional applications.

  • REST API endpoints.
  • Dataset access interfaces.
  • Provider intelligence endpoints.
  • Anomaly query endpoints.
  • Statistical analysis endpoints.
  • Investigation record interfaces.
  • Reporting endpoints.
  • Authentication and authorization.
  • API request validation.
  • Rate limiting.
  • API documentation.
  • Versioned interfaces.
  • External application integration.
  • Plugin communication.
  • Structured data exchange.
  • Integration monitoring.

Model Governance and Evaluation Module

Ensures that analytical models remain transparent, reproducible, and accountable.

  • Model version management.
  • Detection rule version management.
  • Model performance monitoring.
  • False-positive evaluation.
  • False-negative evaluation where ground truth is available.
  • Detection accuracy measurements.
  • Model explainability.
  • Training data documentation.
  • Evaluation dataset management.
  • Human feedback integration.
  • Model drift monitoring.
  • Reproducible model execution.
  • Bias and fairness evaluation.
  • Model comparison.
  • Model approval workflows.
  • Historical performance tracking.
  • Analytical methodology documentation.

Models must not be automatically treated as accurate merely because they identify unusual activity. Performance must be evaluated against appropriately validated reference data wherever available.


Optional Plugin Modules

Optional plugins extend the platform’s data coverage, analytical capabilities, integrations, and reporting functionality without making core fraud detection dependent on external extensions.

State Medicaid Data Connector Plugin

  • State Medicaid expenditure datasets.
  • State-specific provider payment information.
  • State reimbursement schedules.
  • State healthcare spending reports.
  • State-level provider comparisons.
  • State dataset synchronization.

Additional Federal Data Connector Plugin

  • Additional publicly available federal datasets.
  • Federal expenditure information.
  • Government contract and payment records.
  • Public healthcare program datasets.
  • Federal provider information.
  • Cross-agency data correlation.

Provider Ownership Intelligence Plugin

  • Publicly documented provider ownership information.
  • Organizational relationship mapping.
  • Corporate affiliation analysis.
  • Healthcare organization relationship visualization.
  • Public ownership record correlation.

Prescription Analytics Plugin

  • Prescription spending analysis.
  • Prescription reimbursement comparisons.
  • Drug expenditure trends.
  • Prescription utilization analysis where available.
  • Unusual prescription spending identification.
  • Cross-provider prescription analytics.

Hospital Financial Intelligence Plugin

  • Hospital expenditure analysis.
  • Hospital reimbursement comparisons.
  • Hospital financial trend analysis.
  • Public hospital cost report integration.
  • Facility-level spending comparisons.
  • Unusual hospital expenditure identification.

Advanced Geospatial Intelligence Plugin

  • Geographic spending analysis.
  • Provider concentration mapping.
  • Regional reimbursement comparisons.
  • Geographic anomaly detection.
  • Healthcare spending distribution visualization.
  • Regional trend analysis.

Advanced Machine Learning Plugin

  • Additional anomaly detection algorithms.
  • Advanced clustering.
  • Neural network analysis.
  • Deep learning models.
  • Advanced time-series forecasting.
  • Custom model integration.

Advanced Visualization Plugin

  • Specialized analytical charts.
  • Advanced geographic visualization.
  • Relationship graphs.
  • Interactive financial comparisons.
  • Custom dashboard components.
  • Advanced data exploration.

Public Reporting Plugin

  • Automated public report publishing.
  • Public investigation summaries.
  • Downloadable analytical reports.
  • Public spending comparisons.
  • Scheduled transparency reports.
  • Publication approval workflows.

Notification and Alert Plugin

  • New anomaly notifications.
  • High-value anomaly alerts.
  • Provider activity change notifications.
  • Dataset update notifications.
  • Scheduled analytical summaries.
  • Configurable alert thresholds.
  • Email and supported external notification integrations.

Scheduled Analysis Plugin

  • Automated recurring analysis.
  • Scheduled dataset processing.
  • Periodic provider benchmarking.
  • Historical anomaly comparisons.
  • Automated reporting schedules.
  • Analysis execution monitoring.

External Audit Plugin

  • Independent analytical review.
  • External auditor access controls.
  • Evidence package generation.
  • Audit history exports.
  • Analytical reproducibility verification.
  • Independent finding documentation.

Custom Detection Rules Plugin

  • Community-developed detection rules.
  • Configurable analytical criteria.
  • Custom billing pattern identification.
  • Additional anomaly indicators.
  • Rule validation.
  • Rule version management.
  • Detection rule sharing.

Additional Healthcare Programs Plugin

  • Support for additional government healthcare programs.
  • Program-specific reimbursement analysis.
  • Program-specific expenditure comparisons.
  • Cross-program financial analysis.
  • Additional provider participation information.

Research Analytics Plugin

  • Advanced statistical research.
  • Custom analytical studies.
  • Historical expenditure research.
  • Healthcare spending trend analysis.
  • Research dataset exports.
  • Reproducible analytical workflows.

Specification Branding License (SBL)

Standard

Optional


License & Notice Requirements

MedixAI 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.
  • MedixAI 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 update notice.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 – MedixAI

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 27, 2026
    Created the repository for MedixAI. Established the project concept, architecture, modular specifications, and feature requirements for an open-source AI-powered healthcare financial intelligence and fraud detection platform designed to analyze HHS data, identify suspicious billing patterns, detect anomalies, and promote transparency and accountability in government healthcare spending.
  • [Add other contributors here] – [Date]
    [Describe contribution in one sentence]

License – MedixAI

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.