primary_connect_proto 0.13.0 → 0.15.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 +10 -0
- data/lib/connect_proto/build/device_pb.rb +2 -1
- data/lib/connect_proto/build/order_pb.rb +1 -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/order.proto +1 -0
- data/lib/connect_proto/src/result.proto +2 -0
- data/lib/connect_proto/version.rb +1 -1
- metadata +12 -13
- data/primary_connect_proto-0.12.0.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d496766e682a15a163f5aad1707f49ada2662d7fdc69307cb03c1b57977c41ad
|
|
4
|
+
data.tar.gz: 4ecda5c168ebf23f22b343adac5d494a95f4e32120d9cb79df398435e4f1f8c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b69234d07261eaf500e0f41ca9ac4e8966aacb4afae7c8841d98ad0cad02d28a3e2dad311a611f8d104dbda47436947c9ce393a9b702352d847c4c387e4e92c0
|
|
7
|
+
data.tar.gz: 814ed20676bfa1267c19ce8e7aaf82bc42c582ac312bfa0a80c79d86857de8111dc8ce1cfe2086832b8c29162681795a82c3256f7bca3a2cf10ad34251a26d30
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
- Added `repeated Identifier` to `Device`
|
|
6
|
+
- Added `model_name` to `Device`
|
|
7
|
+
- Added `resulting_device` to `Result`
|
|
8
|
+
|
|
9
|
+
## 0.14.0
|
|
10
|
+
|
|
11
|
+
- Added `Order.Order.accession_date_time`
|
|
12
|
+
|
|
3
13
|
## 0.13.0
|
|
4
14
|
|
|
5
15
|
- Added `Demographics::Gender::GENDER_INTERSEX`
|
|
@@ -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
|
|
@@ -50,6 +50,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
50
50
|
repeated :results, :message, 21, "primary.connect.Result"
|
|
51
51
|
optional :collection_start_date_time, :message, 22, "google.protobuf.Timestamp"
|
|
52
52
|
repeated :medication_administrations, :message, 23, "primary.connect.MedicationAdministration"
|
|
53
|
+
optional :accession_date_time, :message, 24, "google.protobuf.Timestamp"
|
|
53
54
|
end
|
|
54
55
|
add_message "primary.connect.Order.Order.Facility" do
|
|
55
56
|
optional :name, :string, 1
|
|
@@ -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
|
}
|
|
@@ -109,6 +109,7 @@ message Order {
|
|
|
109
109
|
repeated Result results = 21; // If this order already has a result, add the result here
|
|
110
110
|
google.protobuf.Timestamp collection_start_date_time = 22; // Timestamp when the results collection was started.
|
|
111
111
|
repeated MedicationAdministration medication_administrations = 23; // List of medication administrations
|
|
112
|
+
google.protobuf.Timestamp accession_date_time = 24; // Timestamp when the specimen was received by the destination
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
message Subject {
|
|
@@ -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.15.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-10-25 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'
|
|
62
59
|
- - ">="
|
|
63
60
|
- !ruby/object:Gem::Version
|
|
64
61
|
version: 3.6.0
|
|
62
|
+
- - "~>"
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
version: '3.6'
|
|
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'
|
|
72
69
|
- - ">="
|
|
73
70
|
- !ruby/object:Gem::Version
|
|
74
71
|
version: 3.6.0
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '3.6'
|
|
75
75
|
description: Protobufs for Diagnostic Ordering and Resulting
|
|
76
76
|
email:
|
|
77
77
|
- sam@primary.health
|
|
@@ -127,7 +127,6 @@ files:
|
|
|
127
127
|
- lib/extensions/phone_numberable.rb
|
|
128
128
|
- lib/extensions/valueable.rb
|
|
129
129
|
- lib/primary_connect_proto.rb
|
|
130
|
-
- primary_connect_proto-0.12.0.gem
|
|
131
130
|
- spec/protobuf/demographics_spec.rb
|
|
132
131
|
- spec/protobuf/name_spec.rb
|
|
133
132
|
- spec/protobuf/order/order/facility_spec.rb
|
|
@@ -140,7 +139,7 @@ homepage: https://github.com/PrimaryDotHealth/connect-proto
|
|
|
140
139
|
licenses:
|
|
141
140
|
- Unlicense
|
|
142
141
|
metadata: {}
|
|
143
|
-
post_install_message:
|
|
142
|
+
post_install_message:
|
|
144
143
|
rdoc_options: []
|
|
145
144
|
require_paths:
|
|
146
145
|
- lib
|
|
@@ -157,8 +156,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
157
156
|
- !ruby/object:Gem::Version
|
|
158
157
|
version: '0'
|
|
159
158
|
requirements: []
|
|
160
|
-
rubygems_version: 3.
|
|
161
|
-
signing_key:
|
|
159
|
+
rubygems_version: 3.0.3.1
|
|
160
|
+
signing_key:
|
|
162
161
|
specification_version: 4
|
|
163
162
|
summary: Primary Connect Protobuf
|
|
164
163
|
test_files: []
|
|
Binary file
|