const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const proceduresSchema = new Schema(
  {
    furtherrecommendation: {
      type: Array,
    },
    treatment: {
      type: Array,
    },
	issues: {
      type: Array,
    },
	equipments: {
      type: Array,
    },
	intime: {
      type: String,
    },
	outtime: {
      type: String,
    },
	doctorid: {
      type: String,
    },
	userid: {
      type: String,
    },
	remark: {
      type: String,
    },
	date: {
      type: String,
    },
	charges: {
      type: String,
    },
	status: {
      type: String,
    },
	documentfiles: {
      type: String,
    },
	
  },
  { timestamps: true }
);

module.exports = mongoose.model("Homevisit", proceduresSchema);
