|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PatientDAO
Database methods for the PatientService
Context
,
PatientService
Method Summary | |
---|---|
void |
deletePatient(Patient patient)
Delete patient from database. |
void |
deletePatientIdentifier(PatientIdentifier patientIdentifier)
|
void |
deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
|
java.util.List<PatientIdentifierType> |
getAllPatientIdentifierTypes(boolean includeRetired)
|
java.util.List<Patient> |
getAllPatients(boolean includeVoided)
|
java.util.List<Patient> |
getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes)
|
Patient |
getPatient(java.lang.Integer patientId)
|
Patient |
getPatientByUuid(java.lang.String uuid)
Auto generated method comment |
PatientIdentifier |
getPatientIdentifier(java.lang.Integer patientIdentifierId)
|
PatientIdentifier |
getPatientIdentifierByUuid(java.lang.String uuid)
|
java.util.List<PatientIdentifier> |
getPatientIdentifiers(java.lang.String identifier,
java.util.List<PatientIdentifierType> patientIdentifierTypes,
java.util.List<Location> locations,
java.util.List<Patient> patients,
java.lang.Boolean isPreferred)
|
PatientIdentifierType |
getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
|
PatientIdentifierType |
getPatientIdentifierTypeByUuid(java.lang.String uuid)
Auto generated method comment |
java.util.List<PatientIdentifierType> |
getPatientIdentifierTypes(java.lang.String name,
java.lang.String format,
java.lang.Boolean required,
java.lang.Boolean hasCheckDigit)
|
java.util.List<Patient> |
getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly)
|
boolean |
isIdentifierInUseByAnotherPatient(PatientIdentifier patientIdentifier)
|
Patient |
savePatient(Patient patient)
|
PatientIdentifier |
savePatientIdentifier(PatientIdentifier patientIdentifier)
|
PatientIdentifierType |
savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
|
Method Detail |
---|
Patient savePatient(Patient patient) throws DAOException
DAOException
PatientService.savePatient(org.openmrs.Patient)
Patient getPatient(java.lang.Integer patientId) throws DAOException
DAOException
PatientService.getPatient(Integer)
void deletePatient(Patient patient) throws DAOException
patient
- patient to be deleted
DAOException
PatientService.deletePatient(org.openmrs.Patient)
,
PatientService.voidPatient(Patient, String)
java.util.List<Patient> getAllPatients(boolean includeVoided) throws DAOException
DAOException
PatientService.getAllPatients(boolean)
java.util.List<Patient> getPatients(java.lang.String name, java.lang.String identifier, java.util.List<PatientIdentifierType> identifierTypes, boolean matchIdentifierExactly) throws DAOException
DAOException
PatientService.getPatients(java.lang.String, java.lang.String,
java.util.List, boolean)
java.util.List<PatientIdentifier> getPatientIdentifiers(java.lang.String identifier, java.util.List<PatientIdentifierType> patientIdentifierTypes, java.util.List<Location> locations, java.util.List<Patient> patients, java.lang.Boolean isPreferred) throws DAOException
DAOException
PatientService.getPatientIdentifiers(java.lang.String, java.util.List,
java.util.List, java.util.List, java.lang.Boolean)
PatientIdentifierType savePatientIdentifierType(PatientIdentifierType patientIdentifierType) throws DAOException
DAOException
PatientService.savePatientIdentifierType(org.openmrs.PatientIdentifierType)
java.util.List<PatientIdentifierType> getAllPatientIdentifierTypes(boolean includeRetired) throws DAOException
DAOException
PatientService.getAllPatientIdentifierTypes(boolean)
java.util.List<PatientIdentifierType> getPatientIdentifierTypes(java.lang.String name, java.lang.String format, java.lang.Boolean required, java.lang.Boolean hasCheckDigit) throws DAOException
DAOException
PatientService.getPatientIdentifierTypes(java.lang.String,
java.lang.String, java.lang.Boolean, java.lang.Boolean)
PatientIdentifierType getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId) throws DAOException
DAOException
PatientService.getPatientIdentifierType(java.lang.Integer)
void deletePatientIdentifierType(PatientIdentifierType patientIdentifierType) throws DAOException
DAOException
PatientService.purgePatientIdentifierType(org.openmrs.PatientIdentifierType)
java.util.List<Patient> getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes) throws DAOException
DAOException
PatientService.getDuplicatePatientsByAttributes(java.util.List)
boolean isIdentifierInUseByAnotherPatient(PatientIdentifier patientIdentifier)
PatientService.isIdentifierInUseByAnotherPatient(PatientIdentifier)
Patient getPatientByUuid(java.lang.String uuid)
uuid
-
PatientIdentifier getPatientIdentifierByUuid(java.lang.String uuid)
PatientIdentifierType getPatientIdentifierTypeByUuid(java.lang.String uuid)
uuid
-
PatientIdentifier getPatientIdentifier(java.lang.Integer patientIdentifierId) throws DAOException
DAOException
PatientService.getPatientIdentifier(java.lang.Integer)
PatientIdentifier savePatientIdentifier(PatientIdentifier patientIdentifier)
PatientService.savePatientIdentifier(org.openmrs.PatientIdentifier)
void deletePatientIdentifier(PatientIdentifier patientIdentifier) throws DAOException
DAOException
PatientService.purgePatientIdentifier(org.openmrs.PatientIdentifier)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |