priority_patient 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/priority_patient.rb +13 -0
- metadata +44 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: aa3a4f5d61bf29df97e029056a88b0bde5181d3e
|
|
4
|
+
data.tar.gz: 9fdc97534d25838becf5a6bf14fb293ee1375432
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: bacf1771707995016357941477dab8fbdbebc7c43091e7797f0f53df7a60afebdf22b11eec42a949095a71e430920c0547928885da6c1133bfe68fe7326a3ebe
|
|
7
|
+
data.tar.gz: b2c4413328228e0b829d49e7a601e2551383e93d7666298b97a860d8900ff2104364663b4845fe2f1cb697fd22a22a284215b87dafd785fa9ac5f3ecec31e581
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
class Checker
|
|
2
|
+
def self.runcheck(word)
|
|
3
|
+
if [ 'Head', 'Spine', 'Shot', 'Heart','Birdflu', 'Sepsis' ].any? {|array| array.include? word }
|
|
4
|
+
return 'Send to hospital'
|
|
5
|
+
elsif [ 'Head', 'Spine', 'Shot', 'Heart','Birdflu', 'Sepsis' ].any? {|array| array.include? word }
|
|
6
|
+
return ''
|
|
7
|
+
elsif [ 'Head', 'Spine', 'Shot', 'Heart','Birdflu', 'Sepsis' ].any? {|array| array.include? word }
|
|
8
|
+
return ''
|
|
9
|
+
else
|
|
10
|
+
return 'Invalid Input'
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: priority_patient
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Darren Quinn
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-04-22 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Priority indication
|
|
14
|
+
email: darrenquinn6@hotmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/priority_patient.rb
|
|
20
|
+
homepage: http://rubygems.org/gems/priority_patient
|
|
21
|
+
licenses:
|
|
22
|
+
- MIT
|
|
23
|
+
metadata: {}
|
|
24
|
+
post_install_message:
|
|
25
|
+
rdoc_options: []
|
|
26
|
+
require_paths:
|
|
27
|
+
- lib
|
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - ">="
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
requirements: []
|
|
39
|
+
rubyforge_project:
|
|
40
|
+
rubygems_version: 2.6.8
|
|
41
|
+
signing_key:
|
|
42
|
+
specification_version: 4
|
|
43
|
+
summary: Patient priority level indicator
|
|
44
|
+
test_files: []
|