primary_connect_proto 0.31.0 → 0.32.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 +4 -0
- data/lib/connect_proto/build/immunization_query_pb.rb +43 -0
- data/lib/connect_proto/build/immunization_query_response_pb.rb +45 -0
- data/lib/connect_proto/src/immunization_query.proto +11 -0
- data/lib/connect_proto/src/immunization_query_response.proto +13 -0
- data/lib/connect_proto/version.rb +1 -1
- data/lib/primary_connect_proto.rb +2 -0
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 154b05d208b3602050fe3c7c601c308fdc7e0dac4714c75450e2342ab7f4a0e0
|
|
4
|
+
data.tar.gz: 266311d5fa7679cf850f1b4e85c5de66fbf9db91d3e5ac48abe9f75b933c5f4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 794678918e2cb3f53ebf72d23a735c9c30cd4bb6b70beada33e481ef69d75a810f1ec2ac9a3dacad6dbeec097ff4f30b6ae7db971f95b212209d73180fbdc285
|
|
7
|
+
data.tar.gz: ef8a27ff6d938d9fab19a0f4647ad2c81a08d0ec3a721164151189033fb68c88629a3d5f6a538a96a18606a10539919a96b1dff3e92c95622e08121e5154f91a
|
data/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: immunization_query.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'meta_pb'
|
|
8
|
+
require 'patient_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x18immunization_query.proto\x12\x0fprimary.connect\x1a\nmeta.proto\x1a\rpatient.proto\"c\n\x11ImmunizationQuery\x12#\n\x04meta\x18\x01 \x01(\x0b\x32\x15.primary.connect.Meta\x12)\n\x07patient\x18\x02 \x01(\x0b\x32\x18.primary.connect.PatientB\x11Z\x0fprimary.connectb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
|
|
15
|
+
begin
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
rescue TypeError
|
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
21
|
+
parsed.clear_dependency
|
|
22
|
+
serialized = parsed.class.encode(parsed)
|
|
23
|
+
file = pool.add_serialized_file(serialized)
|
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
25
|
+
imports = [
|
|
26
|
+
["primary.connect.Meta", "meta.proto"],
|
|
27
|
+
["primary.connect.Patient", "patient.proto"],
|
|
28
|
+
]
|
|
29
|
+
imports.each do |type_name, expected_filename|
|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
31
|
+
if import_file.name != expected_filename
|
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
36
|
+
warn "This will become an error in the next major version."
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
module Primary
|
|
40
|
+
module Connect
|
|
41
|
+
ImmunizationQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.ImmunizationQuery").msgclass
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: immunization_query_response.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'meta_pb'
|
|
8
|
+
require 'patient_pb'
|
|
9
|
+
require 'medication_administration_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n!immunization_query_response.proto\x12\x0fprimary.connect\x1a\nmeta.proto\x1a\rpatient.proto\x1a\x1fmedication_administration.proto\"\xba\x01\n\x19ImmunizationQueryResponse\x12#\n\x04meta\x18\x01 \x01(\x0b\x32\x15.primary.connect.Meta\x12)\n\x07patient\x18\x02 \x01(\x0b\x32\x18.primary.connect.Patient\x12M\n\x1amedication_administrations\x18\x03 \x03(\x0b\x32).primary.connect.MedicationAdministrationB\x11Z\x0fprimary.connectb\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
|
|
16
|
+
begin
|
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
|
18
|
+
rescue TypeError
|
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
22
|
+
parsed.clear_dependency
|
|
23
|
+
serialized = parsed.class.encode(parsed)
|
|
24
|
+
file = pool.add_serialized_file(serialized)
|
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
26
|
+
imports = [
|
|
27
|
+
["primary.connect.Meta", "meta.proto"],
|
|
28
|
+
["primary.connect.Patient", "patient.proto"],
|
|
29
|
+
["primary.connect.MedicationAdministration", "medication_administration.proto"],
|
|
30
|
+
]
|
|
31
|
+
imports.each do |type_name, expected_filename|
|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
33
|
+
if import_file.name != expected_filename
|
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
38
|
+
warn "This will become an error in the next major version."
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
module Primary
|
|
42
|
+
module Connect
|
|
43
|
+
ImmunizationQueryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.ImmunizationQueryResponse").msgclass
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package primary.connect;
|
|
3
|
+
option go_package = "primary.connect";
|
|
4
|
+
|
|
5
|
+
import "meta.proto";
|
|
6
|
+
import "patient.proto";
|
|
7
|
+
import "medication_administration.proto";
|
|
8
|
+
|
|
9
|
+
message ImmunizationQueryResponse {
|
|
10
|
+
Meta meta = 1;
|
|
11
|
+
Patient patient = 2;
|
|
12
|
+
repeated MedicationAdministration medication_administrations = 3; // List of medication administrations
|
|
13
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
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.32.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Primary.Health
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2026-02-17 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: google-protobuf
|
|
@@ -91,6 +90,8 @@ files:
|
|
|
91
90
|
- lib/connect_proto/build/demographics_pb.rb
|
|
92
91
|
- lib/connect_proto/build/device_pb.rb
|
|
93
92
|
- lib/connect_proto/build/identifier_pb.rb
|
|
93
|
+
- lib/connect_proto/build/immunization_query_pb.rb
|
|
94
|
+
- lib/connect_proto/build/immunization_query_response_pb.rb
|
|
94
95
|
- lib/connect_proto/build/location_pb.rb
|
|
95
96
|
- lib/connect_proto/build/measurement_pb.rb
|
|
96
97
|
- lib/connect_proto/build/medication_administration_pb.rb
|
|
@@ -110,6 +111,8 @@ files:
|
|
|
110
111
|
- lib/connect_proto/src/demographics.proto
|
|
111
112
|
- lib/connect_proto/src/device.proto
|
|
112
113
|
- lib/connect_proto/src/identifier.proto
|
|
114
|
+
- lib/connect_proto/src/immunization_query.proto
|
|
115
|
+
- lib/connect_proto/src/immunization_query_response.proto
|
|
113
116
|
- lib/connect_proto/src/location.proto
|
|
114
117
|
- lib/connect_proto/src/measurement.proto
|
|
115
118
|
- lib/connect_proto/src/medication_administration.proto
|
|
@@ -133,7 +136,6 @@ homepage: https://github.com/PrimaryDotHealth/connect-proto
|
|
|
133
136
|
licenses:
|
|
134
137
|
- Unlicense
|
|
135
138
|
metadata: {}
|
|
136
|
-
post_install_message:
|
|
137
139
|
rdoc_options: []
|
|
138
140
|
require_paths:
|
|
139
141
|
- lib
|
|
@@ -150,8 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
152
|
- !ruby/object:Gem::Version
|
|
151
153
|
version: '0'
|
|
152
154
|
requirements: []
|
|
153
|
-
rubygems_version: 3.5
|
|
154
|
-
signing_key:
|
|
155
|
+
rubygems_version: 3.6.5
|
|
155
156
|
specification_version: 4
|
|
156
157
|
summary: Primary Connect Protobuf
|
|
157
158
|
test_files: []
|