12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- syntax = "proto3";
- option go_package = "dr_protocol_pb/";
- package dr.protocol;
- message EmptyRequest {}
- service Basic {
- rpc SoftwareInfo (EmptyRequest) returns (SoftwareInfoReply) {}
- }
- message SoftwareInfoReply {
- string module = 1;
- string desc = 2;
- 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;
- }
|