Sha256: ddcd028aa211b5911c5245df59f1d6bb5f4a8227dd58262f04c344eedcc71dcc

Contents?: true

Size: 655 Bytes

Versions: 17

Compression:

Stored size: 655 Bytes

Contents

module HealthDataStandards
  module Export
    module Helper
      module HTMLViewHelper
        include HealthDataStandards::Export::Helper::ScoopedViewHelper

        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

17 entries across 17 versions & 1 rubygems

Version Path
health-data-standards-3.4.3 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.4.2 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.4.1 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.4.0 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.12 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.3.0 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.11 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.10 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.8 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.7 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.6 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.5 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.4 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.3 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.2 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.1 lib/health-data-standards/export/helper/html_view_helper.rb
health-data-standards-3.2.0 lib/health-data-standards/export/helper/html_view_helper.rb