|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the Health-GPS back-end data store interface for all implementations.
More...
#include <datastore.h>
Public Member Functions | |
| virtual | ~Datastore ()=default |
| Destroys a Datastore instance. | |
| virtual std::vector< Country > | get_countries () const =0 |
| Gets the full collection of countries in the store. | |
| virtual Country | get_country (const std::string &alpha) const =0 |
| Gets a single country by the alpha code. | |
| virtual std::vector< PopulationItem > | get_population (const Country &country, std::function< bool(unsigned int)> time_filter) const =0 |
| Gets the population growth trend for a country filtered by time. | |
| virtual std::vector< MortalityItem > | get_mortality (const Country &country, std::function< bool(unsigned int)> time_filter) const =0 |
| Gets the population mortality trend for a country filtered by time. | |
| virtual std::vector< DiseaseInfo > | get_diseases () const =0 |
| Gets the collection of diseases information in the store. | |
| virtual DiseaseInfo | get_disease_info (const Identifier &code) const =0 |
| Gets a single disease information by identifier. | |
| virtual DiseaseEntity | get_disease (const DiseaseInfo &info, const Country &country) const =0 |
| Gets a disease full definition by identifier for a country. | |
| virtual std::optional< RelativeRiskEntity > | get_relative_risk_to_disease (const DiseaseInfo &source, const DiseaseInfo &target) const =0 |
| Gets the relative risk effects for disease to disease interactions. | |
| virtual std::optional< RelativeRiskEntity > | get_relative_risk_to_risk_factor (const DiseaseInfo &source, Gender gender, const Identifier &risk_factor_key) const =0 |
| Gets the relative risk effects for risk factor to disease interactions. | |
| virtual CancerParameterEntity | get_disease_parameter (const DiseaseInfo &info, const Country &country) const =0 |
| Gets the parameters required by cancer type diseases for a country. | |
| virtual DiseaseAnalysisEntity | get_disease_analysis (const Country &country) const =0 |
| Gets the Burden of Diseases (BoD) analysis dataset for a country. | |
| virtual std::vector< BirthItem > | get_birth_indicators (const Country &country, std::function< bool(unsigned int)> time_filter) const =0 |
| Gets the population birth indicators for a country filtered by time. | |
| virtual std::vector< LmsDataRow > | get_lms_parameters () const =0 |
| Gets the LMS (lambda-mu-sigma) parameters for childhood growth charts. | |
Defines the Health-GPS back-end data store interface for all implementations.
Data Model details.
|
virtualdefault |
Destroys a Datastore instance.
|
pure virtual |
Gets the population birth indicators for a country filtered by time.
| country | The target country definition |
| time_filter | The time filter predicate, e.g. years range |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the full collection of countries in the store.
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets a single country by the alpha code.
| alpha | The country alpha 2 or 3 format code to search |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets a disease full definition by identifier for a country.
| info | The target disease information |
| country | The target country definition |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the Burden of Diseases (BoD) analysis dataset for a country.
| country | The target country definition |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets a single disease information by identifier.
| code | The target disease identifier |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the parameters required by cancer type diseases for a country.
| info | The disease of type cancer information |
| country | The target country definition |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the collection of diseases information in the store.
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the LMS (lambda-mu-sigma) parameters for childhood growth charts.
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the population mortality trend for a country filtered by time.
| country | The target country definition |
| time_filter | The time filter predicate, e.g., years range |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the population growth trend for a country filtered by time.
| country | The target country definition |
| time_filter | The time filter predicate, e.g., years range |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the relative risk effects for disease to disease interactions.
| source | The source disease information |
| target | The target disease information |
Implemented in hgps::input::DataManager.
|
pure virtual |
Gets the relative risk effects for risk factor to disease interactions.
| source | The disease information |
| gender | The gender enumeration |
| risk_factor_key | The risk factor identifier |
Implemented in hgps::input::DataManager.