-
Notifications
You must be signed in to change notification settings - Fork 1
/
PatientRecord.h
42 lines (31 loc) · 878 Bytes
/
PatientRecord.h
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
//Kanellaki Maria Anna - 1115201400060
#ifndef PATIENTRECORD_H
#define PATIENTRECORD_H
#include "Date.h"
class PatientList;
class PatientRecord { //contains a patient's data
string recordID;
string status; //ENTER or EXIT
string patientFirstName;
string patientLastName;
string diseaseID;
string country;
Date *entryDate;
Date *exitDate;
int age;
bool valid;
public:
PatientRecord(char *, string, char*);
~PatientRecord();
const string &getRecordId() const;
Date *getEntryDate() const;
const string &getDiseaseId() const;
const string &getCountry() const;
Date *getExitDate() const;
bool isValid() const;
void setExitDate(Date *exitDate);
string getWhole();
int getAge() const;
string &getStatus();
};
#endif