> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telepatia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deteccao de Paciente

> Extrai automaticamente nome e documento do paciente da pagina do EMR em tempo real.

Extrai automaticamente nome e documento do paciente da pagina do EMR em tempo real.

The panel initializes an `EmrPlatformHandler` that creates a platform-specific patient extractor based on the detected EMR. A `MutationObserver` watches the DOM for changes to patient-related elements.

When patient information changes (navigation to a new chart), the extractor re-runs and updates the panel display. The extracted name is also used by the mismatch guard and as a fallback display name when the session has no patient assigned.
