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.64 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.63 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.62 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.61 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.60 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.58 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.57 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.56 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.55 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.54 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.53 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.52 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.51 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.50 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.48 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.47 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.46 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.45 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.44 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.43 app/views/renalware/hd/current_profile/_show.html.slim