public class Patient extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addPatientInformation(PatientInformation patientInformation,
Comparable value)
Adds patient information,
|
String |
getId()
Returns the patient id,
|
Comparable |
getPatientInformation(PatientInformation patientInformation)
Returns patient information,
|
public Patient(String id)
id - the patient numberpublic String getId()
public void addPatientInformation(PatientInformation patientInformation, Comparable value)
patientInformation - the type of patient information to addvalue - the valuepublic Comparable getPatientInformation(PatientInformation patientInformation)
patientInformation - the type of patient information desiredCopyright © 2014. All rights reserved.