Skip to main content

exceptions

Exceptions related to NextGen interactions.

Classes

FHIRR4APIError

class FHIRR4APIError(*args, **kwargs):

Exception raised when interacting with FHIR R4 APIs.

Ancestors

FHIRR4AuthenticationError

class FHIRR4AuthenticationError(    status_code: int, message: str, response_content: Optional[str] = None,):

Exception for authentication/authorization errors (401, 403).

Ancestors

FHIRR4DataError

class FHIRR4DataError(*args, **kwargs):

Exception raised when we have exceeded any FHIR R4 call limit.

Ancestors

FHIRR4HTTPError

class FHIRR4HTTPError(    status_code: int, message: str, response_content: Optional[str] = None,):

Exception for HTTP errors from FHIR R4 API.

Ancestors

FHIRR4OperationOutcomeError

class FHIRR4OperationOutcomeError(*args, **kwargs):

Exception for server side operation errors.

These can be raised even when server returns a 200, accompanied by an OperationOutcome resource that details

Ancestors

FHIRR4QuotaExceeded

class FHIRR4QuotaExceeded(*args, **kwargs):

Exception raised when we have exceeded any FHIR R4 call limit.

Ancestors

FHIRR4RateLimitError

class FHIRR4RateLimitError(    status_code: int, message: str, response_content: Optional[str] = None,):

Exception for rate limiting errors (429).

Ancestors

FHIRR4ServerError

class FHIRR4ServerError(    status_code: int, message: str, response_content: Optional[str] = None,):

Exception for server errors (5xx).

Ancestors

NoFHIRR4PatientIDError

class NoFHIRR4PatientIDError(*args, **kwargs):

Exception raised when patient ID could not be extracted.

Ancestors

NoMatchingFHIRR4PatientError

class NoMatchingFHIRR4PatientError(*args, **kwargs):

Exception raised when no patient matching filters is found.

Ancestors

NonSpecificFHIRR4PatientError

class NonSpecificFHIRR4PatientError(*args, **kwargs):

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

Ancestors