dr_study_idl.pb.go 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472
  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_study_idl.proto
  6. package dr_study_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. emptypb "google.golang.org/protobuf/types/known/emptypb"
  11. structpb "google.golang.org/protobuf/types/known/structpb"
  12. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  13. reflect "reflect"
  14. sync "sync"
  15. unsafe "unsafe"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type IDRequest struct {
  24. state protoimpl.MessageState `protogen:"open.v1"`
  25. Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
  26. InstanceId *string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3,oneof" json:"instance_id,omitempty"`
  27. unknownFields protoimpl.UnknownFields
  28. sizeCache protoimpl.SizeCache
  29. }
  30. func (x *IDRequest) Reset() {
  31. *x = IDRequest{}
  32. mi := &file_dr_study_idl_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. func (x *IDRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*IDRequest) ProtoMessage() {}
  40. func (x *IDRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_dr_study_idl_proto_msgTypes[0]
  42. if x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use IDRequest.ProtoReflect.Descriptor instead.
  52. func (*IDRequest) Descriptor() ([]byte, []int) {
  53. return file_dr_study_idl_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *IDRequest) GetId() uint32 {
  56. if x != nil && x.Id != nil {
  57. return *x.Id
  58. }
  59. return 0
  60. }
  61. func (x *IDRequest) GetInstanceId() string {
  62. if x != nil && x.InstanceId != nil {
  63. return *x.InstanceId
  64. }
  65. return ""
  66. }
  67. type SoftwareInfoReply struct {
  68. state protoimpl.MessageState `protogen:"open.v1"`
  69. Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
  70. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
  71. Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
  72. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  73. unknownFields protoimpl.UnknownFields
  74. sizeCache protoimpl.SizeCache
  75. }
  76. func (x *SoftwareInfoReply) Reset() {
  77. *x = SoftwareInfoReply{}
  78. mi := &file_dr_study_idl_proto_msgTypes[1]
  79. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  80. ms.StoreMessageInfo(mi)
  81. }
  82. func (x *SoftwareInfoReply) String() string {
  83. return protoimpl.X.MessageStringOf(x)
  84. }
  85. func (*SoftwareInfoReply) ProtoMessage() {}
  86. func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
  87. mi := &file_dr_study_idl_proto_msgTypes[1]
  88. if x != nil {
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. if ms.LoadMessageInfo() == nil {
  91. ms.StoreMessageInfo(mi)
  92. }
  93. return ms
  94. }
  95. return mi.MessageOf(x)
  96. }
  97. // Deprecated: Use SoftwareInfoReply.ProtoReflect.Descriptor instead.
  98. func (*SoftwareInfoReply) Descriptor() ([]byte, []int) {
  99. return file_dr_study_idl_proto_rawDescGZIP(), []int{1}
  100. }
  101. func (x *SoftwareInfoReply) GetModule() string {
  102. if x != nil {
  103. return x.Module
  104. }
  105. return ""
  106. }
  107. func (x *SoftwareInfoReply) GetDesc() string {
  108. if x != nil {
  109. return x.Desc
  110. }
  111. return ""
  112. }
  113. func (x *SoftwareInfoReply) GetBuild() string {
  114. if x != nil {
  115. return x.Build
  116. }
  117. return ""
  118. }
  119. func (x *SoftwareInfoReply) GetVersion() string {
  120. if x != nil {
  121. return x.Version
  122. }
  123. return ""
  124. }
  125. type ViewRequest struct {
  126. state protoimpl.MessageState `protogen:"open.v1"`
  127. ViewId string `protobuf:"bytes,1,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
  128. ProcedureId string `protobuf:"bytes,2,opt,name=procedure_id,json=procedureId,proto3" json:"procedure_id,omitempty"`
  129. unknownFields protoimpl.UnknownFields
  130. sizeCache protoimpl.SizeCache
  131. }
  132. func (x *ViewRequest) Reset() {
  133. *x = ViewRequest{}
  134. mi := &file_dr_study_idl_proto_msgTypes[2]
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. ms.StoreMessageInfo(mi)
  137. }
  138. func (x *ViewRequest) String() string {
  139. return protoimpl.X.MessageStringOf(x)
  140. }
  141. func (*ViewRequest) ProtoMessage() {}
  142. func (x *ViewRequest) ProtoReflect() protoreflect.Message {
  143. mi := &file_dr_study_idl_proto_msgTypes[2]
  144. if x != nil {
  145. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  146. if ms.LoadMessageInfo() == nil {
  147. ms.StoreMessageInfo(mi)
  148. }
  149. return ms
  150. }
  151. return mi.MessageOf(x)
  152. }
  153. // Deprecated: Use ViewRequest.ProtoReflect.Descriptor instead.
  154. func (*ViewRequest) Descriptor() ([]byte, []int) {
  155. return file_dr_study_idl_proto_rawDescGZIP(), []int{2}
  156. }
  157. func (x *ViewRequest) GetViewId() string {
  158. if x != nil {
  159. return x.ViewId
  160. }
  161. return ""
  162. }
  163. func (x *ViewRequest) GetProcedureId() string {
  164. if x != nil {
  165. return x.ProcedureId
  166. }
  167. return ""
  168. }
  169. type StudyRequest struct {
  170. state protoimpl.MessageState `protogen:"open.v1"`
  171. AccessionNumber string `protobuf:"bytes,1,opt,name=accession_number,json=accessionNumber,proto3" json:"accession_number,omitempty"`
  172. PatientId string `protobuf:"bytes,2,opt,name=patient_id,json=patientId,proto3" json:"patient_id,omitempty"`
  173. PatientName string `protobuf:"bytes,3,opt,name=patient_name,json=patientName,proto3" json:"patient_name,omitempty"`
  174. PatientSize string `protobuf:"bytes,4,opt,name=patient_size,json=patientSize,proto3" json:"patient_size,omitempty"`
  175. PatientAge string `protobuf:"bytes,5,opt,name=patient_age,json=patientAge,proto3" json:"patient_age,omitempty"`
  176. PatientDob *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=patient_dob,json=patientDob,proto3" json:"patient_dob,omitempty"`
  177. PatientSex string `protobuf:"bytes,7,opt,name=patient_sex,json=patientSex,proto3" json:"patient_sex,omitempty"`
  178. SexNeutered string `protobuf:"bytes,8,opt,name=sex_neutered,json=sexNeutered,proto3" json:"sex_neutered,omitempty"`
  179. PregnancyStatus string `protobuf:"bytes,9,opt,name=pregnancy_status,json=pregnancyStatus,proto3" json:"pregnancy_status,omitempty"` //妊娠状态
  180. PatientType string `protobuf:"bytes,10,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  181. RefPhysician string `protobuf:"bytes,11,opt,name=ref_physician,json=refPhysician,proto3" json:"ref_physician,omitempty"` //兽医师
  182. OperatorId string `protobuf:"bytes,12,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
  183. Modality string `protobuf:"bytes,13,opt,name=modality,proto3" json:"modality,omitempty"`
  184. Weight int32 `protobuf:"varint,14,opt,name=weight,proto3" json:"weight,omitempty"`
  185. Thickness int32 `protobuf:"varint,15,opt,name=thickness,proto3" json:"thickness,omitempty"`
  186. Length int32 `protobuf:"varint,16,opt,name=length,proto3" json:"length,omitempty"`
  187. StudyType string `protobuf:"bytes,17,opt,name=study_type,json=studyType,proto3" json:"study_type,omitempty"`
  188. ChipNumber string `protobuf:"bytes,18,opt,name=chip_number,json=chipNumber,proto3" json:"chip_number,omitempty"`
  189. Variety string `protobuf:"bytes,19,opt,name=variety,proto3" json:"variety,omitempty"` //品种描述
  190. Comment string `protobuf:"bytes,20,opt,name=comment,proto3" json:"comment,omitempty"` //备注
  191. Views []*ViewRequest `protobuf:"bytes,21,rep,name=views,proto3" json:"views,omitempty"`
  192. unknownFields protoimpl.UnknownFields
  193. sizeCache protoimpl.SizeCache
  194. }
  195. func (x *StudyRequest) Reset() {
  196. *x = StudyRequest{}
  197. mi := &file_dr_study_idl_proto_msgTypes[3]
  198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  199. ms.StoreMessageInfo(mi)
  200. }
  201. func (x *StudyRequest) String() string {
  202. return protoimpl.X.MessageStringOf(x)
  203. }
  204. func (*StudyRequest) ProtoMessage() {}
  205. func (x *StudyRequest) ProtoReflect() protoreflect.Message {
  206. mi := &file_dr_study_idl_proto_msgTypes[3]
  207. if x != nil {
  208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  209. if ms.LoadMessageInfo() == nil {
  210. ms.StoreMessageInfo(mi)
  211. }
  212. return ms
  213. }
  214. return mi.MessageOf(x)
  215. }
  216. // Deprecated: Use StudyRequest.ProtoReflect.Descriptor instead.
  217. func (*StudyRequest) Descriptor() ([]byte, []int) {
  218. return file_dr_study_idl_proto_rawDescGZIP(), []int{3}
  219. }
  220. func (x *StudyRequest) GetAccessionNumber() string {
  221. if x != nil {
  222. return x.AccessionNumber
  223. }
  224. return ""
  225. }
  226. func (x *StudyRequest) GetPatientId() string {
  227. if x != nil {
  228. return x.PatientId
  229. }
  230. return ""
  231. }
  232. func (x *StudyRequest) GetPatientName() string {
  233. if x != nil {
  234. return x.PatientName
  235. }
  236. return ""
  237. }
  238. func (x *StudyRequest) GetPatientSize() string {
  239. if x != nil {
  240. return x.PatientSize
  241. }
  242. return ""
  243. }
  244. func (x *StudyRequest) GetPatientAge() string {
  245. if x != nil {
  246. return x.PatientAge
  247. }
  248. return ""
  249. }
  250. func (x *StudyRequest) GetPatientDob() *timestamppb.Timestamp {
  251. if x != nil {
  252. return x.PatientDob
  253. }
  254. return nil
  255. }
  256. func (x *StudyRequest) GetPatientSex() string {
  257. if x != nil {
  258. return x.PatientSex
  259. }
  260. return ""
  261. }
  262. func (x *StudyRequest) GetSexNeutered() string {
  263. if x != nil {
  264. return x.SexNeutered
  265. }
  266. return ""
  267. }
  268. func (x *StudyRequest) GetPregnancyStatus() string {
  269. if x != nil {
  270. return x.PregnancyStatus
  271. }
  272. return ""
  273. }
  274. func (x *StudyRequest) GetPatientType() string {
  275. if x != nil {
  276. return x.PatientType
  277. }
  278. return ""
  279. }
  280. func (x *StudyRequest) GetRefPhysician() string {
  281. if x != nil {
  282. return x.RefPhysician
  283. }
  284. return ""
  285. }
  286. func (x *StudyRequest) GetOperatorId() string {
  287. if x != nil {
  288. return x.OperatorId
  289. }
  290. return ""
  291. }
  292. func (x *StudyRequest) GetModality() string {
  293. if x != nil {
  294. return x.Modality
  295. }
  296. return ""
  297. }
  298. func (x *StudyRequest) GetWeight() int32 {
  299. if x != nil {
  300. return x.Weight
  301. }
  302. return 0
  303. }
  304. func (x *StudyRequest) GetThickness() int32 {
  305. if x != nil {
  306. return x.Thickness
  307. }
  308. return 0
  309. }
  310. func (x *StudyRequest) GetLength() int32 {
  311. if x != nil {
  312. return x.Length
  313. }
  314. return 0
  315. }
  316. func (x *StudyRequest) GetStudyType() string {
  317. if x != nil {
  318. return x.StudyType
  319. }
  320. return ""
  321. }
  322. func (x *StudyRequest) GetChipNumber() string {
  323. if x != nil {
  324. return x.ChipNumber
  325. }
  326. return ""
  327. }
  328. func (x *StudyRequest) GetVariety() string {
  329. if x != nil {
  330. return x.Variety
  331. }
  332. return ""
  333. }
  334. func (x *StudyRequest) GetComment() string {
  335. if x != nil {
  336. return x.Comment
  337. }
  338. return ""
  339. }
  340. func (x *StudyRequest) GetViews() []*ViewRequest {
  341. if x != nil {
  342. return x.Views
  343. }
  344. return nil
  345. }
  346. type CreateImageRequest struct {
  347. state protoimpl.MessageState `protogen:"open.v1"`
  348. StudyId string `protobuf:"bytes,1,opt,name=study_id,json=studyId,proto3" json:"study_id,omitempty"`
  349. Views []*ViewRequest `protobuf:"bytes,2,rep,name=views,proto3" json:"views,omitempty"`
  350. unknownFields protoimpl.UnknownFields
  351. sizeCache protoimpl.SizeCache
  352. }
  353. func (x *CreateImageRequest) Reset() {
  354. *x = CreateImageRequest{}
  355. mi := &file_dr_study_idl_proto_msgTypes[4]
  356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  357. ms.StoreMessageInfo(mi)
  358. }
  359. func (x *CreateImageRequest) String() string {
  360. return protoimpl.X.MessageStringOf(x)
  361. }
  362. func (*CreateImageRequest) ProtoMessage() {}
  363. func (x *CreateImageRequest) ProtoReflect() protoreflect.Message {
  364. mi := &file_dr_study_idl_proto_msgTypes[4]
  365. if x != nil {
  366. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  367. if ms.LoadMessageInfo() == nil {
  368. ms.StoreMessageInfo(mi)
  369. }
  370. return ms
  371. }
  372. return mi.MessageOf(x)
  373. }
  374. // Deprecated: Use CreateImageRequest.ProtoReflect.Descriptor instead.
  375. func (*CreateImageRequest) Descriptor() ([]byte, []int) {
  376. return file_dr_study_idl_proto_rawDescGZIP(), []int{4}
  377. }
  378. func (x *CreateImageRequest) GetStudyId() string {
  379. if x != nil {
  380. return x.StudyId
  381. }
  382. return ""
  383. }
  384. func (x *CreateImageRequest) GetViews() []*ViewRequest {
  385. if x != nil {
  386. return x.Views
  387. }
  388. return nil
  389. }
  390. type Image struct {
  391. state protoimpl.MessageState `protogen:"open.v1"`
  392. SopInstanceId string `protobuf:"bytes,1,opt,name=sop_instance_id,json=sopInstanceId,proto3" json:"sop_instance_id,omitempty"`
  393. SeriesInstanceUid string `protobuf:"bytes,2,opt,name=series_instance_uid,json=seriesInstanceUid,proto3" json:"series_instance_uid,omitempty"`
  394. StudyInstanceUid string `protobuf:"bytes,3,opt,name=study_instance_uid,json=studyInstanceUid,proto3" json:"study_instance_uid,omitempty"`
  395. SecondarySopUid string `protobuf:"bytes,4,opt,name=secondary_sop_uid,json=secondarySopUid,proto3" json:"secondary_sop_uid,omitempty"`
  396. StudyId string `protobuf:"bytes,5,opt,name=study_id,json=studyId,proto3" json:"study_id,omitempty"`
  397. ViewId string `protobuf:"bytes,6,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
  398. ViewDescription string `protobuf:"bytes,7,opt,name=view_description,json=viewDescription,proto3" json:"view_description,omitempty"`
  399. ImageStatus string `protobuf:"bytes,8,opt,name=image_status,json=imageStatus,proto3" json:"image_status,omitempty"`
  400. ImageFilePath string `protobuf:"bytes,9,opt,name=image_file_path,json=imageFilePath,proto3" json:"image_file_path,omitempty"`
  401. AcquisitionMode string `protobuf:"bytes,10,opt,name=acquisition_mode,json=acquisitionMode,proto3" json:"acquisition_mode,omitempty"`
  402. AcquisitionContext *structpb.Struct `protobuf:"bytes,11,opt,name=acquisition_context,json=acquisitionContext,proto3" json:"acquisition_context,omitempty"`
  403. ImgProcContext *structpb.Struct `protobuf:"bytes,12,opt,name=img_proc_context,json=imgProcContext,proto3" json:"img_proc_context,omitempty"`
  404. Sort int32 `protobuf:"varint,13,opt,name=sort,proto3" json:"sort,omitempty"`
  405. Product string `protobuf:"bytes,14,opt,name=product,proto3" json:"product,omitempty"`
  406. IsPreInstall bool `protobuf:"varint,15,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  407. unknownFields protoimpl.UnknownFields
  408. sizeCache protoimpl.SizeCache
  409. }
  410. func (x *Image) Reset() {
  411. *x = Image{}
  412. mi := &file_dr_study_idl_proto_msgTypes[5]
  413. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  414. ms.StoreMessageInfo(mi)
  415. }
  416. func (x *Image) String() string {
  417. return protoimpl.X.MessageStringOf(x)
  418. }
  419. func (*Image) ProtoMessage() {}
  420. func (x *Image) ProtoReflect() protoreflect.Message {
  421. mi := &file_dr_study_idl_proto_msgTypes[5]
  422. if x != nil {
  423. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  424. if ms.LoadMessageInfo() == nil {
  425. ms.StoreMessageInfo(mi)
  426. }
  427. return ms
  428. }
  429. return mi.MessageOf(x)
  430. }
  431. // Deprecated: Use Image.ProtoReflect.Descriptor instead.
  432. func (*Image) Descriptor() ([]byte, []int) {
  433. return file_dr_study_idl_proto_rawDescGZIP(), []int{5}
  434. }
  435. func (x *Image) GetSopInstanceId() string {
  436. if x != nil {
  437. return x.SopInstanceId
  438. }
  439. return ""
  440. }
  441. func (x *Image) GetSeriesInstanceUid() string {
  442. if x != nil {
  443. return x.SeriesInstanceUid
  444. }
  445. return ""
  446. }
  447. func (x *Image) GetStudyInstanceUid() string {
  448. if x != nil {
  449. return x.StudyInstanceUid
  450. }
  451. return ""
  452. }
  453. func (x *Image) GetSecondarySopUid() string {
  454. if x != nil {
  455. return x.SecondarySopUid
  456. }
  457. return ""
  458. }
  459. func (x *Image) GetStudyId() string {
  460. if x != nil {
  461. return x.StudyId
  462. }
  463. return ""
  464. }
  465. func (x *Image) GetViewId() string {
  466. if x != nil {
  467. return x.ViewId
  468. }
  469. return ""
  470. }
  471. func (x *Image) GetViewDescription() string {
  472. if x != nil {
  473. return x.ViewDescription
  474. }
  475. return ""
  476. }
  477. func (x *Image) GetImageStatus() string {
  478. if x != nil {
  479. return x.ImageStatus
  480. }
  481. return ""
  482. }
  483. func (x *Image) GetImageFilePath() string {
  484. if x != nil {
  485. return x.ImageFilePath
  486. }
  487. return ""
  488. }
  489. func (x *Image) GetAcquisitionMode() string {
  490. if x != nil {
  491. return x.AcquisitionMode
  492. }
  493. return ""
  494. }
  495. func (x *Image) GetAcquisitionContext() *structpb.Struct {
  496. if x != nil {
  497. return x.AcquisitionContext
  498. }
  499. return nil
  500. }
  501. func (x *Image) GetImgProcContext() *structpb.Struct {
  502. if x != nil {
  503. return x.ImgProcContext
  504. }
  505. return nil
  506. }
  507. func (x *Image) GetSort() int32 {
  508. if x != nil {
  509. return x.Sort
  510. }
  511. return 0
  512. }
  513. func (x *Image) GetProduct() string {
  514. if x != nil {
  515. return x.Product
  516. }
  517. return ""
  518. }
  519. func (x *Image) GetIsPreInstall() bool {
  520. if x != nil {
  521. return x.IsPreInstall
  522. }
  523. return false
  524. }
  525. type Series struct {
  526. state protoimpl.MessageState `protogen:"open.v1"`
  527. SeriesInstanceUid string `protobuf:"bytes,1,opt,name=series_instance_uid,json=seriesInstanceUid,proto3" json:"series_instance_uid,omitempty"`
  528. StudyInstanceUid string `protobuf:"bytes,2,opt,name=study_instance_uid,json=studyInstanceUid,proto3" json:"study_instance_uid,omitempty"`
  529. StudyId string `protobuf:"bytes,3,opt,name=study_id,json=studyId,proto3" json:"study_id,omitempty"`
  530. ProcedureId string `protobuf:"bytes,4,opt,name=procedure_id,json=procedureId,proto3" json:"procedure_id,omitempty"`
  531. BodyPart string `protobuf:"bytes,5,opt,name=body_part,json=bodyPart,proto3" json:"body_part,omitempty"`
  532. PerformedDatetime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=performed_datetime,json=performedDatetime,proto3" json:"performed_datetime,omitempty"`
  533. PerformedProtocolCodeMeaning string `protobuf:"bytes,7,opt,name=performed_protocol_code_meaning,json=performedProtocolCodeMeaning,proto3" json:"performed_protocol_code_meaning,omitempty"`
  534. PerformedProtocolCodeValue string `protobuf:"bytes,8,opt,name=performed_protocol_code_value,json=performedProtocolCodeValue,proto3" json:"performed_protocol_code_value,omitempty"`
  535. Sort int32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,omitempty"`
  536. Product string `protobuf:"bytes,10,opt,name=product,proto3" json:"product,omitempty"`
  537. IsPreInstall bool `protobuf:"varint,11,opt,name=is_pre_install,json=isPreInstall,proto3" json:"is_pre_install,omitempty"`
  538. Images []*Image `protobuf:"bytes,12,rep,name=images,proto3" json:"images,omitempty"`
  539. unknownFields protoimpl.UnknownFields
  540. sizeCache protoimpl.SizeCache
  541. }
  542. func (x *Series) Reset() {
  543. *x = Series{}
  544. mi := &file_dr_study_idl_proto_msgTypes[6]
  545. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  546. ms.StoreMessageInfo(mi)
  547. }
  548. func (x *Series) String() string {
  549. return protoimpl.X.MessageStringOf(x)
  550. }
  551. func (*Series) ProtoMessage() {}
  552. func (x *Series) ProtoReflect() protoreflect.Message {
  553. mi := &file_dr_study_idl_proto_msgTypes[6]
  554. if x != nil {
  555. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  556. if ms.LoadMessageInfo() == nil {
  557. ms.StoreMessageInfo(mi)
  558. }
  559. return ms
  560. }
  561. return mi.MessageOf(x)
  562. }
  563. // Deprecated: Use Series.ProtoReflect.Descriptor instead.
  564. func (*Series) Descriptor() ([]byte, []int) {
  565. return file_dr_study_idl_proto_rawDescGZIP(), []int{6}
  566. }
  567. func (x *Series) GetSeriesInstanceUid() string {
  568. if x != nil {
  569. return x.SeriesInstanceUid
  570. }
  571. return ""
  572. }
  573. func (x *Series) GetStudyInstanceUid() string {
  574. if x != nil {
  575. return x.StudyInstanceUid
  576. }
  577. return ""
  578. }
  579. func (x *Series) GetStudyId() string {
  580. if x != nil {
  581. return x.StudyId
  582. }
  583. return ""
  584. }
  585. func (x *Series) GetProcedureId() string {
  586. if x != nil {
  587. return x.ProcedureId
  588. }
  589. return ""
  590. }
  591. func (x *Series) GetBodyPart() string {
  592. if x != nil {
  593. return x.BodyPart
  594. }
  595. return ""
  596. }
  597. func (x *Series) GetPerformedDatetime() *timestamppb.Timestamp {
  598. if x != nil {
  599. return x.PerformedDatetime
  600. }
  601. return nil
  602. }
  603. func (x *Series) GetPerformedProtocolCodeMeaning() string {
  604. if x != nil {
  605. return x.PerformedProtocolCodeMeaning
  606. }
  607. return ""
  608. }
  609. func (x *Series) GetPerformedProtocolCodeValue() string {
  610. if x != nil {
  611. return x.PerformedProtocolCodeValue
  612. }
  613. return ""
  614. }
  615. func (x *Series) GetSort() int32 {
  616. if x != nil {
  617. return x.Sort
  618. }
  619. return 0
  620. }
  621. func (x *Series) GetProduct() string {
  622. if x != nil {
  623. return x.Product
  624. }
  625. return ""
  626. }
  627. func (x *Series) GetIsPreInstall() bool {
  628. if x != nil {
  629. return x.IsPreInstall
  630. }
  631. return false
  632. }
  633. func (x *Series) GetImages() []*Image {
  634. if x != nil {
  635. return x.Images
  636. }
  637. return nil
  638. }
  639. type StudyReply struct {
  640. state protoimpl.MessageState `protogen:"open.v1"`
  641. StudyInstanceUid string `protobuf:"bytes,1,opt,name=study_instance_uid,json=studyInstanceUid,proto3" json:"study_instance_uid,omitempty"`
  642. StudyId string `protobuf:"bytes,2,opt,name=study_id,json=studyId,proto3" json:"study_id,omitempty"`
  643. PublicStudyId string `protobuf:"bytes,3,opt,name=public_study_id,json=publicStudyId,proto3" json:"public_study_id,omitempty"`
  644. SpecificCharacterSet string `protobuf:"bytes,4,opt,name=specific_character_set,json=specificCharacterSet,proto3" json:"specific_character_set,omitempty"`
  645. AccessionNumber string `protobuf:"bytes,5,opt,name=accession_number,json=accessionNumber,proto3" json:"accession_number,omitempty"`
  646. RefPhysician string `protobuf:"bytes,6,opt,name=ref_physician,json=refPhysician,proto3" json:"ref_physician,omitempty"`
  647. PatientId string `protobuf:"bytes,7,opt,name=patient_id,json=patientId,proto3" json:"patient_id,omitempty"`
  648. PatientName string `protobuf:"bytes,8,opt,name=patient_name,json=patientName,proto3" json:"patient_name,omitempty"`
  649. PatientSize string `protobuf:"bytes,9,opt,name=patient_size,json=patientSize,proto3" json:"patient_size,omitempty"`
  650. OtherPatientIds string `protobuf:"bytes,10,opt,name=other_patient_ids,json=otherPatientIds,proto3" json:"other_patient_ids,omitempty"`
  651. OtherPatientNames string `protobuf:"bytes,11,opt,name=other_patient_names,json=otherPatientNames,proto3" json:"other_patient_names,omitempty"`
  652. OwnerName string `protobuf:"bytes,12,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
  653. PatientAge string `protobuf:"bytes,13,opt,name=patient_age,json=patientAge,proto3" json:"patient_age,omitempty"`
  654. PatientDob *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=patient_dob,json=patientDob,proto3" json:"patient_dob,omitempty"`
  655. PatientSex string `protobuf:"bytes,15,opt,name=patient_sex,json=patientSex,proto3" json:"patient_sex,omitempty"`
  656. PatientState string `protobuf:"bytes,16,opt,name=patient_state,json=patientState,proto3" json:"patient_state,omitempty"`
  657. AdmittingTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=admitting_time,json=admittingTime,proto3" json:"admitting_time,omitempty"`
  658. Priority string `protobuf:"bytes,18,opt,name=priority,proto3" json:"priority,omitempty"`
  659. RegSource string `protobuf:"bytes,19,opt,name=reg_source,json=regSource,proto3" json:"reg_source,omitempty"`
  660. StudyStatus string `protobuf:"bytes,20,opt,name=study_status,json=studyStatus,proto3" json:"study_status,omitempty"`
  661. StudyDescription string `protobuf:"bytes,21,opt,name=study_description,json=studyDescription,proto3" json:"study_description,omitempty"`
  662. StudyStartDatetime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=study_start_datetime,json=studyStartDatetime,proto3" json:"study_start_datetime,omitempty"`
  663. StudyEndDatetime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=study_end_datetime,json=studyEndDatetime,proto3" json:"study_end_datetime,omitempty"`
  664. ScheduledProcedureStepStartDate *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=scheduled_procedure_step_start_date,json=scheduledProcedureStepStartDate,proto3" json:"scheduled_procedure_step_start_date,omitempty"`
  665. PerformedPhysician string `protobuf:"bytes,25,opt,name=performed_physician,json=performedPhysician,proto3" json:"performed_physician,omitempty"`
  666. StudyLock string `protobuf:"bytes,26,opt,name=study_lock,json=studyLock,proto3" json:"study_lock,omitempty"`
  667. FolderPath string `protobuf:"bytes,27,opt,name=folder_path,json=folderPath,proto3" json:"folder_path,omitempty"`
  668. OperatorName string `protobuf:"bytes,28,opt,name=operator_name,json=operatorName,proto3" json:"operator_name,omitempty"`
  669. Modality string `protobuf:"bytes,29,opt,name=modality,proto3" json:"modality,omitempty"`
  670. Weight int32 `protobuf:"varint,30,opt,name=weight,proto3" json:"weight,omitempty"`
  671. Thickness int32 `protobuf:"varint,31,opt,name=thickness,proto3" json:"thickness,omitempty"`
  672. Length int32 `protobuf:"varint,32,opt,name=length,proto3" json:"length,omitempty"`
  673. PatientType string `protobuf:"bytes,33,opt,name=patient_type,json=patientType,proto3" json:"patient_type,omitempty"`
  674. StudyType string `protobuf:"bytes,34,opt,name=study_type,json=studyType,proto3" json:"study_type,omitempty"`
  675. Mwl string `protobuf:"bytes,35,opt,name=mwl,proto3" json:"mwl,omitempty"`
  676. IsExported bool `protobuf:"varint,36,opt,name=is_exported,json=isExported,proto3" json:"is_exported,omitempty"`
  677. IsEdited bool `protobuf:"varint,37,opt,name=is_edited,json=isEdited,proto3" json:"is_edited,omitempty"`
  678. IsAppended bool `protobuf:"varint,38,opt,name=is_appended,json=isAppended,proto3" json:"is_appended,omitempty"`
  679. Department string `protobuf:"bytes,39,opt,name=department,proto3" json:"department,omitempty"`
  680. MappedStatus bool `protobuf:"varint,40,opt,name=mapped_status,json=mappedStatus,proto3" json:"mapped_status,omitempty"`
  681. QcResult bool `protobuf:"varint,41,opt,name=qc_result,json=qcResult,proto3" json:"qc_result,omitempty"`
  682. Comment string `protobuf:"bytes,42,opt,name=comment,proto3" json:"comment,omitempty"`
  683. Sort int32 `protobuf:"varint,43,opt,name=sort,proto3" json:"sort,omitempty"`
  684. Product string `protobuf:"bytes,44,opt,name=product,proto3" json:"product,omitempty"`
  685. Series []*Series `protobuf:"bytes,45,rep,name=series,proto3" json:"series,omitempty"`
  686. unknownFields protoimpl.UnknownFields
  687. sizeCache protoimpl.SizeCache
  688. }
  689. func (x *StudyReply) Reset() {
  690. *x = StudyReply{}
  691. mi := &file_dr_study_idl_proto_msgTypes[7]
  692. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  693. ms.StoreMessageInfo(mi)
  694. }
  695. func (x *StudyReply) String() string {
  696. return protoimpl.X.MessageStringOf(x)
  697. }
  698. func (*StudyReply) ProtoMessage() {}
  699. func (x *StudyReply) ProtoReflect() protoreflect.Message {
  700. mi := &file_dr_study_idl_proto_msgTypes[7]
  701. if x != nil {
  702. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  703. if ms.LoadMessageInfo() == nil {
  704. ms.StoreMessageInfo(mi)
  705. }
  706. return ms
  707. }
  708. return mi.MessageOf(x)
  709. }
  710. // Deprecated: Use StudyReply.ProtoReflect.Descriptor instead.
  711. func (*StudyReply) Descriptor() ([]byte, []int) {
  712. return file_dr_study_idl_proto_rawDescGZIP(), []int{7}
  713. }
  714. func (x *StudyReply) GetStudyInstanceUid() string {
  715. if x != nil {
  716. return x.StudyInstanceUid
  717. }
  718. return ""
  719. }
  720. func (x *StudyReply) GetStudyId() string {
  721. if x != nil {
  722. return x.StudyId
  723. }
  724. return ""
  725. }
  726. func (x *StudyReply) GetPublicStudyId() string {
  727. if x != nil {
  728. return x.PublicStudyId
  729. }
  730. return ""
  731. }
  732. func (x *StudyReply) GetSpecificCharacterSet() string {
  733. if x != nil {
  734. return x.SpecificCharacterSet
  735. }
  736. return ""
  737. }
  738. func (x *StudyReply) GetAccessionNumber() string {
  739. if x != nil {
  740. return x.AccessionNumber
  741. }
  742. return ""
  743. }
  744. func (x *StudyReply) GetRefPhysician() string {
  745. if x != nil {
  746. return x.RefPhysician
  747. }
  748. return ""
  749. }
  750. func (x *StudyReply) GetPatientId() string {
  751. if x != nil {
  752. return x.PatientId
  753. }
  754. return ""
  755. }
  756. func (x *StudyReply) GetPatientName() string {
  757. if x != nil {
  758. return x.PatientName
  759. }
  760. return ""
  761. }
  762. func (x *StudyReply) GetPatientSize() string {
  763. if x != nil {
  764. return x.PatientSize
  765. }
  766. return ""
  767. }
  768. func (x *StudyReply) GetOtherPatientIds() string {
  769. if x != nil {
  770. return x.OtherPatientIds
  771. }
  772. return ""
  773. }
  774. func (x *StudyReply) GetOtherPatientNames() string {
  775. if x != nil {
  776. return x.OtherPatientNames
  777. }
  778. return ""
  779. }
  780. func (x *StudyReply) GetOwnerName() string {
  781. if x != nil {
  782. return x.OwnerName
  783. }
  784. return ""
  785. }
  786. func (x *StudyReply) GetPatientAge() string {
  787. if x != nil {
  788. return x.PatientAge
  789. }
  790. return ""
  791. }
  792. func (x *StudyReply) GetPatientDob() *timestamppb.Timestamp {
  793. if x != nil {
  794. return x.PatientDob
  795. }
  796. return nil
  797. }
  798. func (x *StudyReply) GetPatientSex() string {
  799. if x != nil {
  800. return x.PatientSex
  801. }
  802. return ""
  803. }
  804. func (x *StudyReply) GetPatientState() string {
  805. if x != nil {
  806. return x.PatientState
  807. }
  808. return ""
  809. }
  810. func (x *StudyReply) GetAdmittingTime() *timestamppb.Timestamp {
  811. if x != nil {
  812. return x.AdmittingTime
  813. }
  814. return nil
  815. }
  816. func (x *StudyReply) GetPriority() string {
  817. if x != nil {
  818. return x.Priority
  819. }
  820. return ""
  821. }
  822. func (x *StudyReply) GetRegSource() string {
  823. if x != nil {
  824. return x.RegSource
  825. }
  826. return ""
  827. }
  828. func (x *StudyReply) GetStudyStatus() string {
  829. if x != nil {
  830. return x.StudyStatus
  831. }
  832. return ""
  833. }
  834. func (x *StudyReply) GetStudyDescription() string {
  835. if x != nil {
  836. return x.StudyDescription
  837. }
  838. return ""
  839. }
  840. func (x *StudyReply) GetStudyStartDatetime() *timestamppb.Timestamp {
  841. if x != nil {
  842. return x.StudyStartDatetime
  843. }
  844. return nil
  845. }
  846. func (x *StudyReply) GetStudyEndDatetime() *timestamppb.Timestamp {
  847. if x != nil {
  848. return x.StudyEndDatetime
  849. }
  850. return nil
  851. }
  852. func (x *StudyReply) GetScheduledProcedureStepStartDate() *timestamppb.Timestamp {
  853. if x != nil {
  854. return x.ScheduledProcedureStepStartDate
  855. }
  856. return nil
  857. }
  858. func (x *StudyReply) GetPerformedPhysician() string {
  859. if x != nil {
  860. return x.PerformedPhysician
  861. }
  862. return ""
  863. }
  864. func (x *StudyReply) GetStudyLock() string {
  865. if x != nil {
  866. return x.StudyLock
  867. }
  868. return ""
  869. }
  870. func (x *StudyReply) GetFolderPath() string {
  871. if x != nil {
  872. return x.FolderPath
  873. }
  874. return ""
  875. }
  876. func (x *StudyReply) GetOperatorName() string {
  877. if x != nil {
  878. return x.OperatorName
  879. }
  880. return ""
  881. }
  882. func (x *StudyReply) GetModality() string {
  883. if x != nil {
  884. return x.Modality
  885. }
  886. return ""
  887. }
  888. func (x *StudyReply) GetWeight() int32 {
  889. if x != nil {
  890. return x.Weight
  891. }
  892. return 0
  893. }
  894. func (x *StudyReply) GetThickness() int32 {
  895. if x != nil {
  896. return x.Thickness
  897. }
  898. return 0
  899. }
  900. func (x *StudyReply) GetLength() int32 {
  901. if x != nil {
  902. return x.Length
  903. }
  904. return 0
  905. }
  906. func (x *StudyReply) GetPatientType() string {
  907. if x != nil {
  908. return x.PatientType
  909. }
  910. return ""
  911. }
  912. func (x *StudyReply) GetStudyType() string {
  913. if x != nil {
  914. return x.StudyType
  915. }
  916. return ""
  917. }
  918. func (x *StudyReply) GetMwl() string {
  919. if x != nil {
  920. return x.Mwl
  921. }
  922. return ""
  923. }
  924. func (x *StudyReply) GetIsExported() bool {
  925. if x != nil {
  926. return x.IsExported
  927. }
  928. return false
  929. }
  930. func (x *StudyReply) GetIsEdited() bool {
  931. if x != nil {
  932. return x.IsEdited
  933. }
  934. return false
  935. }
  936. func (x *StudyReply) GetIsAppended() bool {
  937. if x != nil {
  938. return x.IsAppended
  939. }
  940. return false
  941. }
  942. func (x *StudyReply) GetDepartment() string {
  943. if x != nil {
  944. return x.Department
  945. }
  946. return ""
  947. }
  948. func (x *StudyReply) GetMappedStatus() bool {
  949. if x != nil {
  950. return x.MappedStatus
  951. }
  952. return false
  953. }
  954. func (x *StudyReply) GetQcResult() bool {
  955. if x != nil {
  956. return x.QcResult
  957. }
  958. return false
  959. }
  960. func (x *StudyReply) GetComment() string {
  961. if x != nil {
  962. return x.Comment
  963. }
  964. return ""
  965. }
  966. func (x *StudyReply) GetSort() int32 {
  967. if x != nil {
  968. return x.Sort
  969. }
  970. return 0
  971. }
  972. func (x *StudyReply) GetProduct() string {
  973. if x != nil {
  974. return x.Product
  975. }
  976. return ""
  977. }
  978. func (x *StudyReply) GetSeries() []*Series {
  979. if x != nil {
  980. return x.Series
  981. }
  982. return nil
  983. }
  984. type CreateImageReply struct {
  985. state protoimpl.MessageState `protogen:"open.v1"`
  986. Series []*Series `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
  987. unknownFields protoimpl.UnknownFields
  988. sizeCache protoimpl.SizeCache
  989. }
  990. func (x *CreateImageReply) Reset() {
  991. *x = CreateImageReply{}
  992. mi := &file_dr_study_idl_proto_msgTypes[8]
  993. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  994. ms.StoreMessageInfo(mi)
  995. }
  996. func (x *CreateImageReply) String() string {
  997. return protoimpl.X.MessageStringOf(x)
  998. }
  999. func (*CreateImageReply) ProtoMessage() {}
  1000. func (x *CreateImageReply) ProtoReflect() protoreflect.Message {
  1001. mi := &file_dr_study_idl_proto_msgTypes[8]
  1002. if x != nil {
  1003. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1004. if ms.LoadMessageInfo() == nil {
  1005. ms.StoreMessageInfo(mi)
  1006. }
  1007. return ms
  1008. }
  1009. return mi.MessageOf(x)
  1010. }
  1011. // Deprecated: Use CreateImageReply.ProtoReflect.Descriptor instead.
  1012. func (*CreateImageReply) Descriptor() ([]byte, []int) {
  1013. return file_dr_study_idl_proto_rawDescGZIP(), []int{8}
  1014. }
  1015. func (x *CreateImageReply) GetSeries() []*Series {
  1016. if x != nil {
  1017. return x.Series
  1018. }
  1019. return nil
  1020. }
  1021. type SortRequest struct {
  1022. state protoimpl.MessageState `protogen:"open.v1"`
  1023. SopInstanceId []string `protobuf:"bytes,1,rep,name=sop_instance_id,json=sopInstanceId,proto3" json:"sop_instance_id,omitempty"`
  1024. unknownFields protoimpl.UnknownFields
  1025. sizeCache protoimpl.SizeCache
  1026. }
  1027. func (x *SortRequest) Reset() {
  1028. *x = SortRequest{}
  1029. mi := &file_dr_study_idl_proto_msgTypes[9]
  1030. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1031. ms.StoreMessageInfo(mi)
  1032. }
  1033. func (x *SortRequest) String() string {
  1034. return protoimpl.X.MessageStringOf(x)
  1035. }
  1036. func (*SortRequest) ProtoMessage() {}
  1037. func (x *SortRequest) ProtoReflect() protoreflect.Message {
  1038. mi := &file_dr_study_idl_proto_msgTypes[9]
  1039. if x != nil {
  1040. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1041. if ms.LoadMessageInfo() == nil {
  1042. ms.StoreMessageInfo(mi)
  1043. }
  1044. return ms
  1045. }
  1046. return mi.MessageOf(x)
  1047. }
  1048. // Deprecated: Use SortRequest.ProtoReflect.Descriptor instead.
  1049. func (*SortRequest) Descriptor() ([]byte, []int) {
  1050. return file_dr_study_idl_proto_rawDescGZIP(), []int{9}
  1051. }
  1052. func (x *SortRequest) GetSopInstanceId() []string {
  1053. if x != nil {
  1054. return x.SopInstanceId
  1055. }
  1056. return nil
  1057. }
  1058. var File_dr_study_idl_proto protoreflect.FileDescriptor
  1059. const file_dr_study_idl_proto_rawDesc = "" +
  1060. "\n" +
  1061. "\x12dr_study_idl.proto\x12\bdr.study\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"]\n" +
  1062. "\tIDRequest\x12\x13\n" +
  1063. "\x02id\x18\x01 \x01(\rH\x00R\x02id\x88\x01\x01\x12$\n" +
  1064. "\vinstance_id\x18\x02 \x01(\tH\x01R\n" +
  1065. "instanceId\x88\x01\x01B\x05\n" +
  1066. "\x03_idB\x0e\n" +
  1067. "\f_instance_id\"o\n" +
  1068. "\x11SoftwareInfoReply\x12\x16\n" +
  1069. "\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" +
  1070. "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" +
  1071. "\x05build\x18\x03 \x01(\tR\x05build\x12\x18\n" +
  1072. "\aversion\x18\x04 \x01(\tR\aversion\"I\n" +
  1073. "\vViewRequest\x12\x17\n" +
  1074. "\aview_id\x18\x01 \x01(\tR\x06viewId\x12!\n" +
  1075. "\fprocedure_id\x18\x02 \x01(\tR\vprocedureId\"\xdf\x05\n" +
  1076. "\fStudyRequest\x12)\n" +
  1077. "\x10accession_number\x18\x01 \x01(\tR\x0faccessionNumber\x12\x1d\n" +
  1078. "\n" +
  1079. "patient_id\x18\x02 \x01(\tR\tpatientId\x12!\n" +
  1080. "\fpatient_name\x18\x03 \x01(\tR\vpatientName\x12!\n" +
  1081. "\fpatient_size\x18\x04 \x01(\tR\vpatientSize\x12\x1f\n" +
  1082. "\vpatient_age\x18\x05 \x01(\tR\n" +
  1083. "patientAge\x12;\n" +
  1084. "\vpatient_dob\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
  1085. "patientDob\x12\x1f\n" +
  1086. "\vpatient_sex\x18\a \x01(\tR\n" +
  1087. "patientSex\x12!\n" +
  1088. "\fsex_neutered\x18\b \x01(\tR\vsexNeutered\x12)\n" +
  1089. "\x10pregnancy_status\x18\t \x01(\tR\x0fpregnancyStatus\x12!\n" +
  1090. "\fpatient_type\x18\n" +
  1091. " \x01(\tR\vpatientType\x12#\n" +
  1092. "\rref_physician\x18\v \x01(\tR\frefPhysician\x12\x1f\n" +
  1093. "\voperator_id\x18\f \x01(\tR\n" +
  1094. "operatorId\x12\x1a\n" +
  1095. "\bmodality\x18\r \x01(\tR\bmodality\x12\x16\n" +
  1096. "\x06weight\x18\x0e \x01(\x05R\x06weight\x12\x1c\n" +
  1097. "\tthickness\x18\x0f \x01(\x05R\tthickness\x12\x16\n" +
  1098. "\x06length\x18\x10 \x01(\x05R\x06length\x12\x1d\n" +
  1099. "\n" +
  1100. "study_type\x18\x11 \x01(\tR\tstudyType\x12\x1f\n" +
  1101. "\vchip_number\x18\x12 \x01(\tR\n" +
  1102. "chipNumber\x12\x18\n" +
  1103. "\avariety\x18\x13 \x01(\tR\avariety\x12\x18\n" +
  1104. "\acomment\x18\x14 \x01(\tR\acomment\x12+\n" +
  1105. "\x05views\x18\x15 \x03(\v2\x15.dr.study.ViewRequestR\x05views\"\\\n" +
  1106. "\x12CreateImageRequest\x12\x19\n" +
  1107. "\bstudy_id\x18\x01 \x01(\tR\astudyId\x12+\n" +
  1108. "\x05views\x18\x02 \x03(\v2\x15.dr.study.ViewRequestR\x05views\"\xef\x04\n" +
  1109. "\x05Image\x12&\n" +
  1110. "\x0fsop_instance_id\x18\x01 \x01(\tR\rsopInstanceId\x12.\n" +
  1111. "\x13series_instance_uid\x18\x02 \x01(\tR\x11seriesInstanceUid\x12,\n" +
  1112. "\x12study_instance_uid\x18\x03 \x01(\tR\x10studyInstanceUid\x12*\n" +
  1113. "\x11secondary_sop_uid\x18\x04 \x01(\tR\x0fsecondarySopUid\x12\x19\n" +
  1114. "\bstudy_id\x18\x05 \x01(\tR\astudyId\x12\x17\n" +
  1115. "\aview_id\x18\x06 \x01(\tR\x06viewId\x12)\n" +
  1116. "\x10view_description\x18\a \x01(\tR\x0fviewDescription\x12!\n" +
  1117. "\fimage_status\x18\b \x01(\tR\vimageStatus\x12&\n" +
  1118. "\x0fimage_file_path\x18\t \x01(\tR\rimageFilePath\x12)\n" +
  1119. "\x10acquisition_mode\x18\n" +
  1120. " \x01(\tR\x0facquisitionMode\x12H\n" +
  1121. "\x13acquisition_context\x18\v \x01(\v2\x17.google.protobuf.StructR\x12acquisitionContext\x12A\n" +
  1122. "\x10img_proc_context\x18\f \x01(\v2\x17.google.protobuf.StructR\x0eimgProcContext\x12\x12\n" +
  1123. "\x04sort\x18\r \x01(\x05R\x04sort\x12\x18\n" +
  1124. "\aproduct\x18\x0e \x01(\tR\aproduct\x12$\n" +
  1125. "\x0eis_pre_install\x18\x0f \x01(\bR\fisPreInstall\"\x93\x04\n" +
  1126. "\x06Series\x12.\n" +
  1127. "\x13series_instance_uid\x18\x01 \x01(\tR\x11seriesInstanceUid\x12,\n" +
  1128. "\x12study_instance_uid\x18\x02 \x01(\tR\x10studyInstanceUid\x12\x19\n" +
  1129. "\bstudy_id\x18\x03 \x01(\tR\astudyId\x12!\n" +
  1130. "\fprocedure_id\x18\x04 \x01(\tR\vprocedureId\x12\x1b\n" +
  1131. "\tbody_part\x18\x05 \x01(\tR\bbodyPart\x12I\n" +
  1132. "\x12performed_datetime\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x11performedDatetime\x12E\n" +
  1133. "\x1fperformed_protocol_code_meaning\x18\a \x01(\tR\x1cperformedProtocolCodeMeaning\x12A\n" +
  1134. "\x1dperformed_protocol_code_value\x18\b \x01(\tR\x1aperformedProtocolCodeValue\x12\x12\n" +
  1135. "\x04sort\x18\t \x01(\x05R\x04sort\x12\x18\n" +
  1136. "\aproduct\x18\n" +
  1137. " \x01(\tR\aproduct\x12$\n" +
  1138. "\x0eis_pre_install\x18\v \x01(\bR\fisPreInstall\x12'\n" +
  1139. "\x06images\x18\f \x03(\v2\x0f.dr.study.ImageR\x06images\"\xde\r\n" +
  1140. "\n" +
  1141. "StudyReply\x12,\n" +
  1142. "\x12study_instance_uid\x18\x01 \x01(\tR\x10studyInstanceUid\x12\x19\n" +
  1143. "\bstudy_id\x18\x02 \x01(\tR\astudyId\x12&\n" +
  1144. "\x0fpublic_study_id\x18\x03 \x01(\tR\rpublicStudyId\x124\n" +
  1145. "\x16specific_character_set\x18\x04 \x01(\tR\x14specificCharacterSet\x12)\n" +
  1146. "\x10accession_number\x18\x05 \x01(\tR\x0faccessionNumber\x12#\n" +
  1147. "\rref_physician\x18\x06 \x01(\tR\frefPhysician\x12\x1d\n" +
  1148. "\n" +
  1149. "patient_id\x18\a \x01(\tR\tpatientId\x12!\n" +
  1150. "\fpatient_name\x18\b \x01(\tR\vpatientName\x12!\n" +
  1151. "\fpatient_size\x18\t \x01(\tR\vpatientSize\x12*\n" +
  1152. "\x11other_patient_ids\x18\n" +
  1153. " \x01(\tR\x0fotherPatientIds\x12.\n" +
  1154. "\x13other_patient_names\x18\v \x01(\tR\x11otherPatientNames\x12\x1d\n" +
  1155. "\n" +
  1156. "owner_name\x18\f \x01(\tR\townerName\x12\x1f\n" +
  1157. "\vpatient_age\x18\r \x01(\tR\n" +
  1158. "patientAge\x12;\n" +
  1159. "\vpatient_dob\x18\x0e \x01(\v2\x1a.google.protobuf.TimestampR\n" +
  1160. "patientDob\x12\x1f\n" +
  1161. "\vpatient_sex\x18\x0f \x01(\tR\n" +
  1162. "patientSex\x12#\n" +
  1163. "\rpatient_state\x18\x10 \x01(\tR\fpatientState\x12A\n" +
  1164. "\x0eadmitting_time\x18\x11 \x01(\v2\x1a.google.protobuf.TimestampR\radmittingTime\x12\x1a\n" +
  1165. "\bpriority\x18\x12 \x01(\tR\bpriority\x12\x1d\n" +
  1166. "\n" +
  1167. "reg_source\x18\x13 \x01(\tR\tregSource\x12!\n" +
  1168. "\fstudy_status\x18\x14 \x01(\tR\vstudyStatus\x12+\n" +
  1169. "\x11study_description\x18\x15 \x01(\tR\x10studyDescription\x12L\n" +
  1170. "\x14study_start_datetime\x18\x16 \x01(\v2\x1a.google.protobuf.TimestampR\x12studyStartDatetime\x12H\n" +
  1171. "\x12study_end_datetime\x18\x17 \x01(\v2\x1a.google.protobuf.TimestampR\x10studyEndDatetime\x12h\n" +
  1172. "#scheduled_procedure_step_start_date\x18\x18 \x01(\v2\x1a.google.protobuf.TimestampR\x1fscheduledProcedureStepStartDate\x12/\n" +
  1173. "\x13performed_physician\x18\x19 \x01(\tR\x12performedPhysician\x12\x1d\n" +
  1174. "\n" +
  1175. "study_lock\x18\x1a \x01(\tR\tstudyLock\x12\x1f\n" +
  1176. "\vfolder_path\x18\x1b \x01(\tR\n" +
  1177. "folderPath\x12#\n" +
  1178. "\roperator_name\x18\x1c \x01(\tR\foperatorName\x12\x1a\n" +
  1179. "\bmodality\x18\x1d \x01(\tR\bmodality\x12\x16\n" +
  1180. "\x06weight\x18\x1e \x01(\x05R\x06weight\x12\x1c\n" +
  1181. "\tthickness\x18\x1f \x01(\x05R\tthickness\x12\x16\n" +
  1182. "\x06length\x18 \x01(\x05R\x06length\x12!\n" +
  1183. "\fpatient_type\x18! \x01(\tR\vpatientType\x12\x1d\n" +
  1184. "\n" +
  1185. "study_type\x18\" \x01(\tR\tstudyType\x12\x10\n" +
  1186. "\x03mwl\x18# \x01(\tR\x03mwl\x12\x1f\n" +
  1187. "\vis_exported\x18$ \x01(\bR\n" +
  1188. "isExported\x12\x1b\n" +
  1189. "\tis_edited\x18% \x01(\bR\bisEdited\x12\x1f\n" +
  1190. "\vis_appended\x18& \x01(\bR\n" +
  1191. "isAppended\x12\x1e\n" +
  1192. "\n" +
  1193. "department\x18' \x01(\tR\n" +
  1194. "department\x12#\n" +
  1195. "\rmapped_status\x18( \x01(\bR\fmappedStatus\x12\x1b\n" +
  1196. "\tqc_result\x18) \x01(\bR\bqcResult\x12\x18\n" +
  1197. "\acomment\x18* \x01(\tR\acomment\x12\x12\n" +
  1198. "\x04sort\x18+ \x01(\x05R\x04sort\x12\x18\n" +
  1199. "\aproduct\x18, \x01(\tR\aproduct\x12(\n" +
  1200. "\x06series\x18- \x03(\v2\x10.dr.study.SeriesR\x06series\"<\n" +
  1201. "\x10CreateImageReply\x12(\n" +
  1202. "\x06series\x18\x01 \x03(\v2\x10.dr.study.SeriesR\x06series\"5\n" +
  1203. "\vSortRequest\x12&\n" +
  1204. "\x0fsop_instance_id\x18\x01 \x03(\tR\rsopInstanceId2N\n" +
  1205. "\x05Basic\x12E\n" +
  1206. "\fSoftwareInfo\x12\x16.google.protobuf.Empty\x1a\x1b.dr.study.SoftwareInfoReply\"\x002\x86\x03\n" +
  1207. "\x05Study\x12=\n" +
  1208. "\vCreateStudy\x12\x16.dr.study.StudyRequest\x1a\x14.dr.study.StudyReply\"\x00\x127\n" +
  1209. "\bGetStudy\x12\x13.dr.study.IDRequest\x1a\x14.dr.study.StudyReply\"\x00\x12I\n" +
  1210. "\vCreateImage\x12\x1c.dr.study.CreateImageRequest\x1a\x1a.dr.study.CreateImageReply\"\x00\x12>\n" +
  1211. "\tCopyImage\x12\x13.dr.study.IDRequest\x1a\x1a.dr.study.CreateImageReply\"\x00\x12<\n" +
  1212. "\vDeleteImage\x12\x13.dr.study.IDRequest\x1a\x16.google.protobuf.Empty\"\x00\x12<\n" +
  1213. "\tSortImage\x12\x15.dr.study.SortRequest\x1a\x16.google.protobuf.Empty\"\x00B\x0eZ\fdr_study_pb/b\x06proto3"
  1214. var (
  1215. file_dr_study_idl_proto_rawDescOnce sync.Once
  1216. file_dr_study_idl_proto_rawDescData []byte
  1217. )
  1218. func file_dr_study_idl_proto_rawDescGZIP() []byte {
  1219. file_dr_study_idl_proto_rawDescOnce.Do(func() {
  1220. file_dr_study_idl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dr_study_idl_proto_rawDesc), len(file_dr_study_idl_proto_rawDesc)))
  1221. })
  1222. return file_dr_study_idl_proto_rawDescData
  1223. }
  1224. var file_dr_study_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  1225. var file_dr_study_idl_proto_goTypes = []any{
  1226. (*IDRequest)(nil), // 0: dr.study.IDRequest
  1227. (*SoftwareInfoReply)(nil), // 1: dr.study.SoftwareInfoReply
  1228. (*ViewRequest)(nil), // 2: dr.study.ViewRequest
  1229. (*StudyRequest)(nil), // 3: dr.study.StudyRequest
  1230. (*CreateImageRequest)(nil), // 4: dr.study.CreateImageRequest
  1231. (*Image)(nil), // 5: dr.study.Image
  1232. (*Series)(nil), // 6: dr.study.Series
  1233. (*StudyReply)(nil), // 7: dr.study.StudyReply
  1234. (*CreateImageReply)(nil), // 8: dr.study.CreateImageReply
  1235. (*SortRequest)(nil), // 9: dr.study.SortRequest
  1236. (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp
  1237. (*structpb.Struct)(nil), // 11: google.protobuf.Struct
  1238. (*emptypb.Empty)(nil), // 12: google.protobuf.Empty
  1239. }
  1240. var file_dr_study_idl_proto_depIdxs = []int32{
  1241. 10, // 0: dr.study.StudyRequest.patient_dob:type_name -> google.protobuf.Timestamp
  1242. 2, // 1: dr.study.StudyRequest.views:type_name -> dr.study.ViewRequest
  1243. 2, // 2: dr.study.CreateImageRequest.views:type_name -> dr.study.ViewRequest
  1244. 11, // 3: dr.study.Image.acquisition_context:type_name -> google.protobuf.Struct
  1245. 11, // 4: dr.study.Image.img_proc_context:type_name -> google.protobuf.Struct
  1246. 10, // 5: dr.study.Series.performed_datetime:type_name -> google.protobuf.Timestamp
  1247. 5, // 6: dr.study.Series.images:type_name -> dr.study.Image
  1248. 10, // 7: dr.study.StudyReply.patient_dob:type_name -> google.protobuf.Timestamp
  1249. 10, // 8: dr.study.StudyReply.admitting_time:type_name -> google.protobuf.Timestamp
  1250. 10, // 9: dr.study.StudyReply.study_start_datetime:type_name -> google.protobuf.Timestamp
  1251. 10, // 10: dr.study.StudyReply.study_end_datetime:type_name -> google.protobuf.Timestamp
  1252. 10, // 11: dr.study.StudyReply.scheduled_procedure_step_start_date:type_name -> google.protobuf.Timestamp
  1253. 6, // 12: dr.study.StudyReply.series:type_name -> dr.study.Series
  1254. 6, // 13: dr.study.CreateImageReply.series:type_name -> dr.study.Series
  1255. 12, // 14: dr.study.Basic.SoftwareInfo:input_type -> google.protobuf.Empty
  1256. 3, // 15: dr.study.Study.CreateStudy:input_type -> dr.study.StudyRequest
  1257. 0, // 16: dr.study.Study.GetStudy:input_type -> dr.study.IDRequest
  1258. 4, // 17: dr.study.Study.CreateImage:input_type -> dr.study.CreateImageRequest
  1259. 0, // 18: dr.study.Study.CopyImage:input_type -> dr.study.IDRequest
  1260. 0, // 19: dr.study.Study.DeleteImage:input_type -> dr.study.IDRequest
  1261. 9, // 20: dr.study.Study.SortImage:input_type -> dr.study.SortRequest
  1262. 1, // 21: dr.study.Basic.SoftwareInfo:output_type -> dr.study.SoftwareInfoReply
  1263. 7, // 22: dr.study.Study.CreateStudy:output_type -> dr.study.StudyReply
  1264. 7, // 23: dr.study.Study.GetStudy:output_type -> dr.study.StudyReply
  1265. 8, // 24: dr.study.Study.CreateImage:output_type -> dr.study.CreateImageReply
  1266. 8, // 25: dr.study.Study.CopyImage:output_type -> dr.study.CreateImageReply
  1267. 12, // 26: dr.study.Study.DeleteImage:output_type -> google.protobuf.Empty
  1268. 12, // 27: dr.study.Study.SortImage:output_type -> google.protobuf.Empty
  1269. 21, // [21:28] is the sub-list for method output_type
  1270. 14, // [14:21] is the sub-list for method input_type
  1271. 14, // [14:14] is the sub-list for extension type_name
  1272. 14, // [14:14] is the sub-list for extension extendee
  1273. 0, // [0:14] is the sub-list for field type_name
  1274. }
  1275. func init() { file_dr_study_idl_proto_init() }
  1276. func file_dr_study_idl_proto_init() {
  1277. if File_dr_study_idl_proto != nil {
  1278. return
  1279. }
  1280. file_dr_study_idl_proto_msgTypes[0].OneofWrappers = []any{}
  1281. type x struct{}
  1282. out := protoimpl.TypeBuilder{
  1283. File: protoimpl.DescBuilder{
  1284. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1285. RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_study_idl_proto_rawDesc), len(file_dr_study_idl_proto_rawDesc)),
  1286. NumEnums: 0,
  1287. NumMessages: 10,
  1288. NumExtensions: 0,
  1289. NumServices: 2,
  1290. },
  1291. GoTypes: file_dr_study_idl_proto_goTypes,
  1292. DependencyIndexes: file_dr_study_idl_proto_depIdxs,
  1293. MessageInfos: file_dr_study_idl_proto_msgTypes,
  1294. }.Build()
  1295. File_dr_study_idl_proto = out.File
  1296. file_dr_study_idl_proto_goTypes = nil
  1297. file_dr_study_idl_proto_depIdxs = nil
  1298. }