Skip to main content

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.

Medera’s medical coding surface is exposed through three endpoints:
EndpointSurfaceUse
POST /api/therapy/suggest-codesAI ServicesStandalone suggestion from diagnosis + procedure text
POST /api/pa/coding-suggestAI ServicesReal-time detection during intake / call (flags PA-required codes)
POST /api/therapy/generate-soap-note-enhancedAI ServicesReturns SOAP with include_billing_codes: true

Supported code systems

SystemCoverage
ICD-10-CMUS diagnosis (F-codes BH range fully covered: F32.0–F34.1, F40–F41, F43, …)
CPTPsychotherapy (90832 / 90834 / 90837), E/M (99213 / 99214 / 99215), assessment (96127)
HCPCS Level IIDME, non-physician services
SNOMED CTClinical terminology (35489007 depression, 48694002 anxiety, …)
LOINCLab observations
RxNormMedications (SSRIs, SNRIs, sleep meds, anxiolytics, …)

Real-time PA detection

realtime_coding_service.py runs during intake to detect codes that require PA. Each suggestion includes:
CodeSuggestion(
    code=str,
    code_system=str,
    description=str,
    confidence=float,
    pa_required=bool,
    pa_urgency=str,
    payer_policy_url=Optional[str],
    evidence_excerpt=str,
)