Class: Mirah::Data::DiagnosticCode
- Inherits:
-
BaseObject
- Object
- BaseObject
- Mirah::Data::DiagnosticCode
- Defined in:
- lib/mirah/data/diagnostic_code.rb
Overview
Diagnostic codes represent ICD10 or other codes that contain information on diagnosis. The Mirah system models this simply as a code and a name, effectively operating like a tag. For example, Major Depressive Disorder could be represented with the code F320.
Instance Attribute Summary collapse
-
#code ⇒ string
readonly
A string representing the code, e.g.
-
#external_id ⇒ string
readonly
The identifier provided by your system.
-
#id ⇒ string
readonly
The internal Mirah identifier.
-
#name ⇒ string
readonly
A description of the code, e.g.
Method Summary
Methods inherited from BaseObject
from_graphql_hash, #initialize, #to_graphql_hash
Constructor Details
This class inherits a constructor from Mirah::BaseObject
Instance Attribute Details
#code ⇒ string (readonly)
Returns A string representing the code, e.g. “F320”.
23 |
# File 'lib/mirah/data/diagnostic_code.rb', line 23 attribute :code |
#external_id ⇒ string (readonly)
Returns The identifier provided by your system.
15 |
# File 'lib/mirah/data/diagnostic_code.rb', line 15 attribute :external_id |
#id ⇒ string (readonly)
Returns The internal Mirah identifier.
11 |
# File 'lib/mirah/data/diagnostic_code.rb', line 11 attribute :id |
#name ⇒ string (readonly)
Returns A description of the code, e.g. “Major Depressive Disorder”.
19 |
# File 'lib/mirah/data/diagnostic_code.rb', line 19 attribute :name |