SEAcuteRespiratoryDistressSyndrome.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/patient/conditions/SEPatientCondition.h"
6#include "cdm/system/physiology/SERespiratorySystem.h"
7
9{
10 friend class PBPatientCondition;//friend the serialization class
11public:
12
15
16 static constexpr char const* Name = "Acute Respiratory Distress Syndrome";
17 std::string GetName() const override { return Name; }
18
19 void Clear() override;
21
22 bool IsValid() const override;
23 bool IsActive() const override;
24 void Activate() override;
25
26 virtual bool HasSeverity() const;
27 virtual LungImpairmentMap& GetSeverities();
28 virtual const LungImpairmentMap& GetSeverities() const;
29 virtual bool HasSeverity(eLungCompartment cmpt) const;
30 virtual SEScalar0To1& GetSeverity(eLungCompartment cmpt);
31 virtual double GetSeverity(eLungCompartment cmpt) const;
32
33protected:
34 LungImpairmentMap m_Severities;
35};
Definition: Logger.h:71
Definition: PBPatientConditions.h:24
static void Copy(const SEAcuteRespiratoryDistressSyndrome &src, SEAcuteRespiratoryDistressSyndrome &dst)
Definition: PBPatientConditions.cpp:67
Definition: SEAcuteRespiratoryDistressSyndrome.h:9
std::string GetName() const override
Definition: SEAcuteRespiratoryDistressSyndrome.h:17
LungImpairmentMap m_Severities
Definition: SEAcuteRespiratoryDistressSyndrome.h:34
virtual void Activate()
Definition: SECondition.h:26
Definition: SEPatientCondition.h:8
bool IsValid() const override=0
bool IsActive() const override=0
void Clear() override
Definition: SEPatientCondition.cpp:17
Definition: SEScalar0To1.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.