primary_connect_proto 0.31.0 → 0.33.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 +8 -0
- data/Gemfile.lock +1 -1
- data/lib/connect_proto/build/demographics_pb.rb +1 -1
- 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/demographics.proto +1 -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 +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e87efe6fa3a7a5f2240b0bea5ffbbfff3e31c2882566db78b09f950672b38881
|
|
4
|
+
data.tar.gz: 7e7d59f1b67cf3f385393bf634a71488b58ce9fc8b8a7f3701e01b6a17143fa9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f9f7a5ddb17436d80df937478671d4b1065067a299629c69ea44887babec0021aa81ce144459c2a218b21f8127433e24256c5f69899e9460361973136990dc9
|
|
7
|
+
data.tar.gz: 1f2dd4652651a5bb7ca85efb5d1b8249bb9f001e24d1a8cc95f6849e3158e1c1b3e6f04ae32e7b0cc75fd5a880dfc1ba54b3fc986ec86bd6d0ce4de2b5a44c09
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.33.0
|
|
4
|
+
|
|
5
|
+
- Add new item `GENDER_QUESTIONING` to the `demographics.Gender` enum
|
|
6
|
+
|
|
7
|
+
## 0.32.0
|
|
8
|
+
|
|
9
|
+
- Add new `ImmunizationQuery` and `ImmunizationQueryResponse` messages
|
|
10
|
+
|
|
3
11
|
## 0.31.0
|
|
4
12
|
|
|
5
13
|
-- Add new `STATUS_NOT_REPORTED` to `order.status` enum
|
data/Gemfile.lock
CHANGED
|
@@ -10,7 +10,7 @@ require 'name_pb'
|
|
|
10
10
|
require 'phone_number_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n\x12\x64\x65mographics.proto\x12\x0fprimary.connect\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\raddress.proto\x1a\nname.proto\x1a\x12phone_number.proto\"\
|
|
13
|
+
descriptor_data = "\n\x12\x64\x65mographics.proto\x12\x0fprimary.connect\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\raddress.proto\x1a\nname.proto\x1a\x12phone_number.proto\"\x8b\x1a\n\x0c\x44\x65mographics\x12#\n\x04name\x18\x01 \x01(\x0b\x32\x15.primary.connect.Name\x12\x0b\n\x03\x64ob\x18\x02 \x01(\t\x12\x0b\n\x03ssn\x18\x03 \x01(\t\x12.\n\x03sex\x18\x04 \x01(\x0e\x32!.primary.connect.Demographics.Sex\x12\x34\n\x06gender\x18\x05 \x01(\x0e\x32$.primary.connect.Demographics.Gender\x12K\n\x12sexual_orientation\x18\x06 \x01(\x0e\x32/.primary.connect.Demographics.SexualOrientation\x12\x31\n\x05races\x18\x07 \x03(\x0e\x32\".primary.connect.Demographics.Race\x12>\n\x0crace_details\x18\x08 \x03(\x0e\x32(.primary.connect.Demographics.RaceDetail\x12:\n\tethnicity\x18\t \x01(\x0e\x32\'.primary.connect.Demographics.Ethnicity\x12G\n\x10\x65thnicity_detail\x18\n \x03(\x0e\x32-.primary.connect.Demographics.EthnicityDetail\x12\x43\n\x0emarital_status\x18\x0b \x01(\x0e\x32+.primary.connect.Demographics.MaritalStatus\x12\x13\n\x0bis_deceased\x18\x0c \x01(\x08\x12\x33\n\x0f\x64\x65\x61th_date_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\rphone_numbers\x18\x0e \x03(\x0b\x32\x1c.primary.connect.PhoneNumber\x12\x17\n\x0f\x65mail_addresses\x18\x0f \x03(\t\x12\x15\n\rlanguage_code\x18\x10 \x01(\t\x12\x14\n\x0c\x63itizenships\x18\x11 \x03(\t\x12)\n\x07\x61\x64\x64ress\x18\x12 \x01(\x0b\x32\x18.primary.connect.Address\"\xc1\x02\n\x04Race\x12\x10\n\x0cRACE_UNKNOWN\x10\x00\x12)\n%RACE_AMERICAN_INDIAN_OR_ALASKA_NATIVE\x10\x01\x12\x0e\n\nRACE_ASIAN\x10\x02\x12\"\n\x1eRACE_BLACK_OR_AFRICAN_AMERICAN\x10\x03\x12\x32\n.RACE_NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER\x10\x04\x12\x0e\n\nRACE_OTHER\x10\x05\x12\x0e\n\nRACE_WHITE\x10\x06\x12\x1f\n\x1bRACE_PREFER_NOT_TO_DISCLOSE\x10\x07\x12(\n$RACE_MIDDLE_EASTERN_OR_NORTH_AFRICAN\x10\x08\x12)\n%RACE_SOUTH_OR_CENTRAL_AMERICAN_INDIAN\x10\t\"\xe1\x05\n\nRaceDetail\x12\x17\n\x13RACE_DETAIL_UNKNOWN\x10\x00\x12\x1c\n\x18RACE_DETAIL_ASIAN_INDIAN\x10\x01\x12\x17\n\x13RACE_DETAIL_CHINESE\x10\x02\x12\x19\n\x15RACE_DETAIL_CAMBODIAN\x10\x03\x12\x18\n\x14RACE_DETAIL_FILIPINO\x10\x04\x12\x18\n\x14RACE_DETAIL_JAPANESE\x10\x05\x12\x16\n\x12RACE_DETAIL_KOREAN\x10\x06\x12\x17\n\x13RACE_DETAIL_LAOTIAN\x10\x07\x12\x1a\n\x16RACE_DETAIL_VIETNAMESE\x10\x08\x12\x1b\n\x17RACE_DETAIL_OTHER_ASIAN\x10\t\x12\x1f\n\x1bRACE_DETAIL_NATIVE_HAWAIIAN\x10\n\x12#\n\x1fRACE_DETAIL_GUAMIAN_OR_CHAMORRO\x10\x0b\x12\x16\n\x12RACE_DETAIL_SAMOAN\x10\x0c\x12&\n\"RACE_DETAIL_OTHER_PACIFIC_ISLANDER\x10\r\x12&\n\"RACE_DETAIL_PREFER_NOT_TO_DISCLOSE\x10\x0e\x12\x1b\n\x17RACE_DETAIL_BANGLADESHI\x10\x0f\x12\x15\n\x11RACE_DETAIL_HMONG\x10\x10\x12\x1a\n\x16RACE_DETAIL_INDONESIAN\x10\x11\x12\x19\n\x15RACE_DETAIL_MALAYSIAN\x10\x12\x12\x19\n\x15RACE_DETAIL_PAKISTANI\x10\x13\x12\x1a\n\x16RACE_DETAIL_SRI_LANKAN\x10\x14\x12\x14\n\x10RACE_DETAIL_THAI\x10\x15\x12\x19\n\x15RACE_DETAIL_TAIWANESE\x10\x16\x12\x19\n\x15RACE_DETAIL_GUAMANIAN\x10\x17\x12\x16\n\x12RACE_DETAIL_FIJIAN\x10\x18\x12\x16\n\x12RACE_DETAIL_TONGAN\x10\x19\"\x8d\x04\n\rMaritalStatus\x12\x1a\n\x16MARITAL_STATUS_UNKNOWN\x10\x00\x12\x1c\n\x18MARITAL_STATUS_SEPARATED\x10\x01\x12\x1c\n\x18MARITAL_STATUS_UNMARRIED\x10\x02\x12\x1d\n\x19MARITAL_STATUS_COMMON_LAW\x10\x03\x12\x1b\n\x17MARITAL_STATUS_DIVORCED\x10\x04\x12$\n MARITAL_STATUS_LEGALLY_SEPARATED\x10\x05\x12\"\n\x1eMARITAL_STATUS_LIVING_TOGETHER\x10\x06\x12 \n\x1cMARITAL_STATUS_INTERLOCUTORY\x10\x07\x12\x1a\n\x16MARITAL_STATUS_MARRIED\x10\x08\x12\x1b\n\x17MARITAL_STATUS_ANNULLED\x10\t\x12\x18\n\x14MARITAL_STATUS_OTHER\x10\n\x12#\n\x1fMARITAL_STATUS_DOMESTIC_PARTNER\x10\x0b\x12.\n*MARITAL_STATUS_REGISTERED_DOMESTIC_PARTNER\x10\x0c\x12\x19\n\x15MARITAL_STATUS_SINGLE\x10\r\x12\x1d\n\x19MARITAL_STATUS_UNREPORTED\x10\x0e\x12\x1a\n\x16MARITAL_STATUS_WIDOWED\x10\x0f\"w\n\x03Sex\x12\x0f\n\x0bSEX_UNKNOWN\x10\x00\x12\x0e\n\nSEX_FEMALE\x10\x01\x12\x0c\n\x08SEX_MALE\x10\x02\x12\r\n\tSEX_OTHER\x10\x03\x12\x12\n\x0eSEX_NON_BINARY\x10\x04\x12\x1e\n\x1aSEX_PREFER_NOT_TO_DISCLOSE\x10\x05\"\xf5\x01\n\x06Gender\x12\x12\n\x0eGENDER_UNKNOWN\x10\x00\x12\x11\n\rGENDER_FEMALE\x10\x01\x12\x0f\n\x0bGENDER_MALE\x10\x02\x12\x10\n\x0cGENDER_OTHER\x10\x03\x12\x15\n\x11GENDER_NON_BINARY\x10\x04\x12\x1b\n\x17GENDER_TRANSGENDER_MALE\x10\x05\x12\x1d\n\x19GENDER_TRANSGENDER_FEMALE\x10\x06\x12!\n\x1dGENDER_PREFER_NOT_TO_DISCLOSE\x10\x07\x12\x13\n\x0fGENDER_INTERSEX\x10\x08\x12\x16\n\x12GENDER_QUESTIONING\x10\t\"\xdc\x01\n\x11SexualOrientation\x12\x17\n\x13ORIENTATION_UNKNOWN\x10\x00\x12\x1a\n\x16ORIENTATION_HOMOSEXUAL\x10\x01\x12\x1c\n\x18ORIENTATION_HETEROSEXUAL\x10\x02\x12\x18\n\x14ORIENTATION_BISEXUAL\x10\x03\x12\x1b\n\x17ORIENTATION_QUESTIONING\x10\x04\x12\x15\n\x11ORIENTATION_OTHER\x10\x05\x12&\n\"ORIENTATION_PREFER_NOT_TO_DISCLOSE\x10\x06\"|\n\tEthnicity\x12\x15\n\x11\x45THNICITY_UNKNOWN\x10\x00\x12\x16\n\x12\x45THNICITY_HISPANIC\x10\x01\x12\x1a\n\x16\x45THNICITY_NON_HISPANIC\x10\x02\x12$\n ETHNICITY_PREFER_NOT_TO_DISCLOSE\x10\x03\"\xd5\x01\n\x0f\x45thnicityDetail\x12\x1c\n\x18\x45THNICITY_DETAIL_UNKNOWN\x10\x00\x12\x1c\n\x18\x45THNICITY_DETAIL_MEXICAN\x10\x01\x12!\n\x1d\x45THNICITY_DETAIL_PUERTO_RICAN\x10\x02\x12\x1a\n\x16\x45THNICITY_DETAIL_CUBAN\x10\x03\x12\x1a\n\x16\x45THNICITY_DETAIL_OTHER\x10\x04\x12+\n\'ETHNICITY_DETAIL_PREFER_NOT_TO_DISCLOSE\x10\x05\x42\x11Z\x0fprimary.connectb\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
|
|
@@ -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,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.33.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:
|
|
11
|
+
date: 2026-05-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|
|
@@ -91,6 +91,8 @@ files:
|
|
|
91
91
|
- lib/connect_proto/build/demographics_pb.rb
|
|
92
92
|
- lib/connect_proto/build/device_pb.rb
|
|
93
93
|
- lib/connect_proto/build/identifier_pb.rb
|
|
94
|
+
- lib/connect_proto/build/immunization_query_pb.rb
|
|
95
|
+
- lib/connect_proto/build/immunization_query_response_pb.rb
|
|
94
96
|
- lib/connect_proto/build/location_pb.rb
|
|
95
97
|
- lib/connect_proto/build/measurement_pb.rb
|
|
96
98
|
- lib/connect_proto/build/medication_administration_pb.rb
|
|
@@ -110,6 +112,8 @@ files:
|
|
|
110
112
|
- lib/connect_proto/src/demographics.proto
|
|
111
113
|
- lib/connect_proto/src/device.proto
|
|
112
114
|
- lib/connect_proto/src/identifier.proto
|
|
115
|
+
- lib/connect_proto/src/immunization_query.proto
|
|
116
|
+
- lib/connect_proto/src/immunization_query_response.proto
|
|
113
117
|
- lib/connect_proto/src/location.proto
|
|
114
118
|
- lib/connect_proto/src/measurement.proto
|
|
115
119
|
- lib/connect_proto/src/medication_administration.proto
|