Module: HealthDataStandards::Export::Helper::HTMLViewHelper

Includes:
ScoopedViewHelper
Defined in:
lib/health-data-standards/export/helper/html_view_helper.rb

Constant Summary

Constants included from ScoopedViewHelper

ScoopedViewHelper::VS_MAP

Instance Method Summary collapse

Methods included from ScoopedViewHelper

#entries_for_data_criteria, #entry_matches_criteria, #handle_clinical_trial_participant, #handle_patient_expired, #handle_payer_information, #unique_data_criteria, #value_set_map

Instance Method Details

#decode_hqmf_section(section, oid) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/health-data-standards/export/helper/html_view_helper.rb', line 7

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

#decode_hqmf_status(status, oid) ⇒ Object



15
16
17
18
19
20
21
# File 'lib/health-data-standards/export/helper/html_view_helper.rb', line 15

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