Api reference
components.insurance_coverage_display.public.api ¶
build_coverage_display_from_rules ¶
Source code in components/insurance_coverage_display/internal/business_logic/queries/coverage_display.py
components.insurance_coverage_display.public.commands ¶
components.insurance_coverage_display.public.dependencies ¶
InsuranceCoverageDisplayDependency ¶
Bases: ABC
Abstract dependency for the insurance_coverage_display component.
get_country_code
abstractmethod
¶
Return the country code of the app registering this dependency.
get_coverage_rules
abstractmethod
¶
Return (coverage_source_id, coverage_rules) for the given member on the given date, or None if the member has no current coverage. /!\ This is meant to be temporary. We should use the core stack once it's live.
Source code in components/insurance_coverage_display/public/dependencies.py
get_guarantee_display_catalog
staticmethod
¶
Return the guarantee display catalog for this country.
Default: the unmodified catalog from guarantee_catalog.public.queries.guarantees_definition.get_guarantee_catalog. Override per country to apply country-specific catalog transforms (e.g. FR alternative medicine split).
Source code in components/insurance_coverage_display/public/dependencies.py
get_app_dependency ¶
Retrieve the insurance_coverage_display dependency registered on the current app.
Source code in components/insurance_coverage_display/public/dependencies.py
set_app_dependency ¶
Register the insurance_coverage_display dependency on the current app.
Source code in components/insurance_coverage_display/public/dependencies.py
components.insurance_coverage_display.public.entities ¶
CoverageContainer
dataclass
¶
CoverageContainer(
*,
id,
icon,
title,
filters,
grouped_guarantees,
help_articles,
search_keywords,
display_order,
subtitle=None
)
A coverage container grouping guarantees for a care type.
CoverageContainerFilter
dataclass
¶
CoverageTablePart
dataclass
¶
GroupedGuarantees
dataclass
¶
GroupedGuarantees(
*,
reimbursement_amounts,
reimbursement_conditions,
cta_ids=list(),
filter_id=None
)
Guarantees grouped by filter, with amounts and conditions.
HelpArticle
dataclass
¶
HelpType ¶
MemberInsuranceCoverageDisplay
dataclass
¶
ReimbursementAmount
dataclass
¶
ReimbursementAmountTag
dataclass
¶
ReimbursementAmountTagType ¶
Bases: AlanBaseEnum
Tag types for reimbursement amounts.