SEBurnWound.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 
13 #pragma once
14 #include <biogears/cdm/CommonDataModel.h>
15 #include <biogears/exports.h>
16 
17 #include <biogears/cdm/patient/actions/SEPatientAction.h>
18 #include <biogears/schema/cdm/PatientActions.hxx>
19 
20 namespace biogears {
21 class SEScalar0To1;
22 class SEScalar;
23 
24 class BIOGEARS_API SEBurnWound : public SEPatientAction {
25 public:
26  SEBurnWound();
27  virtual ~SEBurnWound() override;
28 
29  static constexpr const char* TypeTag() { return "SEBurnWound"; };
30  const char* classname() const override { return TypeTag(); }
31 
32  virtual void Clear() override; //clear memory
33 
34  virtual bool IsValid() const override;
35  virtual bool IsActive() const override;
36 
37  virtual bool Load(const CDM::BurnWoundData& in);
38  virtual CDM::BurnWoundData* Unload() const override;
39 
40 protected:
41  virtual void Unload(CDM::BurnWoundData& data) const;
42 
43 public:
44  virtual bool HasTotalBodySurfaceArea() const;
45  virtual SEScalar0To1& GetTotalBodySurfaceArea();
46 
47  virtual bool HasInflammation() const;
48  virtual void SetInflammation(bool activate);
49 
50  virtual void ToString(std::ostream& str) const override;
51 
52 protected:
55 };
56 }
const char * classname() const override
Definition: SEBurnWound.h:30
bool m_Inflammation
Definition: SEBurnWound.h:53
Definition: SEPatientAction.h:18
Class corresponding to the BurnWoundData schema type.
Definition: PatientActions.hxx:2532
static constexpr const char * TypeTag()
Definition: SEBurnWound.h:29
Definition: SEScalar0To1.h:17
SEScalar0To1 * m_TBSA
Definition: SEBurnWound.h:54
Definition: SEElectricalCircuit.h:18
Definition: SEBurnWound.h:24