Bug 798 - Patient cannot be searched after creation
Summary: Patient cannot be searched after creation
Status: RESOLVED FIXED
Alias: None
Product: 2023 CS3343 Group 20 System
Classification: Unclassified
Component: Patient (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- major
Assignee: mhlee64-c
URL:
Depends on:
Blocks:
 
Reported: 2023-11-29 22:26 HKT by mhlee64-c
Modified: 2023-12-09 14:03 HKT (History)
1 user (show)

See Also:


Attachments
testcase for mentioned bug (42.42 KB, image/png)
2023-11-29 22:26 HKT, mhlee64-c
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mhlee64-c 2023-11-29 22:26:23 HKT
Created attachment 156 [details]
testcase for mentioned bug

After adding a new patient to the system, users of the system should be able to search the new patient, in order to perform action like viewing personal information or giving diagnosis, but new patient cannot be searched after creation.

----------------------------------------------------------------------------------
Welcome to CMS!
============================================== Login ===============================================
Please enter your staff ID: n
Please enter your password: n
============================================ Main Menu =============================================
Login as [Nurse] dummy Nurse | n | 
0.	Patient Mangement
1.	Appointment Management
2.	MedRecord Management
3.	Medicine Management
4.	Admin
5.	Logoff
Please select a function: 0
======================================== Patient Mangement =========================================
0.	View Patient
1.	Create Patient
2.	Edit Patient
Please select a function: 1
========================================== Create Patient ==========================================
Please enter the patient's details below
Name: John
HKID: Y123456A
Date of Birth (YYYY-MM-DD): 1999-01-01
Sex: M
Allergies: 
Patient Successfully Added!
-Press enter to go back to main menu-
============================================ Main Menu =============================================
Login as [Nurse] dummy Nurse | n | 
0.	Patient Mangement
1.	Appointment Management
2.	MedRecord Management
3.	Medicine Management
4.	Admin
5.	Logoff
Please select a function: 0
======================================== Patient Mangement =========================================
0.	View Patient
1.	Create Patient
2.	Edit Patient
Please select a function: 0
=========================================== View Patient ===========================================
Please enter the patient's HKID: Y123456A
============================================== ERROR ===============================================
exceptions.PatientNotFoundException: Patient(HKID: Y123456A) not found!