Class: Mirah::Data::Organization
- Inherits:
-
BaseObject
- Object
- BaseObject
- Mirah::Data::Organization
- Defined in:
- lib/mirah/data/organization.rb
Overview
Organizations in the Mirah system currently represent a hierarchy of units/facilities requiring either different treatment configurations (e.g. inpatient facilities require different measurement protocols to outpatient) or useful for the purpose of analytics. It is roughly based on www.hl7.org/fhir/organization.html
Instance Attribute Summary collapse
-
#external_id ⇒ string
readonly
The identifier provided by your system.
-
#external_part_of_id ⇒ string
readonly
Your system identifier for the organization this organization is a child of.
-
#id ⇒ string
readonly
The internal Mirah identifier.
-
#name ⇒ string
readonly
The organization’s name.
-
#part_of_id ⇒ string
readonly
The internal mirah id of the organization this organization is a child of.
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
#external_id ⇒ string (readonly)
Returns The identifier provided by your system.
16 |
# File 'lib/mirah/data/organization.rb', line 16 attribute :external_id |
#external_part_of_id ⇒ string (readonly)
Returns Your system identifier for the organization this organization is a child of.
28 |
# File 'lib/mirah/data/organization.rb', line 28 attribute :external_part_of_id, path: %w[partOf], target: 'externalId' |
#id ⇒ string (readonly)
Returns The internal Mirah identifier.
12 |
# File 'lib/mirah/data/organization.rb', line 12 attribute :id |
#name ⇒ string (readonly)
Returns The organization’s name.
20 |
# File 'lib/mirah/data/organization.rb', line 20 attribute :name |
#part_of_id ⇒ string (readonly)
Returns The internal mirah id of the organization this organization is a child of.
24 |
# File 'lib/mirah/data/organization.rb', line 24 attribute :part_of_id, path: %w[partOf], target: 'id' |