File size: 1,751 Bytes
be06c46
69e015a
be06c46
8a16650
69e015a
 
 
8a16650
 
21067cf
8a16650
69e015a
 
8a16650
 
69e015a
21067cf
 
8a16650
21067cf
be06c46
 
 
 
21067cf
be06c46
 
21067cf
 
be06c46
69e015a
 
8a16650
69e015a
8a16650
69e015a
8a16650
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# /home/user/app/config/settings.py
from pydantic_settings import BaseSettings
from pathlib import Path
from typing import Optional # IMPORTED Optional

class Settings(BaseSettings):
    APP_TITLE: str = "Quantum Healthcare Navigator"
    DATABASE_URL: str = "sqlite:///./medqa_app.db"
    LOG_LEVEL: str = "INFO"

    OPENAI_API_KEY: Optional[str] = None
    UMLS_API_KEY: Optional[str] = None
    BIOPORTAL_API_KEY: Optional[str] = None
    GEMINI_API_KEY: Optional[str] = None # Kept for flexibility, but agent uses OpenAI
    SECRET_KEY: str = "your_strong_secret_key_for_the_application_f34f1923s"

    MAIN_DISCLAIMER_SHORT: str = (
        "AI for informational support only. Not a diagnostic tool. "
        "Verify information with clinical judgment. **Do not enter real PHI.**"
    )
    MAIN_DISCLAIMER_LONG: str = (
        "This AI-powered tool is intended for informational and educational purposes to support healthcare professionals. "
        "It is NOT a diagnostic tool, does not provide medical advice, and should NOT be used as a substitute for "
        "independent professional medical judgment, diagnosis, or treatment. Always verify information with trusted clinical "
        "resources and apply your professional expertise. **Do not input real Patient Health Information (PHI) into this system.**"
    )
    SIMULATION_DISCLAIMER: str = (
        "Features described as 'Quantum' or involving optimization are currently **simulated for demonstration "
        "purposes** and do not utilize actual quantum computing hardware or validated quantum algorithms for clinical decision-making."
    )

    class Config:
        env_file = ".env"
        env_file_encoding = 'utf-8'
        extra = "ignore"

settings = Settings()