Browse Source

GetPatientType
GetBodyPart

shao 1 week ago
parent
commit
45e4472f28
1 changed files with 11 additions and 2 deletions
  1. 11 2
      dr_protocol_idl.proto

+ 11 - 2
dr_protocol_idl.proto

@@ -27,7 +27,7 @@ message PatientTypeRequest {
   optional bool is_pre_install = 2;
 }
 
-message PatientTypeReply {
+message PatientType {
   uint64 id = 1;
   string patient_type_id = 2;
   string patient_type_name = 3;
@@ -39,6 +39,10 @@ message PatientTypeReply {
   bool   is_pre_install = 9;
 }
 
+message PatientTypeReply {
+  repeated PatientType patient_type_list = 1;
+}
+
 message BodyPartRequest {
   optional string patient_type = 1;
   optional string category = 2;
@@ -46,7 +50,7 @@ message BodyPartRequest {
   optional bool is_pre_install = 4;
 }
 
-message BodyPartReply {
+message BodyPart {
   uint64 id = 1;
   string body_part_id = 2;
   string body_part_name = 3;
@@ -59,3 +63,8 @@ message BodyPartReply {
   string product = 10;
   bool   is_pre_install = 11;
 }
+
+
+message BodyPartReply {
+  repeated BodyPart body_part_list = 1;
+}