Sha256: 004bd69a9d78d595d1f33dada2e8e86b8aa5f48df39eed1e85f19419f0a43dd3

Contents?: true

Size: 665 Bytes

Versions: 6

Compression:

Stored size: 665 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 location_entity?
        self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.142'
      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

6 entries across 6 versions & 1 rubygems

Version Path
cqm-reports-4.1.3 lib/util/entity_helper.rb
cqm-reports-4.1.2 lib/util/entity_helper.rb
cqm-reports-4.1.1 lib/util/entity_helper.rb
cqm-reports-4.1.0 lib/util/entity_helper.rb
cqm-reports-4.0.1 lib/util/entity_helper.rb
cqm-reports-4.0.0 lib/util/entity_helper.rb