message AppointmentTypeFeed {
repeated AppointmentType data = 1;
}
AppointmentType 的定义
// Info about an appointment type which is supported on the partner's// platform. E.g. "New patient", "Followup" An AppointmentTypeFeed should be a// list of this message.messageAppointmentType{// An opaque string generated by the partner that identifies an appointment// type. Must be unique across all appointment types. Strongly recommended to// only include URL-safe characters. (required)stringappointment_type_id=1;// The name of the appointment type to be displayed. (required)Textname=2;// ...}
// Instance of a string in one locale.messageLocalizedString{// IETF BCP 47 language code, such as "en", "mas", "zh-Hant", "de-CH-1901".// See http://www.w3.org/International/articles/language-tags/.// Only "en-US" is currently supported. All other values will be ignored.stringlocale=1;// Message in the locale above (UTF-8).stringvalue=2;}
预约类型 Feed 示例
预约类型 Feed
{"data":[{"appointment_type_id":"appointment_type_00001","name":{"value":"New Patient","localized_value":[{"locale":"en","value":"New Patient"}]}},{"appointment_type_id":"appointment_type_00002","name":{"value":"Follow Up","localized_value":[{"locale":"en","value":"Follow Up"}]}},{"appointment_type_id":"appointment_type_00003","name":{"value":"Sick/Acute Problem - New Patient","localized_value":[{"locale":"en","value":"Sick/Acute Problem - New Patient"}]}}]}
[null,null,["最后更新时间 (UTC):2024-10-14。"],[[["AppointmentTypeFeed is a list of AppointmentType messages, which define various appointment types supported by a partner's platform."],["Each AppointmentType must have a unique `appointment_type_id` and a display `name`."],["The `name` field can be localized using the `localized_value` field within the `Text` message, currently supporting only \"en-US\" locale."],["Feeds are recommended to be uploaded in JSON format, despite being defined using protobuffer."],["Sample JSON feeds and a descriptor file are provided for reference and understanding of the feed structure."]]],[]]