Update Diabetic Dost for KEM Hospital
This commit is contained in:
@@ -88,7 +88,7 @@ class PatientRegistry:
|
||||
|
||||
with self.lock:
|
||||
existing = self.find_patient(p_name)
|
||||
p_id = existing.get("patient_id") if existing else f"DMH_PAT_{re.sub(r'[^a-zA-Z0-9]', '', p_name)[:6].upper()}_{int(datetime.now().timestamp()) % 10000:04d}"
|
||||
p_id = existing.get("patient_id") if existing else f"KEM_PAT_{re.sub(r'[^a-zA-Z0-9]', '', p_name)[:6].upper()}_{int(datetime.now().timestamp()) % 10000:04d}"
|
||||
|
||||
now_iso = datetime.now(timezone.utc).isoformat()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user