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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85e72cdcde1e815b6dc2217488da05d5f802b86c928e11a0608e1c1d5cad7775
4
- data.tar.gz: a2111b4f5bce17e24b20adbcb55a2b4d2a3404f0e590e778bbf13b0537c738d4
3
+ metadata.gz: c367cc34fa389d087c38addd77cbdd455572ed37393dc62fc98224e96117b380
4
+ data.tar.gz: 79f99dafbe4101cacb9e790d9a75f6dd797872e0ad6ef635aa6b91cdd2b00d05
5
5
  SHA512:
6
- metadata.gz: e39c78066ae34fc2ccf1914ac8e86250ab8f208a4e889e0d8f835c6e0582fe6ecd0234528aaed3451fd261959f4cec30c4ec30ac18b813f9af75749117a168a3
7
- data.tar.gz: bf9028015ead3b2a1717d0af0a84c9a504c092be6c92c429cb4b109fc85e78cb24cd78acbc02a8fc5f5e9fb6b1ad974d239e8f703de57bba4d1f9e22bf3c385d
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
@@ -14,7 +14,7 @@
14
14
 
15
15
  ## Publishing changes
16
16
 
17
- - Update version in `connect_proto.gemspec`
17
+ - Update version in `connect_proto/version.rb`
18
18
  - Update `CHANGELOG.md`
19
19
  - Push to Github
20
20
  - Build gem
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
@@ -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 = "0.11.0"
9
+ s.version = ConnectProto::VERSION
9
10
  s.authors = ["Primary.Health"]
10
11
  s.email = ["sam@primary.health"]
11
12
 
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/struct_pb'
7
- require 'google/protobuf/timestamp_pb'
8
7
  require 'address_pb'
9
8
  require 'identifier_pb'
10
9
  require 'location_pb'
@@ -82,6 +82,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
82
82
  value :STATUS_CANCEL, 2
83
83
  value :STATUS_RESULTED, 3
84
84
  value :STATUS_NEW, 4
85
+ value :STATUS_REPORTED, 5
85
86
  end
86
87
  add_enum "primary.connect.Order.Order.Priority" do
87
88
  value :PRIORITY_UNKNOWN, 0
@@ -3,7 +3,6 @@ package primary.connect;
3
3
  option go_package = "primary.connect";
4
4
 
5
5
  import "google/protobuf/struct.proto";
6
- import "google/protobuf/timestamp.proto";
7
6
 
8
7
  import "address.proto";
9
8
  import "identifier.proto";
@@ -27,7 +27,7 @@ message Order {
27
27
 
28
28
  message Diagnosis {
29
29
  enum Type {
30
- TYPE_UNKNOWN = 0;
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 {
@@ -0,0 +1,3 @@
1
+ module ConnectProto
2
+ VERSION = '0.12.0'
3
+ end
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.11.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-07-01 00:00:00.000000000 Z
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.0.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: []