Facility feed

FacilityFeed Definition

message FacilityFeed {
  repeated Facility data = 1;
}

Facility Definition

// Info about a healthcare facility on the partner's platform. It could be a
// location/clinic that one or multiple practitioners work at. It could also be
// a bookable facility, like a test center.
// A FacilityFeed should be a list of this message.
message Facility {
  // An opaque string generated by the partner that identifies a facility.
  // Must be unique across all facilities.
  // Strongly recommended to only include URL-safe characters. (required)
  string facility_id = 1;
  // The name, telephone, url and geo are used to support matching partner
  // inventory with merchants/locations already present on Google Maps. This
  // information will not be displayed.
  //
  // The name of the facility. (required)
  string name = 2;
  // The contact telephone number of the facility including its country and area
  // codes, e.g. +14567891234. Highly recommended. (optional)
  string telephone = 3;
  // The url of the facility's public website. Highly recommended. (optional)
  string url = 4;
  // National Provider Identifier Standard (NPI) for identifying a specific
  // practitioner. (optional)
  string npi = 5;
  // The Geo info of the facility, including latitude, longitude, and address.
  // (required)
  GeoCoordinates geo = 6;
  // This field is deprecated and will not be considered.
  bool is_booking_by_facility = 7 [deprecated = true];
  // This field is deprecated and will not be considered.
  repeated ServiceAttribute service_attribute = 8 [deprecated = true];
  // This field is deprecated and will not be considered.
  string brand_id = 9 [deprecated = true];

  // An action URL with associated language, list of countries restricted to,
  // type, and optional platform that indicates which platform this action
  // should be performed on. This action link is specifically for the merchant,
  // please use the ActionLink in the service feed to link to a specific
  // service. (required if the booking link needs to be shown in facility's
  // profile in Google Search/Map, namely is_booking_by_facility is true)
  repeated ActionLink action_link = 10;

  // The ID of the health system that the facility belongs to. (required)
  string health_system_id = 11;
}

GeoCoordinates Definition

// The Geo data of a location, including latitude, longitude, and address.
message GeoCoordinates {
  // Optional.
  google.type.LatLng lat_lng = 1;

  // Address for a location, could either be structured or unstructured.
  // (required)
  oneof address {
    // Postal address of the location, preferred.
    PostalAddress postal_address = 2;
    // An unstructured address could also be provided as a fallback.
    // E.g. "1600 amphitheatre parkway mountain view, ca 94043"
    string unstructured_address = 3;
  }
}

PostalAddress Definition

// The postal address for a merchant.
message PostalAddress {
  // The country, e.g. "US". (required)
  string country = 1;
  // The locality/city, e.g. "Mountain View". (required)
  string locality = 2;
  // The region/state/province, e.g. "CA". This field is only required in
  // countries where region is commonly a part of the address. (optional)
  string region = 3;
  // The postal code, e.g. "94043". (required)
  string postal_code = 4;
  // The street address, e.g. "1600 Amphitheatre Pkwy". (required)
  string street_address = 5;
}
// An action URL with associated language, list of countries restricted to, and
// optional platform that indicates which platform this action should be
// performed on.
message ActionLink {
  // The entry point URL for this action link. (required)
  string url = 1;

  // The BCP-47 language tag identifying the language in which the content
  // from this URI is available. (optional)
  string language = 2;

  // An unordered list of ISO 3166-1 alpha-2 country codes. Leave empty for
  // unrestricted visibility. (optional)
  repeated string restricted_country = 3;

  // Available dates for the action. Assumed to be in the practitioner's
  // timezone. (not needed if availability feeds are provided)
  //
  // Reference for google.type.Date:
  // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
  repeated google.type.Date available_date = 4 [deprecated = true];
}