Sha256: eca79220e1e36a5825f85df20ed698db77e4a848c951264891b8f57ea9bf7e9c

Contents?: true

Size: 482 Bytes

Versions: 21

Compression:

Stored size: 482 Bytes

Contents

module HealthDataStandards
  module SVS

    class Concept
	
    	include Mongoid::Document
      include Mongoid::Attributes::Dynamic
    	field :code, type: String
    	field :code_system_name, type: String
    	field :code_system_version, type: String
    	field :display_name, type: String
      field :code_system, type: String
      scope :by_code_system_name,  ->(cs){where(code_system_name: cs)}
      scope :by_code_system,  ->(cs){where(code_system: cs)}
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
health-data-standards-3.5.0 lib/health-data-standards/models/svs/concept.rb