Sha256: d0dbce3450fd33df9f4ac8589c7a8b6bbe752b491ee51a876345531c14f953f9

Contents?: true

Size: 575 Bytes

Versions: 11

Compression:

Stored size: 575 Bytes

Contents

FactoryBot.define do
  factory :transplant_recipient_operation, class: Renalware::Transplants::RecipientOperation do
    patient { build(:transplant_patient) }

    performed_on                      { 1.week.ago }
    theatre_case_start_time           "11:00"
    donor_kidney_removed_from_ice_at  { 1.week.ago }
    kidney_perfused_with_blood_at     { 1.week.ago }
    operation_type                    :kidney
    cold_ischaemic_time               "00:45"
    warm_ischaemic_time               "00:12"

    association :hospital_centre, factory: :hospital_centre
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc10 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc9 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc8 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc7 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc6 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc5 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc4 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc3 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.rc1 spec/factories/transplants/recipient_operations.rb
renalware-core-2.0.0.pre.beta12 spec/factories/transplants/recipient_operations.rb