dr_study_idl.pb.go 43 KB

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