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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3db179c3655e0116ae6346710b5ab13ee30478ebf6155dd148ed4297481b71cb
4
- data.tar.gz: d6dec13d3ed966b1a334dcf1ed7a760b03f0745140b1fe91c2e2842060d91dc8
3
+ metadata.gz: e7eb14ab1adcb2a713e62aca7a0f77d4abe7714a5d22c5af5623dfd9cd528656
4
+ data.tar.gz: b58bef85d36bdb2af561a3229a51aac0bb690b3498cab8804076fdc4a5a5d149
5
5
  SHA512:
6
- metadata.gz: c42e3954747469956ebafe5df3a8228530ac36d2196ec541f08661c99a80be74167bc3c864ed9224e77bcd74d7e876f5ef8bc77fa6c00af3e74f040e2b98082e
7
- data.tar.gz: cead17eef7473469f7d8fe9b31a99890e601a3d98f68098b0caa5a4d5e10270e97357b18a7871c29557dc18bbc577e32530876621d4e8ccf7dfadfe38c0f55c4
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&#8310;L","10 to the 6 Litres"
4
- "3","10&#8313;L","10 to the 9 Litres"
5
- "4","10&sup1;&sup2;L","10 to the 12 Litres"
3
+ "2","10L","10 to the 6 Litres"
4
+ "3","10L","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&sup3;","million/cubic millimetres"
16
+ "15","million/mm³","million/cubic millimetres"
17
17
  "16","min",""
18
18
  "17","mIU/L",""
19
19
  "18","mm Hg",""
20
- "19","mm&sup3;","cubic millimetres"
20
+ "19","mm³","cubic millimetres"
21
21
  "20","mm/h",""
22
22
  "21","mmol/d",""
23
23
  "22","mmol/kg",""
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renalware
4
- VERSION = "2.0.27"
4
+ VERSION = "2.0.28"
5
5
  end
@@ -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.27
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-23 00:00:00.000000000 Z
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