示例#1
0
        public int updatePatientClinicalNotes(PatientClinicalNotes PCN)
        {
            IPatientClinicalNotesRepository notesRepository = new PatientClinicalNotesRepository();

            notesRepository.updatePatientClinicalNotes(PCN);
            return(PCN.Id);
        }
示例#2
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());
        }
示例#3
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());
        }