renalware-forms 0.1.6 → 0.1.7

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: f30d17bf86e1b33f4d217b4c5efc8cef48d61af9f2105066b69c9fb491f5852d
4
- data.tar.gz: d1ce7020b04a0865e740bce004fa8dd239a4fe9357b63b2d59889854a8aca545
3
+ metadata.gz: dea5831202ee3e58fcf40db5a8bd35123aab6a5cb2b04ba9a01cba2c68f2a3ce
4
+ data.tar.gz: 43a1825d44cf9e937d9b23452b9500871686f5d1d6a1655cbb1f4fc174b270ca
5
5
  SHA512:
6
- metadata.gz: 65edea02f028da8dd1b7529678a4b2edc3427c060a513739eeb445667603335bf3d7425553c8536db558ad49dfa00a68cd659da6d28865a11dbfa9210a15a2e2
7
- data.tar.gz: a4f8433af6afbc34260e4f758f671dfb158f25abc27072c434e71941709aa193c10bad4fe49979023d34aed6a20b4c53fada378e51bc74ad8f253dd22dd7b090
6
+ metadata.gz: aba3878702c075bd6380e238beee7fd4472d0c69eaf447ca6060b491b02ecb54606b8c7b811b522fc3a38dd9daa2e9c04a1ba0da0a36365d02ca1cfeee5966b4
7
+ data.tar.gz: c78162a8c92065214fe14b247ad10883689be995a4d0918492ecfced68cb972358952d6e18db7725de7ce4a8ae82fd10764f5970f80c86463e4ce85bbc287826
@@ -29,7 +29,6 @@ module Renalware::Forms
29
29
  attribute :nhs_number, String, default: ""
30
30
  attribute :born_on, Date
31
31
  attribute :modality, String, default: ""
32
- attribute :fmc_patient, String, default: ""
33
32
  attribute :telephone, String, default: ""
34
33
  attribute :hospital_number, String, default: ""
35
34
  attribute :address, Array(String), default: []
@@ -46,8 +45,6 @@ module Renalware::Forms
46
45
  attribute :no_known_allergies, Boolean
47
46
  attribute :allergies, Array[String]
48
47
  attribute :drug_type, String
49
- attribute :administration_route, String
50
- attribute :administration_frequency, String
51
48
  attribute :prescription_duration, String
52
49
  attribute :administration_device, String
53
50
  attribute :medications, Array[Medication]
@@ -111,7 +108,6 @@ module Renalware::Forms
111
108
  args.family_name = "JONES"
112
109
  args.nhs_number = "0123456789"
113
110
  args.born_on = Date.parse("2001-01-01")
114
- args.fmc_patient = "123"
115
111
  args.telephone = "07000 000001"
116
112
  args.hospital_number = "ABC123"
117
113
  args.modality = "PD"
@@ -134,8 +130,6 @@ module Renalware::Forms
134
130
  args.no_known_allergies = false
135
131
  args.allergies = ["Nuts", nil, "Penicillin", "Mown grass"]
136
132
  args.drug_type = "ESA"
137
- args.administration_frequency = "Daily"
138
- args.administration_route = "Per Oral"
139
133
  args.prescription_duration = "1 month"
140
134
  args.administration_device = "device?"
141
135
  args.po_number = "P123"
@@ -143,6 +137,7 @@ module Renalware::Forms
143
137
  args.delivery_frequencies = ["1 week", "3 months", "6 months", "12 month"]
144
138
  args.prescription_durations = ["3 months", "6 months", "12 months"]
145
139
  args.selected_prescription_duration = "6 months"
140
+ args.selected_delivery_frequency = "6 months"
146
141
 
147
142
  args.medications << Medication.new(
148
143
  date: Date.today,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Renalware
4
4
  module Forms
5
- VERSION = "0.1.6"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie Ltd