SEChronicPericardialEffusion.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
8{
9 friend class PBPatientCondition;//friend the serialization class
10public:
11
12 SEChronicPericardialEffusion(Logger* logger=nullptr);
14
15 static constexpr char const* Name = "Chronic Pericardial Effusion";
16 std::string GetName() const override { return Name; }
17
18 void Clear() override;
19 void Copy(const SEChronicPericardialEffusion& src);
20
21 bool IsValid() const override;
22 bool IsActive() const override;
23
24 virtual bool HasAccumulatedVolume() const;
25 virtual SEScalarVolume& GetAccumulatedVolume();
26 virtual double GetAccumulatedVolume(const VolumeUnit& unit) const;
27
28protected:
29
31};
Definition: Logger.h:71
Definition: PBPatientConditions.h:24
static void Copy(const SEAcuteRespiratoryDistressSyndrome &src, SEAcuteRespiratoryDistressSyndrome &dst)
Definition: PBPatientConditions.cpp:67
Definition: SEChronicPericardialEffusion.h:8
std::string GetName() const override
Definition: SEChronicPericardialEffusion.h:16
SEScalarVolume * m_AccumulatedVolume
Definition: SEChronicPericardialEffusion.h:30
Definition: SEPatientCondition.h:8
bool IsValid() const override=0
bool IsActive() const override=0
void Clear() override
Definition: SEPatientCondition.cpp:17
Definition: SEScalarVolume.h:28
Definition: SEScalarVolume.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.