12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v6.31.0
- // source: dr_protocol_idl.proto
- package dr_protocol_pb
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type EmptyRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *EmptyRequest) Reset() {
- *x = EmptyRequest{}
- mi := &file_dr_protocol_idl_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *EmptyRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EmptyRequest) ProtoMessage() {}
- func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
- func (*EmptyRequest) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{0}
- }
- type SoftwareInfoReply struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
- Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
- Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
- Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SoftwareInfoReply) Reset() {
- *x = SoftwareInfoReply{}
- mi := &file_dr_protocol_idl_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SoftwareInfoReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SoftwareInfoReply) ProtoMessage() {}
- func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SoftwareInfoReply.ProtoReflect.Descriptor instead.
- func (*SoftwareInfoReply) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{1}
- }
- func (x *SoftwareInfoReply) GetModule() string {
- if x != nil {
- return x.Module
- }
- return ""
- }
- func (x *SoftwareInfoReply) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
- func (x *SoftwareInfoReply) GetBuild() string {
- if x != nil {
- return x.Build
- }
- return ""
- }
- func (x *SoftwareInfoReply) GetVersion() string {
- if x != nil {
- return x.Version
- }
- return ""
- }
- type PatientTypeRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- IsEnabled *bool `protobuf:"varint,1,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
- IsPreInstall *bool `protobuf:"varint,2,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *PatientTypeRequest) Reset() {
- *x = PatientTypeRequest{}
- mi := &file_dr_protocol_idl_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *PatientTypeRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PatientTypeRequest) ProtoMessage() {}
- func (x *PatientTypeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PatientTypeRequest.ProtoReflect.Descriptor instead.
- func (*PatientTypeRequest) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{2}
- }
- func (x *PatientTypeRequest) GetIsEnabled() bool {
- if x != nil && x.IsEnabled != nil {
- return *x.IsEnabled
- }
- return false
- }
- func (x *PatientTypeRequest) GetIsPreInstall() bool {
- if x != nil && x.IsPreInstall != nil {
- return *x.IsPreInstall
- }
- return false
- }
- type PatientType struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- PatientTypeId string `protobuf:"bytes,2,opt,name=patient_type_id,json=patientTypeId,proto3" json:"patient_type_id,omitempty"`
- PatientTypeName string `protobuf:"bytes,3,opt,name=patient_type_name,json=patientTypeName,proto3" json:"patient_type_name,omitempty"`
- PatientTypeLocal string `protobuf:"bytes,4,opt,name=patient_type_local,json=patientTypeLocal,proto3" json:"patient_type_local,omitempty"`
- PatientTypeDescription string `protobuf:"bytes,5,opt,name=patient_type_description,json=patientTypeDescription,proto3" json:"patient_type_description,omitempty"`
- Sort int32 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
- IsEnabled bool `protobuf:"varint,7,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
- Product string `protobuf:"bytes,8,opt,name=product,proto3" json:"product,omitempty"`
- IsPreInstall bool `protobuf:"varint,9,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *PatientType) Reset() {
- *x = PatientType{}
- mi := &file_dr_protocol_idl_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *PatientType) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PatientType) ProtoMessage() {}
- func (x *PatientType) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PatientType.ProtoReflect.Descriptor instead.
- func (*PatientType) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{3}
- }
- func (x *PatientType) GetId() uint64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *PatientType) GetPatientTypeId() string {
- if x != nil {
- return x.PatientTypeId
- }
- return ""
- }
- func (x *PatientType) GetPatientTypeName() string {
- if x != nil {
- return x.PatientTypeName
- }
- return ""
- }
- func (x *PatientType) GetPatientTypeLocal() string {
- if x != nil {
- return x.PatientTypeLocal
- }
- return ""
- }
- func (x *PatientType) GetPatientTypeDescription() string {
- if x != nil {
- return x.PatientTypeDescription
- }
- return ""
- }
- func (x *PatientType) GetSort() int32 {
- if x != nil {
- return x.Sort
- }
- return 0
- }
- func (x *PatientType) GetIsEnabled() bool {
- if x != nil {
- return x.IsEnabled
- }
- return false
- }
- func (x *PatientType) GetProduct() string {
- if x != nil {
- return x.Product
- }
- return ""
- }
- func (x *PatientType) GetIsPreInstall() bool {
- if x != nil {
- return x.IsPreInstall
- }
- return false
- }
- type PatientTypeReply struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- PatientTypeList []*PatientType `protobuf:"bytes,1,rep,name=patient_type_list,json=patientTypeList,proto3" json:"patient_type_list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *PatientTypeReply) Reset() {
- *x = PatientTypeReply{}
- mi := &file_dr_protocol_idl_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *PatientTypeReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PatientTypeReply) ProtoMessage() {}
- func (x *PatientTypeReply) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use PatientTypeReply.ProtoReflect.Descriptor instead.
- func (*PatientTypeReply) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{4}
- }
- func (x *PatientTypeReply) GetPatientTypeList() []*PatientType {
- if x != nil {
- return x.PatientTypeList
- }
- return nil
- }
- type BodyPartRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
- Modality *string `protobuf:"bytes,2,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
- IsEnabled *bool `protobuf:"varint,3,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
- IsPreInstall *bool `protobuf:"varint,4,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BodyPartRequest) Reset() {
- *x = BodyPartRequest{}
- mi := &file_dr_protocol_idl_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BodyPartRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BodyPartRequest) ProtoMessage() {}
- func (x *BodyPartRequest) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BodyPartRequest.ProtoReflect.Descriptor instead.
- func (*BodyPartRequest) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{5}
- }
- func (x *BodyPartRequest) GetPatientType() string {
- if x != nil && x.PatientType != nil {
- return *x.PatientType
- }
- return ""
- }
- func (x *BodyPartRequest) GetModality() string {
- if x != nil && x.Modality != nil {
- return *x.Modality
- }
- return ""
- }
- func (x *BodyPartRequest) GetIsEnabled() bool {
- if x != nil && x.IsEnabled != nil {
- return *x.IsEnabled
- }
- return false
- }
- func (x *BodyPartRequest) GetIsPreInstall() bool {
- if x != nil && x.IsPreInstall != nil {
- return *x.IsPreInstall
- }
- return false
- }
- type BodyPart struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- BodyPartId string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
- BodyPartName string `protobuf:"bytes,3,opt,name=body_part_name,json=bodyPartName,proto3" json:"body_part_name,omitempty"`
- BodyPartLocal string `protobuf:"bytes,4,opt,name=body_part_local,json=bodyPartLocal,proto3" json:"body_part_local,omitempty"`
- BodyPartDescription string `protobuf:"bytes,5,opt,name=body_part_description,json=bodyPartDescription,proto3" json:"body_part_description,omitempty"`
- PatientType string `protobuf:"bytes,6,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
- Modality string `protobuf:"bytes,7,opt,name=modality,proto3" json:"modality,omitempty"`
- Sort int32 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"`
- IsEnabled bool `protobuf:"varint,9,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
- Product string `protobuf:"bytes,10,opt,name=product,proto3" json:"product,omitempty"`
- IsPreInstall bool `protobuf:"varint,11,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BodyPart) Reset() {
- *x = BodyPart{}
- mi := &file_dr_protocol_idl_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BodyPart) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BodyPart) ProtoMessage() {}
- func (x *BodyPart) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BodyPart.ProtoReflect.Descriptor instead.
- func (*BodyPart) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{6}
- }
- func (x *BodyPart) GetId() uint64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *BodyPart) GetBodyPartId() string {
- if x != nil {
- return x.BodyPartId
- }
- return ""
- }
- func (x *BodyPart) GetBodyPartName() string {
- if x != nil {
- return x.BodyPartName
- }
- return ""
- }
- func (x *BodyPart) GetBodyPartLocal() string {
- if x != nil {
- return x.BodyPartLocal
- }
- return ""
- }
- func (x *BodyPart) GetBodyPartDescription() string {
- if x != nil {
- return x.BodyPartDescription
- }
- return ""
- }
- func (x *BodyPart) GetPatientType() string {
- if x != nil {
- return x.PatientType
- }
- return ""
- }
- func (x *BodyPart) GetModality() string {
- if x != nil {
- return x.Modality
- }
- return ""
- }
- func (x *BodyPart) GetSort() int32 {
- if x != nil {
- return x.Sort
- }
- return 0
- }
- func (x *BodyPart) GetIsEnabled() bool {
- if x != nil {
- return x.IsEnabled
- }
- return false
- }
- func (x *BodyPart) GetProduct() string {
- if x != nil {
- return x.Product
- }
- return ""
- }
- func (x *BodyPart) GetIsPreInstall() bool {
- if x != nil {
- return x.IsPreInstall
- }
- return false
- }
- type BodyPartReply struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- BodyPartList []*BodyPart `protobuf:"bytes,1,rep,name=body_part_list,json=bodyPartList,proto3" json:"body_part_list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BodyPartReply) Reset() {
- *x = BodyPartReply{}
- mi := &file_dr_protocol_idl_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BodyPartReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BodyPartReply) ProtoMessage() {}
- func (x *BodyPartReply) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BodyPartReply.ProtoReflect.Descriptor instead.
- func (*BodyPartReply) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{7}
- }
- func (x *BodyPartReply) GetBodyPartList() []*BodyPart {
- if x != nil {
- return x.BodyPartList
- }
- return nil
- }
- type ProcedureRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
- BodyPartId *string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3,oneof" json:"body_part_id,omitempty"`
- Modality *string `protobuf:"bytes,3,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
- IsEnabled *bool `protobuf:"varint,4,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
- IsPreInstall *bool `protobuf:"varint,5,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ProcedureRequest) Reset() {
- *x = ProcedureRequest{}
- mi := &file_dr_protocol_idl_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ProcedureRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ProcedureRequest) ProtoMessage() {}
- func (x *ProcedureRequest) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ProcedureRequest.ProtoReflect.Descriptor instead.
- func (*ProcedureRequest) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{8}
- }
- func (x *ProcedureRequest) GetPatientType() string {
- if x != nil && x.PatientType != nil {
- return *x.PatientType
- }
- return ""
- }
- func (x *ProcedureRequest) GetBodyPartId() string {
- if x != nil && x.BodyPartId != nil {
- return *x.BodyPartId
- }
- return ""
- }
- func (x *ProcedureRequest) GetModality() string {
- if x != nil && x.Modality != nil {
- return *x.Modality
- }
- return ""
- }
- func (x *ProcedureRequest) GetIsEnabled() bool {
- if x != nil && x.IsEnabled != nil {
- return *x.IsEnabled
- }
- return false
- }
- func (x *ProcedureRequest) GetIsPreInstall() bool {
- if x != nil && x.IsPreInstall != nil {
- return *x.IsPreInstall
- }
- return false
- }
- type Procedure struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- ProcedureId string `protobuf:"bytes,2,opt,name=procedure_id,json=procedureId,proto3" json:"procedure_id,omitempty"`
- ProcedureCode string `protobuf:"bytes,3,opt,name=procedure_code,json=procedureCode,proto3" json:"procedure_code,omitempty"`
- ProcedureName string `protobuf:"bytes,4,opt,name=procedure_name,json=procedureName,proto3" json:"procedure_name,omitempty"`
- ProcedureNameLocal string `protobuf:"bytes,5,opt,name=procedure_name_local,json=procedureNameLocal,proto3" json:"procedure_name_local,omitempty"`
- ProcedureOtherName string `protobuf:"bytes,6,opt,name=procedure_other_name,json=procedureOtherName,proto3" json:"procedure_other_name,omitempty"`
- ProcedureDescription string `protobuf:"bytes,7,opt,name=procedure_description,json=procedureDescription,proto3" json:"procedure_description,omitempty"`
- ProcedureDescriptionLocal string `protobuf:"bytes,8,opt,name=procedure_description_local,json=procedureDescriptionLocal,proto3" json:"procedure_description_local,omitempty"`
- PatientType string `protobuf:"bytes,9,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
- BodyPartId string `protobuf:"bytes,10,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
- ProcedureType string `protobuf:"bytes,11,opt,name=procedure_type,json=procedureType,proto3" json:"procedure_type,omitempty"`
- FastSearch bool `protobuf:"varint,12,opt,name=fast_search,json=fastSearch,proto3" json:"fast_search,omitempty"`
- ProtocolLaterality string `protobuf:"bytes,13,opt,name=protocol_laterality,json=protocolLaterality,proto3" json:"protocol_laterality,omitempty"`
- ProcedureCategory string `protobuf:"bytes,14,opt,name=procedure_category,json=procedureCategory,proto3" json:"procedure_category,omitempty"`
- Modality string `protobuf:"bytes,15,opt,name=modality,proto3" json:"modality,omitempty"`
- Sort int32 `protobuf:"varint,16,opt,name=sort,proto3" json:"sort,omitempty"`
- IsEnabled bool `protobuf:"varint,17,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
- Product string `protobuf:"bytes,18,opt,name=product,proto3" json:"product,omitempty"`
- IsPreInstall bool `protobuf:"varint,19,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Procedure) Reset() {
- *x = Procedure{}
- mi := &file_dr_protocol_idl_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Procedure) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Procedure) ProtoMessage() {}
- func (x *Procedure) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Procedure.ProtoReflect.Descriptor instead.
- func (*Procedure) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{9}
- }
- func (x *Procedure) GetId() uint64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Procedure) GetProcedureId() string {
- if x != nil {
- return x.ProcedureId
- }
- return ""
- }
- func (x *Procedure) GetProcedureCode() string {
- if x != nil {
- return x.ProcedureCode
- }
- return ""
- }
- func (x *Procedure) GetProcedureName() string {
- if x != nil {
- return x.ProcedureName
- }
- return ""
- }
- func (x *Procedure) GetProcedureNameLocal() string {
- if x != nil {
- return x.ProcedureNameLocal
- }
- return ""
- }
- func (x *Procedure) GetProcedureOtherName() string {
- if x != nil {
- return x.ProcedureOtherName
- }
- return ""
- }
- func (x *Procedure) GetProcedureDescription() string {
- if x != nil {
- return x.ProcedureDescription
- }
- return ""
- }
- func (x *Procedure) GetProcedureDescriptionLocal() string {
- if x != nil {
- return x.ProcedureDescriptionLocal
- }
- return ""
- }
- func (x *Procedure) GetPatientType() string {
- if x != nil {
- return x.PatientType
- }
- return ""
- }
- func (x *Procedure) GetBodyPartId() string {
- if x != nil {
- return x.BodyPartId
- }
- return ""
- }
- func (x *Procedure) GetProcedureType() string {
- if x != nil {
- return x.ProcedureType
- }
- return ""
- }
- func (x *Procedure) GetFastSearch() bool {
- if x != nil {
- return x.FastSearch
- }
- return false
- }
- func (x *Procedure) GetProtocolLaterality() string {
- if x != nil {
- return x.ProtocolLaterality
- }
- return ""
- }
- func (x *Procedure) GetProcedureCategory() string {
- if x != nil {
- return x.ProcedureCategory
- }
- return ""
- }
- func (x *Procedure) GetModality() string {
- if x != nil {
- return x.Modality
- }
- return ""
- }
- func (x *Procedure) GetSort() int32 {
- if x != nil {
- return x.Sort
- }
- return 0
- }
- func (x *Procedure) GetIsEnabled() bool {
- if x != nil {
- return x.IsEnabled
- }
- return false
- }
- func (x *Procedure) GetProduct() string {
- if x != nil {
- return x.Product
- }
- return ""
- }
- func (x *Procedure) GetIsPreInstall() bool {
- if x != nil {
- return x.IsPreInstall
- }
- return false
- }
- type ProcedureReply struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- ProcedureList []*Procedure `protobuf:"bytes,1,rep,name=procedure_list,json=procedureList,proto3" json:"procedure_list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ProcedureReply) Reset() {
- *x = ProcedureReply{}
- mi := &file_dr_protocol_idl_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ProcedureReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ProcedureReply) ProtoMessage() {}
- func (x *ProcedureReply) ProtoReflect() protoreflect.Message {
- mi := &file_dr_protocol_idl_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ProcedureReply.ProtoReflect.Descriptor instead.
- func (*ProcedureReply) Descriptor() ([]byte, []int) {
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{10}
- }
- func (x *ProcedureReply) GetProcedureList() []*Procedure {
- if x != nil {
- return x.ProcedureList
- }
- return nil
- }
- var File_dr_protocol_idl_proto protoreflect.FileDescriptor
- const file_dr_protocol_idl_proto_rawDesc = "" +
- "\n" +
- "\x15dr_protocol_idl.proto\x12\vdr.protocol\"\x0e\n" +
- "\fEmptyRequest\"o\n" +
- "\x11SoftwareInfoReply\x12\x16\n" +
- "\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" +
- "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" +
- "\x05build\x18\x03 \x01(\tR\x05build\x12\x18\n" +
- "\aversion\x18\x04 \x01(\tR\aversion\"\x85\x01\n" +
- "\x12PatientTypeRequest\x12\"\n" +
- "\n" +
- "is_enabled\x18\x01 \x01(\bH\x00R\tisEnabled\x88\x01\x01\x12)\n" +
- "\x0eis_pre_install\x18\x02 \x01(\bH\x01R\fisPreInstall\x88\x01\x01B\r\n" +
- "\v_is_enabledB\x11\n" +
- "\x0f_is_pre_install\"\xcc\x02\n" +
- "\vPatientType\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\x04R\x02id\x12&\n" +
- "\x0fpatient_type_id\x18\x02 \x01(\tR\rpatientTypeId\x12*\n" +
- "\x11patient_type_name\x18\x03 \x01(\tR\x0fpatientTypeName\x12,\n" +
- "\x12patient_type_local\x18\x04 \x01(\tR\x10patientTypeLocal\x128\n" +
- "\x18patient_type_description\x18\x05 \x01(\tR\x16patientTypeDescription\x12\x12\n" +
- "\x04sort\x18\x06 \x01(\x05R\x04sort\x12\x1d\n" +
- "\n" +
- "is_enabled\x18\a \x01(\bR\tisEnabled\x12\x18\n" +
- "\aproduct\x18\b \x01(\tR\aproduct\x12$\n" +
- "\x0eis_pre_install\x18\t \x01(\bR\fisPreInstall\"X\n" +
- "\x10PatientTypeReply\x12D\n" +
- "\x11patient_type_list\x18\x01 \x03(\v2\x18.dr.protocol.PatientTypeR\x0fpatientTypeList\"\xe9\x01\n" +
- "\x0fBodyPartRequest\x12&\n" +
- "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12\x1f\n" +
- "\bmodality\x18\x02 \x01(\tH\x01R\bmodality\x88\x01\x01\x12\"\n" +
- "\n" +
- "is_enabled\x18\x03 \x01(\bH\x02R\tisEnabled\x88\x01\x01\x12)\n" +
- "\x0eis_pre_install\x18\x04 \x01(\bH\x03R\fisPreInstall\x88\x01\x01B\x0f\n" +
- "\r_patient_typeB\v\n" +
- "\t_modalityB\r\n" +
- "\v_is_enabledB\x11\n" +
- "\x0f_is_pre_install\"\xf0\x02\n" +
- "\bBodyPart\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\x04R\x02id\x12 \n" +
- "\fbody_part_id\x18\x02 \x01(\tR\n" +
- "bodyPartId\x12$\n" +
- "\x0ebody_part_name\x18\x03 \x01(\tR\fbodyPartName\x12&\n" +
- "\x0fbody_part_local\x18\x04 \x01(\tR\rbodyPartLocal\x122\n" +
- "\x15body_part_description\x18\x05 \x01(\tR\x13bodyPartDescription\x12!\n" +
- "\fpatient_type\x18\x06 \x01(\tR\vpatientType\x12\x1a\n" +
- "\bmodality\x18\a \x01(\tR\bmodality\x12\x12\n" +
- "\x04sort\x18\b \x01(\x05R\x04sort\x12\x1d\n" +
- "\n" +
- "is_enabled\x18\t \x01(\bR\tisEnabled\x12\x18\n" +
- "\aproduct\x18\n" +
- " \x01(\tR\aproduct\x12$\n" +
- "\x0eis_pre_install\x18\v \x01(\bR\fisPreInstall\"L\n" +
- "\rBodyPartReply\x12;\n" +
- "\x0ebody_part_list\x18\x01 \x03(\v2\x15.dr.protocol.BodyPartR\fbodyPartList\"\xa2\x02\n" +
- "\x10ProcedureRequest\x12&\n" +
- "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12%\n" +
- "\fbody_part_id\x18\x02 \x01(\tH\x01R\n" +
- "bodyPartId\x88\x01\x01\x12\x1f\n" +
- "\bmodality\x18\x03 \x01(\tH\x02R\bmodality\x88\x01\x01\x12\"\n" +
- "\n" +
- "is_enabled\x18\x04 \x01(\bH\x03R\tisEnabled\x88\x01\x01\x12)\n" +
- "\x0eis_pre_install\x18\x05 \x01(\bH\x04R\fisPreInstall\x88\x01\x01B\x0f\n" +
- "\r_patient_typeB\x0f\n" +
- "\r_body_part_idB\v\n" +
- "\t_modalityB\r\n" +
- "\v_is_enabledB\x11\n" +
- "\x0f_is_pre_install\"\xe1\x05\n" +
- "\tProcedure\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\x04R\x02id\x12!\n" +
- "\fprocedure_id\x18\x02 \x01(\tR\vprocedureId\x12%\n" +
- "\x0eprocedure_code\x18\x03 \x01(\tR\rprocedureCode\x12%\n" +
- "\x0eprocedure_name\x18\x04 \x01(\tR\rprocedureName\x120\n" +
- "\x14procedure_name_local\x18\x05 \x01(\tR\x12procedureNameLocal\x120\n" +
- "\x14procedure_other_name\x18\x06 \x01(\tR\x12procedureOtherName\x123\n" +
- "\x15procedure_description\x18\a \x01(\tR\x14procedureDescription\x12>\n" +
- "\x1bprocedure_description_local\x18\b \x01(\tR\x19procedureDescriptionLocal\x12!\n" +
- "\fpatient_type\x18\t \x01(\tR\vpatientType\x12 \n" +
- "\fbody_part_id\x18\n" +
- " \x01(\tR\n" +
- "bodyPartId\x12%\n" +
- "\x0eprocedure_type\x18\v \x01(\tR\rprocedureType\x12\x1f\n" +
- "\vfast_search\x18\f \x01(\bR\n" +
- "fastSearch\x12/\n" +
- "\x13protocol_laterality\x18\r \x01(\tR\x12protocolLaterality\x12-\n" +
- "\x12procedure_category\x18\x0e \x01(\tR\x11procedureCategory\x12\x1a\n" +
- "\bmodality\x18\x0f \x01(\tR\bmodality\x12\x12\n" +
- "\x04sort\x18\x10 \x01(\x05R\x04sort\x12\x1d\n" +
- "\n" +
- "is_enabled\x18\x11 \x01(\bR\tisEnabled\x12\x18\n" +
- "\aproduct\x18\x12 \x01(\tR\aproduct\x12$\n" +
- "\x0eis_pre_install\x18\x13 \x01(\bR\fisPreInstall\"O\n" +
- "\x0eProcedureReply\x12=\n" +
- "\x0eprocedure_list\x18\x01 \x03(\v2\x16.dr.protocol.ProcedureR\rprocedureList2T\n" +
- "\x05Basic\x12K\n" +
- "\fSoftwareInfo\x12\x19.dr.protocol.EmptyRequest\x1a\x1e.dr.protocol.SoftwareInfoReply\"\x002\xf7\x01\n" +
- "\bProtocol\x12R\n" +
- "\x0eGetPatientType\x12\x1f.dr.protocol.PatientTypeRequest\x1a\x1d.dr.protocol.PatientTypeReply\"\x00\x12I\n" +
- "\vGetBodyPart\x12\x1c.dr.protocol.BodyPartRequest\x1a\x1a.dr.protocol.BodyPartReply\"\x00\x12L\n" +
- "\fGetProcedure\x12\x1d.dr.protocol.ProcedureRequest\x1a\x1b.dr.protocol.ProcedureReply\"\x00B\x11Z\x0fdr_protocol_pb/b\x06proto3"
- var (
- file_dr_protocol_idl_proto_rawDescOnce sync.Once
- file_dr_protocol_idl_proto_rawDescData []byte
- )
- func file_dr_protocol_idl_proto_rawDescGZIP() []byte {
- file_dr_protocol_idl_proto_rawDescOnce.Do(func() {
- file_dr_protocol_idl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dr_protocol_idl_proto_rawDesc), len(file_dr_protocol_idl_proto_rawDesc)))
- })
- return file_dr_protocol_idl_proto_rawDescData
- }
- var file_dr_protocol_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
- var file_dr_protocol_idl_proto_goTypes = []any{
- (*EmptyRequest)(nil), // 0: dr.protocol.EmptyRequest
- (*SoftwareInfoReply)(nil), // 1: dr.protocol.SoftwareInfoReply
- (*PatientTypeRequest)(nil), // 2: dr.protocol.PatientTypeRequest
- (*PatientType)(nil), // 3: dr.protocol.PatientType
- (*PatientTypeReply)(nil), // 4: dr.protocol.PatientTypeReply
- (*BodyPartRequest)(nil), // 5: dr.protocol.BodyPartRequest
- (*BodyPart)(nil), // 6: dr.protocol.BodyPart
- (*BodyPartReply)(nil), // 7: dr.protocol.BodyPartReply
- (*ProcedureRequest)(nil), // 8: dr.protocol.ProcedureRequest
- (*Procedure)(nil), // 9: dr.protocol.Procedure
- (*ProcedureReply)(nil), // 10: dr.protocol.ProcedureReply
- }
- var file_dr_protocol_idl_proto_depIdxs = []int32{
- 3, // 0: dr.protocol.PatientTypeReply.patient_type_list:type_name -> dr.protocol.PatientType
- 6, // 1: dr.protocol.BodyPartReply.body_part_list:type_name -> dr.protocol.BodyPart
- 9, // 2: dr.protocol.ProcedureReply.procedure_list:type_name -> dr.protocol.Procedure
- 0, // 3: dr.protocol.Basic.SoftwareInfo:input_type -> dr.protocol.EmptyRequest
- 2, // 4: dr.protocol.Protocol.GetPatientType:input_type -> dr.protocol.PatientTypeRequest
- 5, // 5: dr.protocol.Protocol.GetBodyPart:input_type -> dr.protocol.BodyPartRequest
- 8, // 6: dr.protocol.Protocol.GetProcedure:input_type -> dr.protocol.ProcedureRequest
- 1, // 7: dr.protocol.Basic.SoftwareInfo:output_type -> dr.protocol.SoftwareInfoReply
- 4, // 8: dr.protocol.Protocol.GetPatientType:output_type -> dr.protocol.PatientTypeReply
- 7, // 9: dr.protocol.Protocol.GetBodyPart:output_type -> dr.protocol.BodyPartReply
- 10, // 10: dr.protocol.Protocol.GetProcedure:output_type -> dr.protocol.ProcedureReply
- 7, // [7:11] is the sub-list for method output_type
- 3, // [3:7] is the sub-list for method input_type
- 3, // [3:3] is the sub-list for extension type_name
- 3, // [3:3] is the sub-list for extension extendee
- 0, // [0:3] is the sub-list for field type_name
- }
- func init() { file_dr_protocol_idl_proto_init() }
- func file_dr_protocol_idl_proto_init() {
- if File_dr_protocol_idl_proto != nil {
- return
- }
- file_dr_protocol_idl_proto_msgTypes[2].OneofWrappers = []any{}
- file_dr_protocol_idl_proto_msgTypes[5].OneofWrappers = []any{}
- file_dr_protocol_idl_proto_msgTypes[8].OneofWrappers = []any{}
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_protocol_idl_proto_rawDesc), len(file_dr_protocol_idl_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 11,
- NumExtensions: 0,
- NumServices: 2,
- },
- GoTypes: file_dr_protocol_idl_proto_goTypes,
- DependencyIndexes: file_dr_protocol_idl_proto_depIdxs,
- MessageInfos: file_dr_protocol_idl_proto_msgTypes,
- }.Build()
- File_dr_protocol_idl_proto = out.File
- file_dr_protocol_idl_proto_goTypes = nil
- file_dr_protocol_idl_proto_depIdxs = nil
- }
|