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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/connect_proto/build/device_pb.rb +2 -1
- data/lib/connect_proto/build/measurement_pb.rb +30 -0
- data/lib/connect_proto/build/result_pb.rb +2 -0
- data/lib/connect_proto/src/device.proto +2 -1
- data/lib/connect_proto/src/measurement.proto +20 -0
- data/lib/connect_proto/src/result.proto +2 -0
- data/lib/connect_proto/version.rb +1 -1
- data/lib/primary_connect_proto.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dd478b30c53f0da5848da7b444e46a7f5061badd2a5c5ec615a8f3ddff59ddb
|
4
|
+
data.tar.gz: 2a65a6d17e12e91c35d133bdfd65df4f06a95513ea24cbfdc884c27fb569f75d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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
|
}
|
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.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-
|
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
|