primary_connect_proto 0.10.1 → 0.10.2
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 +8 -0
- data/connect_proto.gemspec +1 -1
- data/lib/connect_proto/build/order_pb.rb +9 -2
- data/lib/connect_proto/src/order.proto +10 -3
- data/lib/primary_connect_proto.rb +1 -0
- metadata +2 -3
- data/primary_connect_proto-0.8.2.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: 6cdfb8725dfc8548cfe48cf3727e78a435e50212c080dafc07ce778c599e9e5c
|
4
|
+
data.tar.gz: 484f6c5239580a4460b4ddb70358e418f4f890f4465f037149927fcc8b529f89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74166b308ed9d2ac62a49537df0deac54092ea7b875b68f74fe4e8a1b1a2ccf356fdf7e0465aff1bae5e245bf6c5ebb4d08f24285b935b89be485be65afd754b
|
7
|
+
data.tar.gz: ae98ea8325f5ce6acbd8a25f444ea21741766bdb794b3030759e3d88cd88ee992db2f9c9db762350ee4fc060dff78055d1b75dc0f5c171f06884ce690eb8ac08
|
data/CHANGELOG.md
CHANGED
data/connect_proto.gemspec
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
require 'google/protobuf/any_pb'
|
7
6
|
require 'google/protobuf/timestamp_pb'
|
8
7
|
require 'address_pb'
|
9
8
|
require 'coded_value_pb'
|
9
|
+
require 'device_pb'
|
10
10
|
require 'identifier_pb'
|
11
11
|
require 'meta_pb'
|
12
12
|
require 'patient_pb'
|
@@ -22,7 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
22
|
optional :patient, :message, 2, "primary.connect.Patient"
|
23
23
|
optional :visit, :message, 3, "primary.connect.Visit"
|
24
24
|
optional :order, :message, 4, "primary.connect.Order.Order"
|
25
|
-
optional :subject, :message, 5, "
|
25
|
+
optional :subject, :message, 5, "primary.connect.Order.Subject"
|
26
26
|
end
|
27
27
|
add_message "primary.connect.Order.Order" do
|
28
28
|
optional :id, :string, 1
|
@@ -104,6 +104,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
104
104
|
value :CONFIRMATIONS, 4
|
105
105
|
value :ACKNOWLEDGEMENT, 5
|
106
106
|
end
|
107
|
+
add_message "primary.connect.Order.Subject" do
|
108
|
+
oneof :subject do
|
109
|
+
optional :patient, :message, 1, "primary.connect.Patient"
|
110
|
+
optional :device, :message, 2, "primary.connect.Device"
|
111
|
+
end
|
112
|
+
end
|
107
113
|
end
|
108
114
|
end
|
109
115
|
|
@@ -119,5 +125,6 @@ module Primary
|
|
119
125
|
Order::Order::Priority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Order.Priority").enummodule
|
120
126
|
Order::Order::ResultStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Order.ResultStatus").enummodule
|
121
127
|
Order::Order::ResponseFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Order.ResponseFlag").enummodule
|
128
|
+
Order::Subject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Order.Subject").msgclass
|
122
129
|
end
|
123
130
|
end
|
@@ -2,11 +2,11 @@ syntax = "proto3";
|
|
2
2
|
package primary.connect;
|
3
3
|
option go_package = "primary.connect";
|
4
4
|
|
5
|
-
import "google/protobuf/any.proto";
|
6
5
|
import "google/protobuf/timestamp.proto";
|
7
6
|
|
8
7
|
import "address.proto";
|
9
8
|
import "coded_value.proto";
|
9
|
+
import "device.proto";
|
10
10
|
import "identifier.proto";
|
11
11
|
import "meta.proto";
|
12
12
|
import "patient.proto";
|
@@ -108,9 +108,16 @@ message Order {
|
|
108
108
|
google.protobuf.Timestamp collection_start_date_time = 22; // Timestamp when the results collection was started.
|
109
109
|
}
|
110
110
|
|
111
|
+
message Subject {
|
112
|
+
oneof subject {
|
113
|
+
Patient patient = 1;
|
114
|
+
Device device = 2;
|
115
|
+
};
|
116
|
+
}
|
117
|
+
|
111
118
|
Meta meta = 1;
|
112
|
-
Patient patient = 2;
|
119
|
+
Patient patient = 2; // Deprecated in favor of the subject field
|
113
120
|
Visit visit = 3;
|
114
121
|
Order order = 4;
|
115
|
-
|
122
|
+
Subject subject = 5;
|
116
123
|
}
|
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.10.
|
4
|
+
version: 0.10.2
|
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-06-
|
11
|
+
date: 2022-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -123,7 +123,6 @@ files:
|
|
123
123
|
- lib/extensions/phone_numberable.rb
|
124
124
|
- lib/extensions/valueable.rb
|
125
125
|
- lib/primary_connect_proto.rb
|
126
|
-
- primary_connect_proto-0.8.2.gem
|
127
126
|
- spec/protobuf/demographics_spec.rb
|
128
127
|
- spec/protobuf/name_spec.rb
|
129
128
|
- spec/protobuf/order/order/facility_spec.rb
|
Binary file
|