# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 16 def primary_rubrics @terms['PrimaryRubric'] end
class OpenEHR::Terminology::OpenEHRTerminology
Public Class Methods
new()
click to toggle source
# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 8 def initialize @terms = XmlSimple.xml_in(File.open('doc/openehr_terminology.xml')) end
Public Instance Methods
concepts()
click to toggle source
# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 20 def concepts @terms['Concept'] end
grouped_concepts()
click to toggle source
# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 28 def grouped_concepts @terms['GroupedConcept'] end
groupers()
click to toggle source
# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 24 def groupers @terms['Grouper'] end
languages()
click to toggle source
# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 12 def languages @terms['Language'] end
primary_rubrics()
click to toggle source
terminology_identifiers()
click to toggle source
# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 32 def terminology_identifiers @terms['TerminologyIdentifiers'] end
territories()
click to toggle source
# File lib/open_ehr/terminology/open_ehr_terminology.rb, line 36 def territories @terms['Territory'] end