Ray Rivas, M.D.
Ray Rivas, M.D. is a Psychiatry Physician in San Luis Obispo, CA, registered under NPI 1003173816. This provider registers 2 separate taxonomy codes, which usually means they practise across more than one recognised specialty. NPPES records them as a sole proprietor, meaning the practice is not incorporated as a separate legal entity.
Getting there
Here is what surrounds this office in San Luis Obispo, based on OpenStreetMap data collected Sep 9, 2026. Parking is available about 109 ft away. The nearest transit stop is 675 ft away, served by 9. A pharmacy sits 0.29 mi from the entrance (Rite Aid), which helps if you leave with a prescription. If you arrive early, there is a coffee shop 0.37 mi away.
Getting here and what is nearby
Parking 58 ft ~1 min
Parking 107 ft ~1 min
Parking 109 ft ~1 min
Transit Foothill at Casa (EB) 639 ft ~3 min
Transit Foothill at Casa (WB) 669 ft ~3 min
Transit 9 675 ft ~3 min
Restaurant Taqueria San Miguel 0.20 mi ~4 min
Gas station Shell 0.22 mi ~5 min
Gas station Chevron 0.25 mi ~6 min
Restaurant Kona's Deli 0.25 mi ~6 min
Convenience 7-Eleven 0.26 mi ~6 min
552 California Boulevard, San Luis Obispo 93405-1905
Gas station Conserv Fuel 0.27 mi ~6 min
Pharmacy Rite Aid 0.29 mi ~6 min
Restaurant G Brothers Smokehouse 0.29 mi ~6 min
885 Foothill Boulevard, San Luis Obispo 93405
Mo-Su 07:30-21:00
Coffee Scout Coffee 0.32 mi ~7 min
880 Foothill Boulevard, San Luis Obispo 93405
Sa 07:30-16:30; Su-Fr 07:30-14:30
Grocery Lassens Natural Foods & Vitamins 0.34 mi ~7 min
Coffee Milk In It 0.36 mi ~8 min
858 Foothill Boulevard, San Luis Obispo 93405
Mo-Su 12:00-22:00
Coffee Starbucks 0.37 mi ~8 min
Hotel San Luis Inn and Suites 0.37 mi ~8 min
404 Santa Rosa
Hotel Heritage Inn Bed & Breakfast 0.45 mi ~10 min
Grocery California Fresh Market 0.48 mi ~10 min
Hotel Homestead Motel 0.49 mi ~10 min
920 Olive
Distances are straight‑line estimates — walking routes may be longer. Hours and phone numbers can change; call ahead to confirm.
Credentials and Medicare
| Licence | State | Specialty |
|---|---|---|
| A164066 | CA | Surgery Physician |
| A164066 | CA | Psychiatry Physician primary |
This provider holds licence A164066 issued in CA. A licence number in NPPES reflects what was filed at registration — it does not confirm the licence is still active today.
- Status
- Approved
- Provider type
- Practitioner - General Surgery
- PAC ID
- 6204117278
- Enrollment ID
- I20190913002956
Medicare enrolment is recorded as approved under the provider type Practitioner - General Surgery. Being enrolled means the provider can bill Medicare; it does not tell you whether they are currently accepting new Medicare patients. Call the office to confirm.
What Psychiatry covers
A Psychiatrist specializes in the prevention, diagnosis, and treatment of mental disorders, emotional disorders, psychotic disorders, mood disorders, anxiety disorders, substance-related disorders, sexual and gender identity disorders and adjustment disorders. Biologic, psychological, and social components of illnesses are explored and understood in treatment of the whole person. Tools used may include diagnostic laboratory tests, prescribed medications, evaluation and treatment of psychological and interpersonal problems with individuals and families, and intervention for coping with stress, crises, and other problems. NUCC Health Care Provider Taxonomy, code 2084P0800X
All registered taxonomy codes
This provider registers 2 taxonomy codes. The primary code is what appears on most claims; the others record additional recognised specialties.
| Code | Specialty | Licence | State | |
|---|---|---|---|---|
| 208600000X | Surgery Physician | A164066 | CA | |
| 2084P0800X | Psychiatry Physician Psychiatry | A164066 | CA | primary |
The taxonomy records how the provider classifies their own practice. It does not confirm which conditions they currently treat, whether they are accepting new patients, or which insurance they take — call the office for that.
Full NPPES record
An NPI-1 identifies a single person. It stays with the clinician for life, even if they move practice or change state, which is why the address on file can lag behind where they actually work today.
| NPI | 1003173816 valid check digit |
|---|---|
| Entity type | Individual (NPI-1) |
| Enumeration date | Apr 18, 2012 |
| Last updated | Feb 3, 2026 |
| Status | Active |
| Sole proprietor | Yes |
| Gender | Male |
| Credential | M.D. |
| Practice address |
100 CASA ST STE D3 San Luis Obispo, CA 93405 (805) 321-8471 Fax (805) 567-6604 |
| Other identifiers |
A164066
· Other (CA) |
Number check
How the check works, step by step
Every NPI carries a Luhn check digit — the same scheme used on credit cards. CMS prefixes the number with 80840 before computing it, which marks it as a US health identifier.
| Digit | 8 | 0 | 8 | 4 | 0 | 1 | 0 | 0 | 3 | 1 | 7 | 3 | 8 | 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Doubled? | — | ×2 | — | ×2 | — | ×2 | — | ×2 | — | ×2 | — | ×2 | — | ×2 |
| Value | 8 | 0 | 8 | 8 | 0 | 2 | 0 | 0 | 3 | 2 | 7 | 6 | 8 | 2 |
Sum = 54 · next multiple of 10 = 60 · check digit = 6 · actual last digit = 6
A valid check digit only means the number is well-formed. It does not mean the provider is licensed, active, or in good standing — those are separate questions answered by the sections above.