SEIntubation.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "patient/actions/SEPatientAction.h"
6 
7 // Keep enums in sync with appropriate schema/cdm/PatientActionEnums.proto file !!
8 enum class eIntubation_Type { Off = 0, Esophageal, LeftMainstem, RightMainstem, Tracheal };
9 extern const std::string& eIntubation_Type_Name(eIntubation_Type m);
10 
11 class CDM_DECL SEIntubation : public SEPatientAction
12 {
13  friend class PBPatientAction;//friend the serialization class
14 public:
15 
16  SEIntubation();
17  virtual ~SEIntubation();
18 
19  virtual void Clear(); //clear memory
20  virtual void Copy(const SEIntubation& src);
21 
22  virtual bool IsValid() const;
23  virtual bool IsActive() const;
24 
25  virtual eIntubation_Type GetType() const;
26  virtual void SetType(eIntubation_Type t);
27 
28  virtual void ToString(std::ostream &str) const;
29 protected:
30  eIntubation_Type m_Type;
31 };
Definition: SEPatientAction.h:7
static void Copy(const SEAcuteStress &src, SEAcuteStress &dst)
Definition: PBPatientActions.cpp:76
Definition: SEIntubation.h:11
Definition: PBPatientActions.h:38
eIntubation_Type m_Type
Definition: SEIntubation.h:30