class Organisation
Schema Information
Table name: organisations
id :bigint not null, primary key ods_code :string not null created_at :datetime not null updated_at :datetime not null
Indexes
index_organisations_on_ods_code (ods_code) UNIQUE
Public Instance Methods
Source
# File app/models/organisation.rb, line 37 def fhir_mapper @fhir_mapper ||= FHIRMapper::Organisation.new(self) end
Source
# File app/models/organisation.rb, line 29 def to_param = ods_code class << self delegate :fhir_reference, to: FHIRMapper::Organisation end private def fhir_mapper @fhir_mapper ||= FHIRMapper::Organisation.new(self) end end