dr_protocol_idl.pb.go 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v6.31.0
  5. // source: dr_protocol_idl.proto
  6. package dr_protocol_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. anypb "google.golang.org/protobuf/types/known/anypb"
  11. structpb "google.golang.org/protobuf/types/known/structpb"
  12. reflect "reflect"
  13. sync "sync"
  14. unsafe "unsafe"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type EmptyRequest struct {
  23. state protoimpl.MessageState `protogen:"open.v1"`
  24. unknownFields protoimpl.UnknownFields
  25. sizeCache protoimpl.SizeCache
  26. }
  27. func (x *EmptyRequest) Reset() {
  28. *x = EmptyRequest{}
  29. mi := &file_dr_protocol_idl_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *EmptyRequest) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*EmptyRequest) ProtoMessage() {}
  37. func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
  38. mi := &file_dr_protocol_idl_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
  49. func (*EmptyRequest) Descriptor() ([]byte, []int) {
  50. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{0}
  51. }
  52. type IDRequest struct {
  53. state protoimpl.MessageState `protogen:"open.v1"`
  54. Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
  55. InstanceId *string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3,oneof" json:"instance_id,omitempty"`
  56. unknownFields protoimpl.UnknownFields
  57. sizeCache protoimpl.SizeCache
  58. }
  59. func (x *IDRequest) Reset() {
  60. *x = IDRequest{}
  61. mi := &file_dr_protocol_idl_proto_msgTypes[1]
  62. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  63. ms.StoreMessageInfo(mi)
  64. }
  65. func (x *IDRequest) String() string {
  66. return protoimpl.X.MessageStringOf(x)
  67. }
  68. func (*IDRequest) ProtoMessage() {}
  69. func (x *IDRequest) ProtoReflect() protoreflect.Message {
  70. mi := &file_dr_protocol_idl_proto_msgTypes[1]
  71. if x != nil {
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. if ms.LoadMessageInfo() == nil {
  74. ms.StoreMessageInfo(mi)
  75. }
  76. return ms
  77. }
  78. return mi.MessageOf(x)
  79. }
  80. // Deprecated: Use IDRequest.ProtoReflect.Descriptor instead.
  81. func (*IDRequest) Descriptor() ([]byte, []int) {
  82. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{1}
  83. }
  84. func (x *IDRequest) GetId() uint32 {
  85. if x != nil && x.Id != nil {
  86. return *x.Id
  87. }
  88. return 0
  89. }
  90. func (x *IDRequest) GetInstanceId() string {
  91. if x != nil && x.InstanceId != nil {
  92. return *x.InstanceId
  93. }
  94. return ""
  95. }
  96. type OptionRequest struct {
  97. state protoimpl.MessageState `protogen:"open.v1"`
  98. Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  99. Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"`
  100. unknownFields protoimpl.UnknownFields
  101. sizeCache protoimpl.SizeCache
  102. }
  103. func (x *OptionRequest) Reset() {
  104. *x = OptionRequest{}
  105. mi := &file_dr_protocol_idl_proto_msgTypes[2]
  106. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  107. ms.StoreMessageInfo(mi)
  108. }
  109. func (x *OptionRequest) String() string {
  110. return protoimpl.X.MessageStringOf(x)
  111. }
  112. func (*OptionRequest) ProtoMessage() {}
  113. func (x *OptionRequest) ProtoReflect() protoreflect.Message {
  114. mi := &file_dr_protocol_idl_proto_msgTypes[2]
  115. if x != nil {
  116. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  117. if ms.LoadMessageInfo() == nil {
  118. ms.StoreMessageInfo(mi)
  119. }
  120. return ms
  121. }
  122. return mi.MessageOf(x)
  123. }
  124. // Deprecated: Use OptionRequest.ProtoReflect.Descriptor instead.
  125. func (*OptionRequest) Descriptor() ([]byte, []int) {
  126. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{2}
  127. }
  128. func (x *OptionRequest) GetGroup() string {
  129. if x != nil {
  130. return x.Group
  131. }
  132. return ""
  133. }
  134. func (x *OptionRequest) GetFlag() string {
  135. if x != nil {
  136. return x.Flag
  137. }
  138. return ""
  139. }
  140. type Option struct {
  141. state protoimpl.MessageState `protogen:"open.v1"`
  142. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
  143. Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  144. unknownFields protoimpl.UnknownFields
  145. sizeCache protoimpl.SizeCache
  146. }
  147. func (x *Option) Reset() {
  148. *x = Option{}
  149. mi := &file_dr_protocol_idl_proto_msgTypes[3]
  150. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  151. ms.StoreMessageInfo(mi)
  152. }
  153. func (x *Option) String() string {
  154. return protoimpl.X.MessageStringOf(x)
  155. }
  156. func (*Option) ProtoMessage() {}
  157. func (x *Option) ProtoReflect() protoreflect.Message {
  158. mi := &file_dr_protocol_idl_proto_msgTypes[3]
  159. if x != nil {
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. if ms.LoadMessageInfo() == nil {
  162. ms.StoreMessageInfo(mi)
  163. }
  164. return ms
  165. }
  166. return mi.MessageOf(x)
  167. }
  168. // Deprecated: Use Option.ProtoReflect.Descriptor instead.
  169. func (*Option) Descriptor() ([]byte, []int) {
  170. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{3}
  171. }
  172. func (x *Option) GetText() string {
  173. if x != nil {
  174. return x.Text
  175. }
  176. return ""
  177. }
  178. func (x *Option) GetValue() *anypb.Any {
  179. if x != nil {
  180. return x.Value
  181. }
  182. return nil
  183. }
  184. type OptionReply struct {
  185. state protoimpl.MessageState `protogen:"open.v1"`
  186. Option []*Option `protobuf:"bytes,1,rep,name=option,proto3" json:"option,omitempty"`
  187. unknownFields protoimpl.UnknownFields
  188. sizeCache protoimpl.SizeCache
  189. }
  190. func (x *OptionReply) Reset() {
  191. *x = OptionReply{}
  192. mi := &file_dr_protocol_idl_proto_msgTypes[4]
  193. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  194. ms.StoreMessageInfo(mi)
  195. }
  196. func (x *OptionReply) String() string {
  197. return protoimpl.X.MessageStringOf(x)
  198. }
  199. func (*OptionReply) ProtoMessage() {}
  200. func (x *OptionReply) ProtoReflect() protoreflect.Message {
  201. mi := &file_dr_protocol_idl_proto_msgTypes[4]
  202. if x != nil {
  203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  204. if ms.LoadMessageInfo() == nil {
  205. ms.StoreMessageInfo(mi)
  206. }
  207. return ms
  208. }
  209. return mi.MessageOf(x)
  210. }
  211. // Deprecated: Use OptionReply.ProtoReflect.Descriptor instead.
  212. func (*OptionReply) Descriptor() ([]byte, []int) {
  213. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{4}
  214. }
  215. func (x *OptionReply) GetOption() []*Option {
  216. if x != nil {
  217. return x.Option
  218. }
  219. return nil
  220. }
  221. type SoftwareInfoReply struct {
  222. state protoimpl.MessageState `protogen:"open.v1"`
  223. Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
  224. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
  225. Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
  226. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  227. unknownFields protoimpl.UnknownFields
  228. sizeCache protoimpl.SizeCache
  229. }
  230. func (x *SoftwareInfoReply) Reset() {
  231. *x = SoftwareInfoReply{}
  232. mi := &file_dr_protocol_idl_proto_msgTypes[5]
  233. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  234. ms.StoreMessageInfo(mi)
  235. }
  236. func (x *SoftwareInfoReply) String() string {
  237. return protoimpl.X.MessageStringOf(x)
  238. }
  239. func (*SoftwareInfoReply) ProtoMessage() {}
  240. func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
  241. mi := &file_dr_protocol_idl_proto_msgTypes[5]
  242. if x != nil {
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. if ms.LoadMessageInfo() == nil {
  245. ms.StoreMessageInfo(mi)
  246. }
  247. return ms
  248. }
  249. return mi.MessageOf(x)
  250. }
  251. // Deprecated: Use SoftwareInfoReply.ProtoReflect.Descriptor instead.
  252. func (*SoftwareInfoReply) Descriptor() ([]byte, []int) {
  253. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{5}
  254. }
  255. func (x *SoftwareInfoReply) GetModule() string {
  256. if x != nil {
  257. return x.Module
  258. }
  259. return ""
  260. }
  261. func (x *SoftwareInfoReply) GetDesc() string {
  262. if x != nil {
  263. return x.Desc
  264. }
  265. return ""
  266. }
  267. func (x *SoftwareInfoReply) GetBuild() string {
  268. if x != nil {
  269. return x.Build
  270. }
  271. return ""
  272. }
  273. func (x *SoftwareInfoReply) GetVersion() string {
  274. if x != nil {
  275. return x.Version
  276. }
  277. return ""
  278. }
  279. type PatientTypeRequest struct {
  280. state protoimpl.MessageState `protogen:"open.v1"`
  281. IsEnabled *bool `protobuf:"varint,1,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  282. IsPreInstall *bool `protobuf:"varint,2,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  283. unknownFields protoimpl.UnknownFields
  284. sizeCache protoimpl.SizeCache
  285. }
  286. func (x *PatientTypeRequest) Reset() {
  287. *x = PatientTypeRequest{}
  288. mi := &file_dr_protocol_idl_proto_msgTypes[6]
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. ms.StoreMessageInfo(mi)
  291. }
  292. func (x *PatientTypeRequest) String() string {
  293. return protoimpl.X.MessageStringOf(x)
  294. }
  295. func (*PatientTypeRequest) ProtoMessage() {}
  296. func (x *PatientTypeRequest) ProtoReflect() protoreflect.Message {
  297. mi := &file_dr_protocol_idl_proto_msgTypes[6]
  298. if x != nil {
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. if ms.LoadMessageInfo() == nil {
  301. ms.StoreMessageInfo(mi)
  302. }
  303. return ms
  304. }
  305. return mi.MessageOf(x)
  306. }
  307. // Deprecated: Use PatientTypeRequest.ProtoReflect.Descriptor instead.
  308. func (*PatientTypeRequest) Descriptor() ([]byte, []int) {
  309. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{6}
  310. }
  311. func (x *PatientTypeRequest) GetIsEnabled() bool {
  312. if x != nil && x.IsEnabled != nil {
  313. return *x.IsEnabled
  314. }
  315. return false
  316. }
  317. func (x *PatientTypeRequest) GetIsPreInstall() bool {
  318. if x != nil && x.IsPreInstall != nil {
  319. return *x.IsPreInstall
  320. }
  321. return false
  322. }
  323. type PatientType struct {
  324. state protoimpl.MessageState `protogen:"open.v1"`
  325. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  326. PatientTypeId string `protobuf:"bytes,2,opt,name=patient_type_id,json=patientTypeId,proto3" json:"patient_type_id,omitempty"`
  327. PatientTypeName string `protobuf:"bytes,3,opt,name=patient_type_name,json=patientTypeName,proto3" json:"patient_type_name,omitempty"`
  328. PatientTypeNameLocal string `protobuf:"bytes,4,opt,name=patient_type_name_local,json=patientTypeNameLocal,proto3" json:"patient_type_name_local,omitempty"`
  329. PatientTypeDescription string `protobuf:"bytes,5,opt,name=patient_type_description,json=patientTypeDescription,proto3" json:"patient_type_description,omitempty"`
  330. Sort int32 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
  331. IsEnabled bool `protobuf:"varint,7,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  332. Product string `protobuf:"bytes,8,opt,name=product,proto3" json:"product,omitempty"`
  333. IsPreInstall bool `protobuf:"varint,9,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  334. unknownFields protoimpl.UnknownFields
  335. sizeCache protoimpl.SizeCache
  336. }
  337. func (x *PatientType) Reset() {
  338. *x = PatientType{}
  339. mi := &file_dr_protocol_idl_proto_msgTypes[7]
  340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  341. ms.StoreMessageInfo(mi)
  342. }
  343. func (x *PatientType) String() string {
  344. return protoimpl.X.MessageStringOf(x)
  345. }
  346. func (*PatientType) ProtoMessage() {}
  347. func (x *PatientType) ProtoReflect() protoreflect.Message {
  348. mi := &file_dr_protocol_idl_proto_msgTypes[7]
  349. if x != nil {
  350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  351. if ms.LoadMessageInfo() == nil {
  352. ms.StoreMessageInfo(mi)
  353. }
  354. return ms
  355. }
  356. return mi.MessageOf(x)
  357. }
  358. // Deprecated: Use PatientType.ProtoReflect.Descriptor instead.
  359. func (*PatientType) Descriptor() ([]byte, []int) {
  360. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{7}
  361. }
  362. func (x *PatientType) GetId() uint64 {
  363. if x != nil {
  364. return x.Id
  365. }
  366. return 0
  367. }
  368. func (x *PatientType) GetPatientTypeId() string {
  369. if x != nil {
  370. return x.PatientTypeId
  371. }
  372. return ""
  373. }
  374. func (x *PatientType) GetPatientTypeName() string {
  375. if x != nil {
  376. return x.PatientTypeName
  377. }
  378. return ""
  379. }
  380. func (x *PatientType) GetPatientTypeNameLocal() string {
  381. if x != nil {
  382. return x.PatientTypeNameLocal
  383. }
  384. return ""
  385. }
  386. func (x *PatientType) GetPatientTypeDescription() string {
  387. if x != nil {
  388. return x.PatientTypeDescription
  389. }
  390. return ""
  391. }
  392. func (x *PatientType) GetSort() int32 {
  393. if x != nil {
  394. return x.Sort
  395. }
  396. return 0
  397. }
  398. func (x *PatientType) GetIsEnabled() bool {
  399. if x != nil {
  400. return x.IsEnabled
  401. }
  402. return false
  403. }
  404. func (x *PatientType) GetProduct() string {
  405. if x != nil {
  406. return x.Product
  407. }
  408. return ""
  409. }
  410. func (x *PatientType) GetIsPreInstall() bool {
  411. if x != nil {
  412. return x.IsPreInstall
  413. }
  414. return false
  415. }
  416. type PatientTypeReply struct {
  417. state protoimpl.MessageState `protogen:"open.v1"`
  418. PatientTypeList []*PatientType `protobuf:"bytes,1,rep,name=patient_type_list,json=patientTypeList,proto3" json:"patient_type_list,omitempty"`
  419. unknownFields protoimpl.UnknownFields
  420. sizeCache protoimpl.SizeCache
  421. }
  422. func (x *PatientTypeReply) Reset() {
  423. *x = PatientTypeReply{}
  424. mi := &file_dr_protocol_idl_proto_msgTypes[8]
  425. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  426. ms.StoreMessageInfo(mi)
  427. }
  428. func (x *PatientTypeReply) String() string {
  429. return protoimpl.X.MessageStringOf(x)
  430. }
  431. func (*PatientTypeReply) ProtoMessage() {}
  432. func (x *PatientTypeReply) ProtoReflect() protoreflect.Message {
  433. mi := &file_dr_protocol_idl_proto_msgTypes[8]
  434. if x != nil {
  435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  436. if ms.LoadMessageInfo() == nil {
  437. ms.StoreMessageInfo(mi)
  438. }
  439. return ms
  440. }
  441. return mi.MessageOf(x)
  442. }
  443. // Deprecated: Use PatientTypeReply.ProtoReflect.Descriptor instead.
  444. func (*PatientTypeReply) Descriptor() ([]byte, []int) {
  445. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{8}
  446. }
  447. func (x *PatientTypeReply) GetPatientTypeList() []*PatientType {
  448. if x != nil {
  449. return x.PatientTypeList
  450. }
  451. return nil
  452. }
  453. type BodyPartRequest struct {
  454. state protoimpl.MessageState `protogen:"open.v1"`
  455. PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
  456. Modality *string `protobuf:"bytes,2,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
  457. IsEnabled *bool `protobuf:"varint,3,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  458. IsPreInstall *bool `protobuf:"varint,4,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  459. unknownFields protoimpl.UnknownFields
  460. sizeCache protoimpl.SizeCache
  461. }
  462. func (x *BodyPartRequest) Reset() {
  463. *x = BodyPartRequest{}
  464. mi := &file_dr_protocol_idl_proto_msgTypes[9]
  465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  466. ms.StoreMessageInfo(mi)
  467. }
  468. func (x *BodyPartRequest) String() string {
  469. return protoimpl.X.MessageStringOf(x)
  470. }
  471. func (*BodyPartRequest) ProtoMessage() {}
  472. func (x *BodyPartRequest) ProtoReflect() protoreflect.Message {
  473. mi := &file_dr_protocol_idl_proto_msgTypes[9]
  474. if x != nil {
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. if ms.LoadMessageInfo() == nil {
  477. ms.StoreMessageInfo(mi)
  478. }
  479. return ms
  480. }
  481. return mi.MessageOf(x)
  482. }
  483. // Deprecated: Use BodyPartRequest.ProtoReflect.Descriptor instead.
  484. func (*BodyPartRequest) Descriptor() ([]byte, []int) {
  485. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{9}
  486. }
  487. func (x *BodyPartRequest) GetPatientType() string {
  488. if x != nil && x.PatientType != nil {
  489. return *x.PatientType
  490. }
  491. return ""
  492. }
  493. func (x *BodyPartRequest) GetModality() string {
  494. if x != nil && x.Modality != nil {
  495. return *x.Modality
  496. }
  497. return ""
  498. }
  499. func (x *BodyPartRequest) GetIsEnabled() bool {
  500. if x != nil && x.IsEnabled != nil {
  501. return *x.IsEnabled
  502. }
  503. return false
  504. }
  505. func (x *BodyPartRequest) GetIsPreInstall() bool {
  506. if x != nil && x.IsPreInstall != nil {
  507. return *x.IsPreInstall
  508. }
  509. return false
  510. }
  511. type BodyPart struct {
  512. state protoimpl.MessageState `protogen:"open.v1"`
  513. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  514. BodyPartId string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
  515. BodyPartName string `protobuf:"bytes,3,opt,name=body_part_name,json=bodyPartName,proto3" json:"body_part_name,omitempty"`
  516. BodyPartNameLocal string `protobuf:"bytes,4,opt,name=body_part_name_local,json=bodyPartNameLocal,proto3" json:"body_part_name_local,omitempty"`
  517. BodyPartDescription string `protobuf:"bytes,5,opt,name=body_part_description,json=bodyPartDescription,proto3" json:"body_part_description,omitempty"`
  518. PatientType string `protobuf:"bytes,6,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  519. Modality string `protobuf:"bytes,7,opt,name=modality,proto3" json:"modality,omitempty"`
  520. Sort int32 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"`
  521. IsEnabled bool `protobuf:"varint,9,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  522. Product string `protobuf:"bytes,10,opt,name=product,proto3" json:"product,omitempty"`
  523. IsPreInstall bool `protobuf:"varint,11,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  524. unknownFields protoimpl.UnknownFields
  525. sizeCache protoimpl.SizeCache
  526. }
  527. func (x *BodyPart) Reset() {
  528. *x = BodyPart{}
  529. mi := &file_dr_protocol_idl_proto_msgTypes[10]
  530. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  531. ms.StoreMessageInfo(mi)
  532. }
  533. func (x *BodyPart) String() string {
  534. return protoimpl.X.MessageStringOf(x)
  535. }
  536. func (*BodyPart) ProtoMessage() {}
  537. func (x *BodyPart) ProtoReflect() protoreflect.Message {
  538. mi := &file_dr_protocol_idl_proto_msgTypes[10]
  539. if x != nil {
  540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  541. if ms.LoadMessageInfo() == nil {
  542. ms.StoreMessageInfo(mi)
  543. }
  544. return ms
  545. }
  546. return mi.MessageOf(x)
  547. }
  548. // Deprecated: Use BodyPart.ProtoReflect.Descriptor instead.
  549. func (*BodyPart) Descriptor() ([]byte, []int) {
  550. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{10}
  551. }
  552. func (x *BodyPart) GetId() uint64 {
  553. if x != nil {
  554. return x.Id
  555. }
  556. return 0
  557. }
  558. func (x *BodyPart) GetBodyPartId() string {
  559. if x != nil {
  560. return x.BodyPartId
  561. }
  562. return ""
  563. }
  564. func (x *BodyPart) GetBodyPartName() string {
  565. if x != nil {
  566. return x.BodyPartName
  567. }
  568. return ""
  569. }
  570. func (x *BodyPart) GetBodyPartNameLocal() string {
  571. if x != nil {
  572. return x.BodyPartNameLocal
  573. }
  574. return ""
  575. }
  576. func (x *BodyPart) GetBodyPartDescription() string {
  577. if x != nil {
  578. return x.BodyPartDescription
  579. }
  580. return ""
  581. }
  582. func (x *BodyPart) GetPatientType() string {
  583. if x != nil {
  584. return x.PatientType
  585. }
  586. return ""
  587. }
  588. func (x *BodyPart) GetModality() string {
  589. if x != nil {
  590. return x.Modality
  591. }
  592. return ""
  593. }
  594. func (x *BodyPart) GetSort() int32 {
  595. if x != nil {
  596. return x.Sort
  597. }
  598. return 0
  599. }
  600. func (x *BodyPart) GetIsEnabled() bool {
  601. if x != nil {
  602. return x.IsEnabled
  603. }
  604. return false
  605. }
  606. func (x *BodyPart) GetProduct() string {
  607. if x != nil {
  608. return x.Product
  609. }
  610. return ""
  611. }
  612. func (x *BodyPart) GetIsPreInstall() bool {
  613. if x != nil {
  614. return x.IsPreInstall
  615. }
  616. return false
  617. }
  618. type BodyPartReply struct {
  619. state protoimpl.MessageState `protogen:"open.v1"`
  620. BodyPartList []*BodyPart `protobuf:"bytes,1,rep,name=body_part_list,json=bodyPartList,proto3" json:"body_part_list,omitempty"`
  621. unknownFields protoimpl.UnknownFields
  622. sizeCache protoimpl.SizeCache
  623. }
  624. func (x *BodyPartReply) Reset() {
  625. *x = BodyPartReply{}
  626. mi := &file_dr_protocol_idl_proto_msgTypes[11]
  627. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  628. ms.StoreMessageInfo(mi)
  629. }
  630. func (x *BodyPartReply) String() string {
  631. return protoimpl.X.MessageStringOf(x)
  632. }
  633. func (*BodyPartReply) ProtoMessage() {}
  634. func (x *BodyPartReply) ProtoReflect() protoreflect.Message {
  635. mi := &file_dr_protocol_idl_proto_msgTypes[11]
  636. if x != nil {
  637. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  638. if ms.LoadMessageInfo() == nil {
  639. ms.StoreMessageInfo(mi)
  640. }
  641. return ms
  642. }
  643. return mi.MessageOf(x)
  644. }
  645. // Deprecated: Use BodyPartReply.ProtoReflect.Descriptor instead.
  646. func (*BodyPartReply) Descriptor() ([]byte, []int) {
  647. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{11}
  648. }
  649. func (x *BodyPartReply) GetBodyPartList() []*BodyPart {
  650. if x != nil {
  651. return x.BodyPartList
  652. }
  653. return nil
  654. }
  655. type ProcedureRequest struct {
  656. state protoimpl.MessageState `protogen:"open.v1"`
  657. PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
  658. BodyPartId *string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3,oneof" json:"body_part_id,omitempty"`
  659. Modality *string `protobuf:"bytes,3,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
  660. IsEnabled *bool `protobuf:"varint,4,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  661. IsPreInstall *bool `protobuf:"varint,5,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  662. unknownFields protoimpl.UnknownFields
  663. sizeCache protoimpl.SizeCache
  664. }
  665. func (x *ProcedureRequest) Reset() {
  666. *x = ProcedureRequest{}
  667. mi := &file_dr_protocol_idl_proto_msgTypes[12]
  668. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  669. ms.StoreMessageInfo(mi)
  670. }
  671. func (x *ProcedureRequest) String() string {
  672. return protoimpl.X.MessageStringOf(x)
  673. }
  674. func (*ProcedureRequest) ProtoMessage() {}
  675. func (x *ProcedureRequest) ProtoReflect() protoreflect.Message {
  676. mi := &file_dr_protocol_idl_proto_msgTypes[12]
  677. if x != nil {
  678. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  679. if ms.LoadMessageInfo() == nil {
  680. ms.StoreMessageInfo(mi)
  681. }
  682. return ms
  683. }
  684. return mi.MessageOf(x)
  685. }
  686. // Deprecated: Use ProcedureRequest.ProtoReflect.Descriptor instead.
  687. func (*ProcedureRequest) Descriptor() ([]byte, []int) {
  688. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{12}
  689. }
  690. func (x *ProcedureRequest) GetPatientType() string {
  691. if x != nil && x.PatientType != nil {
  692. return *x.PatientType
  693. }
  694. return ""
  695. }
  696. func (x *ProcedureRequest) GetBodyPartId() string {
  697. if x != nil && x.BodyPartId != nil {
  698. return *x.BodyPartId
  699. }
  700. return ""
  701. }
  702. func (x *ProcedureRequest) GetModality() string {
  703. if x != nil && x.Modality != nil {
  704. return *x.Modality
  705. }
  706. return ""
  707. }
  708. func (x *ProcedureRequest) GetIsEnabled() bool {
  709. if x != nil && x.IsEnabled != nil {
  710. return *x.IsEnabled
  711. }
  712. return false
  713. }
  714. func (x *ProcedureRequest) GetIsPreInstall() bool {
  715. if x != nil && x.IsPreInstall != nil {
  716. return *x.IsPreInstall
  717. }
  718. return false
  719. }
  720. type Procedure struct {
  721. state protoimpl.MessageState `protogen:"open.v1"`
  722. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  723. ProcedureId string `protobuf:"bytes,2,opt,name=procedure_id,json=procedureId,proto3" json:"procedure_id,omitempty"`
  724. ProcedureCode string `protobuf:"bytes,3,opt,name=procedure_code,json=procedureCode,proto3" json:"procedure_code,omitempty"`
  725. ProcedureName string `protobuf:"bytes,4,opt,name=procedure_name,json=procedureName,proto3" json:"procedure_name,omitempty"`
  726. ProcedureNameLocal string `protobuf:"bytes,5,opt,name=procedure_name_local,json=procedureNameLocal,proto3" json:"procedure_name_local,omitempty"`
  727. ProcedureOtherName string `protobuf:"bytes,6,opt,name=procedure_other_name,json=procedureOtherName,proto3" json:"procedure_other_name,omitempty"`
  728. ProcedureDescription string `protobuf:"bytes,7,opt,name=procedure_description,json=procedureDescription,proto3" json:"procedure_description,omitempty"`
  729. ProcedureDescriptionLocal string `protobuf:"bytes,8,opt,name=procedure_description_local,json=procedureDescriptionLocal,proto3" json:"procedure_description_local,omitempty"`
  730. PatientType string `protobuf:"bytes,9,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  731. BodyPartId string `protobuf:"bytes,10,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
  732. ProcedureType string `protobuf:"bytes,11,opt,name=procedure_type,json=procedureType,proto3" json:"procedure_type,omitempty"`
  733. FastSearch bool `protobuf:"varint,12,opt,name=fast_search,json=fastSearch,proto3" json:"fast_search,omitempty"`
  734. ProtocolLaterality string `protobuf:"bytes,13,opt,name=protocol_laterality,json=protocolLaterality,proto3" json:"protocol_laterality,omitempty"`
  735. ProcedureCategory string `protobuf:"bytes,14,opt,name=procedure_category,json=procedureCategory,proto3" json:"procedure_category,omitempty"`
  736. Modality string `protobuf:"bytes,15,opt,name=modality,proto3" json:"modality,omitempty"`
  737. Sort int32 `protobuf:"varint,16,opt,name=sort,proto3" json:"sort,omitempty"`
  738. IsEnabled bool `protobuf:"varint,17,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  739. Product string `protobuf:"bytes,18,opt,name=product,proto3" json:"product,omitempty"`
  740. IsPreInstall bool `protobuf:"varint,19,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  741. unknownFields protoimpl.UnknownFields
  742. sizeCache protoimpl.SizeCache
  743. }
  744. func (x *Procedure) Reset() {
  745. *x = Procedure{}
  746. mi := &file_dr_protocol_idl_proto_msgTypes[13]
  747. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  748. ms.StoreMessageInfo(mi)
  749. }
  750. func (x *Procedure) String() string {
  751. return protoimpl.X.MessageStringOf(x)
  752. }
  753. func (*Procedure) ProtoMessage() {}
  754. func (x *Procedure) ProtoReflect() protoreflect.Message {
  755. mi := &file_dr_protocol_idl_proto_msgTypes[13]
  756. if x != nil {
  757. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  758. if ms.LoadMessageInfo() == nil {
  759. ms.StoreMessageInfo(mi)
  760. }
  761. return ms
  762. }
  763. return mi.MessageOf(x)
  764. }
  765. // Deprecated: Use Procedure.ProtoReflect.Descriptor instead.
  766. func (*Procedure) Descriptor() ([]byte, []int) {
  767. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{13}
  768. }
  769. func (x *Procedure) GetId() uint64 {
  770. if x != nil {
  771. return x.Id
  772. }
  773. return 0
  774. }
  775. func (x *Procedure) GetProcedureId() string {
  776. if x != nil {
  777. return x.ProcedureId
  778. }
  779. return ""
  780. }
  781. func (x *Procedure) GetProcedureCode() string {
  782. if x != nil {
  783. return x.ProcedureCode
  784. }
  785. return ""
  786. }
  787. func (x *Procedure) GetProcedureName() string {
  788. if x != nil {
  789. return x.ProcedureName
  790. }
  791. return ""
  792. }
  793. func (x *Procedure) GetProcedureNameLocal() string {
  794. if x != nil {
  795. return x.ProcedureNameLocal
  796. }
  797. return ""
  798. }
  799. func (x *Procedure) GetProcedureOtherName() string {
  800. if x != nil {
  801. return x.ProcedureOtherName
  802. }
  803. return ""
  804. }
  805. func (x *Procedure) GetProcedureDescription() string {
  806. if x != nil {
  807. return x.ProcedureDescription
  808. }
  809. return ""
  810. }
  811. func (x *Procedure) GetProcedureDescriptionLocal() string {
  812. if x != nil {
  813. return x.ProcedureDescriptionLocal
  814. }
  815. return ""
  816. }
  817. func (x *Procedure) GetPatientType() string {
  818. if x != nil {
  819. return x.PatientType
  820. }
  821. return ""
  822. }
  823. func (x *Procedure) GetBodyPartId() string {
  824. if x != nil {
  825. return x.BodyPartId
  826. }
  827. return ""
  828. }
  829. func (x *Procedure) GetProcedureType() string {
  830. if x != nil {
  831. return x.ProcedureType
  832. }
  833. return ""
  834. }
  835. func (x *Procedure) GetFastSearch() bool {
  836. if x != nil {
  837. return x.FastSearch
  838. }
  839. return false
  840. }
  841. func (x *Procedure) GetProtocolLaterality() string {
  842. if x != nil {
  843. return x.ProtocolLaterality
  844. }
  845. return ""
  846. }
  847. func (x *Procedure) GetProcedureCategory() string {
  848. if x != nil {
  849. return x.ProcedureCategory
  850. }
  851. return ""
  852. }
  853. func (x *Procedure) GetModality() string {
  854. if x != nil {
  855. return x.Modality
  856. }
  857. return ""
  858. }
  859. func (x *Procedure) GetSort() int32 {
  860. if x != nil {
  861. return x.Sort
  862. }
  863. return 0
  864. }
  865. func (x *Procedure) GetIsEnabled() bool {
  866. if x != nil {
  867. return x.IsEnabled
  868. }
  869. return false
  870. }
  871. func (x *Procedure) GetProduct() string {
  872. if x != nil {
  873. return x.Product
  874. }
  875. return ""
  876. }
  877. func (x *Procedure) GetIsPreInstall() bool {
  878. if x != nil {
  879. return x.IsPreInstall
  880. }
  881. return false
  882. }
  883. type ProcedureReply struct {
  884. state protoimpl.MessageState `protogen:"open.v1"`
  885. ProcedureList []*Procedure `protobuf:"bytes,1,rep,name=procedure_list,json=procedureList,proto3" json:"procedure_list,omitempty"`
  886. unknownFields protoimpl.UnknownFields
  887. sizeCache protoimpl.SizeCache
  888. }
  889. func (x *ProcedureReply) Reset() {
  890. *x = ProcedureReply{}
  891. mi := &file_dr_protocol_idl_proto_msgTypes[14]
  892. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  893. ms.StoreMessageInfo(mi)
  894. }
  895. func (x *ProcedureReply) String() string {
  896. return protoimpl.X.MessageStringOf(x)
  897. }
  898. func (*ProcedureReply) ProtoMessage() {}
  899. func (x *ProcedureReply) ProtoReflect() protoreflect.Message {
  900. mi := &file_dr_protocol_idl_proto_msgTypes[14]
  901. if x != nil {
  902. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  903. if ms.LoadMessageInfo() == nil {
  904. ms.StoreMessageInfo(mi)
  905. }
  906. return ms
  907. }
  908. return mi.MessageOf(x)
  909. }
  910. // Deprecated: Use ProcedureReply.ProtoReflect.Descriptor instead.
  911. func (*ProcedureReply) Descriptor() ([]byte, []int) {
  912. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{14}
  913. }
  914. func (x *ProcedureReply) GetProcedureList() []*Procedure {
  915. if x != nil {
  916. return x.ProcedureList
  917. }
  918. return nil
  919. }
  920. type ViewRequest struct {
  921. state protoimpl.MessageState `protogen:"open.v1"`
  922. PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
  923. BodyPartId *string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3,oneof" json:"body_part_id,omitempty"`
  924. ProcedureId *string `protobuf:"bytes,3,opt,name=procedure_id,json=procedureId,proto3,oneof" json:"procedure_id,omitempty"`
  925. Modality *string `protobuf:"bytes,4,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
  926. IsEnabled *bool `protobuf:"varint,5,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  927. IsPreInstall *bool `protobuf:"varint,6,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  928. unknownFields protoimpl.UnknownFields
  929. sizeCache protoimpl.SizeCache
  930. }
  931. func (x *ViewRequest) Reset() {
  932. *x = ViewRequest{}
  933. mi := &file_dr_protocol_idl_proto_msgTypes[15]
  934. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  935. ms.StoreMessageInfo(mi)
  936. }
  937. func (x *ViewRequest) String() string {
  938. return protoimpl.X.MessageStringOf(x)
  939. }
  940. func (*ViewRequest) ProtoMessage() {}
  941. func (x *ViewRequest) ProtoReflect() protoreflect.Message {
  942. mi := &file_dr_protocol_idl_proto_msgTypes[15]
  943. if x != nil {
  944. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  945. if ms.LoadMessageInfo() == nil {
  946. ms.StoreMessageInfo(mi)
  947. }
  948. return ms
  949. }
  950. return mi.MessageOf(x)
  951. }
  952. // Deprecated: Use ViewRequest.ProtoReflect.Descriptor instead.
  953. func (*ViewRequest) Descriptor() ([]byte, []int) {
  954. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{15}
  955. }
  956. func (x *ViewRequest) GetPatientType() string {
  957. if x != nil && x.PatientType != nil {
  958. return *x.PatientType
  959. }
  960. return ""
  961. }
  962. func (x *ViewRequest) GetBodyPartId() string {
  963. if x != nil && x.BodyPartId != nil {
  964. return *x.BodyPartId
  965. }
  966. return ""
  967. }
  968. func (x *ViewRequest) GetProcedureId() string {
  969. if x != nil && x.ProcedureId != nil {
  970. return *x.ProcedureId
  971. }
  972. return ""
  973. }
  974. func (x *ViewRequest) GetModality() string {
  975. if x != nil && x.Modality != nil {
  976. return *x.Modality
  977. }
  978. return ""
  979. }
  980. func (x *ViewRequest) GetIsEnabled() bool {
  981. if x != nil && x.IsEnabled != nil {
  982. return *x.IsEnabled
  983. }
  984. return false
  985. }
  986. func (x *ViewRequest) GetIsPreInstall() bool {
  987. if x != nil && x.IsPreInstall != nil {
  988. return *x.IsPreInstall
  989. }
  990. return false
  991. }
  992. type View struct {
  993. state protoimpl.MessageState `protogen:"open.v1"`
  994. InternalId string `protobuf:"bytes,1,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"`
  995. ViewId string `protobuf:"bytes,2,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
  996. ViewName string `protobuf:"bytes,3,opt,name=view_name,json=viewName,proto3" json:"view_name,omitempty"`
  997. ViewNameLocal string `protobuf:"bytes,4,opt,name=view_name_local,json=viewNameLocal,proto3" json:"view_name_local,omitempty"`
  998. ViewOtherName string `protobuf:"bytes,5,opt,name=view_other_name,json=viewOtherName,proto3" json:"view_other_name,omitempty"`
  999. ViewDescription string `protobuf:"bytes,6,opt,name=view_description,json=viewDescription,proto3" json:"view_description,omitempty"`
  1000. ViewPosition string `protobuf:"bytes,7,opt,name=view_position,json=viewPosition,proto3" json:"view_position,omitempty"`
  1001. Application string `protobuf:"bytes,8,opt,name=application,proto3" json:"application,omitempty"`
  1002. AnatomicRegion string `protobuf:"bytes,9,opt,name=anatomic_region,json=anatomicRegion,proto3" json:"anatomic_region,omitempty"`
  1003. PatientType string `protobuf:"bytes,10,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  1004. BodyPartId string `protobuf:"bytes,11,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
  1005. ViewIconName string `protobuf:"bytes,12,opt,name=view_icon_name,json=viewIconName,proto3" json:"view_icon_name,omitempty"`
  1006. ViewBigIconName string `protobuf:"bytes,13,opt,name=view_big_icon_name,json=viewBigIconName,proto3" json:"view_big_icon_name,omitempty"`
  1007. ViewCoachName string `protobuf:"bytes,14,opt,name=view_coach_name,json=viewCoachName,proto3" json:"view_coach_name,omitempty"`
  1008. Modality string `protobuf:"bytes,15,opt,name=modality,proto3" json:"modality,omitempty"`
  1009. WorkStationId int32 `protobuf:"varint,16,opt,name=work_station_id,json=workStationId,proto3" json:"work_station_id,omitempty"`
  1010. AprId string `protobuf:"bytes,17,opt,name=apr_id,json=aprId,proto3" json:"apr_id,omitempty"`
  1011. ImgProcId string `protobuf:"bytes,18,opt,name=img_proc_id,json=imgProcId,proto3" json:"img_proc_id,omitempty"`
  1012. ConfigObject *structpb.Struct `protobuf:"bytes,19,opt,name=config_object,json=configObject,proto3" json:"config_object,omitempty"`
  1013. Sort int32 `protobuf:"varint,20,opt,name=sort,proto3" json:"sort,omitempty"`
  1014. IsEnabled bool `protobuf:"varint,21,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  1015. Product string `protobuf:"bytes,22,opt,name=product,proto3" json:"product,omitempty"`
  1016. IsPreInstall bool `protobuf:"varint,23,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  1017. unknownFields protoimpl.UnknownFields
  1018. sizeCache protoimpl.SizeCache
  1019. }
  1020. func (x *View) Reset() {
  1021. *x = View{}
  1022. mi := &file_dr_protocol_idl_proto_msgTypes[16]
  1023. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1024. ms.StoreMessageInfo(mi)
  1025. }
  1026. func (x *View) String() string {
  1027. return protoimpl.X.MessageStringOf(x)
  1028. }
  1029. func (*View) ProtoMessage() {}
  1030. func (x *View) ProtoReflect() protoreflect.Message {
  1031. mi := &file_dr_protocol_idl_proto_msgTypes[16]
  1032. if x != nil {
  1033. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1034. if ms.LoadMessageInfo() == nil {
  1035. ms.StoreMessageInfo(mi)
  1036. }
  1037. return ms
  1038. }
  1039. return mi.MessageOf(x)
  1040. }
  1041. // Deprecated: Use View.ProtoReflect.Descriptor instead.
  1042. func (*View) Descriptor() ([]byte, []int) {
  1043. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{16}
  1044. }
  1045. func (x *View) GetInternalId() string {
  1046. if x != nil {
  1047. return x.InternalId
  1048. }
  1049. return ""
  1050. }
  1051. func (x *View) GetViewId() string {
  1052. if x != nil {
  1053. return x.ViewId
  1054. }
  1055. return ""
  1056. }
  1057. func (x *View) GetViewName() string {
  1058. if x != nil {
  1059. return x.ViewName
  1060. }
  1061. return ""
  1062. }
  1063. func (x *View) GetViewNameLocal() string {
  1064. if x != nil {
  1065. return x.ViewNameLocal
  1066. }
  1067. return ""
  1068. }
  1069. func (x *View) GetViewOtherName() string {
  1070. if x != nil {
  1071. return x.ViewOtherName
  1072. }
  1073. return ""
  1074. }
  1075. func (x *View) GetViewDescription() string {
  1076. if x != nil {
  1077. return x.ViewDescription
  1078. }
  1079. return ""
  1080. }
  1081. func (x *View) GetViewPosition() string {
  1082. if x != nil {
  1083. return x.ViewPosition
  1084. }
  1085. return ""
  1086. }
  1087. func (x *View) GetApplication() string {
  1088. if x != nil {
  1089. return x.Application
  1090. }
  1091. return ""
  1092. }
  1093. func (x *View) GetAnatomicRegion() string {
  1094. if x != nil {
  1095. return x.AnatomicRegion
  1096. }
  1097. return ""
  1098. }
  1099. func (x *View) GetPatientType() string {
  1100. if x != nil {
  1101. return x.PatientType
  1102. }
  1103. return ""
  1104. }
  1105. func (x *View) GetBodyPartId() string {
  1106. if x != nil {
  1107. return x.BodyPartId
  1108. }
  1109. return ""
  1110. }
  1111. func (x *View) GetViewIconName() string {
  1112. if x != nil {
  1113. return x.ViewIconName
  1114. }
  1115. return ""
  1116. }
  1117. func (x *View) GetViewBigIconName() string {
  1118. if x != nil {
  1119. return x.ViewBigIconName
  1120. }
  1121. return ""
  1122. }
  1123. func (x *View) GetViewCoachName() string {
  1124. if x != nil {
  1125. return x.ViewCoachName
  1126. }
  1127. return ""
  1128. }
  1129. func (x *View) GetModality() string {
  1130. if x != nil {
  1131. return x.Modality
  1132. }
  1133. return ""
  1134. }
  1135. func (x *View) GetWorkStationId() int32 {
  1136. if x != nil {
  1137. return x.WorkStationId
  1138. }
  1139. return 0
  1140. }
  1141. func (x *View) GetAprId() string {
  1142. if x != nil {
  1143. return x.AprId
  1144. }
  1145. return ""
  1146. }
  1147. func (x *View) GetImgProcId() string {
  1148. if x != nil {
  1149. return x.ImgProcId
  1150. }
  1151. return ""
  1152. }
  1153. func (x *View) GetConfigObject() *structpb.Struct {
  1154. if x != nil {
  1155. return x.ConfigObject
  1156. }
  1157. return nil
  1158. }
  1159. func (x *View) GetSort() int32 {
  1160. if x != nil {
  1161. return x.Sort
  1162. }
  1163. return 0
  1164. }
  1165. func (x *View) GetIsEnabled() bool {
  1166. if x != nil {
  1167. return x.IsEnabled
  1168. }
  1169. return false
  1170. }
  1171. func (x *View) GetProduct() string {
  1172. if x != nil {
  1173. return x.Product
  1174. }
  1175. return ""
  1176. }
  1177. func (x *View) GetIsPreInstall() bool {
  1178. if x != nil {
  1179. return x.IsPreInstall
  1180. }
  1181. return false
  1182. }
  1183. type ViewReply struct {
  1184. state protoimpl.MessageState `protogen:"open.v1"`
  1185. ViewList []*View `protobuf:"bytes,1,rep,name=view_list,json=viewList,proto3" json:"view_list,omitempty"`
  1186. unknownFields protoimpl.UnknownFields
  1187. sizeCache protoimpl.SizeCache
  1188. }
  1189. func (x *ViewReply) Reset() {
  1190. *x = ViewReply{}
  1191. mi := &file_dr_protocol_idl_proto_msgTypes[17]
  1192. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1193. ms.StoreMessageInfo(mi)
  1194. }
  1195. func (x *ViewReply) String() string {
  1196. return protoimpl.X.MessageStringOf(x)
  1197. }
  1198. func (*ViewReply) ProtoMessage() {}
  1199. func (x *ViewReply) ProtoReflect() protoreflect.Message {
  1200. mi := &file_dr_protocol_idl_proto_msgTypes[17]
  1201. if x != nil {
  1202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1203. if ms.LoadMessageInfo() == nil {
  1204. ms.StoreMessageInfo(mi)
  1205. }
  1206. return ms
  1207. }
  1208. return mi.MessageOf(x)
  1209. }
  1210. // Deprecated: Use ViewReply.ProtoReflect.Descriptor instead.
  1211. func (*ViewReply) Descriptor() ([]byte, []int) {
  1212. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{17}
  1213. }
  1214. func (x *ViewReply) GetViewList() []*View {
  1215. if x != nil {
  1216. return x.ViewList
  1217. }
  1218. return nil
  1219. }
  1220. type AprRequest struct {
  1221. state protoimpl.MessageState `protogen:"open.v1"`
  1222. ViewId *string `protobuf:"bytes,1,opt,name=view_id,json=viewId,proto3,oneof" json:"view_id,omitempty"`
  1223. AprId *string `protobuf:"bytes,2,opt,name=apr_id,json=aprId,proto3,oneof" json:"apr_id,omitempty"`
  1224. IsEnabled *bool `protobuf:"varint,3,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  1225. unknownFields protoimpl.UnknownFields
  1226. sizeCache protoimpl.SizeCache
  1227. }
  1228. func (x *AprRequest) Reset() {
  1229. *x = AprRequest{}
  1230. mi := &file_dr_protocol_idl_proto_msgTypes[18]
  1231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1232. ms.StoreMessageInfo(mi)
  1233. }
  1234. func (x *AprRequest) String() string {
  1235. return protoimpl.X.MessageStringOf(x)
  1236. }
  1237. func (*AprRequest) ProtoMessage() {}
  1238. func (x *AprRequest) ProtoReflect() protoreflect.Message {
  1239. mi := &file_dr_protocol_idl_proto_msgTypes[18]
  1240. if x != nil {
  1241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1242. if ms.LoadMessageInfo() == nil {
  1243. ms.StoreMessageInfo(mi)
  1244. }
  1245. return ms
  1246. }
  1247. return mi.MessageOf(x)
  1248. }
  1249. // Deprecated: Use AprRequest.ProtoReflect.Descriptor instead.
  1250. func (*AprRequest) Descriptor() ([]byte, []int) {
  1251. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{18}
  1252. }
  1253. func (x *AprRequest) GetViewId() string {
  1254. if x != nil && x.ViewId != nil {
  1255. return *x.ViewId
  1256. }
  1257. return ""
  1258. }
  1259. func (x *AprRequest) GetAprId() string {
  1260. if x != nil && x.AprId != nil {
  1261. return *x.AprId
  1262. }
  1263. return ""
  1264. }
  1265. func (x *AprRequest) GetIsEnabled() bool {
  1266. if x != nil && x.IsEnabled != nil {
  1267. return *x.IsEnabled
  1268. }
  1269. return false
  1270. }
  1271. type AprSub struct {
  1272. state protoimpl.MessageState `protogen:"open.v1"`
  1273. WorkStationId int32 `protobuf:"varint,1,opt,name=work_station_id,json=workStationId,proto3" json:"work_station_id,omitempty"`
  1274. PatientSize string `protobuf:"bytes,2,opt,name=patient_size,json=patientSize,proto3" json:"patient_size,omitempty"`
  1275. ConfigObject *structpb.Struct `protobuf:"bytes,3,opt,name=config_object,json=configObject,proto3" json:"config_object,omitempty"`
  1276. unknownFields protoimpl.UnknownFields
  1277. sizeCache protoimpl.SizeCache
  1278. }
  1279. func (x *AprSub) Reset() {
  1280. *x = AprSub{}
  1281. mi := &file_dr_protocol_idl_proto_msgTypes[19]
  1282. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1283. ms.StoreMessageInfo(mi)
  1284. }
  1285. func (x *AprSub) String() string {
  1286. return protoimpl.X.MessageStringOf(x)
  1287. }
  1288. func (*AprSub) ProtoMessage() {}
  1289. func (x *AprSub) ProtoReflect() protoreflect.Message {
  1290. mi := &file_dr_protocol_idl_proto_msgTypes[19]
  1291. if x != nil {
  1292. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1293. if ms.LoadMessageInfo() == nil {
  1294. ms.StoreMessageInfo(mi)
  1295. }
  1296. return ms
  1297. }
  1298. return mi.MessageOf(x)
  1299. }
  1300. // Deprecated: Use AprSub.ProtoReflect.Descriptor instead.
  1301. func (*AprSub) Descriptor() ([]byte, []int) {
  1302. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{19}
  1303. }
  1304. func (x *AprSub) GetWorkStationId() int32 {
  1305. if x != nil {
  1306. return x.WorkStationId
  1307. }
  1308. return 0
  1309. }
  1310. func (x *AprSub) GetPatientSize() string {
  1311. if x != nil {
  1312. return x.PatientSize
  1313. }
  1314. return ""
  1315. }
  1316. func (x *AprSub) GetConfigObject() *structpb.Struct {
  1317. if x != nil {
  1318. return x.ConfigObject
  1319. }
  1320. return nil
  1321. }
  1322. type AprReply struct {
  1323. state protoimpl.MessageState `protogen:"open.v1"`
  1324. AprId string `protobuf:"bytes,1,opt,name=apr_id,json=aprId,proto3" json:"apr_id,omitempty"`
  1325. AprName string `protobuf:"bytes,2,opt,name=apr_name,json=aprName,proto3" json:"apr_name,omitempty"`
  1326. AprDescription string `protobuf:"bytes,3,opt,name=apr_description,json=aprDescription,proto3" json:"apr_description,omitempty"`
  1327. PatientType string `protobuf:"bytes,4,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  1328. BodyPartId string `protobuf:"bytes,5,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
  1329. ViewPosition string `protobuf:"bytes,6,opt,name=view_position,json=viewPosition,proto3" json:"view_position,omitempty"`
  1330. Category string `protobuf:"bytes,7,opt,name=category,proto3" json:"category,omitempty"`
  1331. Modality string `protobuf:"bytes,8,opt,name=modality,proto3" json:"modality,omitempty"`
  1332. Sub []*AprSub `protobuf:"bytes,9,rep,name=sub,proto3" json:"sub,omitempty"`
  1333. Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
  1334. IsEnabled bool `protobuf:"varint,11,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  1335. Product string `protobuf:"bytes,12,opt,name=product,proto3" json:"product,omitempty"`
  1336. IsPreInstall bool `protobuf:"varint,13,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  1337. unknownFields protoimpl.UnknownFields
  1338. sizeCache protoimpl.SizeCache
  1339. }
  1340. func (x *AprReply) Reset() {
  1341. *x = AprReply{}
  1342. mi := &file_dr_protocol_idl_proto_msgTypes[20]
  1343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1344. ms.StoreMessageInfo(mi)
  1345. }
  1346. func (x *AprReply) String() string {
  1347. return protoimpl.X.MessageStringOf(x)
  1348. }
  1349. func (*AprReply) ProtoMessage() {}
  1350. func (x *AprReply) ProtoReflect() protoreflect.Message {
  1351. mi := &file_dr_protocol_idl_proto_msgTypes[20]
  1352. if x != nil {
  1353. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1354. if ms.LoadMessageInfo() == nil {
  1355. ms.StoreMessageInfo(mi)
  1356. }
  1357. return ms
  1358. }
  1359. return mi.MessageOf(x)
  1360. }
  1361. // Deprecated: Use AprReply.ProtoReflect.Descriptor instead.
  1362. func (*AprReply) Descriptor() ([]byte, []int) {
  1363. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{20}
  1364. }
  1365. func (x *AprReply) GetAprId() string {
  1366. if x != nil {
  1367. return x.AprId
  1368. }
  1369. return ""
  1370. }
  1371. func (x *AprReply) GetAprName() string {
  1372. if x != nil {
  1373. return x.AprName
  1374. }
  1375. return ""
  1376. }
  1377. func (x *AprReply) GetAprDescription() string {
  1378. if x != nil {
  1379. return x.AprDescription
  1380. }
  1381. return ""
  1382. }
  1383. func (x *AprReply) GetPatientType() string {
  1384. if x != nil {
  1385. return x.PatientType
  1386. }
  1387. return ""
  1388. }
  1389. func (x *AprReply) GetBodyPartId() string {
  1390. if x != nil {
  1391. return x.BodyPartId
  1392. }
  1393. return ""
  1394. }
  1395. func (x *AprReply) GetViewPosition() string {
  1396. if x != nil {
  1397. return x.ViewPosition
  1398. }
  1399. return ""
  1400. }
  1401. func (x *AprReply) GetCategory() string {
  1402. if x != nil {
  1403. return x.Category
  1404. }
  1405. return ""
  1406. }
  1407. func (x *AprReply) GetModality() string {
  1408. if x != nil {
  1409. return x.Modality
  1410. }
  1411. return ""
  1412. }
  1413. func (x *AprReply) GetSub() []*AprSub {
  1414. if x != nil {
  1415. return x.Sub
  1416. }
  1417. return nil
  1418. }
  1419. func (x *AprReply) GetSort() int32 {
  1420. if x != nil {
  1421. return x.Sort
  1422. }
  1423. return 0
  1424. }
  1425. func (x *AprReply) GetIsEnabled() bool {
  1426. if x != nil {
  1427. return x.IsEnabled
  1428. }
  1429. return false
  1430. }
  1431. func (x *AprReply) GetProduct() string {
  1432. if x != nil {
  1433. return x.Product
  1434. }
  1435. return ""
  1436. }
  1437. func (x *AprReply) GetIsPreInstall() bool {
  1438. if x != nil {
  1439. return x.IsPreInstall
  1440. }
  1441. return false
  1442. }
  1443. var File_dr_protocol_idl_proto protoreflect.FileDescriptor
  1444. const file_dr_protocol_idl_proto_rawDesc = "" +
  1445. "\n" +
  1446. "\x15dr_protocol_idl.proto\x12\vdr.protocol\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x0e\n" +
  1447. "\fEmptyRequest\"]\n" +
  1448. "\tIDRequest\x12\x13\n" +
  1449. "\x02id\x18\x01 \x01(\rH\x00R\x02id\x88\x01\x01\x12$\n" +
  1450. "\vinstance_id\x18\x02 \x01(\tH\x01R\n" +
  1451. "instanceId\x88\x01\x01B\x05\n" +
  1452. "\x03_idB\x0e\n" +
  1453. "\f_instance_id\"9\n" +
  1454. "\rOptionRequest\x12\x14\n" +
  1455. "\x05group\x18\x01 \x01(\tR\x05group\x12\x12\n" +
  1456. "\x04flag\x18\x02 \x01(\tR\x04flag\"H\n" +
  1457. "\x06Option\x12\x12\n" +
  1458. "\x04text\x18\x01 \x01(\tR\x04text\x12*\n" +
  1459. "\x05value\x18\x02 \x01(\v2\x14.google.protobuf.AnyR\x05value\":\n" +
  1460. "\vOptionReply\x12+\n" +
  1461. "\x06option\x18\x01 \x03(\v2\x13.dr.protocol.OptionR\x06option\"o\n" +
  1462. "\x11SoftwareInfoReply\x12\x16\n" +
  1463. "\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" +
  1464. "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" +
  1465. "\x05build\x18\x03 \x01(\tR\x05build\x12\x18\n" +
  1466. "\aversion\x18\x04 \x01(\tR\aversion\"\x85\x01\n" +
  1467. "\x12PatientTypeRequest\x12\"\n" +
  1468. "\n" +
  1469. "is_enabled\x18\x01 \x01(\bH\x00R\tisEnabled\x88\x01\x01\x12)\n" +
  1470. "\x0eis_pre_install\x18\x02 \x01(\bH\x01R\fisPreInstall\x88\x01\x01B\r\n" +
  1471. "\v_is_enabledB\x11\n" +
  1472. "\x0f_is_pre_install\"\xd5\x02\n" +
  1473. "\vPatientType\x12\x0e\n" +
  1474. "\x02id\x18\x01 \x01(\x04R\x02id\x12&\n" +
  1475. "\x0fpatient_type_id\x18\x02 \x01(\tR\rpatientTypeId\x12*\n" +
  1476. "\x11patient_type_name\x18\x03 \x01(\tR\x0fpatientTypeName\x125\n" +
  1477. "\x17patient_type_name_local\x18\x04 \x01(\tR\x14patientTypeNameLocal\x128\n" +
  1478. "\x18patient_type_description\x18\x05 \x01(\tR\x16patientTypeDescription\x12\x12\n" +
  1479. "\x04sort\x18\x06 \x01(\x05R\x04sort\x12\x1d\n" +
  1480. "\n" +
  1481. "is_enabled\x18\a \x01(\bR\tisEnabled\x12\x18\n" +
  1482. "\aproduct\x18\b \x01(\tR\aproduct\x12$\n" +
  1483. "\x0eis_pre_install\x18\t \x01(\bR\fisPreInstall\"X\n" +
  1484. "\x10PatientTypeReply\x12D\n" +
  1485. "\x11patient_type_list\x18\x01 \x03(\v2\x18.dr.protocol.PatientTypeR\x0fpatientTypeList\"\xe9\x01\n" +
  1486. "\x0fBodyPartRequest\x12&\n" +
  1487. "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12\x1f\n" +
  1488. "\bmodality\x18\x02 \x01(\tH\x01R\bmodality\x88\x01\x01\x12\"\n" +
  1489. "\n" +
  1490. "is_enabled\x18\x03 \x01(\bH\x02R\tisEnabled\x88\x01\x01\x12)\n" +
  1491. "\x0eis_pre_install\x18\x04 \x01(\bH\x03R\fisPreInstall\x88\x01\x01B\x0f\n" +
  1492. "\r_patient_typeB\v\n" +
  1493. "\t_modalityB\r\n" +
  1494. "\v_is_enabledB\x11\n" +
  1495. "\x0f_is_pre_install\"\xf9\x02\n" +
  1496. "\bBodyPart\x12\x0e\n" +
  1497. "\x02id\x18\x01 \x01(\x04R\x02id\x12 \n" +
  1498. "\fbody_part_id\x18\x02 \x01(\tR\n" +
  1499. "bodyPartId\x12$\n" +
  1500. "\x0ebody_part_name\x18\x03 \x01(\tR\fbodyPartName\x12/\n" +
  1501. "\x14body_part_name_local\x18\x04 \x01(\tR\x11bodyPartNameLocal\x122\n" +
  1502. "\x15body_part_description\x18\x05 \x01(\tR\x13bodyPartDescription\x12!\n" +
  1503. "\fpatient_type\x18\x06 \x01(\tR\vpatientType\x12\x1a\n" +
  1504. "\bmodality\x18\a \x01(\tR\bmodality\x12\x12\n" +
  1505. "\x04sort\x18\b \x01(\x05R\x04sort\x12\x1d\n" +
  1506. "\n" +
  1507. "is_enabled\x18\t \x01(\bR\tisEnabled\x12\x18\n" +
  1508. "\aproduct\x18\n" +
  1509. " \x01(\tR\aproduct\x12$\n" +
  1510. "\x0eis_pre_install\x18\v \x01(\bR\fisPreInstall\"L\n" +
  1511. "\rBodyPartReply\x12;\n" +
  1512. "\x0ebody_part_list\x18\x01 \x03(\v2\x15.dr.protocol.BodyPartR\fbodyPartList\"\xa2\x02\n" +
  1513. "\x10ProcedureRequest\x12&\n" +
  1514. "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12%\n" +
  1515. "\fbody_part_id\x18\x02 \x01(\tH\x01R\n" +
  1516. "bodyPartId\x88\x01\x01\x12\x1f\n" +
  1517. "\bmodality\x18\x03 \x01(\tH\x02R\bmodality\x88\x01\x01\x12\"\n" +
  1518. "\n" +
  1519. "is_enabled\x18\x04 \x01(\bH\x03R\tisEnabled\x88\x01\x01\x12)\n" +
  1520. "\x0eis_pre_install\x18\x05 \x01(\bH\x04R\fisPreInstall\x88\x01\x01B\x0f\n" +
  1521. "\r_patient_typeB\x0f\n" +
  1522. "\r_body_part_idB\v\n" +
  1523. "\t_modalityB\r\n" +
  1524. "\v_is_enabledB\x11\n" +
  1525. "\x0f_is_pre_install\"\xe1\x05\n" +
  1526. "\tProcedure\x12\x0e\n" +
  1527. "\x02id\x18\x01 \x01(\x04R\x02id\x12!\n" +
  1528. "\fprocedure_id\x18\x02 \x01(\tR\vprocedureId\x12%\n" +
  1529. "\x0eprocedure_code\x18\x03 \x01(\tR\rprocedureCode\x12%\n" +
  1530. "\x0eprocedure_name\x18\x04 \x01(\tR\rprocedureName\x120\n" +
  1531. "\x14procedure_name_local\x18\x05 \x01(\tR\x12procedureNameLocal\x120\n" +
  1532. "\x14procedure_other_name\x18\x06 \x01(\tR\x12procedureOtherName\x123\n" +
  1533. "\x15procedure_description\x18\a \x01(\tR\x14procedureDescription\x12>\n" +
  1534. "\x1bprocedure_description_local\x18\b \x01(\tR\x19procedureDescriptionLocal\x12!\n" +
  1535. "\fpatient_type\x18\t \x01(\tR\vpatientType\x12 \n" +
  1536. "\fbody_part_id\x18\n" +
  1537. " \x01(\tR\n" +
  1538. "bodyPartId\x12%\n" +
  1539. "\x0eprocedure_type\x18\v \x01(\tR\rprocedureType\x12\x1f\n" +
  1540. "\vfast_search\x18\f \x01(\bR\n" +
  1541. "fastSearch\x12/\n" +
  1542. "\x13protocol_laterality\x18\r \x01(\tR\x12protocolLaterality\x12-\n" +
  1543. "\x12procedure_category\x18\x0e \x01(\tR\x11procedureCategory\x12\x1a\n" +
  1544. "\bmodality\x18\x0f \x01(\tR\bmodality\x12\x12\n" +
  1545. "\x04sort\x18\x10 \x01(\x05R\x04sort\x12\x1d\n" +
  1546. "\n" +
  1547. "is_enabled\x18\x11 \x01(\bR\tisEnabled\x12\x18\n" +
  1548. "\aproduct\x18\x12 \x01(\tR\aproduct\x12$\n" +
  1549. "\x0eis_pre_install\x18\x13 \x01(\bR\fisPreInstall\"O\n" +
  1550. "\x0eProcedureReply\x12=\n" +
  1551. "\x0eprocedure_list\x18\x01 \x03(\v2\x16.dr.protocol.ProcedureR\rprocedureList\"\xd6\x02\n" +
  1552. "\vViewRequest\x12&\n" +
  1553. "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12%\n" +
  1554. "\fbody_part_id\x18\x02 \x01(\tH\x01R\n" +
  1555. "bodyPartId\x88\x01\x01\x12&\n" +
  1556. "\fprocedure_id\x18\x03 \x01(\tH\x02R\vprocedureId\x88\x01\x01\x12\x1f\n" +
  1557. "\bmodality\x18\x04 \x01(\tH\x03R\bmodality\x88\x01\x01\x12\"\n" +
  1558. "\n" +
  1559. "is_enabled\x18\x05 \x01(\bH\x04R\tisEnabled\x88\x01\x01\x12)\n" +
  1560. "\x0eis_pre_install\x18\x06 \x01(\bH\x05R\fisPreInstall\x88\x01\x01B\x0f\n" +
  1561. "\r_patient_typeB\x0f\n" +
  1562. "\r_body_part_idB\x0f\n" +
  1563. "\r_procedure_idB\v\n" +
  1564. "\t_modalityB\r\n" +
  1565. "\v_is_enabledB\x11\n" +
  1566. "\x0f_is_pre_install\"\xb4\x06\n" +
  1567. "\x04View\x12\x1f\n" +
  1568. "\vinternal_id\x18\x01 \x01(\tR\n" +
  1569. "internalId\x12\x17\n" +
  1570. "\aview_id\x18\x02 \x01(\tR\x06viewId\x12\x1b\n" +
  1571. "\tview_name\x18\x03 \x01(\tR\bviewName\x12&\n" +
  1572. "\x0fview_name_local\x18\x04 \x01(\tR\rviewNameLocal\x12&\n" +
  1573. "\x0fview_other_name\x18\x05 \x01(\tR\rviewOtherName\x12)\n" +
  1574. "\x10view_description\x18\x06 \x01(\tR\x0fviewDescription\x12#\n" +
  1575. "\rview_position\x18\a \x01(\tR\fviewPosition\x12 \n" +
  1576. "\vapplication\x18\b \x01(\tR\vapplication\x12'\n" +
  1577. "\x0fanatomic_region\x18\t \x01(\tR\x0eanatomicRegion\x12!\n" +
  1578. "\fpatient_type\x18\n" +
  1579. " \x01(\tR\vpatientType\x12 \n" +
  1580. "\fbody_part_id\x18\v \x01(\tR\n" +
  1581. "bodyPartId\x12$\n" +
  1582. "\x0eview_icon_name\x18\f \x01(\tR\fviewIconName\x12+\n" +
  1583. "\x12view_big_icon_name\x18\r \x01(\tR\x0fviewBigIconName\x12&\n" +
  1584. "\x0fview_coach_name\x18\x0e \x01(\tR\rviewCoachName\x12\x1a\n" +
  1585. "\bmodality\x18\x0f \x01(\tR\bmodality\x12&\n" +
  1586. "\x0fwork_station_id\x18\x10 \x01(\x05R\rworkStationId\x12\x15\n" +
  1587. "\x06apr_id\x18\x11 \x01(\tR\x05aprId\x12\x1e\n" +
  1588. "\vimg_proc_id\x18\x12 \x01(\tR\timgProcId\x12<\n" +
  1589. "\rconfig_object\x18\x13 \x01(\v2\x17.google.protobuf.StructR\fconfigObject\x12\x12\n" +
  1590. "\x04sort\x18\x14 \x01(\x05R\x04sort\x12\x1d\n" +
  1591. "\n" +
  1592. "is_enabled\x18\x15 \x01(\bR\tisEnabled\x12\x18\n" +
  1593. "\aproduct\x18\x16 \x01(\tR\aproduct\x12$\n" +
  1594. "\x0eis_pre_install\x18\x17 \x01(\bR\fisPreInstall\";\n" +
  1595. "\tViewReply\x12.\n" +
  1596. "\tview_list\x18\x01 \x03(\v2\x11.dr.protocol.ViewR\bviewList\"\x90\x01\n" +
  1597. "\n" +
  1598. "AprRequest\x12\x1c\n" +
  1599. "\aview_id\x18\x01 \x01(\tH\x00R\x06viewId\x88\x01\x01\x12\x1a\n" +
  1600. "\x06apr_id\x18\x02 \x01(\tH\x01R\x05aprId\x88\x01\x01\x12\"\n" +
  1601. "\n" +
  1602. "is_enabled\x18\x03 \x01(\bH\x02R\tisEnabled\x88\x01\x01B\n" +
  1603. "\n" +
  1604. "\b_view_idB\t\n" +
  1605. "\a_apr_idB\r\n" +
  1606. "\v_is_enabled\"\x91\x01\n" +
  1607. "\x06AprSub\x12&\n" +
  1608. "\x0fwork_station_id\x18\x01 \x01(\x05R\rworkStationId\x12!\n" +
  1609. "\fpatient_size\x18\x02 \x01(\tR\vpatientSize\x12<\n" +
  1610. "\rconfig_object\x18\x03 \x01(\v2\x17.google.protobuf.StructR\fconfigObject\"\xa1\x03\n" +
  1611. "\bAprReply\x12\x15\n" +
  1612. "\x06apr_id\x18\x01 \x01(\tR\x05aprId\x12\x19\n" +
  1613. "\bapr_name\x18\x02 \x01(\tR\aaprName\x12'\n" +
  1614. "\x0fapr_description\x18\x03 \x01(\tR\x0eaprDescription\x12!\n" +
  1615. "\fpatient_type\x18\x04 \x01(\tR\vpatientType\x12 \n" +
  1616. "\fbody_part_id\x18\x05 \x01(\tR\n" +
  1617. "bodyPartId\x12#\n" +
  1618. "\rview_position\x18\x06 \x01(\tR\fviewPosition\x12\x1a\n" +
  1619. "\bcategory\x18\a \x01(\tR\bcategory\x12\x1a\n" +
  1620. "\bmodality\x18\b \x01(\tR\bmodality\x12%\n" +
  1621. "\x03sub\x18\t \x03(\v2\x13.dr.protocol.AprSubR\x03sub\x12\x12\n" +
  1622. "\x04sort\x18\n" +
  1623. " \x01(\x05R\x04sort\x12\x1d\n" +
  1624. "\n" +
  1625. "is_enabled\x18\v \x01(\bR\tisEnabled\x12\x18\n" +
  1626. "\aproduct\x18\f \x01(\tR\aproduct\x12$\n" +
  1627. "\x0eis_pre_install\x18\r \x01(\bR\fisPreInstall2\x9a\x01\n" +
  1628. "\x05Basic\x12K\n" +
  1629. "\fSoftwareInfo\x12\x19.dr.protocol.EmptyRequest\x1a\x1e.dr.protocol.SoftwareInfoReply\"\x00\x12D\n" +
  1630. "\n" +
  1631. "GetOptions\x12\x1a.dr.protocol.OptionRequest\x1a\x18.dr.protocol.OptionReply\"\x002\xc0\x03\n" +
  1632. "\bProtocol\x12V\n" +
  1633. "\x12GetPatientTypeList\x12\x1f.dr.protocol.PatientTypeRequest\x1a\x1d.dr.protocol.PatientTypeReply\"\x00\x12M\n" +
  1634. "\x0fGetBodyPartList\x12\x1c.dr.protocol.BodyPartRequest\x1a\x1a.dr.protocol.BodyPartReply\"\x00\x12P\n" +
  1635. "\x10GetProcedureList\x12\x1d.dr.protocol.ProcedureRequest\x1a\x1b.dr.protocol.ProcedureReply\"\x00\x12@\n" +
  1636. "\fGetProcedure\x12\x16.dr.protocol.IDRequest\x1a\x16.dr.protocol.Procedure\"\x00\x12A\n" +
  1637. "\vGetViewList\x12\x18.dr.protocol.ViewRequest\x1a\x16.dr.protocol.ViewReply\"\x00\x126\n" +
  1638. "\aGetView\x12\x16.dr.protocol.IDRequest\x1a\x11.dr.protocol.View\"\x002A\n" +
  1639. "\x03Apr\x12:\n" +
  1640. "\x06GetApr\x12\x17.dr.protocol.AprRequest\x1a\x15.dr.protocol.AprReply\"\x00B\x11Z\x0fdr_protocol_pb/b\x06proto3"
  1641. var (
  1642. file_dr_protocol_idl_proto_rawDescOnce sync.Once
  1643. file_dr_protocol_idl_proto_rawDescData []byte
  1644. )
  1645. func file_dr_protocol_idl_proto_rawDescGZIP() []byte {
  1646. file_dr_protocol_idl_proto_rawDescOnce.Do(func() {
  1647. 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)))
  1648. })
  1649. return file_dr_protocol_idl_proto_rawDescData
  1650. }
  1651. var file_dr_protocol_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
  1652. var file_dr_protocol_idl_proto_goTypes = []any{
  1653. (*EmptyRequest)(nil), // 0: dr.protocol.EmptyRequest
  1654. (*IDRequest)(nil), // 1: dr.protocol.IDRequest
  1655. (*OptionRequest)(nil), // 2: dr.protocol.OptionRequest
  1656. (*Option)(nil), // 3: dr.protocol.Option
  1657. (*OptionReply)(nil), // 4: dr.protocol.OptionReply
  1658. (*SoftwareInfoReply)(nil), // 5: dr.protocol.SoftwareInfoReply
  1659. (*PatientTypeRequest)(nil), // 6: dr.protocol.PatientTypeRequest
  1660. (*PatientType)(nil), // 7: dr.protocol.PatientType
  1661. (*PatientTypeReply)(nil), // 8: dr.protocol.PatientTypeReply
  1662. (*BodyPartRequest)(nil), // 9: dr.protocol.BodyPartRequest
  1663. (*BodyPart)(nil), // 10: dr.protocol.BodyPart
  1664. (*BodyPartReply)(nil), // 11: dr.protocol.BodyPartReply
  1665. (*ProcedureRequest)(nil), // 12: dr.protocol.ProcedureRequest
  1666. (*Procedure)(nil), // 13: dr.protocol.Procedure
  1667. (*ProcedureReply)(nil), // 14: dr.protocol.ProcedureReply
  1668. (*ViewRequest)(nil), // 15: dr.protocol.ViewRequest
  1669. (*View)(nil), // 16: dr.protocol.View
  1670. (*ViewReply)(nil), // 17: dr.protocol.ViewReply
  1671. (*AprRequest)(nil), // 18: dr.protocol.AprRequest
  1672. (*AprSub)(nil), // 19: dr.protocol.AprSub
  1673. (*AprReply)(nil), // 20: dr.protocol.AprReply
  1674. (*anypb.Any)(nil), // 21: google.protobuf.Any
  1675. (*structpb.Struct)(nil), // 22: google.protobuf.Struct
  1676. }
  1677. var file_dr_protocol_idl_proto_depIdxs = []int32{
  1678. 21, // 0: dr.protocol.Option.value:type_name -> google.protobuf.Any
  1679. 3, // 1: dr.protocol.OptionReply.option:type_name -> dr.protocol.Option
  1680. 7, // 2: dr.protocol.PatientTypeReply.patient_type_list:type_name -> dr.protocol.PatientType
  1681. 10, // 3: dr.protocol.BodyPartReply.body_part_list:type_name -> dr.protocol.BodyPart
  1682. 13, // 4: dr.protocol.ProcedureReply.procedure_list:type_name -> dr.protocol.Procedure
  1683. 22, // 5: dr.protocol.View.config_object:type_name -> google.protobuf.Struct
  1684. 16, // 6: dr.protocol.ViewReply.view_list:type_name -> dr.protocol.View
  1685. 22, // 7: dr.protocol.AprSub.config_object:type_name -> google.protobuf.Struct
  1686. 19, // 8: dr.protocol.AprReply.sub:type_name -> dr.protocol.AprSub
  1687. 0, // 9: dr.protocol.Basic.SoftwareInfo:input_type -> dr.protocol.EmptyRequest
  1688. 2, // 10: dr.protocol.Basic.GetOptions:input_type -> dr.protocol.OptionRequest
  1689. 6, // 11: dr.protocol.Protocol.GetPatientTypeList:input_type -> dr.protocol.PatientTypeRequest
  1690. 9, // 12: dr.protocol.Protocol.GetBodyPartList:input_type -> dr.protocol.BodyPartRequest
  1691. 12, // 13: dr.protocol.Protocol.GetProcedureList:input_type -> dr.protocol.ProcedureRequest
  1692. 1, // 14: dr.protocol.Protocol.GetProcedure:input_type -> dr.protocol.IDRequest
  1693. 15, // 15: dr.protocol.Protocol.GetViewList:input_type -> dr.protocol.ViewRequest
  1694. 1, // 16: dr.protocol.Protocol.GetView:input_type -> dr.protocol.IDRequest
  1695. 18, // 17: dr.protocol.Apr.GetApr:input_type -> dr.protocol.AprRequest
  1696. 5, // 18: dr.protocol.Basic.SoftwareInfo:output_type -> dr.protocol.SoftwareInfoReply
  1697. 4, // 19: dr.protocol.Basic.GetOptions:output_type -> dr.protocol.OptionReply
  1698. 8, // 20: dr.protocol.Protocol.GetPatientTypeList:output_type -> dr.protocol.PatientTypeReply
  1699. 11, // 21: dr.protocol.Protocol.GetBodyPartList:output_type -> dr.protocol.BodyPartReply
  1700. 14, // 22: dr.protocol.Protocol.GetProcedureList:output_type -> dr.protocol.ProcedureReply
  1701. 13, // 23: dr.protocol.Protocol.GetProcedure:output_type -> dr.protocol.Procedure
  1702. 17, // 24: dr.protocol.Protocol.GetViewList:output_type -> dr.protocol.ViewReply
  1703. 16, // 25: dr.protocol.Protocol.GetView:output_type -> dr.protocol.View
  1704. 20, // 26: dr.protocol.Apr.GetApr:output_type -> dr.protocol.AprReply
  1705. 18, // [18:27] is the sub-list for method output_type
  1706. 9, // [9:18] is the sub-list for method input_type
  1707. 9, // [9:9] is the sub-list for extension type_name
  1708. 9, // [9:9] is the sub-list for extension extendee
  1709. 0, // [0:9] is the sub-list for field type_name
  1710. }
  1711. func init() { file_dr_protocol_idl_proto_init() }
  1712. func file_dr_protocol_idl_proto_init() {
  1713. if File_dr_protocol_idl_proto != nil {
  1714. return
  1715. }
  1716. file_dr_protocol_idl_proto_msgTypes[1].OneofWrappers = []any{}
  1717. file_dr_protocol_idl_proto_msgTypes[6].OneofWrappers = []any{}
  1718. file_dr_protocol_idl_proto_msgTypes[9].OneofWrappers = []any{}
  1719. file_dr_protocol_idl_proto_msgTypes[12].OneofWrappers = []any{}
  1720. file_dr_protocol_idl_proto_msgTypes[15].OneofWrappers = []any{}
  1721. file_dr_protocol_idl_proto_msgTypes[18].OneofWrappers = []any{}
  1722. type x struct{}
  1723. out := protoimpl.TypeBuilder{
  1724. File: protoimpl.DescBuilder{
  1725. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1726. RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_protocol_idl_proto_rawDesc), len(file_dr_protocol_idl_proto_rawDesc)),
  1727. NumEnums: 0,
  1728. NumMessages: 21,
  1729. NumExtensions: 0,
  1730. NumServices: 3,
  1731. },
  1732. GoTypes: file_dr_protocol_idl_proto_goTypes,
  1733. DependencyIndexes: file_dr_protocol_idl_proto_depIdxs,
  1734. MessageInfos: file_dr_protocol_idl_proto_msgTypes,
  1735. }.Build()
  1736. File_dr_protocol_idl_proto = out.File
  1737. file_dr_protocol_idl_proto_goTypes = nil
  1738. file_dr_protocol_idl_proto_depIdxs = nil
  1739. }