Sha256: d5f4606838a948508b24d1f02dcf6bf7f54bfae206688b1bf4fedbba87b38141

Contents?: true

Size: 1.6 KB

Versions: 159

Compression:

Stored size: 1.6 KB

Contents

.grid
    .row
      .columns.small-6
        article
          header
            h2 History
          = definition_list_for(profile) do |list|
            = list.definition(:created_at) { |value| l(value) }
            = list.definition(:deactivated_at) { |value| l(value) }

      - %w(Dialysis Anticoagulant Drugs).each do |group|
        = render "renalware/shared/documents/attributes_group",
            group: profile.document.public_send(group.parameterize(separator: "_")),
            legend: group, destination: group.parameterize(separator: "_")

      = render "renalware/shared/attributes_group",
          legend: "Prescription", destination: "prescription",
          models: { profile => [:prescribed_time,
                                :prescribed_on,
                                :prescriber] }

      = render "renalware/shared/attributes_group",
          legend: "Admin", destination: "admin",
          models: { profile => [:hospital_centre,
                                :hospital_unit,
                                :current_schedule,
                                :named_nurse] }

      = render "renalware/shared/attributes_group",
          legend: "Transport", destination: "transport",
          models: { profile.document.transport => [:has_transport,
                                                   :type,
                                                   :decided_on],
                    profile => [:transport_decider] }

      = render "renalware/shared/documents/attributes_group",
          group: profile.document.care_level,
          legend: "Care Level", destination: "care_level"

Version data entries

159 entries across 159 versions & 1 rubygems

Version Path
renalware-core-2.0.149 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.148 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.147 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.146 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.145 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.144 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.143 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.142 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.141 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.140 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.139 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.138 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.137 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.136 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.135 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.134 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.133 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.132 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.131 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.130 app/views/renalware/hd/current_profile/_show.html.slim