codigo0/public/assets/images/rcp_posicion_manos_adulto.png
planetazuzu 5d7a6500fe refactor: Fase 1 - Clean Architecture, refactorización modular y eliminación de duplicidades
-  Ticket 1.1: Estructura Clean Architecture en backend
-  Ticket 1.2: Schemas Zod compartidos
-  Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares)
-  Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares)
-  Ticket 1.5: Eliminación de duplicidades (~50 líneas)

Cambios principales:
- Creada estructura Clean Architecture en backend/src/
- Schemas Zod compartidos en backend/src/shared/schemas/
- Refactorización modular de drugs y procedures
- Utilidades genéricas en src/utils/ (filter, validation)
- Eliminados scripts obsoletos y documentación antigua
- Corregidos errores: QueryClient, import test-error-handling
- Build verificado y funcionando correctamente
2026-01-25 21:09:47 +01:00

103 lines
6.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="700" viewBox="0 0 1000 700">
<!-- Fondo -->
<rect width="1000" height="700" fill="#f8f9fa"/>
<!-- Título -->
<rect x="20" y="20" width="960" height="70" fill="#dc3545" rx="8"/>
<text x="500" y="65" font-family="Arial, sans-serif" font-size="28" font-weight="bold" fill="white" text-anchor="middle">POSICIÓN CORRECTA DE MANOS EN COMPRESIONES</text>
<!-- Vista frontal del tórax (esquemática) -->
<g>
<text x="200" y="140" font-family="Arial, sans-serif" font-size="20" font-weight="bold">VISTA FRONTAL</text>
<!-- Tórax esquemático -->
<ellipse cx="200" cy="320" rx="120" ry="180" fill="none" stroke="#6c757d" stroke-width="3"/>
<!-- Líneas de referencia -->
<line x1="80" y1="230" x2="320" y2="230" stroke="#ffc107" stroke-width="2" stroke-dasharray="5,5"/>
<text x="330" y="235" font-family="Arial, sans-serif" font-size="14" fill="#856404">Línea inter-mamilar</text>
<!-- Esternón -->
<rect x="180" y="200" width="40" height="200" fill="#dee2e6" stroke="#6c757d" stroke-width="2" rx="4"/>
<text x="200" y="160" font-family="Arial, sans-serif" font-size="14" fill="#6c757d" text-anchor="middle">Esternón</text>
<!-- Punto de compresión -->
<circle cx="200" cy="300" r="35" fill="none" stroke="#28a745" stroke-width="4"/>
<circle cx="200" cy="300" r="8" fill="#28a745"/>
<text x="200" y="365" font-family="Arial, sans-serif" font-size="14" font-weight="bold" fill="#28a745" text-anchor="middle">PUNTO DE</text>
<text x="200" y="385" font-family="Arial, sans-serif" font-size="14" font-weight="bold" fill="#28a745" text-anchor="middle">COMPRESIÓN</text>
<!-- Flecha indicando centro -->
<path d="M 260 300 L 235 300" stroke="#28a745" stroke-width="3" marker-end="url(#arrowGreen)"/>
<text x="280" y="290" font-family="Arial, sans-serif" font-size="13" fill="#28a745">Centro del</text>
<text x="280" y="305" font-family="Arial, sans-serif" font-size="13" fill="#28a745">tórax</text>
<text x="280" y="320" font-family="Arial, sans-serif" font-size="13" fill="#28a745">(mitad inferior</text>
<text x="280" y="335" font-family="Arial, sans-serif" font-size="13" fill="#28a745">del esternón)</text>
</g>
<!-- Vista lateral -->
<g>
<text x="620" y="140" font-family="Arial, sans-serif" font-size="20" font-weight="bold">VISTA LATERAL</text>
<!-- Paciente en el suelo (esquemático) -->
<rect x="480" y="380" width="300" height="30" fill="#6c757d"/>
<text x="630" y="430" font-family="Arial, sans-serif" font-size="12" fill="#6c757d" text-anchor="middle">Superficie dura</text>
<!-- Cuerpo del paciente (simplificado) -->
<ellipse cx="630" cy="320" rx="80" ry="40" fill="#dee2e6" stroke="#6c757d" stroke-width="2"/>
<line x1="630" y1="280" x2="630" y2="380" stroke="#6c757d" stroke-width="30"/>
<!-- Brazos del reanimador -->
<line x1="630" y1="120" x2="630" y2="280" stroke="#17a2b8" stroke-width="15"/>
<text x="650" y="200" font-family="Arial, sans-serif" font-size="14" fill="#17a2b8" font-weight="bold">Brazos</text>
<text x="650" y="215" font-family="Arial, sans-serif" font-size="14" fill="#17a2b8" font-weight="bold">extendidos</text>
<!-- Manos -->
<rect x="595" y="265" width="70" height="25" fill="#ffc107" stroke="#d39e00" stroke-width="2" rx="3"/>
<text x="630" y="245" font-family="Arial, sans-serif" font-size="14" fill="#856404" font-weight="bold" text-anchor="middle">Talón</text>
<text x="630" y="258" font-family="Arial, sans-serif" font-size="14" fill="#856404" font-weight="bold" text-anchor="middle">de la mano</text>
<!-- Ángulo 90° -->
<path d="M 630 280 L 630 200 L 680 200" stroke="#28a745" stroke-width="2" fill="none"/>
<text x="700" y="205" font-family="Arial, sans-serif" font-size="14" fill="#28a745" font-weight="bold">90°</text>
<!-- Flecha de profundidad -->
<line x1="720" y1="280" x2="720" y2="340" stroke="#dc3545" stroke-width="3" marker-start="url(#arrowRed)" marker-end="url(#arrowRed)"/>
<text x="735" y="315" font-family="Arial, sans-serif" font-size="14" fill="#dc3545" font-weight="bold">5-6 cm</text>
</g>
<!-- Técnica correcta -->
<g>
<rect x="50" y="480" width="450" height="180" fill="#d4edda" stroke="#28a745" stroke-width="3" rx="8"/>
<text x="275" y="510" font-family="Arial, sans-serif" font-size="18" font-weight="bold" fill="#155724" text-anchor="middle"> TÉCNICA CORRECTA</text>
<text x="70" y="540" font-family="Arial, sans-serif" font-size="15" fill="#155724">1. Localizar centro del tórax (mitad inferior esternón)</text>
<text x="70" y="565" font-family="Arial, sans-serif" font-size="15" fill="#155724">2. Talón de una mano sobre el esternón</text>
<text x="70" y="590" font-family="Arial, sans-serif" font-size="15" fill="#155724">3. Segunda mano encima, dedos entrelazados</text>
<text x="70" y="615" font-family="Arial, sans-serif" font-size="15" fill="#155724">4. Brazos extendidos, perpendiculares (90°)</text>
<text x="70" y="640" font-family="Arial, sans-serif" font-size="15" fill="#155724">5. Cargar peso del cuerpo sobre las manos</text>
</g>
<!-- Errores comunes -->
<g>
<rect x="520" y="480" width="450" height="180" fill="#f8d7da" stroke="#dc3545" stroke-width="3" rx="8"/>
<text x="745" y="510" font-family="Arial, sans-serif" font-size="18" font-weight="bold" fill="#721c24" text-anchor="middle"> ERRORES FRECUENTES</text>
<text x="540" y="540" font-family="Arial, sans-serif" font-size="15" fill="#721c24">" Manos demasiado arriba (clavículas) o abajo</text>
<text x="540" y="565" font-family="Arial, sans-serif" font-size="15" fill="#721c24">" Comprimir sobre costillas laterales</text>
<text x="540" y="590" font-family="Arial, sans-serif" font-size="15" fill="#721c24">" Brazos flexionados (no perpendiculares)</text>
<text x="540" y="615" font-family="Arial, sans-serif" font-size="15" fill="#721c24">" Dedos apoyados en tórax (fractura costillas)</text>
<text x="540" y="640" font-family="Arial, sans-serif" font-size="15" fill="#721c24">" Usar solo fuerza de brazos, no peso corporal</text>
</g>
<!-- Definición de flechas -->
<defs>
<marker id="arrowGreen" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto" markerUnits="strokeWidth">
<path d="M0,0 L0,6 L9,3 z" fill="#28a745" />
</marker>
<marker id="arrowRed" markerWidth="10" markerHeight="10" refX="5" refY="5" orient="auto" markerUnits="strokeWidth">
<path d="M0,0 L10,5 L0,10 L3,5 z" fill="#dc3545" />
</marker>
</defs>
</svg>