Class: Renalware::Renal::ProfileDocument::Comorbidities
- Inherits:
-
Document::Embedded
- Object
- Document::Embedded
- Renalware::Renal::ProfileDocument::Comorbidities
- Defined in:
- app/documents/renalware/renal/profile_document.rb
Constant Summary collapse
- SMOMED_MAP =
{ diabetes: 73211009, ischaemic_heart_dis: 414545008, cabg_or_angioplasty: 232717009, heart_failure: 84114007, atrial_fibrill: 49436004, malignancy: 86049000, cerebrovascular_dis: 62914000, chronic_obstr_pulm_dis: 13645005, liver_disease: 235856003, periph_vascular_dis: 400047006, amputation_for_pvd: 81723002, claudication: 275520000, ischaemic_neuropathic_ulcers: 13954005, non_coronary_intervention: 418285008, dementia: 52448006 }.freeze
Constants inherited from Document::Embedded
Document::Embedded::STRIPPABLE_TYPES
Class Method Summary collapse
Methods inherited from Document::Embedded
attribute, attributes_list, #method_missing, old_attribute, old_attributes, #strip_leading_trailing_whitespace_from_numbers
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Document::Embedded
Class Method Details
.snomed_code_for(att) ⇒ Object
45 46 47 |
# File 'app/documents/renalware/renal/profile_document.rb', line 45 def self.snomed_code_for(att) SMOMED_MAP[att] end |