Sha256: f89b29acb473e20c36af8b12b5700b403bd94878d2288ee87985c65d1522fe57

Contents?: true

Size: 1.12 KB

Versions: 148

Compression:

Stored size: 1.12 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"

        - 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

148 entries across 148 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/renal/profiles/show.html.slim