renalware-core 2.0.42 → 2.0.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/renalware/api/ukrdc/patients_controller.rb +2 -1
- data/app/views/renalware/hd/transmission_logs/index.html.slim +3 -3
- data/app/views/renalware/patients/side_menu/_actions.html.slim +1 -1
- data/app/views/renalware/renal/aki_alerts/_aki_alert.html.slim +1 -1
- data/app/views/renalware/renal/aki_alerts/_filters.html.slim +1 -1
- data/lib/renalware/version.rb +1 -1
- data/spec/factories/accesses/plans.rb +2 -2
- data/spec/factories/accesses/plans_types.rb +1 -1
- data/spec/factories/accesses/procedures.rb +1 -1
- data/spec/factories/accesses/profiles.rb +1 -1
- data/spec/factories/accesses/sites.rb +2 -2
- data/spec/factories/accesses/types.rb +4 -4
- data/spec/factories/admissions/admissions.rb +2 -2
- data/spec/factories/admissions/consults.rb +4 -4
- data/spec/factories/admissions/request_reasons.rb +1 -1
- data/spec/factories/admissions/requests.rb +1 -1
- data/spec/factories/clinical/body_compositions.rb +12 -12
- data/spec/factories/clinical/dry_weights.rb +1 -1
- data/spec/factories/clinics/clinic_visits.rb +6 -6
- data/spec/factories/clinics/clinics.rb +1 -1
- data/spec/factories/deaths/cause.rb +2 -2
- data/spec/factories/drugs/drug.rb +1 -1
- data/spec/factories/drugs/drug_types.rb +6 -6
- data/spec/factories/events/events.rb +2 -2
- data/spec/factories/events/events_types.rb +14 -14
- data/spec/factories/feeds/file_types.rb +7 -7
- data/spec/factories/hd/cannulation_types.rb +1 -1
- data/spec/factories/hd/dialysates.rb +5 -5
- data/spec/factories/hd/dialysers.rb +4 -4
- data/spec/factories/hd/diaries.rb +4 -4
- data/spec/factories/hd/diurnal_period_codes.rb +4 -4
- data/spec/factories/hd/hd_session_document.rb +28 -28
- data/spec/factories/hd/patient_statistics.rb +20 -20
- data/spec/factories/hd/preference_sets.rb +1 -1
- data/spec/factories/hd/profiles.rb +1 -1
- data/spec/factories/hd/schedule_definitions.rb +4 -4
- data/spec/factories/hd/sessions.rb +4 -4
- data/spec/factories/hd/station_locations.rb +2 -2
- data/spec/factories/hd/stations.rb +1 -1
- data/spec/factories/hd/transmission_logs.rb +4 -4
- data/spec/factories/hospitals/centres.rb +2 -2
- data/spec/factories/hospitals/units.rb +5 -5
- data/spec/factories/hospitals/wards.rb +1 -1
- data/spec/factories/letters/archives.rb +1 -1
- data/spec/factories/letters/contact_descriptions.rb +2 -2
- data/spec/factories/letters/descriptions.rb +1 -1
- data/spec/factories/letters/letterheads.rb +6 -6
- data/spec/factories/letters/letters.rb +2 -2
- data/spec/factories/letters/recipients.rb +2 -2
- data/spec/factories/medications/medication_route.rb +4 -4
- data/spec/factories/medications/prescription.rb +5 -5
- data/spec/factories/medications/prescription_terminations.rb +1 -1
- data/spec/factories/messaging/internal/messages.rb +4 -4
- data/spec/factories/messaging/internal/receipts.rb +1 -1
- data/spec/factories/modalities/modalities.rb +1 -1
- data/spec/factories/modalities/modality_descriptions.rb +13 -13
- data/spec/factories/modalities/modality_reasons.rb +5 -5
- data/spec/factories/pathology/measurement_units.rb +1 -1
- data/spec/factories/pathology/observation_descriptions.rb +7 -7
- data/spec/factories/pathology/observation_requests.rb +1 -1
- data/spec/factories/pathology/observations.rb +3 -3
- data/spec/factories/pathology/request_descriptions.rb +1 -1
- data/spec/factories/pathology/requests/drug_category.rb +1 -1
- data/spec/factories/pathology/requests/global_rule.rb +3 -3
- data/spec/factories/pathology/requests/patient_rule.rb +5 -5
- data/spec/factories/patients/alerts.rb +1 -1
- data/spec/factories/patients/bookmarks.rb +1 -1
- data/spec/factories/patients/ethnicities.rb +2 -2
- data/spec/factories/patients/languages.rb +8 -8
- data/spec/factories/patients/patients.rb +7 -7
- data/spec/factories/patients/practice_memberships.rb +1 -1
- data/spec/factories/patients/practices.rb +2 -2
- data/spec/factories/patients/primary_care_physicians.rb +3 -3
- data/spec/factories/patients/religions.rb +1 -1
- data/spec/factories/pd/bag_types.rb +13 -13
- data/spec/factories/pd/episode_types.rb +2 -2
- data/spec/factories/pd/exit_site_infections.rb +4 -4
- data/spec/factories/pd/fluid_descriptions.rb +1 -1
- data/spec/factories/pd/infection_organisms.rb +3 -3
- data/spec/factories/pd/modality_descriptions.rb +1 -1
- data/spec/factories/pd/organism_codes.rb +2 -2
- data/spec/factories/pd/pd_regimes.rb +20 -20
- data/spec/factories/pd/peritonitis_episodes.rb +14 -14
- data/spec/factories/pd/regime_bags.rb +30 -30
- data/spec/factories/pd/systems.rb +2 -2
- data/spec/factories/pd/training_sites.rb +2 -2
- data/spec/factories/pd/training_types.rb +1 -1
- data/spec/factories/problems/problems.rb +1 -1
- data/spec/factories/renal/aki_alert_actions.rb +1 -1
- data/spec/factories/renal/aki_alerts.rb +2 -2
- data/spec/factories/renal/prd_description.rb +2 -2
- data/spec/factories/renal/profiles.rb +2 -2
- data/spec/factories/reporting/audits.rb +4 -4
- data/spec/factories/research/studies.rb +2 -2
- data/spec/factories/system/addresses.rb +6 -6
- data/spec/factories/system/countries.rb +6 -6
- data/spec/factories/system/feedback.rb +3 -3
- data/spec/factories/system/messages.rb +2 -2
- data/spec/factories/system/roles.rb +7 -7
- data/spec/factories/system/templates.rb +8 -8
- data/spec/factories/system/users.rb +12 -12
- data/spec/factories/transplants/donations.rb +2 -2
- data/spec/factories/transplants/donor_stage.rb +3 -3
- data/spec/factories/transplants/live_donor_modality_description.rb +1 -1
- data/spec/factories/transplants/modality_descriptions.rb +1 -1
- data/spec/factories/transplants/recipient_operations.rb +4 -4
- data/spec/factories/transplants/registration_status_descriptions.rb +2 -2
- data/spec/factories/transplants/registrations.rb +1 -1
- data/spec/support/pathology_spec_helper.rb +1 -1
- metadata +2 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
FactoryBot.define do
|
4
4
|
factory :transplant_donor_modality_description,
|
5
5
|
class: "Renalware::Transplants::DonorModalityDescription" do
|
6
|
-
name "Live Donor"
|
6
|
+
name { "Live Donor" }
|
7
7
|
end
|
8
8
|
|
9
9
|
factory :transplant_modality_description, class: "Renalware::HD::ModalityDescription" do
|
@@ -5,12 +5,12 @@ FactoryBot.define do
|
|
5
5
|
patient { build(:transplant_patient) }
|
6
6
|
|
7
7
|
performed_on { 1.week.ago }
|
8
|
-
theatre_case_start_time "11:00"
|
8
|
+
theatre_case_start_time { "11:00" }
|
9
9
|
donor_kidney_removed_from_ice_at { 1.week.ago }
|
10
10
|
kidney_perfused_with_blood_at { 1.week.ago }
|
11
|
-
operation_type :kidney
|
12
|
-
cold_ischaemic_time "00:45"
|
13
|
-
warm_ischaemic_time "00:12"
|
11
|
+
operation_type { :kidney }
|
12
|
+
cold_ischaemic_time { "00:45" }
|
13
|
+
warm_ischaemic_time { "00:12" }
|
14
14
|
|
15
15
|
association :hospital_centre, factory: :hospital_centre
|
16
16
|
end
|
@@ -10,7 +10,7 @@ module PathologySpecHelper
|
|
10
10
|
observed_at: Time.zone.now,
|
11
11
|
result: 1)
|
12
12
|
descriptions.map do |description|
|
13
|
-
request = create(:pathology_observation_request, patient: patient)
|
13
|
+
request = create(:pathology_observation_request, patient: patient, requested_at: observed_at)
|
14
14
|
create(:pathology_observation,
|
15
15
|
request: request,
|
16
16
|
description: description,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renalware-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.43
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_type
|