feat: match MRN, Gender, DOB, and Age only (removed Name check)

This commit is contained in:
2026-07-15 11:58:20 +05:30
parent e21ed72634
commit d7a8e1910f
2 changed files with 13 additions and 22 deletions
+3 -4
View File
@@ -1148,14 +1148,13 @@
// Extract matching credentials from URL query params
const mrn = urlParams.get('mrn');
const name = urlParams.get('name');
const gender = urlParams.get('gender');
const dob = urlParams.get('dob');
const age = urlParams.get('age');
if (mrn || name) {
if (mrn) {
isMatchingMode = true;
matchParams = { mrn, name, gender, dob, age };
matchParams = { mrn, gender, dob, age };
// Show verification loading overlay initially
const overlay = document.getElementById('verificationOverlay');
@@ -1163,7 +1162,7 @@
overlay.className = 'verification-overlay loading';
document.getElementById('verificationIcon').textContent = '🔄';
document.getElementById('verificationTitle').textContent = 'Verifying Patient Credentials...';
document.getElementById('verificationMsg').textContent = 'Matching MRN, Name, Gender, DOB, and Age with live patient monitors...';
document.getElementById('verificationMsg').textContent = 'Matching MRN, Gender, DOB, and Age with live patient monitors...';
}
initWaveforms();