Sha256: 967a82136dee7cd771f9a4006c92af1b6176c61f4cd6a2689ad5cb1bc2a14be7

Contents?: true

Size: 598 Bytes

Versions: 124

Compression:

Stored size: 598 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware"
require_dependency "renalware/feeds"
require "subscription_registry"

module Renalware
  module Pathology
    module_function

    def table_name_prefix
      "pathology_"
    end

    def cast_patient(patient)
      ActiveType.cast(patient, ::Renalware::Pathology::Patient)
    end

    def configure
      SubscriptionRegistry.instance.register(Feeds::MessageProcessor, MessageListener)
    end

    class MissingRequestDescriptionError < StandardError; end
    class MissingObservationDescriptionError < StandardError; end
  end
end

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
renalware-core-2.0.159 app/models/renalware/pathology.rb
renalware-core-2.0.158 app/models/renalware/pathology.rb
renalware-core-2.0.157 app/models/renalware/pathology.rb
renalware-core-2.0.156 app/models/renalware/pathology.rb
renalware-core-2.0.155 app/models/renalware/pathology.rb
renalware-core-2.0.153 app/models/renalware/pathology.rb
renalware-core-2.0.152 app/models/renalware/pathology.rb
renalware-core-2.0.151 app/models/renalware/pathology.rb
renalware-core-2.0.149 app/models/renalware/pathology.rb
renalware-core-2.0.148 app/models/renalware/pathology.rb
renalware-core-2.0.147 app/models/renalware/pathology.rb
renalware-core-2.0.146 app/models/renalware/pathology.rb
renalware-core-2.0.145 app/models/renalware/pathology.rb
renalware-core-2.0.144 app/models/renalware/pathology.rb
renalware-core-2.0.143 app/models/renalware/pathology.rb
renalware-core-2.0.142 app/models/renalware/pathology.rb
renalware-core-2.0.141 app/models/renalware/pathology.rb
renalware-core-2.0.140 app/models/renalware/pathology.rb
renalware-core-2.0.139 app/models/renalware/pathology.rb
renalware-core-2.0.138 app/models/renalware/pathology.rb