dr_protocol_idl.pb.go 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444
  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. structpb "google.golang.org/protobuf/types/known/structpb"
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type EmptyRequest struct {
  22. state protoimpl.MessageState `protogen:"open.v1"`
  23. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *EmptyRequest) Reset() {
  27. *x = EmptyRequest{}
  28. mi := &file_dr_protocol_idl_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *EmptyRequest) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*EmptyRequest) ProtoMessage() {}
  36. func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
  37. mi := &file_dr_protocol_idl_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
  48. func (*EmptyRequest) Descriptor() ([]byte, []int) {
  49. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{0}
  50. }
  51. type SoftwareInfoReply struct {
  52. state protoimpl.MessageState `protogen:"open.v1"`
  53. Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
  54. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
  55. Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
  56. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  57. unknownFields protoimpl.UnknownFields
  58. sizeCache protoimpl.SizeCache
  59. }
  60. func (x *SoftwareInfoReply) Reset() {
  61. *x = SoftwareInfoReply{}
  62. mi := &file_dr_protocol_idl_proto_msgTypes[1]
  63. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  64. ms.StoreMessageInfo(mi)
  65. }
  66. func (x *SoftwareInfoReply) String() string {
  67. return protoimpl.X.MessageStringOf(x)
  68. }
  69. func (*SoftwareInfoReply) ProtoMessage() {}
  70. func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
  71. mi := &file_dr_protocol_idl_proto_msgTypes[1]
  72. if x != nil {
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. if ms.LoadMessageInfo() == nil {
  75. ms.StoreMessageInfo(mi)
  76. }
  77. return ms
  78. }
  79. return mi.MessageOf(x)
  80. }
  81. // Deprecated: Use SoftwareInfoReply.ProtoReflect.Descriptor instead.
  82. func (*SoftwareInfoReply) Descriptor() ([]byte, []int) {
  83. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{1}
  84. }
  85. func (x *SoftwareInfoReply) GetModule() string {
  86. if x != nil {
  87. return x.Module
  88. }
  89. return ""
  90. }
  91. func (x *SoftwareInfoReply) GetDesc() string {
  92. if x != nil {
  93. return x.Desc
  94. }
  95. return ""
  96. }
  97. func (x *SoftwareInfoReply) GetBuild() string {
  98. if x != nil {
  99. return x.Build
  100. }
  101. return ""
  102. }
  103. func (x *SoftwareInfoReply) GetVersion() string {
  104. if x != nil {
  105. return x.Version
  106. }
  107. return ""
  108. }
  109. type PatientTypeRequest struct {
  110. state protoimpl.MessageState `protogen:"open.v1"`
  111. IsEnabled *bool `protobuf:"varint,1,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  112. IsPreInstall *bool `protobuf:"varint,2,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  113. unknownFields protoimpl.UnknownFields
  114. sizeCache protoimpl.SizeCache
  115. }
  116. func (x *PatientTypeRequest) Reset() {
  117. *x = PatientTypeRequest{}
  118. mi := &file_dr_protocol_idl_proto_msgTypes[2]
  119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  120. ms.StoreMessageInfo(mi)
  121. }
  122. func (x *PatientTypeRequest) String() string {
  123. return protoimpl.X.MessageStringOf(x)
  124. }
  125. func (*PatientTypeRequest) ProtoMessage() {}
  126. func (x *PatientTypeRequest) ProtoReflect() protoreflect.Message {
  127. mi := &file_dr_protocol_idl_proto_msgTypes[2]
  128. if x != nil {
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. if ms.LoadMessageInfo() == nil {
  131. ms.StoreMessageInfo(mi)
  132. }
  133. return ms
  134. }
  135. return mi.MessageOf(x)
  136. }
  137. // Deprecated: Use PatientTypeRequest.ProtoReflect.Descriptor instead.
  138. func (*PatientTypeRequest) Descriptor() ([]byte, []int) {
  139. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{2}
  140. }
  141. func (x *PatientTypeRequest) GetIsEnabled() bool {
  142. if x != nil && x.IsEnabled != nil {
  143. return *x.IsEnabled
  144. }
  145. return false
  146. }
  147. func (x *PatientTypeRequest) GetIsPreInstall() bool {
  148. if x != nil && x.IsPreInstall != nil {
  149. return *x.IsPreInstall
  150. }
  151. return false
  152. }
  153. type PatientType struct {
  154. state protoimpl.MessageState `protogen:"open.v1"`
  155. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  156. PatientTypeId string `protobuf:"bytes,2,opt,name=patient_type_id,json=patientTypeId,proto3" json:"patient_type_id,omitempty"`
  157. PatientTypeName string `protobuf:"bytes,3,opt,name=patient_type_name,json=patientTypeName,proto3" json:"patient_type_name,omitempty"`
  158. PatientTypeLocal string `protobuf:"bytes,4,opt,name=patient_type_local,json=patientTypeLocal,proto3" json:"patient_type_local,omitempty"`
  159. PatientTypeDescription string `protobuf:"bytes,5,opt,name=patient_type_description,json=patientTypeDescription,proto3" json:"patient_type_description,omitempty"`
  160. Sort int32 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
  161. IsEnabled bool `protobuf:"varint,7,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  162. Product string `protobuf:"bytes,8,opt,name=product,proto3" json:"product,omitempty"`
  163. IsPreInstall bool `protobuf:"varint,9,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  164. unknownFields protoimpl.UnknownFields
  165. sizeCache protoimpl.SizeCache
  166. }
  167. func (x *PatientType) Reset() {
  168. *x = PatientType{}
  169. mi := &file_dr_protocol_idl_proto_msgTypes[3]
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. ms.StoreMessageInfo(mi)
  172. }
  173. func (x *PatientType) String() string {
  174. return protoimpl.X.MessageStringOf(x)
  175. }
  176. func (*PatientType) ProtoMessage() {}
  177. func (x *PatientType) ProtoReflect() protoreflect.Message {
  178. mi := &file_dr_protocol_idl_proto_msgTypes[3]
  179. if x != nil {
  180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  181. if ms.LoadMessageInfo() == nil {
  182. ms.StoreMessageInfo(mi)
  183. }
  184. return ms
  185. }
  186. return mi.MessageOf(x)
  187. }
  188. // Deprecated: Use PatientType.ProtoReflect.Descriptor instead.
  189. func (*PatientType) Descriptor() ([]byte, []int) {
  190. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{3}
  191. }
  192. func (x *PatientType) GetId() uint64 {
  193. if x != nil {
  194. return x.Id
  195. }
  196. return 0
  197. }
  198. func (x *PatientType) GetPatientTypeId() string {
  199. if x != nil {
  200. return x.PatientTypeId
  201. }
  202. return ""
  203. }
  204. func (x *PatientType) GetPatientTypeName() string {
  205. if x != nil {
  206. return x.PatientTypeName
  207. }
  208. return ""
  209. }
  210. func (x *PatientType) GetPatientTypeLocal() string {
  211. if x != nil {
  212. return x.PatientTypeLocal
  213. }
  214. return ""
  215. }
  216. func (x *PatientType) GetPatientTypeDescription() string {
  217. if x != nil {
  218. return x.PatientTypeDescription
  219. }
  220. return ""
  221. }
  222. func (x *PatientType) GetSort() int32 {
  223. if x != nil {
  224. return x.Sort
  225. }
  226. return 0
  227. }
  228. func (x *PatientType) GetIsEnabled() bool {
  229. if x != nil {
  230. return x.IsEnabled
  231. }
  232. return false
  233. }
  234. func (x *PatientType) GetProduct() string {
  235. if x != nil {
  236. return x.Product
  237. }
  238. return ""
  239. }
  240. func (x *PatientType) GetIsPreInstall() bool {
  241. if x != nil {
  242. return x.IsPreInstall
  243. }
  244. return false
  245. }
  246. type PatientTypeReply struct {
  247. state protoimpl.MessageState `protogen:"open.v1"`
  248. PatientTypeList []*PatientType `protobuf:"bytes,1,rep,name=patient_type_list,json=patientTypeList,proto3" json:"patient_type_list,omitempty"`
  249. unknownFields protoimpl.UnknownFields
  250. sizeCache protoimpl.SizeCache
  251. }
  252. func (x *PatientTypeReply) Reset() {
  253. *x = PatientTypeReply{}
  254. mi := &file_dr_protocol_idl_proto_msgTypes[4]
  255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  256. ms.StoreMessageInfo(mi)
  257. }
  258. func (x *PatientTypeReply) String() string {
  259. return protoimpl.X.MessageStringOf(x)
  260. }
  261. func (*PatientTypeReply) ProtoMessage() {}
  262. func (x *PatientTypeReply) ProtoReflect() protoreflect.Message {
  263. mi := &file_dr_protocol_idl_proto_msgTypes[4]
  264. if x != nil {
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. if ms.LoadMessageInfo() == nil {
  267. ms.StoreMessageInfo(mi)
  268. }
  269. return ms
  270. }
  271. return mi.MessageOf(x)
  272. }
  273. // Deprecated: Use PatientTypeReply.ProtoReflect.Descriptor instead.
  274. func (*PatientTypeReply) Descriptor() ([]byte, []int) {
  275. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{4}
  276. }
  277. func (x *PatientTypeReply) GetPatientTypeList() []*PatientType {
  278. if x != nil {
  279. return x.PatientTypeList
  280. }
  281. return nil
  282. }
  283. type BodyPartRequest struct {
  284. state protoimpl.MessageState `protogen:"open.v1"`
  285. PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
  286. Modality *string `protobuf:"bytes,2,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
  287. IsEnabled *bool `protobuf:"varint,3,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  288. IsPreInstall *bool `protobuf:"varint,4,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  289. unknownFields protoimpl.UnknownFields
  290. sizeCache protoimpl.SizeCache
  291. }
  292. func (x *BodyPartRequest) Reset() {
  293. *x = BodyPartRequest{}
  294. mi := &file_dr_protocol_idl_proto_msgTypes[5]
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. ms.StoreMessageInfo(mi)
  297. }
  298. func (x *BodyPartRequest) String() string {
  299. return protoimpl.X.MessageStringOf(x)
  300. }
  301. func (*BodyPartRequest) ProtoMessage() {}
  302. func (x *BodyPartRequest) ProtoReflect() protoreflect.Message {
  303. mi := &file_dr_protocol_idl_proto_msgTypes[5]
  304. if x != nil {
  305. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  306. if ms.LoadMessageInfo() == nil {
  307. ms.StoreMessageInfo(mi)
  308. }
  309. return ms
  310. }
  311. return mi.MessageOf(x)
  312. }
  313. // Deprecated: Use BodyPartRequest.ProtoReflect.Descriptor instead.
  314. func (*BodyPartRequest) Descriptor() ([]byte, []int) {
  315. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{5}
  316. }
  317. func (x *BodyPartRequest) GetPatientType() string {
  318. if x != nil && x.PatientType != nil {
  319. return *x.PatientType
  320. }
  321. return ""
  322. }
  323. func (x *BodyPartRequest) GetModality() string {
  324. if x != nil && x.Modality != nil {
  325. return *x.Modality
  326. }
  327. return ""
  328. }
  329. func (x *BodyPartRequest) GetIsEnabled() bool {
  330. if x != nil && x.IsEnabled != nil {
  331. return *x.IsEnabled
  332. }
  333. return false
  334. }
  335. func (x *BodyPartRequest) GetIsPreInstall() bool {
  336. if x != nil && x.IsPreInstall != nil {
  337. return *x.IsPreInstall
  338. }
  339. return false
  340. }
  341. type BodyPart struct {
  342. state protoimpl.MessageState `protogen:"open.v1"`
  343. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  344. BodyPartId string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
  345. BodyPartName string `protobuf:"bytes,3,opt,name=body_part_name,json=bodyPartName,proto3" json:"body_part_name,omitempty"`
  346. BodyPartLocal string `protobuf:"bytes,4,opt,name=body_part_local,json=bodyPartLocal,proto3" json:"body_part_local,omitempty"`
  347. BodyPartDescription string `protobuf:"bytes,5,opt,name=body_part_description,json=bodyPartDescription,proto3" json:"body_part_description,omitempty"`
  348. PatientType string `protobuf:"bytes,6,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  349. Modality string `protobuf:"bytes,7,opt,name=modality,proto3" json:"modality,omitempty"`
  350. Sort int32 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"`
  351. IsEnabled bool `protobuf:"varint,9,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  352. Product string `protobuf:"bytes,10,opt,name=product,proto3" json:"product,omitempty"`
  353. IsPreInstall bool `protobuf:"varint,11,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  354. unknownFields protoimpl.UnknownFields
  355. sizeCache protoimpl.SizeCache
  356. }
  357. func (x *BodyPart) Reset() {
  358. *x = BodyPart{}
  359. mi := &file_dr_protocol_idl_proto_msgTypes[6]
  360. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  361. ms.StoreMessageInfo(mi)
  362. }
  363. func (x *BodyPart) String() string {
  364. return protoimpl.X.MessageStringOf(x)
  365. }
  366. func (*BodyPart) ProtoMessage() {}
  367. func (x *BodyPart) ProtoReflect() protoreflect.Message {
  368. mi := &file_dr_protocol_idl_proto_msgTypes[6]
  369. if x != nil {
  370. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  371. if ms.LoadMessageInfo() == nil {
  372. ms.StoreMessageInfo(mi)
  373. }
  374. return ms
  375. }
  376. return mi.MessageOf(x)
  377. }
  378. // Deprecated: Use BodyPart.ProtoReflect.Descriptor instead.
  379. func (*BodyPart) Descriptor() ([]byte, []int) {
  380. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{6}
  381. }
  382. func (x *BodyPart) GetId() uint64 {
  383. if x != nil {
  384. return x.Id
  385. }
  386. return 0
  387. }
  388. func (x *BodyPart) GetBodyPartId() string {
  389. if x != nil {
  390. return x.BodyPartId
  391. }
  392. return ""
  393. }
  394. func (x *BodyPart) GetBodyPartName() string {
  395. if x != nil {
  396. return x.BodyPartName
  397. }
  398. return ""
  399. }
  400. func (x *BodyPart) GetBodyPartLocal() string {
  401. if x != nil {
  402. return x.BodyPartLocal
  403. }
  404. return ""
  405. }
  406. func (x *BodyPart) GetBodyPartDescription() string {
  407. if x != nil {
  408. return x.BodyPartDescription
  409. }
  410. return ""
  411. }
  412. func (x *BodyPart) GetPatientType() string {
  413. if x != nil {
  414. return x.PatientType
  415. }
  416. return ""
  417. }
  418. func (x *BodyPart) GetModality() string {
  419. if x != nil {
  420. return x.Modality
  421. }
  422. return ""
  423. }
  424. func (x *BodyPart) GetSort() int32 {
  425. if x != nil {
  426. return x.Sort
  427. }
  428. return 0
  429. }
  430. func (x *BodyPart) GetIsEnabled() bool {
  431. if x != nil {
  432. return x.IsEnabled
  433. }
  434. return false
  435. }
  436. func (x *BodyPart) GetProduct() string {
  437. if x != nil {
  438. return x.Product
  439. }
  440. return ""
  441. }
  442. func (x *BodyPart) GetIsPreInstall() bool {
  443. if x != nil {
  444. return x.IsPreInstall
  445. }
  446. return false
  447. }
  448. type BodyPartReply struct {
  449. state protoimpl.MessageState `protogen:"open.v1"`
  450. BodyPartList []*BodyPart `protobuf:"bytes,1,rep,name=body_part_list,json=bodyPartList,proto3" json:"body_part_list,omitempty"`
  451. unknownFields protoimpl.UnknownFields
  452. sizeCache protoimpl.SizeCache
  453. }
  454. func (x *BodyPartReply) Reset() {
  455. *x = BodyPartReply{}
  456. mi := &file_dr_protocol_idl_proto_msgTypes[7]
  457. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  458. ms.StoreMessageInfo(mi)
  459. }
  460. func (x *BodyPartReply) String() string {
  461. return protoimpl.X.MessageStringOf(x)
  462. }
  463. func (*BodyPartReply) ProtoMessage() {}
  464. func (x *BodyPartReply) ProtoReflect() protoreflect.Message {
  465. mi := &file_dr_protocol_idl_proto_msgTypes[7]
  466. if x != nil {
  467. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  468. if ms.LoadMessageInfo() == nil {
  469. ms.StoreMessageInfo(mi)
  470. }
  471. return ms
  472. }
  473. return mi.MessageOf(x)
  474. }
  475. // Deprecated: Use BodyPartReply.ProtoReflect.Descriptor instead.
  476. func (*BodyPartReply) Descriptor() ([]byte, []int) {
  477. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{7}
  478. }
  479. func (x *BodyPartReply) GetBodyPartList() []*BodyPart {
  480. if x != nil {
  481. return x.BodyPartList
  482. }
  483. return nil
  484. }
  485. type ProcedureRequest struct {
  486. state protoimpl.MessageState `protogen:"open.v1"`
  487. PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
  488. BodyPartId *string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3,oneof" json:"body_part_id,omitempty"`
  489. Modality *string `protobuf:"bytes,3,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
  490. IsEnabled *bool `protobuf:"varint,4,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  491. IsPreInstall *bool `protobuf:"varint,5,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  492. unknownFields protoimpl.UnknownFields
  493. sizeCache protoimpl.SizeCache
  494. }
  495. func (x *ProcedureRequest) Reset() {
  496. *x = ProcedureRequest{}
  497. mi := &file_dr_protocol_idl_proto_msgTypes[8]
  498. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  499. ms.StoreMessageInfo(mi)
  500. }
  501. func (x *ProcedureRequest) String() string {
  502. return protoimpl.X.MessageStringOf(x)
  503. }
  504. func (*ProcedureRequest) ProtoMessage() {}
  505. func (x *ProcedureRequest) ProtoReflect() protoreflect.Message {
  506. mi := &file_dr_protocol_idl_proto_msgTypes[8]
  507. if x != nil {
  508. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  509. if ms.LoadMessageInfo() == nil {
  510. ms.StoreMessageInfo(mi)
  511. }
  512. return ms
  513. }
  514. return mi.MessageOf(x)
  515. }
  516. // Deprecated: Use ProcedureRequest.ProtoReflect.Descriptor instead.
  517. func (*ProcedureRequest) Descriptor() ([]byte, []int) {
  518. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{8}
  519. }
  520. func (x *ProcedureRequest) GetPatientType() string {
  521. if x != nil && x.PatientType != nil {
  522. return *x.PatientType
  523. }
  524. return ""
  525. }
  526. func (x *ProcedureRequest) GetBodyPartId() string {
  527. if x != nil && x.BodyPartId != nil {
  528. return *x.BodyPartId
  529. }
  530. return ""
  531. }
  532. func (x *ProcedureRequest) GetModality() string {
  533. if x != nil && x.Modality != nil {
  534. return *x.Modality
  535. }
  536. return ""
  537. }
  538. func (x *ProcedureRequest) GetIsEnabled() bool {
  539. if x != nil && x.IsEnabled != nil {
  540. return *x.IsEnabled
  541. }
  542. return false
  543. }
  544. func (x *ProcedureRequest) GetIsPreInstall() bool {
  545. if x != nil && x.IsPreInstall != nil {
  546. return *x.IsPreInstall
  547. }
  548. return false
  549. }
  550. type Procedure struct {
  551. state protoimpl.MessageState `protogen:"open.v1"`
  552. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  553. ProcedureId string `protobuf:"bytes,2,opt,name=procedure_id,json=procedureId,proto3" json:"procedure_id,omitempty"`
  554. ProcedureCode string `protobuf:"bytes,3,opt,name=procedure_code,json=procedureCode,proto3" json:"procedure_code,omitempty"`
  555. ProcedureName string `protobuf:"bytes,4,opt,name=procedure_name,json=procedureName,proto3" json:"procedure_name,omitempty"`
  556. ProcedureNameLocal string `protobuf:"bytes,5,opt,name=procedure_name_local,json=procedureNameLocal,proto3" json:"procedure_name_local,omitempty"`
  557. ProcedureOtherName string `protobuf:"bytes,6,opt,name=procedure_other_name,json=procedureOtherName,proto3" json:"procedure_other_name,omitempty"`
  558. ProcedureDescription string `protobuf:"bytes,7,opt,name=procedure_description,json=procedureDescription,proto3" json:"procedure_description,omitempty"`
  559. ProcedureDescriptionLocal string `protobuf:"bytes,8,opt,name=procedure_description_local,json=procedureDescriptionLocal,proto3" json:"procedure_description_local,omitempty"`
  560. PatientType string `protobuf:"bytes,9,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  561. BodyPartId string `protobuf:"bytes,10,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
  562. ProcedureType string `protobuf:"bytes,11,opt,name=procedure_type,json=procedureType,proto3" json:"procedure_type,omitempty"`
  563. FastSearch bool `protobuf:"varint,12,opt,name=fast_search,json=fastSearch,proto3" json:"fast_search,omitempty"`
  564. ProtocolLaterality string `protobuf:"bytes,13,opt,name=protocol_laterality,json=protocolLaterality,proto3" json:"protocol_laterality,omitempty"`
  565. ProcedureCategory string `protobuf:"bytes,14,opt,name=procedure_category,json=procedureCategory,proto3" json:"procedure_category,omitempty"`
  566. Modality string `protobuf:"bytes,15,opt,name=modality,proto3" json:"modality,omitempty"`
  567. Sort int32 `protobuf:"varint,16,opt,name=sort,proto3" json:"sort,omitempty"`
  568. IsEnabled bool `protobuf:"varint,17,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  569. Product string `protobuf:"bytes,18,opt,name=product,proto3" json:"product,omitempty"`
  570. IsPreInstall bool `protobuf:"varint,19,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  571. unknownFields protoimpl.UnknownFields
  572. sizeCache protoimpl.SizeCache
  573. }
  574. func (x *Procedure) Reset() {
  575. *x = Procedure{}
  576. mi := &file_dr_protocol_idl_proto_msgTypes[9]
  577. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  578. ms.StoreMessageInfo(mi)
  579. }
  580. func (x *Procedure) String() string {
  581. return protoimpl.X.MessageStringOf(x)
  582. }
  583. func (*Procedure) ProtoMessage() {}
  584. func (x *Procedure) ProtoReflect() protoreflect.Message {
  585. mi := &file_dr_protocol_idl_proto_msgTypes[9]
  586. if x != nil {
  587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  588. if ms.LoadMessageInfo() == nil {
  589. ms.StoreMessageInfo(mi)
  590. }
  591. return ms
  592. }
  593. return mi.MessageOf(x)
  594. }
  595. // Deprecated: Use Procedure.ProtoReflect.Descriptor instead.
  596. func (*Procedure) Descriptor() ([]byte, []int) {
  597. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{9}
  598. }
  599. func (x *Procedure) GetId() uint64 {
  600. if x != nil {
  601. return x.Id
  602. }
  603. return 0
  604. }
  605. func (x *Procedure) GetProcedureId() string {
  606. if x != nil {
  607. return x.ProcedureId
  608. }
  609. return ""
  610. }
  611. func (x *Procedure) GetProcedureCode() string {
  612. if x != nil {
  613. return x.ProcedureCode
  614. }
  615. return ""
  616. }
  617. func (x *Procedure) GetProcedureName() string {
  618. if x != nil {
  619. return x.ProcedureName
  620. }
  621. return ""
  622. }
  623. func (x *Procedure) GetProcedureNameLocal() string {
  624. if x != nil {
  625. return x.ProcedureNameLocal
  626. }
  627. return ""
  628. }
  629. func (x *Procedure) GetProcedureOtherName() string {
  630. if x != nil {
  631. return x.ProcedureOtherName
  632. }
  633. return ""
  634. }
  635. func (x *Procedure) GetProcedureDescription() string {
  636. if x != nil {
  637. return x.ProcedureDescription
  638. }
  639. return ""
  640. }
  641. func (x *Procedure) GetProcedureDescriptionLocal() string {
  642. if x != nil {
  643. return x.ProcedureDescriptionLocal
  644. }
  645. return ""
  646. }
  647. func (x *Procedure) GetPatientType() string {
  648. if x != nil {
  649. return x.PatientType
  650. }
  651. return ""
  652. }
  653. func (x *Procedure) GetBodyPartId() string {
  654. if x != nil {
  655. return x.BodyPartId
  656. }
  657. return ""
  658. }
  659. func (x *Procedure) GetProcedureType() string {
  660. if x != nil {
  661. return x.ProcedureType
  662. }
  663. return ""
  664. }
  665. func (x *Procedure) GetFastSearch() bool {
  666. if x != nil {
  667. return x.FastSearch
  668. }
  669. return false
  670. }
  671. func (x *Procedure) GetProtocolLaterality() string {
  672. if x != nil {
  673. return x.ProtocolLaterality
  674. }
  675. return ""
  676. }
  677. func (x *Procedure) GetProcedureCategory() string {
  678. if x != nil {
  679. return x.ProcedureCategory
  680. }
  681. return ""
  682. }
  683. func (x *Procedure) GetModality() string {
  684. if x != nil {
  685. return x.Modality
  686. }
  687. return ""
  688. }
  689. func (x *Procedure) GetSort() int32 {
  690. if x != nil {
  691. return x.Sort
  692. }
  693. return 0
  694. }
  695. func (x *Procedure) GetIsEnabled() bool {
  696. if x != nil {
  697. return x.IsEnabled
  698. }
  699. return false
  700. }
  701. func (x *Procedure) GetProduct() string {
  702. if x != nil {
  703. return x.Product
  704. }
  705. return ""
  706. }
  707. func (x *Procedure) GetIsPreInstall() bool {
  708. if x != nil {
  709. return x.IsPreInstall
  710. }
  711. return false
  712. }
  713. type ProcedureReply struct {
  714. state protoimpl.MessageState `protogen:"open.v1"`
  715. ProcedureList []*Procedure `protobuf:"bytes,1,rep,name=procedure_list,json=procedureList,proto3" json:"procedure_list,omitempty"`
  716. unknownFields protoimpl.UnknownFields
  717. sizeCache protoimpl.SizeCache
  718. }
  719. func (x *ProcedureReply) Reset() {
  720. *x = ProcedureReply{}
  721. mi := &file_dr_protocol_idl_proto_msgTypes[10]
  722. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  723. ms.StoreMessageInfo(mi)
  724. }
  725. func (x *ProcedureReply) String() string {
  726. return protoimpl.X.MessageStringOf(x)
  727. }
  728. func (*ProcedureReply) ProtoMessage() {}
  729. func (x *ProcedureReply) ProtoReflect() protoreflect.Message {
  730. mi := &file_dr_protocol_idl_proto_msgTypes[10]
  731. if x != nil {
  732. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  733. if ms.LoadMessageInfo() == nil {
  734. ms.StoreMessageInfo(mi)
  735. }
  736. return ms
  737. }
  738. return mi.MessageOf(x)
  739. }
  740. // Deprecated: Use ProcedureReply.ProtoReflect.Descriptor instead.
  741. func (*ProcedureReply) Descriptor() ([]byte, []int) {
  742. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{10}
  743. }
  744. func (x *ProcedureReply) GetProcedureList() []*Procedure {
  745. if x != nil {
  746. return x.ProcedureList
  747. }
  748. return nil
  749. }
  750. type ViewRequest struct {
  751. state protoimpl.MessageState `protogen:"open.v1"`
  752. PatientType *string `protobuf:"bytes,1,opt,name=patient_type,json=patientType,proto3,oneof" json:"patient_type,omitempty"`
  753. BodyPartId *string `protobuf:"bytes,2,opt,name=body_part_id,json=bodyPartId,proto3,oneof" json:"body_part_id,omitempty"`
  754. ProcedureId *string `protobuf:"bytes,3,opt,name=procedure_id,json=procedureId,proto3,oneof" json:"procedure_id,omitempty"`
  755. Modality *string `protobuf:"bytes,4,opt,name=modality,proto3,oneof" json:"modality,omitempty"`
  756. IsEnabled *bool `protobuf:"varint,5,opt,name=is_enabled,json=isEnabled,proto3,oneof" json:"is_enabled,omitempty"`
  757. IsPreInstall *bool `protobuf:"varint,6,opt,name=is_pre_install,json=isPreInstall,proto3,oneof" json:"is_pre_install,omitempty"`
  758. unknownFields protoimpl.UnknownFields
  759. sizeCache protoimpl.SizeCache
  760. }
  761. func (x *ViewRequest) Reset() {
  762. *x = ViewRequest{}
  763. mi := &file_dr_protocol_idl_proto_msgTypes[11]
  764. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  765. ms.StoreMessageInfo(mi)
  766. }
  767. func (x *ViewRequest) String() string {
  768. return protoimpl.X.MessageStringOf(x)
  769. }
  770. func (*ViewRequest) ProtoMessage() {}
  771. func (x *ViewRequest) ProtoReflect() protoreflect.Message {
  772. mi := &file_dr_protocol_idl_proto_msgTypes[11]
  773. if x != nil {
  774. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  775. if ms.LoadMessageInfo() == nil {
  776. ms.StoreMessageInfo(mi)
  777. }
  778. return ms
  779. }
  780. return mi.MessageOf(x)
  781. }
  782. // Deprecated: Use ViewRequest.ProtoReflect.Descriptor instead.
  783. func (*ViewRequest) Descriptor() ([]byte, []int) {
  784. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{11}
  785. }
  786. func (x *ViewRequest) GetPatientType() string {
  787. if x != nil && x.PatientType != nil {
  788. return *x.PatientType
  789. }
  790. return ""
  791. }
  792. func (x *ViewRequest) GetBodyPartId() string {
  793. if x != nil && x.BodyPartId != nil {
  794. return *x.BodyPartId
  795. }
  796. return ""
  797. }
  798. func (x *ViewRequest) GetProcedureId() string {
  799. if x != nil && x.ProcedureId != nil {
  800. return *x.ProcedureId
  801. }
  802. return ""
  803. }
  804. func (x *ViewRequest) GetModality() string {
  805. if x != nil && x.Modality != nil {
  806. return *x.Modality
  807. }
  808. return ""
  809. }
  810. func (x *ViewRequest) GetIsEnabled() bool {
  811. if x != nil && x.IsEnabled != nil {
  812. return *x.IsEnabled
  813. }
  814. return false
  815. }
  816. func (x *ViewRequest) GetIsPreInstall() bool {
  817. if x != nil && x.IsPreInstall != nil {
  818. return *x.IsPreInstall
  819. }
  820. return false
  821. }
  822. type View struct {
  823. state protoimpl.MessageState `protogen:"open.v1"`
  824. InternalId string `protobuf:"bytes,1,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"`
  825. ViewId string `protobuf:"bytes,2,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
  826. ViewName string `protobuf:"bytes,3,opt,name=view_name,json=viewName,proto3" json:"view_name,omitempty"`
  827. ViewNameLocal string `protobuf:"bytes,4,opt,name=view_name_local,json=viewNameLocal,proto3" json:"view_name_local,omitempty"`
  828. ViewOtherName string `protobuf:"bytes,5,opt,name=view_other_name,json=viewOtherName,proto3" json:"view_other_name,omitempty"`
  829. ViewDescription string `protobuf:"bytes,6,opt,name=view_description,json=viewDescription,proto3" json:"view_description,omitempty"`
  830. ViewPosition string `protobuf:"bytes,7,opt,name=view_position,json=viewPosition,proto3" json:"view_position,omitempty"`
  831. Application string `protobuf:"bytes,8,opt,name=application,proto3" json:"application,omitempty"`
  832. AnatomicRegion string `protobuf:"bytes,9,opt,name=anatomic_region,json=anatomicRegion,proto3" json:"anatomic_region,omitempty"`
  833. PatientTypeId string `protobuf:"bytes,10,opt,name=patient_type_id,json=patientTypeId,proto3" json:"patient_type_id,omitempty"`
  834. BodyPartId string `protobuf:"bytes,11,opt,name=body_part_id,json=bodyPartId,proto3" json:"body_part_id,omitempty"`
  835. ViewIconName string `protobuf:"bytes,12,opt,name=view_icon_name,json=viewIconName,proto3" json:"view_icon_name,omitempty"`
  836. ViewBigIconName string `protobuf:"bytes,13,opt,name=view_big_icon_name,json=viewBigIconName,proto3" json:"view_big_icon_name,omitempty"`
  837. ViewCoachName string `protobuf:"bytes,14,opt,name=view_coach_name,json=viewCoachName,proto3" json:"view_coach_name,omitempty"`
  838. Modality string `protobuf:"bytes,15,opt,name=modality,proto3" json:"modality,omitempty"`
  839. ConfigObject *structpb.Struct `protobuf:"bytes,16,opt,name=config_object,json=configObject,proto3" json:"config_object,omitempty"`
  840. TechTemplate string `protobuf:"bytes,17,opt,name=tech_template,json=techTemplate,proto3" json:"tech_template,omitempty"`
  841. ImgProcTemplate string `protobuf:"bytes,18,opt,name=img_proc_template,json=imgProcTemplate,proto3" json:"img_proc_template,omitempty"`
  842. Sort int32 `protobuf:"varint,19,opt,name=sort,proto3" json:"sort,omitempty"`
  843. IsEnabled bool `protobuf:"varint,20,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  844. Product string `protobuf:"bytes,21,opt,name=product,proto3" json:"product,omitempty"`
  845. IsPreInstall bool `protobuf:"varint,22,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  846. unknownFields protoimpl.UnknownFields
  847. sizeCache protoimpl.SizeCache
  848. }
  849. func (x *View) Reset() {
  850. *x = View{}
  851. mi := &file_dr_protocol_idl_proto_msgTypes[12]
  852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  853. ms.StoreMessageInfo(mi)
  854. }
  855. func (x *View) String() string {
  856. return protoimpl.X.MessageStringOf(x)
  857. }
  858. func (*View) ProtoMessage() {}
  859. func (x *View) ProtoReflect() protoreflect.Message {
  860. mi := &file_dr_protocol_idl_proto_msgTypes[12]
  861. if x != nil {
  862. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  863. if ms.LoadMessageInfo() == nil {
  864. ms.StoreMessageInfo(mi)
  865. }
  866. return ms
  867. }
  868. return mi.MessageOf(x)
  869. }
  870. // Deprecated: Use View.ProtoReflect.Descriptor instead.
  871. func (*View) Descriptor() ([]byte, []int) {
  872. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{12}
  873. }
  874. func (x *View) GetInternalId() string {
  875. if x != nil {
  876. return x.InternalId
  877. }
  878. return ""
  879. }
  880. func (x *View) GetViewId() string {
  881. if x != nil {
  882. return x.ViewId
  883. }
  884. return ""
  885. }
  886. func (x *View) GetViewName() string {
  887. if x != nil {
  888. return x.ViewName
  889. }
  890. return ""
  891. }
  892. func (x *View) GetViewNameLocal() string {
  893. if x != nil {
  894. return x.ViewNameLocal
  895. }
  896. return ""
  897. }
  898. func (x *View) GetViewOtherName() string {
  899. if x != nil {
  900. return x.ViewOtherName
  901. }
  902. return ""
  903. }
  904. func (x *View) GetViewDescription() string {
  905. if x != nil {
  906. return x.ViewDescription
  907. }
  908. return ""
  909. }
  910. func (x *View) GetViewPosition() string {
  911. if x != nil {
  912. return x.ViewPosition
  913. }
  914. return ""
  915. }
  916. func (x *View) GetApplication() string {
  917. if x != nil {
  918. return x.Application
  919. }
  920. return ""
  921. }
  922. func (x *View) GetAnatomicRegion() string {
  923. if x != nil {
  924. return x.AnatomicRegion
  925. }
  926. return ""
  927. }
  928. func (x *View) GetPatientTypeId() string {
  929. if x != nil {
  930. return x.PatientTypeId
  931. }
  932. return ""
  933. }
  934. func (x *View) GetBodyPartId() string {
  935. if x != nil {
  936. return x.BodyPartId
  937. }
  938. return ""
  939. }
  940. func (x *View) GetViewIconName() string {
  941. if x != nil {
  942. return x.ViewIconName
  943. }
  944. return ""
  945. }
  946. func (x *View) GetViewBigIconName() string {
  947. if x != nil {
  948. return x.ViewBigIconName
  949. }
  950. return ""
  951. }
  952. func (x *View) GetViewCoachName() string {
  953. if x != nil {
  954. return x.ViewCoachName
  955. }
  956. return ""
  957. }
  958. func (x *View) GetModality() string {
  959. if x != nil {
  960. return x.Modality
  961. }
  962. return ""
  963. }
  964. func (x *View) GetConfigObject() *structpb.Struct {
  965. if x != nil {
  966. return x.ConfigObject
  967. }
  968. return nil
  969. }
  970. func (x *View) GetTechTemplate() string {
  971. if x != nil {
  972. return x.TechTemplate
  973. }
  974. return ""
  975. }
  976. func (x *View) GetImgProcTemplate() string {
  977. if x != nil {
  978. return x.ImgProcTemplate
  979. }
  980. return ""
  981. }
  982. func (x *View) GetSort() int32 {
  983. if x != nil {
  984. return x.Sort
  985. }
  986. return 0
  987. }
  988. func (x *View) GetIsEnabled() bool {
  989. if x != nil {
  990. return x.IsEnabled
  991. }
  992. return false
  993. }
  994. func (x *View) GetProduct() string {
  995. if x != nil {
  996. return x.Product
  997. }
  998. return ""
  999. }
  1000. func (x *View) GetIsPreInstall() bool {
  1001. if x != nil {
  1002. return x.IsPreInstall
  1003. }
  1004. return false
  1005. }
  1006. type ViewReply struct {
  1007. state protoimpl.MessageState `protogen:"open.v1"`
  1008. ViewList []*View `protobuf:"bytes,1,rep,name=view_list,json=viewList,proto3" json:"view_list,omitempty"`
  1009. unknownFields protoimpl.UnknownFields
  1010. sizeCache protoimpl.SizeCache
  1011. }
  1012. func (x *ViewReply) Reset() {
  1013. *x = ViewReply{}
  1014. mi := &file_dr_protocol_idl_proto_msgTypes[13]
  1015. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1016. ms.StoreMessageInfo(mi)
  1017. }
  1018. func (x *ViewReply) String() string {
  1019. return protoimpl.X.MessageStringOf(x)
  1020. }
  1021. func (*ViewReply) ProtoMessage() {}
  1022. func (x *ViewReply) ProtoReflect() protoreflect.Message {
  1023. mi := &file_dr_protocol_idl_proto_msgTypes[13]
  1024. if x != nil {
  1025. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1026. if ms.LoadMessageInfo() == nil {
  1027. ms.StoreMessageInfo(mi)
  1028. }
  1029. return ms
  1030. }
  1031. return mi.MessageOf(x)
  1032. }
  1033. // Deprecated: Use ViewReply.ProtoReflect.Descriptor instead.
  1034. func (*ViewReply) Descriptor() ([]byte, []int) {
  1035. return file_dr_protocol_idl_proto_rawDescGZIP(), []int{13}
  1036. }
  1037. func (x *ViewReply) GetViewList() []*View {
  1038. if x != nil {
  1039. return x.ViewList
  1040. }
  1041. return nil
  1042. }
  1043. var File_dr_protocol_idl_proto protoreflect.FileDescriptor
  1044. const file_dr_protocol_idl_proto_rawDesc = "" +
  1045. "\n" +
  1046. "\x15dr_protocol_idl.proto\x12\vdr.protocol\x1a\x1cgoogle/protobuf/struct.proto\"\x0e\n" +
  1047. "\fEmptyRequest\"o\n" +
  1048. "\x11SoftwareInfoReply\x12\x16\n" +
  1049. "\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" +
  1050. "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" +
  1051. "\x05build\x18\x03 \x01(\tR\x05build\x12\x18\n" +
  1052. "\aversion\x18\x04 \x01(\tR\aversion\"\x85\x01\n" +
  1053. "\x12PatientTypeRequest\x12\"\n" +
  1054. "\n" +
  1055. "is_enabled\x18\x01 \x01(\bH\x00R\tisEnabled\x88\x01\x01\x12)\n" +
  1056. "\x0eis_pre_install\x18\x02 \x01(\bH\x01R\fisPreInstall\x88\x01\x01B\r\n" +
  1057. "\v_is_enabledB\x11\n" +
  1058. "\x0f_is_pre_install\"\xcc\x02\n" +
  1059. "\vPatientType\x12\x0e\n" +
  1060. "\x02id\x18\x01 \x01(\x04R\x02id\x12&\n" +
  1061. "\x0fpatient_type_id\x18\x02 \x01(\tR\rpatientTypeId\x12*\n" +
  1062. "\x11patient_type_name\x18\x03 \x01(\tR\x0fpatientTypeName\x12,\n" +
  1063. "\x12patient_type_local\x18\x04 \x01(\tR\x10patientTypeLocal\x128\n" +
  1064. "\x18patient_type_description\x18\x05 \x01(\tR\x16patientTypeDescription\x12\x12\n" +
  1065. "\x04sort\x18\x06 \x01(\x05R\x04sort\x12\x1d\n" +
  1066. "\n" +
  1067. "is_enabled\x18\a \x01(\bR\tisEnabled\x12\x18\n" +
  1068. "\aproduct\x18\b \x01(\tR\aproduct\x12$\n" +
  1069. "\x0eis_pre_install\x18\t \x01(\bR\fisPreInstall\"X\n" +
  1070. "\x10PatientTypeReply\x12D\n" +
  1071. "\x11patient_type_list\x18\x01 \x03(\v2\x18.dr.protocol.PatientTypeR\x0fpatientTypeList\"\xe9\x01\n" +
  1072. "\x0fBodyPartRequest\x12&\n" +
  1073. "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12\x1f\n" +
  1074. "\bmodality\x18\x02 \x01(\tH\x01R\bmodality\x88\x01\x01\x12\"\n" +
  1075. "\n" +
  1076. "is_enabled\x18\x03 \x01(\bH\x02R\tisEnabled\x88\x01\x01\x12)\n" +
  1077. "\x0eis_pre_install\x18\x04 \x01(\bH\x03R\fisPreInstall\x88\x01\x01B\x0f\n" +
  1078. "\r_patient_typeB\v\n" +
  1079. "\t_modalityB\r\n" +
  1080. "\v_is_enabledB\x11\n" +
  1081. "\x0f_is_pre_install\"\xf0\x02\n" +
  1082. "\bBodyPart\x12\x0e\n" +
  1083. "\x02id\x18\x01 \x01(\x04R\x02id\x12 \n" +
  1084. "\fbody_part_id\x18\x02 \x01(\tR\n" +
  1085. "bodyPartId\x12$\n" +
  1086. "\x0ebody_part_name\x18\x03 \x01(\tR\fbodyPartName\x12&\n" +
  1087. "\x0fbody_part_local\x18\x04 \x01(\tR\rbodyPartLocal\x122\n" +
  1088. "\x15body_part_description\x18\x05 \x01(\tR\x13bodyPartDescription\x12!\n" +
  1089. "\fpatient_type\x18\x06 \x01(\tR\vpatientType\x12\x1a\n" +
  1090. "\bmodality\x18\a \x01(\tR\bmodality\x12\x12\n" +
  1091. "\x04sort\x18\b \x01(\x05R\x04sort\x12\x1d\n" +
  1092. "\n" +
  1093. "is_enabled\x18\t \x01(\bR\tisEnabled\x12\x18\n" +
  1094. "\aproduct\x18\n" +
  1095. " \x01(\tR\aproduct\x12$\n" +
  1096. "\x0eis_pre_install\x18\v \x01(\bR\fisPreInstall\"L\n" +
  1097. "\rBodyPartReply\x12;\n" +
  1098. "\x0ebody_part_list\x18\x01 \x03(\v2\x15.dr.protocol.BodyPartR\fbodyPartList\"\xa2\x02\n" +
  1099. "\x10ProcedureRequest\x12&\n" +
  1100. "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12%\n" +
  1101. "\fbody_part_id\x18\x02 \x01(\tH\x01R\n" +
  1102. "bodyPartId\x88\x01\x01\x12\x1f\n" +
  1103. "\bmodality\x18\x03 \x01(\tH\x02R\bmodality\x88\x01\x01\x12\"\n" +
  1104. "\n" +
  1105. "is_enabled\x18\x04 \x01(\bH\x03R\tisEnabled\x88\x01\x01\x12)\n" +
  1106. "\x0eis_pre_install\x18\x05 \x01(\bH\x04R\fisPreInstall\x88\x01\x01B\x0f\n" +
  1107. "\r_patient_typeB\x0f\n" +
  1108. "\r_body_part_idB\v\n" +
  1109. "\t_modalityB\r\n" +
  1110. "\v_is_enabledB\x11\n" +
  1111. "\x0f_is_pre_install\"\xe1\x05\n" +
  1112. "\tProcedure\x12\x0e\n" +
  1113. "\x02id\x18\x01 \x01(\x04R\x02id\x12!\n" +
  1114. "\fprocedure_id\x18\x02 \x01(\tR\vprocedureId\x12%\n" +
  1115. "\x0eprocedure_code\x18\x03 \x01(\tR\rprocedureCode\x12%\n" +
  1116. "\x0eprocedure_name\x18\x04 \x01(\tR\rprocedureName\x120\n" +
  1117. "\x14procedure_name_local\x18\x05 \x01(\tR\x12procedureNameLocal\x120\n" +
  1118. "\x14procedure_other_name\x18\x06 \x01(\tR\x12procedureOtherName\x123\n" +
  1119. "\x15procedure_description\x18\a \x01(\tR\x14procedureDescription\x12>\n" +
  1120. "\x1bprocedure_description_local\x18\b \x01(\tR\x19procedureDescriptionLocal\x12!\n" +
  1121. "\fpatient_type\x18\t \x01(\tR\vpatientType\x12 \n" +
  1122. "\fbody_part_id\x18\n" +
  1123. " \x01(\tR\n" +
  1124. "bodyPartId\x12%\n" +
  1125. "\x0eprocedure_type\x18\v \x01(\tR\rprocedureType\x12\x1f\n" +
  1126. "\vfast_search\x18\f \x01(\bR\n" +
  1127. "fastSearch\x12/\n" +
  1128. "\x13protocol_laterality\x18\r \x01(\tR\x12protocolLaterality\x12-\n" +
  1129. "\x12procedure_category\x18\x0e \x01(\tR\x11procedureCategory\x12\x1a\n" +
  1130. "\bmodality\x18\x0f \x01(\tR\bmodality\x12\x12\n" +
  1131. "\x04sort\x18\x10 \x01(\x05R\x04sort\x12\x1d\n" +
  1132. "\n" +
  1133. "is_enabled\x18\x11 \x01(\bR\tisEnabled\x12\x18\n" +
  1134. "\aproduct\x18\x12 \x01(\tR\aproduct\x12$\n" +
  1135. "\x0eis_pre_install\x18\x13 \x01(\bR\fisPreInstall\"O\n" +
  1136. "\x0eProcedureReply\x12=\n" +
  1137. "\x0eprocedure_list\x18\x01 \x03(\v2\x16.dr.protocol.ProcedureR\rprocedureList\"\xd6\x02\n" +
  1138. "\vViewRequest\x12&\n" +
  1139. "\fpatient_type\x18\x01 \x01(\tH\x00R\vpatientType\x88\x01\x01\x12%\n" +
  1140. "\fbody_part_id\x18\x02 \x01(\tH\x01R\n" +
  1141. "bodyPartId\x88\x01\x01\x12&\n" +
  1142. "\fprocedure_id\x18\x03 \x01(\tH\x02R\vprocedureId\x88\x01\x01\x12\x1f\n" +
  1143. "\bmodality\x18\x04 \x01(\tH\x03R\bmodality\x88\x01\x01\x12\"\n" +
  1144. "\n" +
  1145. "is_enabled\x18\x05 \x01(\bH\x04R\tisEnabled\x88\x01\x01\x12)\n" +
  1146. "\x0eis_pre_install\x18\x06 \x01(\bH\x05R\fisPreInstall\x88\x01\x01B\x0f\n" +
  1147. "\r_patient_typeB\x0f\n" +
  1148. "\r_body_part_idB\x0f\n" +
  1149. "\r_procedure_idB\v\n" +
  1150. "\t_modalityB\r\n" +
  1151. "\v_is_enabledB\x11\n" +
  1152. "\x0f_is_pre_install\"\xab\x06\n" +
  1153. "\x04View\x12\x1f\n" +
  1154. "\vinternal_id\x18\x01 \x01(\tR\n" +
  1155. "internalId\x12\x17\n" +
  1156. "\aview_id\x18\x02 \x01(\tR\x06viewId\x12\x1b\n" +
  1157. "\tview_name\x18\x03 \x01(\tR\bviewName\x12&\n" +
  1158. "\x0fview_name_local\x18\x04 \x01(\tR\rviewNameLocal\x12&\n" +
  1159. "\x0fview_other_name\x18\x05 \x01(\tR\rviewOtherName\x12)\n" +
  1160. "\x10view_description\x18\x06 \x01(\tR\x0fviewDescription\x12#\n" +
  1161. "\rview_position\x18\a \x01(\tR\fviewPosition\x12 \n" +
  1162. "\vapplication\x18\b \x01(\tR\vapplication\x12'\n" +
  1163. "\x0fanatomic_region\x18\t \x01(\tR\x0eanatomicRegion\x12&\n" +
  1164. "\x0fpatient_type_id\x18\n" +
  1165. " \x01(\tR\rpatientTypeId\x12 \n" +
  1166. "\fbody_part_id\x18\v \x01(\tR\n" +
  1167. "bodyPartId\x12$\n" +
  1168. "\x0eview_icon_name\x18\f \x01(\tR\fviewIconName\x12+\n" +
  1169. "\x12view_big_icon_name\x18\r \x01(\tR\x0fviewBigIconName\x12&\n" +
  1170. "\x0fview_coach_name\x18\x0e \x01(\tR\rviewCoachName\x12\x1a\n" +
  1171. "\bmodality\x18\x0f \x01(\tR\bmodality\x12<\n" +
  1172. "\rconfig_object\x18\x10 \x01(\v2\x17.google.protobuf.StructR\fconfigObject\x12#\n" +
  1173. "\rtech_template\x18\x11 \x01(\tR\ftechTemplate\x12*\n" +
  1174. "\x11img_proc_template\x18\x12 \x01(\tR\x0fimgProcTemplate\x12\x12\n" +
  1175. "\x04sort\x18\x13 \x01(\x05R\x04sort\x12\x1d\n" +
  1176. "\n" +
  1177. "is_enabled\x18\x14 \x01(\bR\tisEnabled\x12\x18\n" +
  1178. "\aproduct\x18\x15 \x01(\tR\aproduct\x12$\n" +
  1179. "\x0eis_pre_install\x18\x16 \x01(\bR\fisPreInstall\";\n" +
  1180. "\tViewReply\x12.\n" +
  1181. "\tview_list\x18\x01 \x03(\v2\x11.dr.protocol.ViewR\bviewList2T\n" +
  1182. "\x05Basic\x12K\n" +
  1183. "\fSoftwareInfo\x12\x19.dr.protocol.EmptyRequest\x1a\x1e.dr.protocol.SoftwareInfoReply\"\x002\xb6\x02\n" +
  1184. "\bProtocol\x12R\n" +
  1185. "\x0eGetPatientType\x12\x1f.dr.protocol.PatientTypeRequest\x1a\x1d.dr.protocol.PatientTypeReply\"\x00\x12I\n" +
  1186. "\vGetBodyPart\x12\x1c.dr.protocol.BodyPartRequest\x1a\x1a.dr.protocol.BodyPartReply\"\x00\x12L\n" +
  1187. "\fGetProcedure\x12\x1d.dr.protocol.ProcedureRequest\x1a\x1b.dr.protocol.ProcedureReply\"\x00\x12=\n" +
  1188. "\aGetView\x12\x18.dr.protocol.ViewRequest\x1a\x16.dr.protocol.ViewReply\"\x00B\x11Z\x0fdr_protocol_pb/b\x06proto3"
  1189. var (
  1190. file_dr_protocol_idl_proto_rawDescOnce sync.Once
  1191. file_dr_protocol_idl_proto_rawDescData []byte
  1192. )
  1193. func file_dr_protocol_idl_proto_rawDescGZIP() []byte {
  1194. file_dr_protocol_idl_proto_rawDescOnce.Do(func() {
  1195. 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)))
  1196. })
  1197. return file_dr_protocol_idl_proto_rawDescData
  1198. }
  1199. var file_dr_protocol_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  1200. var file_dr_protocol_idl_proto_goTypes = []any{
  1201. (*EmptyRequest)(nil), // 0: dr.protocol.EmptyRequest
  1202. (*SoftwareInfoReply)(nil), // 1: dr.protocol.SoftwareInfoReply
  1203. (*PatientTypeRequest)(nil), // 2: dr.protocol.PatientTypeRequest
  1204. (*PatientType)(nil), // 3: dr.protocol.PatientType
  1205. (*PatientTypeReply)(nil), // 4: dr.protocol.PatientTypeReply
  1206. (*BodyPartRequest)(nil), // 5: dr.protocol.BodyPartRequest
  1207. (*BodyPart)(nil), // 6: dr.protocol.BodyPart
  1208. (*BodyPartReply)(nil), // 7: dr.protocol.BodyPartReply
  1209. (*ProcedureRequest)(nil), // 8: dr.protocol.ProcedureRequest
  1210. (*Procedure)(nil), // 9: dr.protocol.Procedure
  1211. (*ProcedureReply)(nil), // 10: dr.protocol.ProcedureReply
  1212. (*ViewRequest)(nil), // 11: dr.protocol.ViewRequest
  1213. (*View)(nil), // 12: dr.protocol.View
  1214. (*ViewReply)(nil), // 13: dr.protocol.ViewReply
  1215. (*structpb.Struct)(nil), // 14: google.protobuf.Struct
  1216. }
  1217. var file_dr_protocol_idl_proto_depIdxs = []int32{
  1218. 3, // 0: dr.protocol.PatientTypeReply.patient_type_list:type_name -> dr.protocol.PatientType
  1219. 6, // 1: dr.protocol.BodyPartReply.body_part_list:type_name -> dr.protocol.BodyPart
  1220. 9, // 2: dr.protocol.ProcedureReply.procedure_list:type_name -> dr.protocol.Procedure
  1221. 14, // 3: dr.protocol.View.config_object:type_name -> google.protobuf.Struct
  1222. 12, // 4: dr.protocol.ViewReply.view_list:type_name -> dr.protocol.View
  1223. 0, // 5: dr.protocol.Basic.SoftwareInfo:input_type -> dr.protocol.EmptyRequest
  1224. 2, // 6: dr.protocol.Protocol.GetPatientType:input_type -> dr.protocol.PatientTypeRequest
  1225. 5, // 7: dr.protocol.Protocol.GetBodyPart:input_type -> dr.protocol.BodyPartRequest
  1226. 8, // 8: dr.protocol.Protocol.GetProcedure:input_type -> dr.protocol.ProcedureRequest
  1227. 11, // 9: dr.protocol.Protocol.GetView:input_type -> dr.protocol.ViewRequest
  1228. 1, // 10: dr.protocol.Basic.SoftwareInfo:output_type -> dr.protocol.SoftwareInfoReply
  1229. 4, // 11: dr.protocol.Protocol.GetPatientType:output_type -> dr.protocol.PatientTypeReply
  1230. 7, // 12: dr.protocol.Protocol.GetBodyPart:output_type -> dr.protocol.BodyPartReply
  1231. 10, // 13: dr.protocol.Protocol.GetProcedure:output_type -> dr.protocol.ProcedureReply
  1232. 13, // 14: dr.protocol.Protocol.GetView:output_type -> dr.protocol.ViewReply
  1233. 10, // [10:15] is the sub-list for method output_type
  1234. 5, // [5:10] is the sub-list for method input_type
  1235. 5, // [5:5] is the sub-list for extension type_name
  1236. 5, // [5:5] is the sub-list for extension extendee
  1237. 0, // [0:5] is the sub-list for field type_name
  1238. }
  1239. func init() { file_dr_protocol_idl_proto_init() }
  1240. func file_dr_protocol_idl_proto_init() {
  1241. if File_dr_protocol_idl_proto != nil {
  1242. return
  1243. }
  1244. file_dr_protocol_idl_proto_msgTypes[2].OneofWrappers = []any{}
  1245. file_dr_protocol_idl_proto_msgTypes[5].OneofWrappers = []any{}
  1246. file_dr_protocol_idl_proto_msgTypes[8].OneofWrappers = []any{}
  1247. file_dr_protocol_idl_proto_msgTypes[11].OneofWrappers = []any{}
  1248. type x struct{}
  1249. out := protoimpl.TypeBuilder{
  1250. File: protoimpl.DescBuilder{
  1251. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1252. RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_protocol_idl_proto_rawDesc), len(file_dr_protocol_idl_proto_rawDesc)),
  1253. NumEnums: 0,
  1254. NumMessages: 14,
  1255. NumExtensions: 0,
  1256. NumServices: 2,
  1257. },
  1258. GoTypes: file_dr_protocol_idl_proto_goTypes,
  1259. DependencyIndexes: file_dr_protocol_idl_proto_depIdxs,
  1260. MessageInfos: file_dr_protocol_idl_proto_msgTypes,
  1261. }.Build()
  1262. File_dr_protocol_idl_proto = out.File
  1263. file_dr_protocol_idl_proto_goTypes = nil
  1264. file_dr_protocol_idl_proto_depIdxs = nil
  1265. }