Skip to main content

exceptions

EHR-related exceptions.

Classes

DataError

class DataError(*args, **kwargs):

Exception for unexpected data encountered unable to be processed.

Subclasses

GetPatientInfoError

class GetPatientInfoError(*args, **kwargs):

Could not retrieve patient info.

NoMatchingPatientError

class NoMatchingPatientError(*args, **kwargs):

Exception raised when no patient matching filters is found.

NoPatientIDError

class NoPatientIDError(*args, **kwargs):

Exception raised when patient ID could not be extracted.

NonSpecificPatientError

class NonSpecificPatientError(*args, **kwargs):

Exception raised when patient could not be narrowed to a single person.

QuotaExceeded

class QuotaExceeded(*args, **kwargs):

Exception raised when we have exceeded our API call quota limit.