Module: Qrda::Export::Helper::ViewHelper

Included in:
Qrda1R5, Qrda3
Defined in:
lib/qrda-export/helper/view_helper.rb

Instance Method Summary collapse

Instance Method Details

#as_idObject



14
15
16
# File 'lib/qrda-export/helper/view_helper.rb', line 14

def as_id
  self['value']
end

#hicnObject



30
31
32
# File 'lib/qrda-export/helper/view_helper.rb', line 30

def hicn
  @hicn
end

#measuresObject



6
7
8
# File 'lib/qrda-export/helper/view_helper.rb', line 6

def measures
  @measures.as_json
end

#medicare_beneficiary_identifierObject



26
27
28
# File 'lib/qrda-export/helper/view_helper.rb', line 26

def medicare_beneficiary_identifier
  @medicare_beneficiary_identifier
end

#object_idObject



18
19
20
# File 'lib/qrda-export/helper/view_helper.rb', line 18

def object_id
  self[:_id]
end

#random_idObject



10
11
12
# File 'lib/qrda-export/helper/view_helper.rb', line 10

def random_id
  UUID.generate
end

#submission_programObject



22
23
24
# File 'lib/qrda-export/helper/view_helper.rb', line 22

def submission_program
  @submission_program
end