Documentation Index
Fetch the complete documentation index at: https://docs.medera.info/llms.txt
Use this file to discover all available pages before exploring further.
AdvancedClinicalRAG (ai-services/services/rag/advanced_clinical_rag.py) runs hybrid semantic + BM25 retrieval over medical ontologies, clinical guidelines, drug interactions, and payer-specific PA rules.
Components
- Semantic:
SentenceTransformerembeddings + ChromaDB - Keyword: Custom BM25 index
- Query rewriting:
ClinicalQueryRewriterfor clinical context-aware reformulation - Ontology expansion: SNOMED-CT, ICD-10, RxNorm
Confidence bands
| Band | Range |
|---|---|
VERY_HIGH | ≥ 0.95 |
HIGH | ≥ 0.85 |
MODERATE | ≥ 0.70 |
LOW | ≥ 0.50 |
VERY_LOW | < 0.50 |