Sha256: 25f6587d265eb029fc1c6c20163b7f5d28d9651add7bbd30c291c445576bf078

Contents?: true

Size: 1.31 KB

Versions: 10

Compression:

Stored size: 1.31 KB

Contents

= content_for(:actions) do
  = link_to t("edit_record.link_title"),
            edit_patient_renal_profile_path(@patient),
            class: "button"

= within_patient_layout(title: "Renal Profile & Comorbidity Data") do
    .grid
      .row
        -
        - attrs = %i(esrf_on weight_at_esrf modality_at_esrf first_seen_on)
        - attrs.concat %i(prd_description comorbidities_updated_on)
        = render "renalware/shared/attributes_group",
                 legend: "Diagnosis & ESRF Info",
                 models: { profile => attrs },
                 width: "xlarge"

        = render "renalware/shared/documents/attributes_group",
                 group: profile.document.comorbidities,
                 legend: "Comorbidities",
                 width: "xxlarge"

        = render "renalware/shared/documents/attributes_group",
                 group: profile.document.low_clearance,
                 legend: "Low Clearance",
                 width: "xlarge"

        - profile.build_address_at_diagnosis if profile.address_at_diagnosis.blank?
        - attrs = %i(name street_1 street_2 street_3 town county postcode country)
        = render "renalware/shared/attributes_group",
                 legend: "Address at ESRF Date",
                 models: { profile.address_at_diagnosis => attrs },
                 width: "xlarge"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc3 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/renal/profiles/show.html.slim