[de9008]: / contract / lib / Report.js

Download this file

33 lines (25 with data), 681 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
'use strict';
class Report {
/**
*
* Report
*
* Constructor for a Report object.
*
* @param args.licenseId - the license number of the Doctor
* @param args.name - name of Doctor
* @param args.age - age of Doctor
* @param args.phNo - phone number of Doctor
* @returns - doctor object
*/
constructor(reportId, patientId, report, isAsked, isGiven/*, recordNo*/) {
this.reportId = reportId;
this.patientId = patientId;
this.report = report;
this.isAsked = isAsked;
this.isGiven = isGiven;
this.type = 'report';
return this;
}
}
module.exports = Report;