Class: OpenEHR::RM::Support::Terminology::TerminologyService

Inherits:
Object
  • Object
show all
Includes:
OpenEHRCodeSetIdentifier, OpenEHRTerminologyGroupIdentifiers
Defined in:
lib/open_ehr/rm/support/terminology.rb

Constant Summary

Constants included from OpenEHRCodeSetIdentifier

OpenEHRCodeSetIdentifier::CODE_SET_ID_CHARACER_SETS, OpenEHRCodeSetIdentifier::CODE_SET_ID_COMPRESSION_ALGORITHMS, OpenEHRCodeSetIdentifier::CODE_SET_ID_COUNTRIES, OpenEHRCodeSetIdentifier::CODE_SET_ID_INTEGRITY_CHECK_ALGORITHMS, OpenEHRCodeSetIdentifier::CODE_SET_ID_LANGUAGES, OpenEHRCodeSetIdentifier::CODE_SET_ID_MEDIA_TYPES

Constants included from OpenEHRTerminologyGroupIdentifiers

OpenEHRTerminologyGroupIdentifiers::GROUP_ID_ATTESTATION_REASON, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_AUDIT_CHANGE_TYPE, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_COMPOSITION_CATEGORY, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_INSTRUCTION_STATES, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_INSTRUCTION_TRANSITIONS, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_MATH_FUNCTION, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_NULL_FLAVOURS, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_PARTICIPATION_FUNCTION, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_PARTICIPATION_MODE, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_PROPERTY, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_SETTING, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_SUBJECT_RELATIONSHIP, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_TERM_MAPPING_PURPOSE, OpenEHRTerminologyGroupIdentifiers::GROUP_ID_VERSION_LIFECYCLE_STATE, OpenEHRTerminologyGroupIdentifiers::TERMINOLOGY_ID

Instance Method Summary collapse

Methods included from OpenEHRCodeSetIdentifier

#valid_code_set_id

Instance Method Details

#code_set(name) ⇒ Object

Raises:

  • (NotImplementedError)


100
101
102
# File 'lib/open_ehr/rm/support/terminology.rb', line 100

def code_set(name)
  raise NotImplementedError, "code_set is not implemented"
end

#code_set_for_id(id) ⇒ Object

Raises:

  • (NotImplementedError)


104
105
106
# File 'lib/open_ehr/rm/support/terminology.rb', line 104

def code_set_for_id(id)
  raise NotImplementedError, "code_set_for_id is not implemented"
end

#code_set_identifiersObject

Raises:

  • (NotImplementedError)


108
109
110
# File 'lib/open_ehr/rm/support/terminology.rb', line 108

def code_set_identifiers
  raise NotImplementedError, "code_set_for_identifiers is not implemented"
end

#has_code_set(name) ⇒ Object

Raises:

  • (NotImplementedError)


112
113
114
# File 'lib/open_ehr/rm/support/terminology.rb', line 112

def has_code_set(name)
  raise NotImplementedError, "has_code_set is not implemented"
end

#has_terminology?(name) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


116
117
118
# File 'lib/open_ehr/rm/support/terminology.rb', line 116

def has_terminology?(name)
  raise NotImplementedError, "has_terminology is not implemented"
end

#openehr_code_setsObject

Raises:

  • (NotImplementedError)


120
121
122
# File 'lib/open_ehr/rm/support/terminology.rb', line 120

def openehr_code_sets
  raise NotImplementedError, "openehr_code_set is not implemented"
end

#terminology(name) ⇒ Object



124
125
126
# File 'lib/open_ehr/rm/support/terminology.rb', line 124

def terminology(name)
  return TerminologyAccess.new(:id => name)
end

#terminology_identifiersObject

Raises:

  • (NotImplementedError)


128
129
130
# File 'lib/open_ehr/rm/support/terminology.rb', line 128

def terminology_identifiers
  raise NotImplementedError, "terminology_identiferes is not implemented"
end