Class: FHIR::VitalSigns
Constant Summary collapse
- VITAL_SIGNS =
{ # '8716-3' => '', # vital signs group '9279-1' => [], #'/min', # respitory rate '8867-4' => [], #'/min', # heart rate '59408-5' => [], #'%', # Oxygen saturation '8310-5' => [], #'Cel', # Body temperature '8302-2' => [], #'cm', # Body height '9843-4' => [], #'cm', # Head circumference '29463-7' => [], #'kg', # Body weight '39156-5' => [], #'kg/m2', # Body mass index '55284-4' => ['8480-6','8462-4'] # Blood pressure systolic and diastolic group # '8480-6' => 'mm[Hg]', # Systolic blood pressure # '8462-4' => 'mm[Hg]', # Diastolic blood pressure # '8478-0' => 'mm[Hg]' # Mean blood pressure }
Class Method Summary collapse
Methods inherited from Rubrics
Class Method Details
.get_vital_code(codeableconcept) ⇒ Object
55 56 57 58 59 60 61 |
# File 'lib/rubrics/vital_signs.rb', line 55 def self.get_vital_code(codeableconcept) return nil if codeableconcept.nil? || codeableconcept.coding.nil? coding = codeableconcept.coding.find{|x| x.system=='http://loinc.org' && VITAL_SIGNS.has_key?(x.code)} code = coding.code if coding code end |