Sha256: 82458022152cb3e2b6f029263d43a2f68a1248050ee7e8efeb7053461d2734a3

Contents?: true

Size: 436 Bytes

Versions: 57

Compression:

Stored size: 436 Bytes

Contents

class Support < Entry
  include Mongoid::Document
  
  Types = ["Guardian", "Next of Kin", "Caregiver", "Emergency Contact"]
  
  embeds_one :address
  embeds_one :telecom
  
  field :title, type: String
  field :given_name, type: String
  field :family_name, type: String
  field :mothers_maiden_name, type: String
  field :type, type: String
  field :relationship, type: String
  
  # validates_inclusion_of :type, :in => Types
  
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
health-data-standards-3.5.0 lib/health-data-standards/models/support.rb
health-data-standards-3.4.6 lib/health-data-standards/models/support.rb
health-data-standards-3.4.5 lib/health-data-standards/models/support.rb
health-data-standards-3.4.4 lib/health-data-standards/models/support.rb
health-data-standards-3.4.3 lib/health-data-standards/models/support.rb
health-data-standards-3.4.2 lib/health-data-standards/models/support.rb
health-data-standards-3.4.1 lib/health-data-standards/models/support.rb
health-data-standards-3.4.0 lib/health-data-standards/models/support.rb
health-data-standards-3.2.12 lib/health-data-standards/models/support.rb
health-data-standards-3.3.0 lib/health-data-standards/models/support.rb
health-data-standards-3.2.11 lib/health-data-standards/models/support.rb
health-data-standards-3.2.10 lib/health-data-standards/models/support.rb
health-data-standards-3.2.8 lib/health-data-standards/models/support.rb
health-data-standards-3.2.7 lib/health-data-standards/models/support.rb
health-data-standards-3.2.6 lib/health-data-standards/models/support.rb
health-data-standards-3.2.5 lib/health-data-standards/models/support.rb
health-data-standards-3.2.4 lib/health-data-standards/models/support.rb
health-data-standards-3.2.3 lib/health-data-standards/models/support.rb
health-data-standards-3.2.2 lib/health-data-standards/models/support.rb
health-data-standards-3.2.1 lib/health-data-standards/models/support.rb