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;}
[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."]]],["The content defines the structure for \"AppointmentTypeFeed\" data, recommending JSON format for uploads. An `AppointmentType` includes a unique `appointment_type_id` and a displayable `name`. The `name` uses a `Text` message, containing a default `value` and `localized_value` for specific locales (only \"en-US\" supported). A sample `AppointmentTypeFeed` demonstrates various appointment types, like \"New Patient\" and \"Follow Up,\" each with an ID and localized name. A descriptor file is also defined, providing information about data file.\n"]]