public PatientBasedDataWindow(MainWindow parent)
        {
            InitializeComponent();
            parentWindow = parent;
            this.Left = parent.Left + parent.Width;
            this.Top = parent.Top;
            ViewModel_Instance = new PatientBasedDataViewModal(this);
            this.DataContext = ViewModel_Instance;

        }
 public PatientBasedDataModel(PatientBasedDataViewModal parentVM)
 {
     this.parentVM = parentVM;
 }