Files
HIS-GUI/tests/test_final.txt

51 lines
1.5 KiB
Plaintext

patient add p001 zhangsan 30 male 1234567890
patient add p002 lisi 40 female 0987654321
patient list
patient update p001 zhangsan_updated 31 male 1234567890
patient update p001 zhangsan_inpatient 32 male 1234567890 Inpatient
patient list
patient update p002 lisi_discharged 41 female 0987654321 Discharged
patient list
patient add p_age0 baby 0 male phone
patient add p_age_max oldman 150 male phone
patient add p_special "zhang@san#123" 25 male "123-456"
patient add p_long "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 25 male "phone"
patient list
patient add p_unicode 张龙 30 男 "1234567890"
patient find 张
medicine add m001 aspirin Aspirin dep1 100 1.5
medicine add m002 paracetamol Paracetamol dep1 50 2.0
medicine add m003 ibuprofen Ibuprofen dep2 0 3.5
medicine stock inc m001 50
medicine stock dec m001 20
medicine stock dec m001 130
medicine stock dec m001 1
medicine add m_free free_sample FreeVersion dep3 10 0
medicine add m_expensive expensive_drug Gold dep3 5 999999.99
medicine list
medicine find aspirin
medicine find Aspirin
medicine find xyz_not_found
doctor add d001 wangdoctor Cardiology Chief "Mon AM"
doctor add d002 liudoctor Neurology Attending "Tue PM"
doctor add d_special "dr.@wang!" Dept Chief "Any"
doctor list
ward add w001 Dept1 Normal 10
ward bed add w001 b001
ward bed add w001 b002
ward add w_big Dept2 ICU 1000
ward add w_zero Dept3 Normal 0
ward list
patient admit w001 p001
ward list
doctor save
patient save
medicine save
ward save
doctor load
patient load
medicine load
ward load
patient list
exit