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.116 app/models/renalware/pathology.rb
renalware-core-2.0.115 app/models/renalware/pathology.rb
renalware-core-2.0.113 app/models/renalware/pathology.rb
renalware-core-2.0.112 app/models/renalware/pathology.rb
renalware-core-2.0.111 app/models/renalware/pathology.rb
renalware-core-2.0.110 app/models/renalware/pathology.rb
renalware-core-2.0.109 app/models/renalware/pathology.rb
renalware-core-2.0.108 app/models/renalware/pathology.rb
renalware-core-2.0.106 app/models/renalware/pathology.rb
renalware-core-2.0.105 app/models/renalware/pathology.rb
renalware-core-2.0.104 app/models/renalware/pathology.rb
renalware-core-2.0.103 app/models/renalware/pathology.rb
renalware-core-2.0.102 app/models/renalware/pathology.rb
renalware-core-2.0.101 app/models/renalware/pathology.rb
renalware-core-2.0.100 app/models/renalware/pathology.rb
renalware-core-2.0.99 app/models/renalware/pathology.rb
renalware-core-2.0.98 app/models/renalware/pathology.rb
renalware-core-2.0.97 app/models/renalware/pathology.rb
renalware-core-2.0.96 app/models/renalware/pathology.rb
renalware-core-2.0.95 app/models/renalware/pathology.rb