lib/health-data-standards/models/provider.rb in health-data-standards-0.8.1 vs lib/health-data-standards/models/provider.rb in health-data-standards-1.0.0

- old
+ new

@@ -1,20 +1,15 @@ class Provider - include Mongoid::Document + include Personable - field :title , type: String - field :given_name , type: String - field :family_name , type: String field :npi , type: String field :tin , type: String field :specialty , type: String field :phone , type: String field :organization, type: String validates_uniqueness_of :npi, allow_blank: true - embeds_many :addresses, as: :locatable - embeds_many :telecoms, as: :contactable embeds_one :organization def records(effective_date=nil) Record.by_provider(self, effective_date) \ No newline at end of file