primary_connect_proto 0.11.0 → 0.12.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 +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +1 -1
- data/Rakefile +3 -0
- data/connect_proto.gemspec +2 -1
- data/lib/connect_proto/build/device_pb.rb +0 -1
- data/lib/connect_proto/build/order_pb.rb +1 -0
- data/lib/connect_proto/src/device.proto +0 -1
- data/lib/connect_proto/src/order.proto +2 -1
- data/lib/connect_proto/version.rb +3 -0
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c367cc34fa389d087c38addd77cbdd455572ed37393dc62fc98224e96117b380
|
4
|
+
data.tar.gz: 79f99dafbe4101cacb9e790d9a75f6dd797872e0ad6ef635aa6b91cdd2b00d05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a3c744c63a6c80e1eac6046c9dd57b541ddbe48f82d547ab44219d03dc1405dbddad867331f36a927424bd1de3ffae7fe5418ad6acd6967bfbb83166b1de34a
|
7
|
+
data.tar.gz: ca63ceb021f7c1969d148ab9d0462d5f5d172140283ebc8f21b6059427fc32e02a0cbd8cf752e7d7c26acc9cb3507d66ee1155c0201f7175c481f3a8dcbe328d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.12.0
|
4
|
+
|
5
|
+
- Added `Order.Order.Status.STATUS_REPORTED`
|
6
|
+
|
3
7
|
## 0.11.0
|
4
8
|
|
5
9
|
- Added `MedicationAdministration`
|
@@ -8,7 +12,7 @@
|
|
8
12
|
|
9
13
|
## 0.10.2
|
10
14
|
|
11
|
-
- Use `oneof` for `Subject` in `Order`
|
15
|
+
- Use `oneof` for `Subject` in `Order`
|
12
16
|
|
13
17
|
## 0.10.1
|
14
18
|
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -5,6 +5,9 @@ namespace :build do
|
|
5
5
|
|
6
6
|
def compile(src_directory, path)
|
7
7
|
print "Compiling #{path}"
|
8
|
+
protoc_version = `protoc --version`.split(' ').last
|
9
|
+
raise RuntimeError, "Please use protoc v3.19.x" unless protoc_version =~ /^3\.19\.\d+$/
|
10
|
+
|
8
11
|
`protoc --proto_path=#{src_directory} --ruby_out=lib/connect_proto/build #{path}`
|
9
12
|
puts ' - done' if $?.exitstatus.zero?
|
10
13
|
end
|
data/connect_proto.gemspec
CHANGED
@@ -2,10 +2,11 @@
|
|
2
2
|
|
3
3
|
lib = File.expand_path("../lib", __FILE__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "connect_proto/version"
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "primary_connect_proto"
|
8
|
-
s.version =
|
9
|
+
s.version = ConnectProto::VERSION
|
9
10
|
s.authors = ["Primary.Health"]
|
10
11
|
s.email = ["sam@primary.health"]
|
11
12
|
|
@@ -27,7 +27,7 @@ message Order {
|
|
27
27
|
|
28
28
|
message Diagnosis {
|
29
29
|
enum Type {
|
30
|
-
TYPE_UNKNOWN
|
30
|
+
TYPE_UNKNOWN = 0;
|
31
31
|
TYPE_ADMITTING = 1;
|
32
32
|
TYPE_FINAL = 2;
|
33
33
|
TYPE_SELF = 3;
|
@@ -54,6 +54,7 @@ message Order {
|
|
54
54
|
STATUS_CANCEL = 2;
|
55
55
|
STATUS_RESULTED = 3;
|
56
56
|
STATUS_NEW = 4;
|
57
|
+
STATUS_REPORTED = 5;
|
57
58
|
}
|
58
59
|
|
59
60
|
enum Priority {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primary_connect_proto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Primary.Health
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -56,22 +56,22 @@ dependencies:
|
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 3.6.0
|
62
59
|
- - "~>"
|
63
60
|
- !ruby/object:Gem::Version
|
64
61
|
version: '3.6'
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 3.6.0
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- - ">="
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: 3.6.0
|
72
69
|
- - "~>"
|
73
70
|
- !ruby/object:Gem::Version
|
74
71
|
version: '3.6'
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 3.6.0
|
75
75
|
description: Protobufs for Diagnostic Ordering and Resulting
|
76
76
|
email:
|
77
77
|
- sam@primary.health
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- lib/connect_proto/src/results.proto
|
122
122
|
- lib/connect_proto/src/specimen.proto
|
123
123
|
- lib/connect_proto/src/visit.proto
|
124
|
+
- lib/connect_proto/version.rb
|
124
125
|
- lib/extensions/formattable/coded_value.rb
|
125
126
|
- lib/extensions/full_nameable.rb
|
126
127
|
- lib/extensions/phone_numberable.rb
|
@@ -138,7 +139,7 @@ homepage: https://github.com/PrimaryDotHealth/connect-proto
|
|
138
139
|
licenses:
|
139
140
|
- Unlicense
|
140
141
|
metadata: {}
|
141
|
-
post_install_message:
|
142
|
+
post_install_message:
|
142
143
|
rdoc_options: []
|
143
144
|
require_paths:
|
144
145
|
- lib
|
@@ -155,8 +156,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
156
|
- !ruby/object:Gem::Version
|
156
157
|
version: '0'
|
157
158
|
requirements: []
|
158
|
-
rubygems_version: 3.
|
159
|
-
signing_key:
|
159
|
+
rubygems_version: 3.2.15
|
160
|
+
signing_key:
|
160
161
|
specification_version: 4
|
161
162
|
summary: Primary Connect Protobuf
|
162
163
|
test_files: []
|