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.51 app/models/renalware/pathology.rb
renalware-core-2.0.50 app/models/renalware/pathology.rb
renalware-core-2.0.48 app/models/renalware/pathology.rb
renalware-core-2.0.47 app/models/renalware/pathology.rb
renalware-core-2.0.46 app/models/renalware/pathology.rb
renalware-core-2.0.45 app/models/renalware/pathology.rb
renalware-core-2.0.44 app/models/renalware/pathology.rb
renalware-core-2.0.43 app/models/renalware/pathology.rb
renalware-core-2.0.42 app/models/renalware/pathology.rb
renalware-core-2.0.41 app/models/renalware/pathology.rb
renalware-core-2.0.40 app/models/renalware/pathology.rb
renalware-core-2.0.39 app/models/renalware/pathology.rb
renalware-core-2.0.38 app/models/renalware/pathology.rb
renalware-core-2.0.37 app/models/renalware/pathology.rb
renalware-core-2.0.36 app/models/renalware/pathology.rb
renalware-core-2.0.35 app/models/renalware/pathology.rb
renalware-core-2.0.34 app/models/renalware/pathology.rb
renalware-core-2.0.33 app/models/renalware/pathology.rb
renalware-core-2.0.32 app/models/renalware/pathology.rb
renalware-core-2.0.31 app/models/renalware/pathology.rb