Health-GPS
1.2.2.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. More... | |
virtual std::vector< Country > | get_countries () const =0 |
Gets the full collection of countries in the store. More... | |
virtual std::optional< Country > | get_country (std::string alpha) const =0 |
Gets a single country by the alpha code. More... | |
virtual std::vector< PopulationItem > | get_population (Country country, const std::function< bool(const unsigned int &)> time_filter) const =0 |
Gets the population growth trend for a country filtered by time. More... | |
virtual std::vector< MortalityItem > | get_mortality (Country country, const std::function< bool(const unsigned int &)> time_filter) const =0 |
Gets the population mortality trend for a country filtered by time. More... | |
virtual std::vector< DiseaseInfo > | get_diseases () const =0 |
Gets the collection of diseases information in the store. More... | |
virtual std::optional< DiseaseInfo > | get_disease_info (Identifier code) const =0 |
Gets a single disease information by identifier. More... | |
virtual DiseaseEntity | get_disease (DiseaseInfo info, Country country) const =0 |
Gets a disease full definition by identifier for a country. More... | |
virtual RelativeRiskEntity | get_relative_risk_to_disease (DiseaseInfo source, DiseaseInfo target) const =0 |
Gets the relative risk effects for disease to disease interactions. More... | |
virtual RelativeRiskEntity | get_relative_risk_to_risk_factor (DiseaseInfo source, Gender gender, Identifier risk_factor_key) const =0 |
Gets the relative risk effects for risk factor to disease interactions. More... | |
virtual CancerParameterEntity | get_disease_parameter (DiseaseInfo info, Country country) const =0 |
Gets the parameters required by cancer type diseases for a country. More... | |
virtual DiseaseAnalysisEntity | get_disease_analysis (const Country country) const =0 |
Gets the Burden of Diseases (BoD) analysis dataset for a country. More... | |
virtual std::vector< BirthItem > | get_birth_indicators (const Country country, const std::function< bool(const unsigned int &)> time_filter) const =0 |
Gets the population birth indicators for a country filtered by time. More... | |
virtual std::vector< LmsDataRow > | get_lms_parameters () const =0 |
Gets the LMS (lambda-mu-sigma) parameters for childhood growth charts. More... | |
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::data::DataManager.
|
pure virtual |
Gets the full collection of countries in the store.
Implemented in hgps::data::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::data::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::data::DataManager.
|
pure virtual |
Gets the Burden of Diseases (BoD) analysis dataset for a country.
country | The target country definition |
Implemented in hgps::data::DataManager.
|
pure virtual |
Gets a single disease information by identifier.
code | The target disease identifier |
Implemented in hgps::data::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::data::DataManager.
|
pure virtual |
Gets the collection of diseases information in the store.
Implemented in hgps::data::DataManager.
|
pure virtual |
Gets the LMS (lambda-mu-sigma) parameters for childhood growth charts.
Implemented in hgps::data::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::data::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::data::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::data::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::data::DataManager.