primary_connect_proto 0.22.0 → 0.23.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.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: result.proto
3
4
 
@@ -11,97 +12,38 @@ require 'identifier_pb'
11
12
  require 'provider_pb'
12
13
  require 'specimen_pb'
13
14
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("result.proto", :syntax => :proto3) do
16
- add_message "primary.connect.Result" do
17
- optional :code, :message, 1, "primary.connect.CodedValue"
18
- repeated :related_group_id, :string, 2
19
- optional :specimen, :message, 3, "primary.connect.Specimen"
20
- optional :value, :string, 4
21
- optional :value_type, :enum, 5, "primary.connect.Result.ValueType"
22
- optional :completion_date_time, :message, 6, "google.protobuf.Timestamp"
23
- optional :report, :message, 7, "primary.connect.Result.Report"
24
- optional :units, :string, 8
25
- repeated :notes, :string, 9
26
- optional :abnormal_flag, :enum, 10, "primary.connect.Result.AbnormalFlag"
27
- optional :status, :enum, 12, "primary.connect.Result.Status"
28
- optional :primary_results_interpreter, :message, 13, "primary.connect.Provider"
29
- optional :producer, :message, 14, "primary.connect.Result.Producer"
30
- optional :performer, :message, 15, "primary.connect.Provider"
31
- optional :reference_range, :message, 16, "primary.connect.Result.Range"
32
- optional :observation_method, :message, 17, "primary.connect.CodedValue"
33
- optional :producer_order_id, :string, 18
34
- optional :finding_value, :message, 19, "primary.connect.CodedValue"
35
- optional :resulting_device, :message, 20, "primary.connect.Device"
36
- optional :procedure, :message, 21, "primary.connect.CodedValue"
37
- end
38
- add_message "primary.connect.Result.Producer" do
39
- optional :id, :message, 1, "primary.connect.Identifier"
40
- optional :name, :string, 2
41
- optional :address, :message, 3, "primary.connect.Address"
42
- end
43
- add_message "primary.connect.Result.Range" do
44
- optional :low, :int32, 1
45
- optional :high, :int32, 2
46
- optional :text, :string, 3
47
- end
48
- add_message "primary.connect.Result.Report" do
49
- optional :file_type, :string, 1
50
- optional :data, :string, 2
51
- optional :url, :string, 3
52
- end
53
- add_enum "primary.connect.Result.ValueType" do
54
- value :UNKNOWN, 0
55
- value :CODED_ENTRY, 1
56
- value :DATE, 2
57
- value :DATE_TIME, 3
58
- value :ENCAPSULATED_DATA, 4
59
- value :FORMATTED_TEXT, 5
60
- value :ID, 6
61
- value :ID_AND_NAME, 7
62
- value :MONEY, 8
63
- value :NAME, 9
64
- value :NUMERIC, 10
65
- value :PHONE_NUMBER, 11
66
- value :PRICE, 12
67
- value :REFERENCE_POINTER, 13
68
- value :STRING, 14
69
- value :TIME, 15
70
- value :STRUCTURED_NUMERIC, 16
71
- value :ADDRESS, 17
72
- end
73
- add_enum "primary.connect.Result.AbnormalFlag" do
74
- value :NONE, 0
75
- value :LOW, 1
76
- value :VERY_LOW, 2
77
- value :HIGH, 3
78
- value :VERY_HIGH, 4
79
- value :ABNORMAL, 5
80
- value :SUSCEPTIBLE, 6
81
- value :RESISTANT, 7
82
- value :INTERMEDIATE, 8
83
- value :MODERATELY_SUSCEPTIBLE, 9
84
- value :VERY_SUSCEPTIBLE, 10
85
- value :CRITICALLY_ABNORMAL, 11
86
- value :CRITICALLY_LOW, 12
87
- value :CRITICALLY_HIGH, 13
88
- value :NOT_SUSCEPTIBLE, 14
89
- value :INCONCLUSIVE, 15
90
- value :VERY_ABNORMAL, 16
91
- value :NORMAL, 17
92
- end
93
- add_enum "primary.connect.Result.Status" do
94
- value :NONE_SPECIFIED, 0
95
- value :INCOMPLETE, 1
96
- value :CORRECTED, 2
97
- value :FINAL, 3
98
- value :UNAVAILABLE, 4
99
- value :PRELIMINARY, 5
100
- value :CANCELED, 6
101
- value :DELETED, 7
102
- value :REJECTED, 8
15
+
16
+ descriptor_data = "\n\x0cresult.proto\x12\x0fprimary.connect\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\raddress.proto\x1a\x11\x63oded_value.proto\x1a\x0c\x64\x65vice.proto\x1a\x10identifier.proto\x1a\x0eprovider.proto\x1a\x0especimen.proto\"\xc5\x0e\n\x06Result\x12)\n\x04\x63ode\x18\x01 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x12\x18\n\x10related_group_id\x18\x02 \x03(\t\x12+\n\x08specimen\x18\x03 \x01(\x0b\x32\x19.primary.connect.Specimen\x12\r\n\x05value\x18\x04 \x01(\t\x12\x35\n\nvalue_type\x18\x05 \x01(\x0e\x32!.primary.connect.Result.ValueType\x12\x38\n\x14\x63ompletion_date_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\x06report\x18\x07 \x01(\x0b\x32\x1e.primary.connect.Result.Report\x12\r\n\x05units\x18\x08 \x01(\t\x12\r\n\x05notes\x18\t \x03(\t\x12;\n\rabnormal_flag\x18\n \x01(\x0e\x32$.primary.connect.Result.AbnormalFlag\x12.\n\x06status\x18\x0c \x01(\x0e\x32\x1e.primary.connect.Result.Status\x12>\n\x1bprimary_results_interpreter\x18\r \x01(\x0b\x32\x19.primary.connect.Provider\x12\x32\n\x08producer\x18\x0e \x01(\x0b\x32 .primary.connect.Result.Producer\x12,\n\tperformer\x18\x0f \x01(\x0b\x32\x19.primary.connect.Provider\x12\x36\n\x0freference_range\x18\x10 \x01(\x0b\x32\x1d.primary.connect.Result.Range\x12\x37\n\x12observation_method\x18\x11 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x12\x19\n\x11producer_order_id\x18\x12 \x01(\t\x12\x32\n\rfinding_value\x18\x13 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x12\x31\n\x10resulting_device\x18\x14 \x01(\x0b\x32\x17.primary.connect.Device\x12.\n\tprocedure\x18\x15 \x01(\x0b\x32\x1b.primary.connect.CodedValue\x1al\n\x08Producer\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x1b.primary.connect.Identifier\x12\x0c\n\x04name\x18\x02 \x01(\t\x12)\n\x07\x61\x64\x64ress\x18\x03 \x01(\x0b\x32\x18.primary.connect.Address\x1a\x30\n\x05Range\x12\x0b\n\x03low\x18\x01 \x01(\x05\x12\x0c\n\x04high\x18\x02 \x01(\x05\x12\x0c\n\x04text\x18\x03 \x01(\t\x1a\x36\n\x06Report\x12\x11\n\tfile_type\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\"\x97\x02\n\tValueType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0f\n\x0b\x43ODED_ENTRY\x10\x01\x12\x08\n\x04\x44\x41TE\x10\x02\x12\r\n\tDATE_TIME\x10\x03\x12\x15\n\x11\x45NCAPSULATED_DATA\x10\x04\x12\x12\n\x0e\x46ORMATTED_TEXT\x10\x05\x12\x06\n\x02ID\x10\x06\x12\x0f\n\x0bID_AND_NAME\x10\x07\x12\t\n\x05MONEY\x10\x08\x12\x08\n\x04NAME\x10\t\x12\x0b\n\x07NUMERIC\x10\n\x12\x10\n\x0cPHONE_NUMBER\x10\x0b\x12\t\n\x05PRICE\x10\x0c\x12\x15\n\x11REFERENCE_POINTER\x10\r\x12\n\n\x06STRING\x10\x0e\x12\x08\n\x04TIME\x10\x0f\x12\x16\n\x12STRUCTURED_NUMERIC\x10\x10\x12\x0b\n\x07\x41\x44\x44RESS\x10\x11\"\xc2\x02\n\x0c\x41\x62normalFlag\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03LOW\x10\x01\x12\x0c\n\x08VERY_LOW\x10\x02\x12\x08\n\x04HIGH\x10\x03\x12\r\n\tVERY_HIGH\x10\x04\x12\x0c\n\x08\x41\x42NORMAL\x10\x05\x12\x0f\n\x0bSUSCEPTIBLE\x10\x06\x12\r\n\tRESISTANT\x10\x07\x12\x10\n\x0cINTERMEDIATE\x10\x08\x12\x1a\n\x16MODERATELY_SUSCEPTIBLE\x10\t\x12\x14\n\x10VERY_SUSCEPTIBLE\x10\n\x12\x17\n\x13\x43RITICALLY_ABNORMAL\x10\x0b\x12\x12\n\x0e\x43RITICALLY_LOW\x10\x0c\x12\x13\n\x0f\x43RITICALLY_HIGH\x10\r\x12\x13\n\x0fNOT_SUSCEPTIBLE\x10\x0e\x12\x10\n\x0cINCONCLUSIVE\x10\x0f\x12\x11\n\rVERY_ABNORMAL\x10\x10\x12\n\n\x06NORMAL\x10\x11\"\x91\x01\n\x06Status\x12\x12\n\x0eNONE_SPECIFIED\x10\x00\x12\x0e\n\nINCOMPLETE\x10\x01\x12\r\n\tCORRECTED\x10\x02\x12\t\n\x05\x46INAL\x10\x03\x12\x0f\n\x0bUNAVAILABLE\x10\x04\x12\x0f\n\x0bPRELIMINARY\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06\x12\x0b\n\x07\x44\x45LETED\x10\x07\x12\x0c\n\x08REJECTED\x10\x08\x42\x11Z\x0fprimary.connectb\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError => e
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["primary.connect.CodedValue", "coded_value.proto"],
32
+ ["primary.connect.Specimen", "specimen.proto"],
33
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
+ ["primary.connect.Provider", "provider.proto"],
35
+ ["primary.connect.Device", "device.proto"],
36
+ ["primary.connect.Identifier", "identifier.proto"],
37
+ ["primary.connect.Address", "address.proto"],
38
+ ]
39
+ imports.each do |type_name, expected_filename|
40
+ import_file = pool.lookup(type_name).file_descriptor
41
+ if import_file.name != expected_filename
42
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
103
43
  end
104
44
  end
45
+ warn "Each proto file must use a consistent fully-qualified name."
46
+ warn "This will become an error in the next major version."
105
47
  end
106
48
 
107
49
  module Primary
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: results.proto
3
4
 
@@ -6,13 +7,33 @@ require 'google/protobuf'
6
7
  require 'meta_pb'
7
8
  require 'result_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("results.proto", :syntax => :proto3) do
11
- add_message "primary.connect.Results" do
12
- optional :meta, :message, 1, "primary.connect.Meta"
13
- repeated :results, :message, 2, "primary.connect.Result"
10
+
11
+ descriptor_data = "\n\rresults.proto\x12\x0fprimary.connect\x1a\nmeta.proto\x1a\x0cresult.proto\"X\n\x07Results\x12#\n\x04meta\x18\x01 \x01(\x0b\x32\x15.primary.connect.Meta\x12(\n\x07results\x18\x02 \x03(\x0b\x32\x17.primary.connect.ResultB\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 => e
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.Result", "result.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}"
14
33
  end
15
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."
16
37
  end
17
38
 
18
39
  module Primary
@@ -1,16 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: specimen.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("specimen.proto", :syntax => :proto3) do
8
- add_message "primary.connect.Specimen" do
9
- optional :id, :string, 1
10
- optional :source, :string, 2
11
- optional :body_site, :string, 3
7
+
8
+ descriptor_data = "\n\x0especimen.proto\x12\x0fprimary.connect\"9\n\x08Specimen\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x11\n\tbody_site\x18\x03 \x01(\tB\x11Z\x0fprimary.connectb\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
12
28
  end
13
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
14
32
  end
15
33
 
16
34
  module Primary
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: visit.proto
3
4
 
@@ -13,93 +14,38 @@ require 'phone_number_pb'
13
14
  require 'provider_pb'
14
15
  require 'relationship_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("visit.proto", :syntax => :proto3) do
18
- add_message "primary.connect.Visit" do
19
- optional :visit_number, :string, 1
20
- optional :account_number, :string, 2
21
- optional :patient_class, :string, 3
22
- optional :visit_date_time, :message, 4, "google.protobuf.Timestamp"
23
- optional :attending_provider, :message, 5, "primary.connect.Provider"
24
- optional :consulting_provider, :message, 6, "primary.connect.Provider"
25
- optional :referring_provider, :message, 7, "primary.connect.Provider"
26
- optional :guarantor, :message, 8, "primary.connect.Visit.Guarantor"
27
- repeated :insurances, :message, 9, "primary.connect.Visit.Insurance"
28
- optional :location, :message, 10, "primary.connect.Location"
29
- end
30
- add_message "primary.connect.Visit.Guarantor" do
31
- optional :number, :string, 1
32
- optional :name, :message, 2, "primary.connect.Name"
33
- optional :ssn, :string, 3
34
- optional :dob, :string, 4
35
- optional :sex, :enum, 5, "primary.connect.Demographics.Sex"
36
- optional :spouse, :message, 6, "primary.connect.Name"
37
- optional :address, :message, 7, "primary.connect.Address"
38
- repeated :phone_numbers, :message, 8, "primary.connect.PhoneNumber"
39
- repeated :email_addresses, :string, 9
40
- optional :type, :string, 10
41
- optional :relation_to_patient, :enum, 11, "primary.connect.Relationship"
42
- optional :employer, :message, 12, "primary.connect.Visit.Guarantor.Employer"
43
- end
44
- add_message "primary.connect.Visit.Guarantor.Employer" do
45
- optional :name, :string, 1
46
- repeated :phone_numbers, :message, 2, "primary.connect.PhoneNumber"
47
- optional :address, :message, 3, "primary.connect.Address"
48
- end
49
- add_message "primary.connect.Visit.Insurance" do
50
- optional :plan, :message, 1, "primary.connect.Visit.Insurance.Plan"
51
- repeated :member_number, :string, 2
52
- optional :company, :message, 3, "primary.connect.Visit.Insurance.Company"
53
- optional :group_number, :string, 4
54
- optional :group_name, :string, 5
55
- optional :effective_date, :string, 6
56
- optional :expiration_date, :string, 7
57
- optional :policy_number, :string, 8
58
- optional :priority, :enum, 9, "primary.connect.Visit.Insurance.Priority"
59
- optional :agreement_type, :enum, 10, "primary.connect.Visit.Insurance.AgreementType"
60
- optional :coverage_type, :enum, 11, "primary.connect.Visit.Insurance.CoverageType"
61
- optional :insured, :message, 12, "primary.connect.Visit.Insurance.Insured"
62
- end
63
- add_message "primary.connect.Visit.Insurance.Plan" do
64
- optional :identifier, :message, 1, "primary.connect.Identifier"
65
- optional :name, :string, 2
66
- optional :type, :string, 3
67
- end
68
- add_message "primary.connect.Visit.Insurance.Company" do
69
- optional :identifier, :message, 1, "primary.connect.Identifier"
70
- optional :name, :string, 2
71
- optional :address, :message, 3, "primary.connect.Address"
72
- repeated :phone_numbers, :message, 4, "primary.connect.PhoneNumber"
73
- end
74
- add_message "primary.connect.Visit.Insurance.Insured" do
75
- repeated :identifiers, :message, 1, "primary.connect.Identifier"
76
- optional :name, :message, 2, "primary.connect.Name"
77
- optional :ssn, :string, 3
78
- optional :relationship, :enum, 4, "primary.connect.Relationship"
79
- optional :dob, :string, 5
80
- optional :sex, :enum, 6, "primary.connect.Demographics.Sex"
81
- optional :address, :message, 7, "primary.connect.Address"
82
- end
83
- add_enum "primary.connect.Visit.Insurance.Priority" do
84
- value :PRIORITY_UNKNOWN, 0
85
- value :PRIORITY_PRIMARY, 1
86
- value :PRIORITY_SECONDARY, 2
87
- value :PRIORITY_TERTIARY, 3
88
- end
89
- add_enum "primary.connect.Visit.Insurance.AgreementType" do
90
- value :AGREEMENT_TYPE_UNKNOWN, 0
91
- value :AGREEMENT_TYPE_STANDARD, 1
92
- value :AGREEMENT_TYPE_UNIFIED, 2
93
- value :AGREEMENT_TYPE_MATERNITY, 3
94
- end
95
- add_enum "primary.connect.Visit.Insurance.CoverageType" do
96
- value :COVERAGE_TYPE_UNKNOWN, 0
97
- value :COVERAGE_TYPE_PATIENT, 1
98
- value :COVERAGE_TYPE_CLINIC, 2
99
- value :COVERAGE_TYPE_INSURANCE, 3
100
- value :COVERAGE_TYPE_OTHER, 4
17
+
18
+ descriptor_data = "\n\x0bvisit.proto\x12\x0fprimary.connect\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\raddress.proto\x1a\x12\x64\x65mographics.proto\x1a\x10identifier.proto\x1a\x0elocation.proto\x1a\nname.proto\x1a\x12phone_number.proto\x1a\x0eprovider.proto\x1a\x12relationship.proto\"\x8a\x13\n\x05Visit\x12\x14\n\x0cvisit_number\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63\x63ount_number\x18\x02 \x01(\t\x12\x15\n\rpatient_class\x18\x03 \x01(\t\x12\x33\n\x0fvisit_date_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12\x61ttending_provider\x18\x05 \x01(\x0b\x32\x19.primary.connect.Provider\x12\x36\n\x13\x63onsulting_provider\x18\x06 \x01(\x0b\x32\x19.primary.connect.Provider\x12\x35\n\x12referring_provider\x18\x07 \x01(\x0b\x32\x19.primary.connect.Provider\x12\x33\n\tguarantor\x18\x08 \x01(\x0b\x32 .primary.connect.Visit.Guarantor\x12\x34\n\ninsurances\x18\t \x03(\x0b\x32 .primary.connect.Visit.Insurance\x12+\n\x08location\x18\n \x01(\x0b\x32\x19.primary.connect.Location\x1a\xab\x04\n\tGuarantor\x12\x0e\n\x06number\x18\x01 \x01(\t\x12#\n\x04name\x18\x02 \x01(\x0b\x32\x15.primary.connect.Name\x12\x0b\n\x03ssn\x18\x03 \x01(\t\x12\x0b\n\x03\x64ob\x18\x04 \x01(\t\x12.\n\x03sex\x18\x05 \x01(\x0e\x32!.primary.connect.Demographics.Sex\x12%\n\x06spouse\x18\x06 \x01(\x0b\x32\x15.primary.connect.Name\x12)\n\x07\x61\x64\x64ress\x18\x07 \x01(\x0b\x32\x18.primary.connect.Address\x12\x33\n\rphone_numbers\x18\x08 \x03(\x0b\x32\x1c.primary.connect.PhoneNumber\x12\x17\n\x0f\x65mail_addresses\x18\t \x03(\t\x12\x0c\n\x04type\x18\n \x01(\t\x12:\n\x13relation_to_patient\x18\x0b \x01(\x0e\x32\x1d.primary.connect.Relationship\x12;\n\x08\x65mployer\x18\x0c \x01(\x0b\x32).primary.connect.Visit.Guarantor.Employer\x1ax\n\x08\x45mployer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\rphone_numbers\x18\x02 \x03(\x0b\x32\x1c.primary.connect.PhoneNumber\x12)\n\x07\x61\x64\x64ress\x18\x03 \x01(\x0b\x32\x18.primary.connect.Address\x1a\x9a\x0b\n\tInsurance\x12\x33\n\x04plan\x18\x01 \x01(\x0b\x32%.primary.connect.Visit.Insurance.Plan\x12\x15\n\rmember_number\x18\x02 \x03(\t\x12\x39\n\x07\x63ompany\x18\x03 \x01(\x0b\x32(.primary.connect.Visit.Insurance.Company\x12\x14\n\x0cgroup_number\x18\x04 \x01(\t\x12\x12\n\ngroup_name\x18\x05 \x01(\t\x12\x16\n\x0e\x65\x66\x66\x65\x63tive_date\x18\x06 \x01(\t\x12\x17\n\x0f\x65xpiration_date\x18\x07 \x01(\t\x12\x15\n\rpolicy_number\x18\x08 \x01(\t\x12;\n\x08priority\x18\t \x01(\x0e\x32).primary.connect.Visit.Insurance.Priority\x12\x46\n\x0e\x61greement_type\x18\n \x01(\x0e\x32..primary.connect.Visit.Insurance.AgreementType\x12\x44\n\rcoverage_type\x18\x0b \x01(\x0e\x32-.primary.connect.Visit.Insurance.CoverageType\x12\x39\n\x07insured\x18\x0c \x01(\x0b\x32(.primary.connect.Visit.Insurance.Insured\x1aS\n\x04Plan\x12/\n\nidentifier\x18\x01 \x01(\x0b\x32\x1b.primary.connect.Identifier\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x1a\xa8\x01\n\x07\x43ompany\x12/\n\nidentifier\x18\x01 \x01(\x0b\x32\x1b.primary.connect.Identifier\x12\x0c\n\x04name\x18\x02 \x01(\t\x12)\n\x07\x61\x64\x64ress\x18\x03 \x01(\x0b\x32\x18.primary.connect.Address\x12\x33\n\rphone_numbers\x18\x04 \x03(\x0b\x32\x1c.primary.connect.PhoneNumber\x1a\x8a\x02\n\x07Insured\x12\x30\n\x0bidentifiers\x18\x01 \x03(\x0b\x32\x1b.primary.connect.Identifier\x12#\n\x04name\x18\x02 \x01(\x0b\x32\x15.primary.connect.Name\x12\x0b\n\x03ssn\x18\x03 \x01(\t\x12\x33\n\x0crelationship\x18\x04 \x01(\x0e\x32\x1d.primary.connect.Relationship\x12\x0b\n\x03\x64ob\x18\x05 \x01(\t\x12.\n\x03sex\x18\x06 \x01(\x0e\x32!.primary.connect.Demographics.Sex\x12)\n\x07\x61\x64\x64ress\x18\x07 \x01(\x0b\x32\x18.primary.connect.Address\"e\n\x08Priority\x12\x14\n\x10PRIORITY_UNKNOWN\x10\x00\x12\x14\n\x10PRIORITY_PRIMARY\x10\x01\x12\x16\n\x12PRIORITY_SECONDARY\x10\x02\x12\x15\n\x11PRIORITY_TERTIARY\x10\x03\"\x82\x01\n\rAgreementType\x12\x1a\n\x16\x41GREEMENT_TYPE_UNKNOWN\x10\x00\x12\x1b\n\x17\x41GREEMENT_TYPE_STANDARD\x10\x01\x12\x1a\n\x16\x41GREEMENT_TYPE_UNIFIED\x10\x02\x12\x1c\n\x18\x41GREEMENT_TYPE_MATERNITY\x10\x03\"\x94\x01\n\x0c\x43overageType\x12\x19\n\x15\x43OVERAGE_TYPE_UNKNOWN\x10\x00\x12\x19\n\x15\x43OVERAGE_TYPE_PATIENT\x10\x01\x12\x18\n\x14\x43OVERAGE_TYPE_CLINIC\x10\x02\x12\x1b\n\x17\x43OVERAGE_TYPE_INSURANCE\x10\x03\x12\x17\n\x13\x43OVERAGE_TYPE_OTHER\x10\x04\x42\x11Z\x0fprimary.connectb\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
+ ["primary.connect.Provider", "provider.proto"],
35
+ ["primary.connect.Location", "location.proto"],
36
+ ["primary.connect.Name", "name.proto"],
37
+ ["primary.connect.Address", "address.proto"],
38
+ ["primary.connect.PhoneNumber", "phone_number.proto"],
39
+ ["primary.connect.Identifier", "identifier.proto"],
40
+ ]
41
+ imports.each do |type_name, expected_filename|
42
+ import_file = pool.lookup(type_name).file_descriptor
43
+ if import_file.name != expected_filename
44
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
101
45
  end
102
46
  end
47
+ warn "Each proto file must use a consistent fully-qualified name."
48
+ warn "This will become an error in the next major version."
103
49
  end
104
50
 
105
51
  module Primary
@@ -38,6 +38,17 @@ message Demographics {
38
38
  RACE_DETAIL_SAMOAN = 12;
39
39
  RACE_DETAIL_OTHER_PACIFIC_ISLANDER = 13;
40
40
  RACE_DETAIL_PREFER_NOT_TO_DISCLOSE = 14;
41
+ RACE_DETAIL_BANGLADESHI = 15;
42
+ RACE_DETAIL_HMONG = 16;
43
+ RACE_DETAIL_INDONESIAN = 17;
44
+ RACE_DETAIL_MALAYSIAN = 18;
45
+ RACE_DETAIL_PAKISTANI = 19;
46
+ RACE_DETAIL_SRI_LANKAN = 20;
47
+ RACE_DETAIL_THAI = 21;
48
+ RACE_DETAIL_TAIWANESE = 22;
49
+ RACE_DETAIL_GUAMANIAN = 23;
50
+ RACE_DETAIL_FIJIAN = 24;
51
+ RACE_DETAIL_TONGAN = 25;
41
52
  }
42
53
 
43
54
  enum MaritalStatus {
@@ -1,3 +1,3 @@
1
1
  module ConnectProto
2
- VERSION = '0.22.0'
2
+ VERSION = '0.23.0'
3
3
  end
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.22.0
4
+ version: 0.23.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: 2023-05-22 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf