MIT License with Medical Software Disclaimer

Copyright (c) 2024 Ronald Marca

IMPORTANT NOTICE - READ CAREFULLY

This software is provided for RESEARCH and EDUCATIONAL purposes only.

===============================================================================
DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY
===============================================================================

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

THIS SOFTWARE IS NOT FDA-APPROVED, CE-MARKED, OR REGULATORY CLEARED FOR
CLINICAL DIAGNOSTIC USE.

THIS SOFTWARE SHALL NOT BE USED FOR:
- Primary clinical diagnosis
- Treatment decision making
- Patient care without appropriate clinical oversight
- Any purpose that affects patient health without human expert review

===============================================================================
MEDICAL DISCLAIMER
===============================================================================

This software is intended for use by qualified medical professionals and
researchers as a DECISION SUPPORT TOOL ONLY. All results generated by this
software must be:

1. Reviewed by qualified medical professionals
2. Validated against clinical standards
3. Interpreted in the context of complete patient information
4. Used only as supplementary information to standard clinical practice

The developers, contributors, and distributors of this software:
- Make no claims regarding clinical accuracy or diagnostic performance
- Assume no liability for clinical decisions based on this software
- Provide no warranty of fitness for any particular medical purpose
- Accept no responsibility for patient outcomes

===============================================================================
DATA PRIVACY AND SECURITY
===============================================================================

Users of this software are responsible for:
- Compliance with HIPAA, GDPR, and local data protection regulations
- Proper handling and storage of patient data
- Obtaining appropriate patient consents
- Implementing adequate security measures
- De-identification of data where required

===============================================================================
RESEARCH AND EDUCATIONAL USE
===============================================================================

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to use
the Software for research and educational purposes, subject to the following
conditions:

1. The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software.

2. Any publications, presentations, or research outputs using this Software
   shall cite the Software appropriately.

3. Modifications to the Software for research purposes are permitted, provided
   they are clearly documented and attributed.

4. Commercial use requires separate licensing agreement.

===============================================================================
PROHIBITED USES
===============================================================================

WITHOUT EXPLICIT WRITTEN PERMISSION, THIS SOFTWARE SHALL NOT BE:

- Used for clinical diagnosis or patient care
- Integrated into medical devices
- Deployed in production clinical environments
- Used for regulatory submissions
- Commercialized or sold
- Incorporated into proprietary software

===============================================================================
LIMITATION OF LIABILITY
===============================================================================

IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS, CONTRIBUTORS, OR
DISTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE,
INCLUDING BUT NOT LIMITED TO:

- Direct, indirect, incidental, special, exemplary, or consequential damages
- Loss of use, data, or profits
- Business interruption
- Medical malpractice claims
- Patient harm or injury
- Regulatory non-compliance penalties

===============================================================================
ACKNOWLEDGMENTS
===============================================================================

This software incorporates or is built upon work from:
- nnUNet framework (https://github.com/MIC-DKFZ/nnUNet)
- PyQt6 (https://www.riverbankcomputing.com/software/pyqt/)
- VTK (https://vtk.org/)
- pydicom (https://github.com/pydicom/pydicom)
- And other open-source libraries listed in requirements.txt

All third-party software components retain their original licenses.

===============================================================================
CONTACT AND LICENSING INQUIRIES
===============================================================================

For commercial licensing, regulatory compliance assistance, or validation
studies, please contact:

Email: rnldmarca@gmail.com 

===============================================================================

BY USING THIS SOFTWARE, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS LICENSE,
UNDERSTAND IT, AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
