primary_connect_proto 0.14.0 → 0.16.0

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: 5158386de07358f2b09f3576bd810fe6df0c302c5dbfe2eef234afcc6f460581
4
- data.tar.gz: 815a954a31b6162094ff69c2d3a8a01692b2ef8cffe1a75841d226c107239295
3
+ metadata.gz: 7dd478b30c53f0da5848da7b444e46a7f5061badd2a5c5ec615a8f3ddff59ddb
4
+ data.tar.gz: 2a65a6d17e12e91c35d133bdfd65df4f06a95513ea24cbfdc884c27fb569f75d
5
5
  SHA512:
6
- metadata.gz: cb7edbd8c6fde44961ade1d7f0fcb78f58b49d74488a7c27b192c70bab8f4206efe18d3f78c9d6458b8ad29cdf19e95f7826e0cbdb36cd3536deb0442ace42f2
7
- data.tar.gz: 2b83b9d09df9ea01b9d8817b753609bfd17ddba9a9ca2fb6bed1475b96557a99be020d38d16e95a59a53578d6fe309ba29ebb6543468b2925772b0a7c8036dc9
6
+ metadata.gz: ebddc71b1538b2f4cb84da8fea2934c1026a1c1e3aef917eea5b4be08cb22d8b3a4bc808d27489d162d04e6b140c35acb43aeb41e35c1b320af956fd55542958
7
+ data.tar.gz: b0aa4c46909fcb478d01f0fe5160a8f805e334eef7d7b57a4d7b0847a36a36253a48820d53bbd3ebc5fc3da0dcfd6028d7aed4001c82966d499577be7a99c886
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.16.0
4
+
5
+ - Added `Measurement`
6
+
7
+ ## 0.15.0
8
+
9
+ - Added `repeated Identifier` to `Device`
10
+ - Added `model_name` to `Device`
11
+ - Added `resulting_device` to `Result`
12
+
3
13
  ## 0.14.0
4
14
 
5
15
  - Added `Order.Order.accession_date_time`
@@ -11,13 +11,14 @@ require 'location_pb'
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("device.proto", :syntax => :proto3) do
13
13
  add_message "primary.connect.Device" do
14
- optional :device_id, :message, 1, "primary.connect.Identifier"
14
+ repeated :identifiers, :message, 1, "primary.connect.Identifier"
15
15
  optional :manufacturer, :string, 2
16
16
  optional :model_number, :string, 3
17
17
  optional :serial_number, :string, 4
18
18
  optional :address, :message, 5, "primary.connect.Address"
19
19
  optional :location, :message, 6, "primary.connect.Location"
20
20
  map :config, :string, :message, 7, "google.protobuf.Value"
21
+ optional :model_name, :string, 8
21
22
  end
22
23
  end
23
24
  end
@@ -0,0 +1,30 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: measurement.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'device_pb'
7
+ require 'meta_pb'
8
+ require 'result_pb'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("measurement.proto", :syntax => :proto3) do
12
+ add_message "primary.connect.Measurement" do
13
+ optional :meta, :message, 1, "primary.connect.Meta"
14
+ optional :subject, :message, 2, "primary.connect.Measurement.Subject"
15
+ repeated :metrics, :message, 3, "primary.connect.Result"
16
+ end
17
+ add_message "primary.connect.Measurement.Subject" do
18
+ oneof :subject do
19
+ optional :device, :message, 1, "primary.connect.Device"
20
+ end
21
+ end
22
+ end
23
+ end
24
+
25
+ module Primary
26
+ module Connect
27
+ Measurement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Measurement").msgclass
28
+ Measurement::Subject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Measurement.Subject").msgclass
29
+ end
30
+ end
@@ -6,6 +6,7 @@ require 'google/protobuf'
6
6
  require 'google/protobuf/timestamp_pb'
7
7
  require 'address_pb'
8
8
  require 'coded_value_pb'
9
+ require 'device_pb'
9
10
  require 'identifier_pb'
10
11
  require 'provider_pb'
11
12
  require 'specimen_pb'
@@ -31,6 +32,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
31
32
  optional :observation_method, :message, 17, "primary.connect.CodedValue"
32
33
  optional :producer_order_id, :string, 18
33
34
  optional :finding_value, :message, 19, "primary.connect.CodedValue"
35
+ optional :resulting_device, :message, 20, "primary.connect.Device"
34
36
  end
35
37
  add_message "primary.connect.Result.Producer" do
36
38
  optional :id, :message, 1, "primary.connect.Identifier"
@@ -9,7 +9,7 @@ import "identifier.proto";
9
9
  import "location.proto";
10
10
 
11
11
  message Device {
12
- Identifier device_id = 1;
12
+ repeated Identifier identifiers = 1; // List of IDs and types that identify the device
13
13
 
14
14
  string manufacturer = 2;
15
15
  string model_number = 3;
@@ -18,4 +18,5 @@ message Device {
18
18
  Address address = 5;
19
19
  Location location = 6;
20
20
  map<string, google.protobuf.Value> config = 7;
21
+ string model_name = 8;
21
22
  }
@@ -0,0 +1,20 @@
1
+ syntax = "proto3";
2
+ package primary.connect;
3
+ option go_package = "primary.connect";
4
+
5
+ import "device.proto";
6
+ import "meta.proto";
7
+ import "result.proto";
8
+
9
+ message Measurement {
10
+
11
+ message Subject {
12
+ oneof subject {
13
+ Device device = 1;
14
+ };
15
+ }
16
+
17
+ Meta meta = 1;
18
+ Subject subject = 2;
19
+ repeated Result metrics = 3;
20
+ }
@@ -6,6 +6,7 @@ import "google/protobuf/timestamp.proto";
6
6
 
7
7
  import "address.proto";
8
8
  import "coded_value.proto";
9
+ import "device.proto";
9
10
  import "identifier.proto";
10
11
  import "provider.proto";
11
12
  import "specimen.proto";
@@ -103,4 +104,5 @@ message Result {
103
104
  CodedValue observation_method = 17; // Method used to obtain the observation. This field is used when an observation may be obtained by different methods and the sending system wishes to indicate which method was used.
104
105
  string producer_order_id = 18;
105
106
  CodedValue finding_value = 19; // Normalized value
107
+ Device resulting_device = 20; // The device used to result
106
108
  }
@@ -1,3 +1,3 @@
1
1
  module ConnectProto
2
- VERSION = '0.14.0'
2
+ VERSION = '0.16.0'
3
3
  end
@@ -7,6 +7,7 @@ require 'device_pb'
7
7
  require 'identifier_pb'
8
8
  require 'location_pb'
9
9
  require 'meta_pb'
10
+ require 'measurement_pb'
10
11
  require 'name_pb'
11
12
  require 'order_pb'
12
13
  require 'patient_pb'
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.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Primary.Health
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-20 00:00:00.000000000 Z
11
+ date: 2022-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -91,6 +91,7 @@ files:
91
91
  - lib/connect_proto/build/device_pb.rb
92
92
  - lib/connect_proto/build/identifier_pb.rb
93
93
  - lib/connect_proto/build/location_pb.rb
94
+ - lib/connect_proto/build/measurement_pb.rb
94
95
  - lib/connect_proto/build/medication_administration_pb.rb
95
96
  - lib/connect_proto/build/meta_pb.rb
96
97
  - lib/connect_proto/build/name_pb.rb
@@ -109,6 +110,7 @@ files:
109
110
  - lib/connect_proto/src/device.proto
110
111
  - lib/connect_proto/src/identifier.proto
111
112
  - lib/connect_proto/src/location.proto
113
+ - lib/connect_proto/src/measurement.proto
112
114
  - lib/connect_proto/src/medication_administration.proto
113
115
  - lib/connect_proto/src/meta.proto
114
116
  - lib/connect_proto/src/name.proto