-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMedicalAppointment.cs
More file actions
48 lines (44 loc) · 1.76 KB
/
MedicalAppointment.cs
File metadata and controls
48 lines (44 loc) · 1.76 KB
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
43
44
45
46
47
48
using System;
namespace SimpleSchedulingExample
{
public class MedicalAppointment
{
public static MedicalAppointment Create()
{
return new MedicalAppointment();
}
internal static MedicalAppointment Create(DateTime startTime, DateTime endTime,
int doctorId, string notes, string location, int categoryId, string patientName,
string insuranceNumber, bool firstVisit)
{
MedicalAppointment apt = MedicalAppointment.Create();
apt.StartTime = startTime;
apt.EndTime = endTime;
apt.DoctorId = doctorId;
apt.Notes = notes;
apt.Location = location;
apt.CategoryId = categoryId;
apt.PatientName = patientName;
apt.InsuranceNumber = insuranceNumber;
apt.FirstVisit = firstVisit;
return apt;
}
protected MedicalAppointment() { }
public virtual int Id { get; set; }
public virtual bool AllDay { get; set; }
public virtual DateTime StartTime { get; set; }
public virtual DateTime EndTime { get; set; }
public virtual string PatientName { get; set; }
public virtual string Notes { get; set; }
public virtual string Subject { get; set; }
public virtual int StatusId { get; set; }
public virtual int CategoryId { get; set; }
public virtual int Type { get; set; }
public virtual string Location { get; set; }
public virtual string RecurrenceInfo { get; set; }
public virtual string ReminderInfo { get; set; }
public virtual int? DoctorId { get; set; }
public virtual string InsuranceNumber { get; set; }
public virtual bool FirstVisit { get; set; }
}
}