Sha256: d760348f495b1f62681312c71dcffae1eb6b6afb2a6e462c7d6c54bd2ac811fc
Contents?: true
Size: 615 Bytes
Versions: 97
Compression:
Stored size: 615 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/pathology" require_dependency "renalware/feeds" require "subscription_registry" module Renalware module Patients module_function def table_name_prefix "patient_" end def configure # Note that we no longer create all patients that coe in from the HL7 feed, so # MessageListener has been removed from the registry. # SubscriptionRegistry.instance.register(Feeds::MessageProcessor, MessageListener) end def self.cast_user(user) ActiveType.cast(user, ::Renalware::Patients::User) end end end
Version data entries
97 entries across 97 versions & 1 rubygems