Download index.html from barry225/barry: direct link, hf CLI and curl.
- Browser
- Download file 53.2 kB
-
https://huggingface.co/spaces/barry225/barry/resolve/main/index.html
- Command line
-
hf download hf://spaces/barry225/barry/index.html
-
curl -L -o index.html https://huggingface.co/spaces/barry225/barry/resolve/main/index.html
53.2 kB
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Clinique Neurologique Mobile</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .symptom-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.1); | |
| } | |
| .progress-bar { | |
| transition: width 0.5s ease-in-out; | |
| } | |
| .diagnosis-card { | |
| animation: fadeIn 0.5s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .neuro-exam-section { | |
| border-left: 4px solid #3b82f6; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <div class="container mx-auto px-4 py-8 max-w-6xl"> | |
| <!-- En-tête --> | |
| <header class="text-center mb-12"> | |
| <h1 class="text-4xl font-bold text-blue-800 mb-2">Assistant NeuroDiagnostic</h1> | |
| <p class="text-lg text-gray-600">Outil complet d'évaluation des symptômes neurologiques et d'hypothèses diagnostiques</p> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5 mt-4"> | |
| <div id="progress-bar" class="progress-bar bg-blue-600 h-2.5 rounded-full" style="width: 0%"></div> | |
| </div> | |
| </header> | |
| <!-- Conteneur principal de l'application --> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <!-- Navigation par onglets --> | |
| <div class="flex border-b border-gray-200"> | |
| <button id="tab-symptoms" class="tab-button active py-4 px-6 font-medium text-blue-600 border-b-2 border-blue-600"> | |
| <i class="fas fa-notes-medical mr-2"></i>Symptômes | |
| </button> | |
| <button id="tab-exam" class="tab-button py-4 px-6 font-medium text-gray-500 hover:text-blue-600"> | |
| <i class="fas fa-clipboard-check mr-2"></i>Examen Neurologique | |
| </button> | |
| <button id="tab-diagnosis" class="tab-button py-4 px-6 font-medium text-gray-500 hover:text-blue-600"> | |
| <i class="fas fa-diagnoses mr-2"></i>Hypothèses Diagnostiques | |
| </button> | |
| </div> | |
| <!-- Contenu des onglets --> | |
| <div class="p-6"> | |
| <!-- Onglet Symptômes --> | |
| <div id="symptoms-tab" class="tab-content"> | |
| <div class="mb-8"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-4">Informations sur le patient</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Âge</label> | |
| <input type="number" id="patient-age" class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Sexe</label> | |
| <select id="patient-gender" class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option value="male">Masculin</option> | |
| <option value="female">Féminin</option> | |
| <option value="other">Autre</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Antécédents médicaux</label> | |
| <input type="text" id="patient-history" placeholder="Ex: Hypertension, Diabète" class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| </div> | |
| </div> | |
| </div> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Sélectionnez les symptômes neurologiques</h2> | |
| <!-- Catégories de symptômes --> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-brain mr-2 text-blue-600"></i> Symptômes cognitifs | |
| </h3> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="cognitive"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="memory_loss"> | |
| <span class="text-gray-700">Perte de mémoire</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="cognitive"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="confusion"> | |
| <span class="text-gray-700">Confusion</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="cognitive"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="disorientation"> | |
| <span class="text-gray-700">Désorientation</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="cognitive"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="difficulty_concentrating"> | |
| <span class="text-gray-700">Difficulté de concentration</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="cognitive"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="language_problems"> | |
| <span class="text-gray-700">Problèmes de langage</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-running mr-2 text-blue-600"></i> Symptômes moteurs | |
| </h3> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="motor"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="weakness"> | |
| <span class="text-gray-700">Faiblesse</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="motor"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="tremor"> | |
| <span class="text-gray-700">Tremblement</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="motor"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="incoordination"> | |
| <span class="text-gray-700">Incoordination</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="motor"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="gait_disturbance"> | |
| <span class="text-gray-700">Trouble de la marche</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="motor"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="muscle_spasms"> | |
| <span class="text-gray-700">Spasmes musculaires</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-pain mr-2 text-blue-600"></i> Symptômes sensitifs | |
| </h3> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="sensory"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="numbness"> | |
| <span class="text-gray-700">Engourdissement</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="sensory"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="tingling"> | |
| <span class="text-gray-700">Picotements</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="sensory"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="pain"> | |
| <span class="text-gray-700">Douleur neuropathique</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="sensory"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="burning_sensation"> | |
| <span class="text-gray-700">Sensation de brûlure</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-head-side-vision mr-2 text-blue-600"></i> Symptômes visuels | |
| </h3> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="visual"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="blurred_vision"> | |
| <span class="text-gray-700">Vision floue</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="visual"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="double_vision"> | |
| <span class="text-gray-700">Vision double</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="visual"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="visual_field_loss"> | |
| <span class="text-gray-700">Perte du champ visuel</span> | |
| </label> | |
| </div> | |
| <div class="symptom-card p-4 border rounded-lg cursor-pointer transition-all duration-300" data-category="visual"> | |
| <label class="flex items-center space-x-3"> | |
| <input type="checkbox" class="form-checkbox h-5 w-5 text-blue-600" value="eye_pain"> | |
| <span class="text-gray-700">Douleur oculaire</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between mt-8"> | |
| <button class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition-colors"> | |
| <i class="fas fa-arrow-left mr-2"></i>Retour | |
| </button> | |
| <button id="next-to-exam" class="px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors"> | |
| Continuer vers l'examen neurologique <i class="fas fa-arrow-right ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Onglet Examen Neurologique (Masqué par défaut) --> | |
| <div id="exam-tab" class="tab-content hidden"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Examen Neurologique</h2> | |
| <div class="space-y-8"> | |
| <!-- État mental --> | |
| <div class="neuro-exam-section pl-4"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-mental-health mr-2 text-blue-600"></i> État mental | |
| </h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Niveau de conscience</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Éveillé</option> | |
| <option>Léthargique</option> | |
| <option>Obnubilé</option> | |
| <option>Stupeur</option> | |
| <option>Coma</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Orientation</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Orienté x3</option> | |
| <option>Désorienté dans le temps</option> | |
| <option>Désorienté dans l'espace</option> | |
| <option>Désorienté à la personne</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Mémoire</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Intacte</option> | |
| <option>Altération légère</option> | |
| <option>Altération modérée</option> | |
| <option>Altération sévère</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Langage</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Aphasie</option> | |
| <option>Dysarthrie</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Nerfs crâniens --> | |
| <div class="neuro-exam-section pl-4"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-skull mr-2 text-blue-600"></i> Nerfs crâniens | |
| </h3> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Olfactif (I)</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Intact</option> | |
| <option>Altéré</option> | |
| <option>Absent</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Optique (II)</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Déficit du champ visuel</option> | |
| <option>Atrophie optique</option> | |
| <option>Papillœdème</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Oculomoteur (III)</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Ptosis</option> | |
| <option>Anomalie pupillaire</option> | |
| <option>Limitation des mouvements oculaires</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Facial (VII)</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Lésion du motoneurone supérieur</option> | |
| <option>Lésion du motoneurone inférieur</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Examen moteur --> | |
| <div class="neuro-exam-section pl-4"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-dumbbell mr-2 text-blue-600"></i> Examen moteur | |
| </h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-3">Force musculaire</h4> | |
| <div class="space-y-3"> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-gray-700">Membres supérieurs</span> | |
| <select class="w-32 px-3 py-1 border rounded-lg"> | |
| <option>5/5</option> | |
| <option>4/5</option> | |
| <option>3/5</option> | |
| <option>2/5</option> | |
| <option>1/5</option> | |
| <option>0/5</option> | |
| </select> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-gray-700">Membres inférieurs</span> | |
| <select class="w-32 px-3 py-1 border rounded-lg"> | |
| <option>5/5</option> | |
| <option>4/5</option> | |
| <option>3/5</option> | |
| <option>2/5</option> | |
| <option>1/5</option> | |
| <option>0/5</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-3">Tonus musculaire</h4> | |
| <div class="space-y-3"> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-gray-700">Membres supérieurs</span> | |
| <select class="w-32 px-3 py-1 border rounded-lg"> | |
| <option>Normal</option> | |
| <option>Hypotonie</option> | |
| <option>Hypertonie</option> | |
| <option>Spastique</option> | |
| <option>Rigide</option> | |
| </select> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-gray-700">Membres inférieurs</span> | |
| <select class="w-32 px-3 py-1 border rounded-lg"> | |
| <option>Normal</option> | |
| <option>Hypotonie</option> | |
| <option>Hypertonie</option> | |
| <option>Spastique</option> | |
| <option>Rigide</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Réflexes --> | |
| <div class="neuro-exam-section pl-4"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-hammer mr-2 text-blue-600"></i> Réflexes | |
| </h3> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Bicipital</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>0</option> | |
| <option>1+</option> | |
| <option>2+</option> | |
| <option>3+</option> | |
| <option>4+</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Tricipital</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>0</option> | |
| <option>1+</option> | |
| <option>2+</option> | |
| <option>3+</option> | |
| <option>4+</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Rotulien</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>0</option> | |
| <option>1+</option> | |
| <option>2+</option> | |
| <option>3+</option> | |
| <option>4+</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Achilléen</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>0</option> | |
| <option>1+</option> | |
| <option>2+</option> | |
| <option>3+</option> | |
| <option>4+</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Examen sensitif --> | |
| <div class="neuro-exam-section pl-4"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-hand-paper mr-2 text-blue-600"></i> Examen sensitif | |
| </h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-3">Toucher léger</h4> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Diminué</option> | |
| <option>Absent</option> | |
| <option>Hyperesthésie</option> | |
| </select> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-3">Piqûre</h4> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Diminué</option> | |
| <option>Absent</option> | |
| <option>Hyperalgésie</option> | |
| </select> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-3">Vibration</h4> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Diminué</option> | |
| <option>Absent</option> | |
| </select> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-3">Proprioception</h4> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Altérée</option> | |
| <option>Absente</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Coordination et marche --> | |
| <div class="neuro-exam-section pl-4"> | |
| <h3 class="text-xl font-medium text-gray-700 mb-4 flex items-center"> | |
| <i class="fas fa-walking mr-2 text-blue-600"></i> Coordination & Marche | |
| </h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Test doigt-nez</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Dysmétrie</option> | |
| <option>Tremblement d'intention</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Test talon-genou</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Dysmétrie</option> | |
| <option>Ataxie</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Test de Romberg</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Négatif</option> | |
| <option>Positif</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Marche</label> | |
| <select class="w-full px-4 py-2 border rounded-lg focus:ring-blue-500 focus:border-blue-500"> | |
| <option>Normal</option> | |
| <option>Ataxique</option> | |
| <option>Spastique</option> | |
| <option>Parkinsonienne</option> | |
| <option>Steppage</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between mt-8"> | |
| <button id="back-to-symptoms" class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition-colors"> | |
| <i class="fas fa-arrow-left mr-2"></i>Retour aux symptômes | |
| </button> | |
| <button id="generate-diagnosis" class="px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors"> | |
| Générer des hypothèses diagnostiques <i class="fas fa-diagnoses ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Onglet Hypothèses Diagnostiques (Masqué par défaut) --> | |
| <div id="diagnosis-tab" class="tab-content hidden"> | |
| <h2 class="text-2xl font-semibold text-gray-800 mb-6">Hypothèses Diagnostiques</h2> | |
| <div class="bg-blue-50 border-l-4 border-blue-500 p-4 mb-6"> | |
| <div class="flex"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-info-circle text-blue-500 text-xl"></i> | |
| </div> | |
| <div class="ml-3"> | |
| <p class="text-sm text-blue-700"> | |
| Basé sur les symptômes et les résultats de l'examen, voici les diagnostics neurologiques les plus probables. | |
| Ce sont des hypothèses qui doivent être confirmées par des examens complémentaires et une corrélation clinique. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <!-- Diagnostic principal --> | |
| <div class="diagnosis-card bg-white p-6 rounded-xl shadow-md border-t-4 border-blue-600"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-star text-blue-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800">Diagnostic le plus probable</h3> | |
| </div> | |
| <div id="primary-diagnosis" class="text-2xl font-bold text-blue-800 mb-3">Migraine avec aura</div> | |
| <div class="text-gray-600 mb-4"> | |
| <span class="font-medium">Probabilité :</span> | |
| <span class="text-blue-600 font-bold">78%</span> | |
| </div> | |
| <div class="mb-4"> | |
| <h4 class="font-medium text-gray-700 mb-2">Caractéristiques concordantes :</h4> | |
| <ul class="list-disc pl-5 text-gray-600 space-y-1"> | |
| <li>Céphalées récurrentes avec aura visuelle</li> | |
| <li>Pas de déficit neurologique focal</li> | |
| <li>Examen neurologique normal</li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-700 mb-2">Examens recommandés :</h4> | |
| <ul class="list-disc pl-5 text-gray-600 space-y-1"> | |
| <li>Diagnostic clinique - imagerie non systématique</li> | |
| <li>Considérer une IRM en cas de caractéristiques atypiques</li> | |
| <li>Journal des céphalées</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Diagnostics différentiels --> | |
| <div class="diagnosis-card bg-white p-6 rounded-xl shadow-md border-t-4 border-gray-300"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-gray-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-list-ul text-gray-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800">Diagnostics différentiels</h3> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="border-b border-gray-200 pb-4"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <div class="font-bold text-gray-800">Accident ischémique transitoire (AIT)</div> | |
| <div class="text-sm text-gray-500">Probabilité : 15%</div> | |
| </div> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">À considérer</span> | |
| </div> | |
| <div class="mt-2 text-sm text-gray-600"> | |
| <span class="font-medium">Caractéristiques clés :</span> Début brutal, facteurs de risque vasculaire présents | |
| </div> | |
| </div> | |
| <div class="border-b border-gray-200 pb-4"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <div class="font-bold text-gray-800">Crise partielle</div> | |
| <div class="text-sm text-gray-500">Probabilité : 5%</div> | |
| </div> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Moins probable</span> | |
| </div> | |
| <div class="mt-2 text-sm text-gray-600"> | |
| <span class="font-medium">Caractéristiques clés :</span> Épisodes stéréotypés, confusion post-critique | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <div class="font-bold text-gray-800">Sclérose en plaques</div> | |
| <div class="text-sm text-gray-500">Probabilité : 2%</div> | |
| </div> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Peu probable</span> | |
| </div> | |
| <div class="mt-2 text-sm text-gray-600"> | |
| <span class="font-medium">Caractéristiques clés :</span> Nécessiterait une dissémination dans le temps et l'espace | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Confiance diagnostique --> | |
| <div class="mt-8 bg-white p-6 rounded-xl shadow-md"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4">Confiance Diagnostique</h3> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-base font-medium text-gray-700">Confiance dans le diagnostic principal</span> | |
| <span class="text-sm font-medium text-gray-700">85%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-green-600 h-2.5 rounded-full" style="width: 85%"></div> | |
| </div> | |
| </div> | |
| <div class="text-gray-600"> | |
| Le système a une grande confiance dans le diagnostic principal basé sur les symptômes saisis et les résultats de l'examen. | |
| Envisager des examens complémentaires si des signes d'alerte sont présents. | |
| </div> | |
| </div> | |
| <!-- Prochaines étapes --> | |
| <div class="mt-8 bg-white p-6 rounded-xl shadow-md"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-4">Prochaines étapes recommandées</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-blue-50 p-4 rounded-lg border border-blue-100"> | |
| <div class="flex items-center mb-2"> | |
| <div class="bg-blue-100 p-2 rounded-full mr-3"> | |
| <i class="fas fa-vial text-blue-600"></i> | |
| </div> | |
| <h4 class="font-medium text-gray-800">Examens diagnostiques</h4> | |
| </div> | |
| <ul class="list-disc pl-5 text-gray-600 text-sm space-y-1"> | |
| <li>IRM cérébrale (si caractéristiques atypiques)</li> | |
| <li>EEG (si crise suspectée)</li> | |
| <li>Échographie carotidienne (si AIT suspecté)</li> | |
| </ul> | |
| </div> | |
| <div class="bg-green-50 p-4 rounded-lg border border-green-100"> | |
| <div class="flex items-center mb-2"> | |
| <div class="bg-green-100 p-2 rounded-full mr-3"> | |
| <i class="fas fa-pills text-green-600"></i> | |
| </div> | |
| <h4 class="font-medium text-gray-800">Options thérapeutiques</h4> | |
| </div> | |
| <ul class="list-disc pl-5 text-gray-600 text-sm space-y-1"> | |
| <li>Triptans pour la migraine aiguë</li> | |
| <li>Propranolol pour la prophylaxie de la migraine</li> | |
| <li>Éviter les déclencheurs de migraine</li> | |
| </ul> | |
| </div> | |
| <div class="bg-purple-50 p-4 rounded-lg border border-purple-100"> | |
| <div class="flex items-center mb-2"> | |
| <div class="bg-purple-100 p-2 rounded-full mr-3"> | |
| <i class="fas fa-user-md text-purple-600"></i> | |
| </div> | |
| <h4 class="font-medium text-gray-800">Orientation</h4> | |
| </div> | |
| <ul class="list-disc pl-5 text-gray-600 text-sm space-y-1"> | |
| <li>Consultation neurologique si diagnostic incertain</li> | |
| <li>Spécialiste des céphalées si réfractaire</li> | |
| <li>Ophtalmologie si symptômes visuels persistants</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between mt-8"> | |
| <button id="back-to-exam" class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition-colors"> | |
| <i class="fas fa-arrow-left mr-2"></i>Retour à l'examen | |
| </button> | |
| <button class="px-6 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors"> | |
| Sauvegarder le rapport <i class="fas fa-save ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Pied de page --> | |
| <footer class="mt-12 text-center text-gray-500 text-sm"> | |
| <p>Assistant NeuroDiagnostic - À des fins éducatives uniquement. Ne pas utiliser en clinique.</p> | |
| <p class="mt-1">© 2023 Outils de Diagnostic Neurologique. Tous droits réservés.</p> | |
| </footer> | |
| </div> | |
| <script> | |
| // Navigation par onglets | |
| const tabs = { | |
| symptoms: document.getElementById('symptoms-tab'), | |
| exam: document.getElementById('exam-tab'), | |
| diagnosis: document.getElementById('diagnosis-tab') | |
| }; | |
| const tabButtons = { | |
| symptoms: document.getElementById('tab-symptoms'), | |
| exam: document.getElementById('tab-exam'), | |
| diagnosis: document.getElementById('tab-diagnosis') | |
| }; | |
| // Fonction de changement d'onglet | |
| function switchTab(tabName) { | |
| // Masquer tous les onglets | |
| Object.values(tabs).forEach(tab => tab.classList.add('hidden')); | |
| // Retirer la classe active de tous les boutons | |
| Object.values(tabButtons).forEach(button => { | |
| button.classList.remove('text-blue-600', 'border-blue-600'); | |
| button.classList.add('text-gray-500'); | |
| }); | |
| // Afficher l'onglet sélectionné et marquer le bouton comme actif | |
| tabs[tabName].classList.remove('hidden'); | |
| tabButtons[tabName].classList.add('text-blue-600', 'border-blue-600'); | |
| tabButtons[tabName].classList.remove('text-gray-500'); | |
| // Mettre à jour la barre de progression | |
| updateProgressBar(tabName); | |
| } | |
| // Mettre à jour la barre de progression en fonction de l'onglet actuel | |
| function updateProgressBar(tabName) { | |
| const progressBar = document.getElementById('progress-bar'); | |
| let progress = 0; | |
| switch(tabName) { | |
| case 'symptoms': | |
| progress = 33; | |
| break; | |
| case 'exam': | |
| progress = 66; | |
| break; | |
| case 'diagnosis': | |
| progress = 100; | |
| break; | |
| } | |
| progressBar.style.width = `${progress}%`; | |
| } | |
| // Écouteurs d'événements pour les boutons d'onglet | |
| tabButtons.symptoms.addEventListener('click', () => switchTab('symptoms')); | |
| tabButtons.exam.addEventListener('click', () => switchTab('exam')); | |
| tabButtons.diagnosis.addEventListener('click', () => switchTab('diagnosis')); | |
| // Boutons de navigation | |
| document.getElementById('next-to-exam').addEventListener('click', () => { | |
| // Ici, vous valideriez typiquement les symptômes avant de continuer | |
| switchTab('exam'); | |
| }); | |
| document.getElementById('back-to-symptoms').addEventListener('click', () => switchTab('symptoms')); | |
| document.getElementById('generate-diagnosis').addEventListener('click', () => { | |
| // Ici, vous traiteriez typiquement les données de l'examen avant de générer le diagnostic | |
| generateDiagnosis(); | |
| switchTab('diagnosis'); | |
| }); | |
| document.getElementById('back-to-exam').addEventListener('click', () => switchTab('exam')); | |
| // Interaction avec les cartes de symptômes | |
| const symptomCards = document.querySelectorAll('.symptom-card'); | |
| symptomCards.forEach(card => { | |
| card.addEventListener('click', function() { | |
| const checkbox = this.querySelector('input[type="checkbox"]'); | |
| checkbox.checked = !checkbox.checked; | |
| if (checkbox.checked) { | |
| this.classList.add('border-blue-300', 'bg-blue-50'); | |
| } else { | |
| this.classList.remove('border-blue-300', 'bg-blue-50'); | |
| } | |
| }); | |
| }); | |
| // Ceci serait remplacé par une logique diagnostique réelle dans une application réelle | |
| function generateDiagnosis() { | |
| // Dans une vraie application, cela analyserait les symptômes et les résultats de l'examen | |
| // pour générer des diagnostics différentiels avec des probabilités | |
| // À des fins de démonstration, nous affichons simplement des données d'exemple | |
| const primaryDiagnosis = document.getElementById('primary-diagnosis'); | |
| primaryDiagnosis.textContent = "Migraine avec aura"; // Ce serait dynamique | |
| // Vous mettriez également à jour les diagnostics différentiels, les niveaux de confiance, etc. | |
| } | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=barry225/barry" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |