|
@@ -16,3 +16,46 @@ message SoftwareInfoReply {
|
|
|
string build = 3;
|
|
|
string version = 4;
|
|
|
}
|
|
|
+
|
|
|
+service Protocol {
|
|
|
+ rpc GetPatientType (PatientTypeRequest) returns (PatientTypeReply) {}
|
|
|
+ rpc GetBodyPart (BodyPartRequest) returns (BodyPartReply) {}
|
|
|
+}
|
|
|
+
|
|
|
+message PatientTypeRequest {
|
|
|
+ optional bool is_enabled = 1;
|
|
|
+ optional bool is_pre_install = 2;
|
|
|
+}
|
|
|
+
|
|
|
+message PatientTypeReply {
|
|
|
+ uint64 id = 1;
|
|
|
+ string patient_type_id = 2;
|
|
|
+ string patient_type_name = 3;
|
|
|
+ string patient_type_i18n = 4;
|
|
|
+ string patient_type_description = 5;
|
|
|
+ int32 sort = 6;
|
|
|
+ bool is_enabled = 7;
|
|
|
+ string product = 8;
|
|
|
+ bool is_pre_install = 9;
|
|
|
+}
|
|
|
+
|
|
|
+message BodyPartRequest {
|
|
|
+ optional string patient_type = 1;
|
|
|
+ optional string category = 2;
|
|
|
+ optional bool is_enabled = 3;
|
|
|
+ optional bool is_pre_install = 4;
|
|
|
+}
|
|
|
+
|
|
|
+message BodyPartReply {
|
|
|
+ uint64 id = 1;
|
|
|
+ string body_part_id = 2;
|
|
|
+ string body_part_name = 3;
|
|
|
+ string body_part_i18n = 4;
|
|
|
+ string body_part_description = 5;
|
|
|
+ string patient_type = 6;
|
|
|
+ string category = 7;
|
|
|
+ int32 sort = 8;
|
|
|
+ bool is_enabled = 9;
|
|
|
+ string product = 10;
|
|
|
+ bool is_pre_install = 11;
|
|
|
+}
|