Homeopathy Symptom Checker

Describe your symptoms to find homeopathic remedies that may align with your experience.

Important Disclaimer

This tool is for informational and educational purposes only. It is NOT a substitute for professional medical advice, diagnosis, or treatment from a qualified homeopathic practitioner or medical doctor. Always seek the advice of a professional for any medical condition.

Describe Your Symptoms

Please provide a detailed description of your main complaint. Include physical sensations, emotional state, and what makes your symptoms better or worse. For example: "Sudden high fever with a red, hot face. I feel very restless, anxious, and thirsty for cold drinks."

No strong matches found based on your description. Try adding more specific details about your physical and emotional state.

`; resultsContainer.classList.remove('hidden'); return; } let remediesHTML = ''; analysisResults.remedies.forEach(remedy => { remediesHTML += `

${remedy.name}

${remedy.desc}

Matching Keywords:

${remedy.matchedWords.map(word => `${word}`).join('')}
`; }); const resultsHTML = `

Potential Remedy Matches

${remediesHTML}

Remember: This is Not a Prescription

This list represents remedies that have an affinity for the symptoms you described. The art of homeopathy lies in finding the single best match. Use this information to have a more productive discussion with a qualified homeopathic practitioner.

`; resultsContainer.innerHTML = resultsHTML; resultsContainer.classList.remove('hidden'); document.getElementById('download-pdf-btn').addEventListener('click', downloadPdf); resultsContainer.scrollIntoView({ behavior: 'smooth' }); } function downloadPdf() { if (!analysisResults) return; const { jsPDF } = window.jspdf; const doc = new jsPDF(); // Header doc.setFontSize(22); doc.setFont('helvetica', 'bold'); doc.text('Homeopathy Symptom Summary', 105, 20, { align: 'center' }); doc.setFontSize(11); doc.text(`Date: ${new Date().toLocaleDateString()}`, 105, 28, { align: 'center' }); // User Input doc.setFontSize(14); doc.setFont('helvetica', 'bold'); doc.text('Your Symptom Description:', 14, 45); doc.setFontSize(11); doc.setFont('helvetica', 'normal'); const userInputLines = doc.splitTextToSize(analysisResults.userInput, 180); doc.text(userInputLines, 14, 52); // Results let finalY = 52 + (userInputLines.length * 7); doc.setFontSize(14); doc.setFont('helvetica', 'bold'); doc.text('Potential Remedy Matches:', 14, finalY + 10); analysisResults.remedies.forEach(remedy => { finalY += 15; if (finalY > 260) { doc.addPage(); finalY = 20; } doc.setFontSize(12); doc.setFont('helvetica', 'bold'); doc.text(remedy.name, 14, finalY); doc.setFontSize(10); doc.setFont('helvetica', 'normal'); const descLines = doc.splitTextToSize(remedy.desc, 180); doc.text(descLines, 14, finalY + 6); finalY += (descLines.length * 5) + 3; doc.setFont('helvetica', 'italic'); doc.text(`Matching keywords: ${remedy.matchedWords.join(', ')}`, 14, finalY + 4); finalY += 5; }); // Disclaimer if (finalY > 240) { doc.addPage(); finalY = 20; } doc.setFontSize(12); doc.setFont('helvetica', 'bold'); doc.setTextColor(239, 68, 68); // Red doc.text('Important Disclaimer', 14, finalY + 15); doc.setFontSize(10); doc.setTextColor(0, 0, 0); // Black const disclaimerText = doc.splitTextToSize("This tool is for informational and educational purposes only and is NOT a substitute for professional medical advice from a qualified homeopathic practitioner or medical doctor.", 180); doc.text(disclaimerText, 14, finalY + 22); doc.save('Homeopathy-Symptom-Summary.pdf'); } // --- EVENT LISTENERS --- findRemedyBtn.addEventListener('click', findMatchingRemedies); });
Scroll to Top