public List <PatientClinicalNotes> getPatientClinicalNotesByVisitId(int patientId, int PatientMasterVisitId) { IPatientClinicalNotesRepository notesRepository = new PatientClinicalNotesRepository(); var notesList = notesRepository.GetAll().Where(x => x.PatientId == patientId & x.PatientMasterVisitId == PatientMasterVisitId); return(notesList.ToList()); }
public List <PatientClinicalNotes> getPatientClinicalNotesByCategory(int patientId, int categoryId) { IPatientClinicalNotesRepository notesRepository = new PatientClinicalNotesRepository(); var notesList = notesRepository.GetAll().Where(x => x.PatientId == patientId & x.NotesCategoryId == categoryId); return(notesList.ToList()); }