public interface DiagnosisDAO
Diagnosis saveDiagnosis(Diagnosis diagnosis) throws DAOException
diagnosis - the diagnosis to saveDAOException - exception thrown if error occurs while saving the diagnosisDiagnosis getDiagnosisById(Integer diagnosisId) throws DAOException
diagnosisId - the id of the diagnosis to look forDAOException - exception thrown if error occurs while getting the diagnosisDiagnosis getDiagnosisByUuid(String uuid)
uuid - the uuid to search for in the database.void deleteDiagnosis(Diagnosis diagnosis) throws DAOException
diagnosis - the diagnosis to deleteDAOException - exception thrown if error occurs while deleting the diagnosisList<Diagnosis> getDiagnosesByEncounter(Encounter encounter, boolean primaryOnly, boolean confirmedOnly)
List<Diagnosis> getDiagnosesByVisit(Visit visit, boolean primaryOnly, boolean confirmedOnly)
List<Diagnosis> getActiveDiagnoses(Patient patient, Date fromDate)
patient - the patient whose active diagnoses are being queried.fromDate - the start date for the check of active diagnosisList<DiagnosisAttributeType> getAllDiagnosisAttributeTypes() throws DAOException
DAOExceptionDiagnosisService.getAllDiagnosisAttributeTypes()DiagnosisAttributeType getDiagnosisAttributeTypeById(Integer id) throws DAOException
DAOExceptionDiagnosisService.getDiagnosisAttributeTypeById(Integer)DiagnosisAttributeType getDiagnosisAttributeTypeByUuid(String uuid) throws DAOException
DAOExceptionDiagnosisService.getDiagnosisAttributeTypeByUuid(String)DiagnosisAttributeType saveDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType) throws DAOException
void deleteDiagnosisAttributeType(DiagnosisAttributeType diagnosisAttributeType) throws DAOException
DAOExceptionorg.openmrs.api.DiagnosisService#deleteDiagnosisAttributeType(DiagnosisAttributeType)DiagnosisAttribute getDiagnosisAttributeByUuid(String uuid) throws DAOException
DAOExceptionDiagnosisService.getDiagnosisAttributeByUuid(String)Copyright © 2024 OpenMRS Inc.. All rights reserved.