class HQMF::Util::CodeSystemHelper

General helpers for working with codes and code systems

Constants

CODE_SYSTEMS

Public Class Methods

code_system_for(oid) click to toggle source

Returns the name of a code system given an oid @param [String] oid of a code system @return [String] the name of the code system as described in the measure definition JSON

# File lib/util/code_system_helper.rb, line 44
def self.code_system_for(oid)
  CODE_SYSTEMS[oid] || "Unknown"
end
code_systems() click to toggle source

Returns the whole map of OIDs to code systems @terurn [Hash] oids as keys, code system names as values

# File lib/util/code_system_helper.rb, line 50
def self.code_systems
  CODE_SYSTEMS
end