Sha256: f3aae3a5e263c46475e70ac849bb0edbd9e2ba8e0ec912ab0d4cf5c09e38f724
Contents?: true
Size: 499 Bytes
Versions: 150
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/transplants" module Renalware module Transplants # Presenter formatting a single patient for use behind any MDM Patients listing. class MDMPatientPresenter < Renalware::MDMPatientPresenter def last_operation_on Transplants::RecipientOperation .for_patient(__getobj__) .order(performed_on: :desc) .limit(1) .pluck(:performed_on) .first end end end end
Version data entries
150 entries across 150 versions & 1 rubygems