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-11-26。"],[[["AppointmentTypeFeed is a list of AppointmentType messages, defining the types of appointments supported by a partner."],["Each AppointmentType is uniquely identified by `appointment_type_id` and has a display name defined by the `name` field."],["The `name` field can contain localized text using the `localized_value` property within the `Text` message."],["The feeds, although defined in protobuffer format, are recommended to be uploaded in JSON format, as shown in the samples."],["Currently, only the \"en-US\" locale is supported for localized text within the `LocalizedString` message."]]],[]]