Metadata-Version: 2.4
Name: aion-clinical
Version: 2.0.1
Summary: Formal temporal and causal structure for consistent clinical data across systems (HL7 v2, FHIR, MLLP). v2.0.1 adds FM-3 sections §11/§15/§18/§20/§21/§22. EUPL-1.2 / commercial dual license.
Author-email: Friedhelm Matten <licensing@iscad-it.de>
Maintainer-email: ISCaD GmbH <licensing@iscad-it.de>
License-Expression: EUPL-1.2
Project-URL: Source, https://codeberg.org/iscad/aion
Project-URL: PyPI, https://pypi.org/project/aion-clinical/
Project-URL: Changelog, https://pypi.org/project/aion-clinical/#history
Project-URL: Theoretical Foundation, https://doi.org/10.5281/zenodo.19548857
Project-URL: Issues, https://codeberg.org/iscad/aion/issues
Keywords: clinical,healthcare,medical-informatics,ontology,causal-inference,temporal-logic,fhir,hl7,mllp,differential-privacy,federated-learning,explainable-ai,shapley,AION
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE-COMMERCIAL.md
License-File: NOTICE
Requires-Dist: PyYAML>=6.0
Provides-Extra: numeric
Requires-Dist: numpy>=1.24; extra == "numeric"
Provides-Extra: gui
Requires-Dist: PySide6>=6.5; extra == "gui"
Provides-Extra: fhir
Requires-Dist: fhir.resources>=7.0; extra == "fhir"
Provides-Extra: causal
Requires-Dist: dowhy>=0.11; extra == "causal"
Requires-Dist: numpy>=1.24; extra == "causal"
Requires-Dist: pandas>=2.0; extra == "causal"
Provides-Extra: dowhy
Requires-Dist: dowhy>=0.11; extra == "dowhy"
Requires-Dist: numpy>=1.24; extra == "dowhy"
Requires-Dist: pandas>=2.0; extra == "dowhy"
Provides-Extra: notebook
Requires-Dist: jupyter>=1.0; extra == "notebook"
Requires-Dist: ipython>=8.0; extra == "notebook"
Requires-Dist: matplotlib>=3.5; extra == "notebook"
Requires-Dist: networkx>=3.0; extra == "notebook"
Provides-Extra: verify
Requires-Dist: z3-solver>=4.12; extra == "verify"
Provides-Extra: ldap
Requires-Dist: ldap3>=2.9; extra == "ldap"
Provides-Extra: oidc
Requires-Dist: authlib>=1.3; extra == "oidc"
Requires-Dist: requests>=2.31; extra == "oidc"
Provides-Extra: dev
Requires-Dist: pytest>=7.4; extra == "dev"
Requires-Dist: pytest-cov>=4.1; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Requires-Dist: mypy>=1.5; extra == "dev"
Provides-Extra: api
Requires-Dist: fastapi>=0.110; extra == "api"
Requires-Dist: uvicorn[standard]>=0.27; extra == "api"
Requires-Dist: pydantic>=2.6; extra == "api"
Requires-Dist: python-multipart>=0.0.9; extra == "api"
Provides-Extra: postgres
Requires-Dist: asyncpg>=0.29; extra == "postgres"
Provides-Extra: mllp
Requires-Dist: redis>=5.0; extra == "mllp"
Provides-Extra: monitoring
Requires-Dist: prometheus_client>=0.20; extra == "monitoring"
Provides-Extra: oidc-keycloak
Requires-Dist: python-jose[cryptography]>=3.3; extra == "oidc-keycloak"
Provides-Extra: federation
Provides-Extra: all
Requires-Dist: aion-clinical[api,causal,fhir,gui,ldap,numeric,oidc,verify]; extra == "all"
Provides-Extra: full
Requires-Dist: aion-clinical[api,fhir,mllp,monitoring,oidc-keycloak,postgres]; extra == "full"
Dynamic: license-file

# AION — Algebraic Interval Ontology for Clinical Networks

**Formal model for clinical information systems.**
Foundation Module FM-3. Dual-licensed: EUPL-1.2 / Commercial.

---

## Repository Status

This Codeberg repository contains the **initial concept commit** of AION
from April 2026, comprising the foundation module (FM-3), the
Contributor License Agreement, the dual-license declaration, and the
file-header template.

The **active software development has continued elsewhere.** The current
release is published on PyPI; this repository serves as a historical
anchor for the original concept and the dual-licensing setup.

## Current Software — install from PyPI

The actively maintained software is published on PyPI:

```
pip install aion-clinical
```

- **PyPI:** <https://pypi.org/project/aion-clinical/>
- **Latest release:** 1.10.1 (May 2026)
- **License badge:** EUPL-1.2

The PyPI distribution includes:

- Type hierarchy and Allen interval algebra
- Temporal Conditional Frequency Graphs (TCFG) for pattern mining
- FHIR R4 import/export
- HL7 v2 file import
- HL7 v2 MLLP live listener (real-time)
- Pluggable authentication (API-Key, LDAP/AD, OIDC)
- Append-only audit trail
- SQLite storage (PostgreSQL backend planned)
- Optional GUI (PySide6) and Jupyter integration
- Optional causal inference via DoWhy

For a complete release history and the full changelog, see the PyPI
project page or the package's own `CHANGELOG.md`.

## Theoretical Foundation

The mathematical foundation of AION — type hierarchy semantics,
Allen-algebra interval relations, TCFG semantics, and the causal
inference framework — is documented as a separate scholarly artifact
and archived on Zenodo with its own DOI:

**DOI:** [10.5281/zenodo.19548857](https://doi.org/10.5281/zenodo.19548857)

Please cite the Zenodo record when referring to the **theoretical model**.
The software itself currently does not have a separate software-DOI;
when citing a specific software version, the canonical reference is
the PyPI release identifier (e.g. `aion-clinical 1.10.1`).

## Licensing

AION is offered under a **dual license**:

- **EUPL-1.2** (European Union Public Licence v1.2) for open-source use.
  Full text: see `LICENSE` in the PyPI distribution and at
  <https://joinup.ec.europa.eu/collection/eupl/>
- **Commercial license** available for proprietary integration,
  redistribution under non-EUPL terms, or settings where EUPL
  obligations are not desired.

For commercial licensing inquiries, please contact:

> **ISCaD GmbH**
> 30900 Wedemark, Germany
> [licensing@iscad-it.de](mailto:licensing@iscad-it.de)

The Contributor License Agreement (`CLA.md`) and the commercial
license terms (`LICENSE-COMMERCIAL.md`) in this repository document
the dual-licensing setup as established at project initiation.

## Disclaimer

AION Clinical is **not a certified medical device** under the EU Medical
Device Regulation (MDR 2017/745). It is provided as a research and
informatics tool. Use in patient care requires appropriate clinical
governance, validation, and — where applicable — separate regulatory
certification.

See the `NOTICE` file for the full disclaimer.

## Contact

| Topic | Contact |
| --- | --- |
| Commercial licensing, pilot inquiries, partnerships | <licensing@iscad-it.de> |
| Bug reports, feature requests | via PyPI release notes (preferred) |
| Theoretical / academic correspondence | <licensing@iscad-it.de> |

---

*Repository maintained by Friedhelm Matten / ISCaD GmbH.
Last updated: May 2026.*
