Sha256: c035714ae1aa73a655e65df715a5b631409f9843ef44e04bdabb98274c341cc8

Contents?: true

Size: 583 Bytes

Versions: 6

Compression:

Stored size: 583 Bytes

Contents

module HealthDataStandards
  module Export
    module Helper
      module HTMLViewHelper
        def decode_hqmf_section(section, oid)
          if oid
            HealthDataStandards::Util::HQMFTemplateHelper.definition_for_template_id(oid)['definition'].pluralize.to_sym
          else
            section
          end
        end

        def decode_hqmf_status(status, oid)
          if oid
            HealthDataStandards::Util::HQMFTemplateHelper.definition_for_template_id(oid)['status']
          else
            status
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
health-data-standards-3.1.1 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.1.0 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.0.6 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.0.5 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.0.4 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.0.3 lib/health-data-standards/export/helper/html_view_helper.rb