dr_study_idl.proto 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. syntax = "proto3";
  2. option go_package = "dr_study_pb/";
  3. package dr.study;
  4. message EmptyRequest {}
  5. service Basic {
  6. rpc SoftwareInfo (EmptyRequest) returns (SoftwareInfoReply) {}
  7. }
  8. message SoftwareInfoReply {
  9. string module = 1;
  10. string desc = 2;
  11. string build = 3;
  12. string version = 4;
  13. }
  14. service Study {
  15. rpc CreateStudy (DicomStudy) returns (DicomStudy) {}
  16. }
  17. message AcquisitionContext {
  18. string work_station_id = 1;
  19. }
  20. message View {
  21. string study_id = 1;
  22. string study_instance_uid = 2;
  23. string series_instance_uid = 3;
  24. int32 series_number = 4;
  25. string view_id = 5;
  26. string view_description = 6;
  27. string body_part = 7;
  28. string comments = 8;
  29. string performed_datetime = 9;
  30. string performed_protocol_code_meaning = 10;
  31. string performed_protocol_code_value = 11;
  32. string procedure_code = 12;
  33. int32 order = 13;
  34. string acquisition_mode = 14;
  35. string series_type = 15;
  36. string acquisition_series_id = 16;
  37. int32 acquisition_order = 17;
  38. int32 data_order = 18;
  39. AcquisitionContext acquisition_context = 19;
  40. string expose_status = 20;
  41. bool is_delete = 21;
  42. string image_folder = 22;
  43. int32 image_count = 23;
  44. int32 series_group_id = 24;
  45. string creation_time = 25;
  46. string series_status = 26;
  47. string ai_id = 27;
  48. string ai_status = 28;
  49. repeated string images = 29;
  50. }
  51. message WorkRef {
  52. string title = 1;
  53. string suffix = 2;
  54. string pregnancy_status = 3;
  55. string study_comment = 4;
  56. string patient_comments = 5;
  57. }
  58. message DicomStudy {
  59. string study_instance_uid = 1;
  60. string study_id = 2;
  61. string public_study_id = 3;
  62. string specific_character_set = 4;
  63. string accession_number = 5;
  64. string ref_physician = 6;
  65. string patient_id = 7;
  66. string patient_name = 8;
  67. string patient_size = 9;
  68. string other_patient_ids = 10;
  69. string other_patient_names = 11;
  70. string owner_name = 12;
  71. string patient_age = 13;
  72. string patient_sex = 14;
  73. string sex_neuter = 15; //绝育
  74. string special_needs = 16;
  75. string current_patient_location = 17;
  76. string patient_state = 18;
  77. string admitting_time = 19;
  78. string admission_id = 20;
  79. string scheduled_ae_title = 21;
  80. string priority = 22;
  81. string reg_source = 23;
  82. string study_status = 24;
  83. string requested_procedure_id = 25;
  84. string scheduled_procedure_step_id = 26;
  85. string scheduled_protocol_code_value = 27;
  86. string performed_protocol_code_value = 28;
  87. string performed_protocol_code_meaning = 29;
  88. string performed_procedure_step_id = 30;
  89. string study_description = 31;
  90. string study_start_datetime = 32;
  91. string study_end_datetime = 33;
  92. string scheduled_procedure_step_start_date = 34;
  93. string mpps_instance_uid = 35;
  94. string performed_physician = 36;
  95. string study_lock = 37;
  96. string folder_path = 38;
  97. string operator_id = 39;
  98. string modality = 40;
  99. string send_status = 41;
  100. string print_status = 42;
  101. repeated View views = 43;
  102. string weight = 44;
  103. int32 thickness = 45;
  104. int32 length = 46;
  105. string register_code = 47;
  106. string breed_code = 48;
  107. string patient_type = 49;
  108. string study_type = 50;
  109. string mwl = 51;
  110. string qr_code = 52;
  111. bool is_exported = 53;
  112. bool is_edited = 54;
  113. WorkRef work_ref = 55;
  114. bool is_appended = 56;
  115. string creation_time = 57;
  116. string body_part = 58;
  117. string department = 59;
  118. string patient_position = 60;
  119. bool mapped_status = 61;
  120. bool is_delete = 62;
  121. string delete_time = 63;
  122. string tag = 64;
  123. string procedure_code = 65;
  124. bool qc_result = 66;
  125. string report_status = 67;
  126. }