REST API
Locations & Doctors
Location Object
locations describe a physical, geographical location representing an office for a practice creating recommendations requires a patient id , so a patient record must be created prior to creating a recommendation { "location id" 12345, "location name" "main office", "city" "chicago", "region id" "il", "country id" "us", "address" \[ "street address", "office suite" ], "postcode" "", "telephone" "", "doctors" \[{ "doctor id" 321, "doctor name" "dr wasserman", "email" "drwass\@example com", "first name" "jim", "last name" "wasserman", "telephone" "" }] } core attributes location id integer the main identifier for this object location name string a human readable name for this location doctors array an array of doctor objects associated with this location the array may be represented as empty if no doctors are associated see the doctor object for detailed information additional attributes address1 string line 1 of a street address for the location address2 string line 2 of a street address for the location city string city name of the location postcode string geographical postal code for the location region id string 2 letter state abbreviation country id string 2 letter country abbreviation telephone string main telephone number for the location