Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
hgps::DiseaseModel Class Referenceabstract

Diseases model interface. More...

#include <interfaces.h>

Inheritance diagram for hgps::DiseaseModel:
[legend]

Public Member Functions

virtual ~DiseaseModel ()=default
 Destroys a DiseaseModel instance.
virtual core::DiseaseGroup group () const noexcept=0
 Gets the disease group.
virtual const core::Identifier & disease_type () const noexcept=0
 Gets the model disease type unique identifier.
virtual std::string prevalence_skip_coverage_message () const =0
virtual void initialise_disease_status (RuntimeContext &context)=0
 Initialises the population disease status.
virtual void initialise_average_relative_risk (RuntimeContext &context)=0
 Initialises the average relative risks once all diseases status were initialised.
virtual void update_disease_status (RuntimeContext &context)=0
 Updates the disease cases remission and incidence in the population.
virtual double get_excess_mortality (const Person &entity) const noexcept=0
 Gets the excess mortality associated with a disease for an individual.

Detailed Description

Diseases model interface.

Constructor & Destructor Documentation

◆ ~DiseaseModel()

virtual hgps::DiseaseModel::~DiseaseModel ( )
virtualdefault

Destroys a DiseaseModel instance.

Member Function Documentation

◆ disease_type()

virtual const core::Identifier & hgps::DiseaseModel::disease_type ( ) const
pure virtualnoexcept

Gets the model disease type unique identifier.

Returns
The disease type identifier

Implemented in hgps::DefaultCancerModel, and hgps::DefaultDiseaseModel.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_excess_mortality()

virtual double hgps::DiseaseModel::get_excess_mortality ( const Person & entity) const
pure virtualnoexcept

Gets the excess mortality associated with a disease for an individual.

Parameters
entityThe entity associated with the mortality rate
Returns
the mortality rate value, if found, otherwise zero.

Implemented in hgps::DefaultCancerModel, and hgps::DefaultDiseaseModel.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ group()

virtual core::DiseaseGroup hgps::DiseaseModel::group ( ) const
pure virtualnoexcept

Gets the disease group.

Returns
The disease group identifier

Implemented in hgps::DefaultCancerModel, and hgps::DefaultDiseaseModel.

◆ initialise_average_relative_risk()

virtual void hgps::DiseaseModel::initialise_average_relative_risk ( RuntimeContext & context)
pure virtual

Initialises the average relative risks once all diseases status were initialised.

Parameters
contextThe simulation run-time context

Implemented in hgps::DefaultCancerModel, and hgps::DefaultDiseaseModel.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialise_disease_status()

virtual void hgps::DiseaseModel::initialise_disease_status ( RuntimeContext & context)
pure virtual

Initialises the population disease status.

Parameters
contextThe simulation run-time context

Implemented in hgps::DefaultCancerModel, and hgps::DefaultDiseaseModel.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ prevalence_skip_coverage_message()

virtual std::string hgps::DiseaseModel::prevalence_skip_coverage_message ( ) const
pure virtual

MAHIMA: One-shot line for DiseaseModule — expected sex-limited skip vs CSV data gaps.

Returns
Message from DiseaseTable::describe_prevalence_skip_coverage()

Implemented in hgps::DefaultCancerModel, and hgps::DefaultDiseaseModel.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_disease_status()

virtual void hgps::DiseaseModel::update_disease_status ( RuntimeContext & context)
pure virtual

Updates the disease cases remission and incidence in the population.

Parameters
contextThe simulation run-time context

Implemented in hgps::DefaultCancerModel, and hgps::DefaultDiseaseModel.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: