a b/contract/lib/Report.js
1
'use strict';
2
3
class Report {
4
  /**
5
   *
6
   * Report
7
   *
8
   * Constructor for a Report object.    
9
   *  
10
   * @param args.licenseId - the license number of the Doctor 
11
   * @param args.name - name of Doctor
12
   * @param args.age - age of Doctor
13
   * @param args.phNo - phone number of Doctor
14
   * @returns - doctor object
15
   */
16
  constructor(reportId, patientId, report, isAsked, isGiven/*, recordNo*/) {
17
18
      this.reportId = reportId;
19
      this.patientId = patientId;
20
      this.report = report;
21
      this.isAsked = isAsked;
22
      this.isGiven = isGiven;
23
      this.type = 'report';
24
25
      return this;
26
27
    } 
28
29
  }
30
31
32
33
module.exports = Report;