Sha256: 08794b0e0d77425960ba89e7bc78422b51297b63301c890bf2df150915e49340
Contents?: true
Size: 536 Bytes
Versions: 33
Compression:
Stored size: 536 Bytes
Contents
module QRDA module Util # General helpers for working with codes and code systems class QRDATemplateHelper def self.definition_for_template_id(hqmf_template_id, qrda_version = "r5") template_id_map(qrda_version)[hqmf_template_id] end def self.template_id_map(version) if @id_map.blank? @id_map = { 'r5_1' => JSON.parse(File.read(File.expand_path('qrdar5_1_template_oid_map.json', __dir__))) } end @id_map[version] end end end end
Version data entries
33 entries across 33 versions & 1 rubygems