This is my own take of what i think u are asking for.However i am still working on this and looking for a better design. pls anyone with a better idea or design pls feel free to correct me and share. Thanks
Patient Attribute
Name,Surname,Card_No(Primary Key),Age,Sex,Weight,Height,marital_status
In_Patient
Card_no(Foreign Key),Bed_no(Primary_key),Ward_type,Admission_Date,Discharge_Date,Personnel_in_charge.
Patient_activities
Visit_id,Visit_Date(Primary Key),Visit_type,card_no,personnel_id,Recommendation,Treatment,Personnel_Id(Foreign key),
Medical_history
Treatment,Treatment_Id(primary_key),Visit_id,Card_no,Personnel_id,Designation
Medical_personnel
Name,Surname,user_id,password,speciality,personnel_id,Designation
Pharmacy
Transaction_id,quantity,unit_price,Product_descr, bill