%% {init: {'theme': 'dark', 'themeVariables': {'nodePadding': 0, 'fontSize': '8px'}}}%%
flowchart TB
classDef default font-size:8px,padding:0px
paciente[Paciente]
subgraph peri["`Perioperatorio`"]
direction LR
preop[Preop]
iq["`Intervención`"]
postop[Postop]
reingreso["`Reingreso<br/>Estado 90 días`"]
end
subgraph onco["`Oncología`"]
direction LR
dx["`Diagnóstico`"]
followup["`Seguimiento<br/>Cáncer Pulmón`"]
end
estado[Estado Vital]
paciente --> peri
preop --> iq --> postop --> reingreso
dx --> followup
peri --> onco
onco --> estado