care.emr.reports.report_type_registry module

class ReportTypeConfig(key: str, display_name: str, associating_model: type[Model], authorizer_class: type[BaseReportAuthorizer], description: str = '')

Bases: object

__init__(key: str, display_name: str, associating_model: type[Model], authorizer_class: type[BaseReportAuthorizer], description: str = '')
class ReportTypeRegistry

Bases: object

classmethod register(key: str, display_name: str, associating_model: type[Model], authorizer_class: type[BaseReportAuthorizer], description: str = '') None
classmethod get(key: str) ReportTypeConfig
classmethod get_all_keys() list[str]
classmethod get_all_configs() dict[str, ReportTypeConfig]
classmethod get_schema() dict
classmethod unregister(key: str) None
classmethod clear() None