Sha256: e07d3cfa769fad0217c82edc1d75991ee89545e3c47cfcaafd3fe8e2d08d4ef9
Contents?: true
Size: 713 Bytes
Versions: 17
Compression:
Stored size: 713 Bytes
Contents
require 'rubygems' require 'xmlsimple' #require 'ActiveSupport' module OpenEHR module Terminology class OpenEHRTerminology def initialize @terms = XmlSimple.xml_in(File.open('doc/openehr_terminology.xml')) end def languages @terms['Language'] end def primary_rubrics @terms['PrimaryRubric'] end def concepts @terms['Concept'] end def groupers @terms['Grouper'] end def grouped_concepts @terms['GroupedConcept'] end def terminology_identifiers @terms['TerminologyIdentifiers'] end def territories @terms['Territory'] end end end end
Version data entries
17 entries across 17 versions & 2 rubygems