Skip to main content

exceptions

Exceptions related to NextGen interactions.

Classes​

NextGenAPIError​

class NextGenAPIError(*args, **kwargs):

Exception raised when interacting with NextGen's APIs.

Ancestors​

NextGenEnterpriseAPIError​

class NextGenEnterpriseAPIError(*args, **kwargs):

Exception raised when interacting with NextGen's Enterprise API.

NextGenFHIRAPIError​

class NextGenFHIRAPIError(*args, **kwargs):

Exception raised when interacting with NextGen's FHIR API.

NextGenQuotaExceeded​

class NextGenQuotaExceeded(*args, **kwargs):

Exception raised when we have exceeded our NextGen daily call quota limit.

This limit is detailed at https://developer.nextgen.com/wiki/pages/999bfa5c-947d-43df-a9ed-591d6690884f/intro-to-api-dev-portal and applies across the entirety of Bitfount applications.

It is indicated by receiving "a 200 status code but an empty payload".

NoMatchingNextGenPatientError​

class NoMatchingNextGenPatientError(*args, **kwargs):

Exception raised when no patient matching filters is found.

NoNextGenPatientIDError​

class NoNextGenPatientIDError(*args, **kwargs):

Exception raised when patient ID could not be extracted.

NonSpecificNextGenPatientError​

class NonSpecificNextGenPatientError(*args, **kwargs):

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