Sha256: f7fee722a56677d20a2af33051f1090486fc064a7ffcc5d142e1ab8f96bba8f3

Contents?: true

Size: 770 Bytes

Versions: 52

Compression:

Stored size: 770 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/pathology"

module Renalware
  module Pathology
    # An ObservationDescription can be a member of many groups (a set of descriptions used for
    # displaying or printing a subset of context-specific results). Within each group,
    # say, 'letters', a description might be in a sub group (which merely serves to pull results
    # together in groups on the page for clarity) and within that group might have a position wich
    # determines its order in the subgroup.
    class CodeGroupMembership < ApplicationRecord
      validates :position_within_subgroup, presence: true
      validates :subgroup, presence: true
      belongs_to :code_group
      belongs_to :observation_description
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
renalware-core-2.0.132 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.131 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.130 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.129 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.128 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.127 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.126 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.125 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.124 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.123 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.121 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.120 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.119 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.118 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.117 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.116 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.115 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.113 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.112 app/models/renalware/pathology/code_group_membership.rb
renalware-core-2.0.111 app/models/renalware/pathology/code_group_membership.rb