Sha256: 32914d72f3c383eff7898ae0ca88b1dd3541ffcd255eb9d5bbc9afc0c5ce2a64

Contents?: true

Size: 606 Bytes

Versions: 18

Compression:

Stored size: 606 Bytes

Contents

require "fileutils"
require "gpgme"

# Need to bear in mind we if we find a patient with changes, we still don't take everything
# the patient has but only those bits modified since the last export or :since_date
#
namespace :ukrdc do
  desc "Creates a folder of UKRDC XML files containing any changes to PV patients since "\
       "their last export"
  task :export, [:changed_since, :patient_ids] => [:environment] do |t, args|
    logger           = Logger.new(STDOUT)
    logger.level     = Logger::INFO
    Rails.logger     = logger
    Renalware::UKRDC::SendPatients.new(**args.to_h).call
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
renalware-core-2.0.18 lib/tasks/ukrdc.rake
renalware-core-2.0.17 lib/tasks/ukrdc.rake
renalware-core-2.0.16 lib/tasks/ukrdc.rake
renalware-core-2.0.15 lib/tasks/ukrdc.rake
renalware-core-2.0.14 lib/tasks/ukrdc.rake
renalware-core-2.0.13 lib/tasks/ukrdc.rake
renalware-core-2.0.12 lib/tasks/ukrdc.rake
renalware-core-2.0.11 lib/tasks/ukrdc.rake
renalware-core-2.0.9 lib/tasks/ukrdc.rake
renalware-core-2.0.8 lib/tasks/ukrdc.rake
renalware-core-2.0.7 lib/tasks/ukrdc.rake
renalware-core-2.0.5 lib/tasks/ukrdc.rake
renalware-core-2.0.4 lib/tasks/ukrdc.rake
renalware-core-2.0.3 lib/tasks/ukrdc.rake
renalware-core-2.0.2 lib/tasks/ukrdc.rake
renalware-core-2.0.1 lib/tasks/ukrdc.rake
renalware-core-2.0.0 lib/tasks/ukrdc.rake
renalware-core-2.0.0.pre.rc13 lib/tasks/ukrdc.rake