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.42 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.41 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.40 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.39 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.38 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.37 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.36 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.35 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.34 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.33 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.32 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.31 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.30 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.28 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.27 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.26 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.25 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.24 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.23 app/views/renalware/hd/current_profile/_show.html.slim
renalware-core-2.0.22 app/views/renalware/hd/current_profile/_show.html.slim