Class: OpenehrRails::Fhir::ResourceRegistry::Entry
- Inherits:
-
Struct
- Object
- Struct
- OpenehrRails::Fhir::ResourceRegistry::Entry
- Defined in:
- lib/openehr_rails/fhir/resource_registry.rb
Instance Attribute Summary collapse
-
#archetype_id ⇒ Object
Returns the value of attribute archetype_id.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#model ⇒ Object
Returns the value of attribute model.
-
#resource_type ⇒ Object
Returns the value of attribute resource_type.
-
#rm_type ⇒ Object
Returns the value of attribute rm_type.
Instance Method Summary collapse
Instance Attribute Details
#archetype_id ⇒ Object
Returns the value of attribute archetype_id
13 14 15 |
# File 'lib/openehr_rails/fhir/resource_registry.rb', line 13 def archetype_id @archetype_id end |
#fields ⇒ Object
Returns the value of attribute fields
13 14 15 |
# File 'lib/openehr_rails/fhir/resource_registry.rb', line 13 def fields @fields end |
#model ⇒ Object
Returns the value of attribute model
13 14 15 |
# File 'lib/openehr_rails/fhir/resource_registry.rb', line 13 def model @model end |
#resource_type ⇒ Object
Returns the value of attribute resource_type
13 14 15 |
# File 'lib/openehr_rails/fhir/resource_registry.rb', line 13 def resource_type @resource_type end |
#rm_type ⇒ Object
Returns the value of attribute rm_type
13 14 15 |
# File 'lib/openehr_rails/fhir/resource_registry.rb', line 13 def rm_type @rm_type end |
Instance Method Details
#slug ⇒ Object
15 16 17 |
# File 'lib/openehr_rails/fhir/resource_registry.rb', line 15 def slug "openehr-#{archetype_id.delete_prefix('openEHR-EHR-').parameterize.dasherize}" end |