Sha256: 1234968affb9478fd2e36b4df4e2cdd52bfc8d04556d88b3dc982102a59f7480

Contents?: true

Size: 647 Bytes

Versions: 49

Compression:

Stored size: 647 Bytes

Contents

# frozen_string_literal: true

xml = builder

xml.Procedures do
  # HD Session procedures
  patient.finished_hd_sessions.each do |session|
    render "renalware/api/ukrdc/patients/procedures/dialysis_session",
           builder: xml,
           patient: patient,
           session: Renalware::HD::SessionPresenter.new(session)
  end

  # Transplant operation procedures
  patient.transplant_operations.each do |operation|
    render "renalware/api/ukrdc/patients/procedures/transplant_operation",
           builder: xml,
           patient: patient,
           operation: Renalware::UKRDC::TransplantOperationPresenter.new(operation)
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
renalware-core-2.0.136 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.135 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.134 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.133 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.132 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.131 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.130 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.129 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.128 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.127 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.126 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.125 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.124 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.123 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.121 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.120 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.119 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.118 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.117 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder
renalware-core-2.0.116 app/views/renalware/api/ukrdc/patients/_procedures.xml.builder