예제 #1
0
        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());
        }
예제 #2
0
        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());
        }