Class: OpenehrRails::EhrSummary

Inherits:
Struct
  • Object
show all
Defined in:
app/controllers/openehr_rails/ehrs_controller.rb

Overview

Patient timeline (HTML admin UI): a cross-template view of everything recorded against one EHR, independent of which scaffolded model owns each composition. Distinct from OpenehrApi::EhrsController, which is the JSON openEHR REST API resource.

Instance Attribute Summary collapse

Instance Attribute Details

#composition_countObject

Returns the value of attribute composition_count

Returns:

  • (Object)

    the current value of composition_count



8
9
10
# File 'app/controllers/openehr_rails/ehrs_controller.rb', line 8

def composition_count
  @composition_count
end

#ehrObject

Returns the value of attribute ehr

Returns:

  • (Object)

    the current value of ehr



8
9
10
# File 'app/controllers/openehr_rails/ehrs_controller.rb', line 8

def ehr
  @ehr
end

#last_activity_atObject

Returns the value of attribute last_activity_at

Returns:

  • (Object)

    the current value of last_activity_at



8
9
10
# File 'app/controllers/openehr_rails/ehrs_controller.rb', line 8

def last_activity_at
  @last_activity_at
end