# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: result.proto require 'google/protobuf' require 'google/protobuf/timestamp_pb' require 'address_pb' require 'coded_value_pb' require 'device_pb' require 'identifier_pb' require 'provider_pb' require 'specimen_pb' 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\"\xd7\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\x12\x10\n\x08suppress\x18\x16 \x01(\x08\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" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["primary.connect.CodedValue", "coded_value.proto"], ["primary.connect.Specimen", "specimen.proto"], ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["primary.connect.Provider", "provider.proto"], ["primary.connect.Device", "device.proto"], ["primary.connect.Identifier", "identifier.proto"], ["primary.connect.Address", "address.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Primary module Connect Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Result").msgclass Result::Producer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Result.Producer").msgclass Result::Range = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Result.Range").msgclass Result::Report = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Result.Report").msgclass Result::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Result.ValueType").enummodule Result::AbnormalFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Result.AbnormalFlag").enummodule Result::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("primary.connect.Result.Status").enummodule end end