renalware-core 2.0.27 → 2.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/renalware/api/ukrdc/patients/_patient.xml.builder +0 -5
- data/db/migrate/20180511171835_create_unique_indexes_on_obr_obr_codes.rb +7 -0
- data/db/seeds/default/pathology/measurement_units.csv +5 -5
- data/lib/renalware/version.rb +1 -1
- data/spec/factories/pathology/request_descriptions.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7eb14ab1adcb2a713e62aca7a0f77d4abe7714a5d22c5af5623dfd9cd528656
|
4
|
+
data.tar.gz: b58bef85d36bdb2af561a3229a51aac0bb690b3498cab8804076fdc4a5a5d149
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f89c0255c15fa0edeca0f64fc3c07fa4a71b2a5103d8491cfe350ceb0adf23dd9665a10ac8ce003a2f95d5a8327c1c9325626311bb94dc8b033511d34405c75c
|
7
|
+
data.tar.gz: 776a1be9ade866026a0ed0cc7956eeb7983194c6da7a57b192a74ca16b15721865fdfda5d1442826a0673b09e27caa60922550854352f5c05c239cbfd4f1cf52
|
@@ -84,11 +84,6 @@ xml.Patient do
|
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
-
xml.comment! "Inclusion of CountryOfBirth causes XSD error for some reasons so temporarily excluded"
|
88
|
-
# if patient.country_of_birth.present?
|
89
|
-
# xml.CountryOfBirth patient.country_of_birth.alpha3
|
90
|
-
# end
|
91
|
-
|
92
87
|
if patient.dead?
|
93
88
|
xml.Death true
|
94
89
|
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
class CreateUniqueIndexesOnObrObrCodes < ActiveRecord::Migration[5.1]
|
2
|
+
def change
|
3
|
+
remove_index :pathology_observation_descriptions, :code
|
4
|
+
add_index :pathology_observation_descriptions, :code, unique: true
|
5
|
+
add_index :pathology_request_descriptions, :code, unique: true
|
6
|
+
end
|
7
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"id","name","description"
|
2
2
|
"1","%",""
|
3
|
-
"2","10
|
4
|
-
"3","10
|
5
|
-
"4","10
|
3
|
+
"2","10⁶L","10 to the 6 Litres"
|
4
|
+
"3","10⁹L","10 to the 9 Litres"
|
5
|
+
"4","10¹²L","10 to the 12 Litres"
|
6
6
|
"5","fL",""
|
7
7
|
"6","g/24h",""
|
8
8
|
"7","g/dL",""
|
@@ -13,11 +13,11 @@
|
|
13
13
|
"12","mg/24h",""
|
14
14
|
"13","mg/d",""
|
15
15
|
"14","mg/dL",""
|
16
|
-
"15","million/mm
|
16
|
+
"15","million/mm³","million/cubic millimetres"
|
17
17
|
"16","min",""
|
18
18
|
"17","mIU/L",""
|
19
19
|
"18","mm Hg",""
|
20
|
-
"19","mm
|
20
|
+
"19","mm³","cubic millimetres"
|
21
21
|
"20","mm/h",""
|
22
22
|
"21","mmol/d",""
|
23
23
|
"22","mmol/kg",""
|
data/lib/renalware/version.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
FactoryBot.define do
|
4
4
|
factory :pathology_request_description, class: "Renalware::Pathology::RequestDescription" do
|
5
|
+
initialize_with { Renalware::Pathology::RequestDescription.find_or_create_by(code: code) }
|
5
6
|
association :lab, factory: :pathology_lab
|
6
7
|
code "FBC"
|
7
8
|
end
|
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.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_type
|
@@ -3259,6 +3259,7 @@ files:
|
|
3259
3259
|
- db/migrate/20180510151959_update_hd_overall_audit_to_version_7.rb
|
3260
3260
|
- db/migrate/20180511100345_add_notes_to_transplant_registration_statuses.rb
|
3261
3261
|
- db/migrate/20180511140415_add_message_hash_messaging_messages.rb
|
3262
|
+
- db/migrate/20180511171835_create_unique_indexes_on_obr_obr_codes.rb
|
3262
3263
|
- db/migrate/20180514151627_create_system_messages.rb
|
3263
3264
|
- db/migrate/20180516111411_create_view_patient_current_modalities.rb
|
3264
3265
|
- db/seeds.rb
|