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.2.0 lib/health-data-standards/models/support.rb
health-data-standards-3.1.1 lib/health-data-standards/models/support.rb
health-data-standards-3.1.0 lib/health-data-standards/models/support.rb
health-data-standards-3.0.6 lib/health-data-standards/models/support.rb
health-data-standards-3.0.5 lib/health-data-standards/models/support.rb
health-data-standards-3.0.4 lib/health-data-standards/models/support.rb
health-data-standards-3.0.3 lib/health-data-standards/models/support.rb
health-data-standards-2.2.1 lib/health-data-standards/models/support.rb
health-data-standards-2.2.0 lib/health-data-standards/models/support.rb
health-data-standards-2.1.4 lib/health-data-standards/models/support.rb
health-data-standards-2.1.3 lib/health-data-standards/models/support.rb
health-data-standards-2.1.2 lib/health-data-standards/models/support.rb
health-data-standards-2.1.1 lib/health-data-standards/models/support.rb
health-data-standards-2.1.0 lib/health-data-standards/models/support.rb
health-data-standards-2.0.0 lib/health-data-standards/models/support.rb
health-data-standards-1.0.1 lib/health-data-standards/models/support.rb
health-data-standards-1.0.0 lib/health-data-standards/models/support.rb