/* * Constructs a Disease objects and sets its name, date, * and whether it is chronic or cured */ public Disease(string name, CustomDate date, bool Chronic, bool Cured) { this.name = name; this.diagnosisDate = date; this.isChronic = Chronic; this.isCured = Cured; }
/* * Constructs the procedure and defines the summary, description, and date */ public Procedure(string summary, string description, CustomDate date, List <Organ> organsAffected) { this.summary = summary; this.description = description; this.date = date; this.organsAffected = organsAffected; }