-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHealthCenterSystem.java
More file actions
49 lines (42 loc) · 1.04 KB
/
Copy pathHealthCenterSystem.java
File metadata and controls
49 lines (42 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import java.util.ArrayList;
public class HealthCenterSystem {
//list of patients
private ArrayList<Patient> patients;
//list of universities that can access to information
private ArrayList<University> universities;
/**
* Constructor to make a new Health center system
*/
public HealthCenterSystem()
{}
/**
* Adds a new patient
* @param patient as new patient
*/
public void addPatient(Patient patient)
{}
/**
* Checks if universities can access to name of the patient
* @return
*/
public boolean accessPermission()
{}
/**
* Gets people information with their name if it is possible
* @return
*/
public Patient peopleAllInfo()
{}
/**
* Gets people information without their name
* @return
*/
public History peopleInfo()
{}
/**
* Checks the name of a university and if it was in the list then they can access to information
* @return
*/
public boolean checkUniversity()
{return true;}
}