text: var mongoose = require('mongoose'); 
  var Suregon = require('./surgeon');
  var Patient = require('./patient');
  //var PreOp = require('./preOp');
  //var PostOp = require('./postOp');
  
  module.exports = mongoose.model('Surgery', {
  	surgeryName: String,
      aboutOp: String,
      preOps: [{
  				title: String,
  				details: String,
  				daysRelativeToOp: Number,
  				beforeAfter: String,
  				duration: Number,
  				interval: Number,
  				time: Number //in mins
  			}],
  	//postOps: [{
  	//	title: String,
  	//	details: String,
  	//	daysRelativeToOp: Number,
  	//	beforeAfter: String,
  	//	duration: Number,
  	//	interval: Number
  	//}],
  	private: {type:Boolean, default: false},
  	email: {type:String, default: ""},
  	registryDate: { type: Date, default: Date.now },
      updatedDate: { type: Date, default: Date.now },
      author: {type: String, default: 'Dr. William House'}
  });