-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPatient.h
More file actions
41 lines (32 loc) · 809 Bytes
/
Patient.h
File metadata and controls
41 lines (32 loc) · 809 Bytes
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
#pragma once
#include"Person.h"
#include"pRecord.h"
#include<iostream>
using namespace std;
class Patient : public Person
{
private:
int pr_pID;
pRecord** pr_record_history;
int pr_record_no;
public:
Patient();
Patient(int, int, int, int, int, int, const char*, const char*);
Patient(int);
Patient(Patient&);
void SetpID(int);
//void AddRecord();
void AddRecord(const char*, int, mDate, mTime, float, float);
void DeleteRecord(int);
void Delete_Latest_Record();
void printRecords();
void print_specific_Record(int);
void print_latest_record();
void AddData();
void AddData(int, int, int, int, int, int, const char*, const char*);
int GetpID();
int GetNoOFRecords();
pRecord** GetRecords();
friend ostream& operator <<(ostream&, Patient&);
~Patient();
};