Sha256: d71515f893bc37e4118d2121579c0520dc97f0cb0fb202726f26a396caa268cb

Contents?: true

Size: 566 Bytes

Versions: 13

Compression:

Stored size: 566 Bytes

Contents

# TODO: make sure still accessible to _entity.mustache after moving from qrda-export/helper
module HQMF
  module Util
    module EntityHelper
      def practitioner_entity?
        self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.137'
      end

      def care_partner_entity?
        self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.134'
      end

      def organization_entity?
        self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.135'
      end

      def patient_entity?
        self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.136'
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cqm-reports-3.1.10 lib/util/entity_helper.rb
cqm-reports-3.1.9 lib/util/entity_helper.rb
cqm-reports-3.1.8 lib/util/entity_helper.rb
cqm-reports-3.1.7 lib/util/entity_helper.rb
cqm-reports-3.1.6 lib/util/entity_helper.rb
cqm-reports-3.1.5 lib/util/entity_helper.rb
cqm-reports-3.1.4 lib/util/entity_helper.rb
cqm-reports-3.1.3 lib/util/entity_helper.rb
cqm-reports-3.1.2 lib/util/entity_helper.rb
cqm-reports-3.1.1 lib/util/entity_helper.rb
cqm-reports-3.1.0 lib/util/entity_helper.rb
cqm-reports-3.0.1 lib/util/entity_helper.rb
cqm-reports-3.0.0 lib/util/entity_helper.rb