Individual provider

Ray Rivas, M.D.

Surgery Physician Psychiatry Physician Medicare enrolled

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.

100 CASA ST STE D3, San Luis Obispo, CA 93405 Open in Google Maps →

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

5 Santa Rosa

Mo-Su 07:00-21:00

+1-805-543-1111

Directions in Google Maps →

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

977 Foothill Boulevard, San Luis Obispo

10:30-19:00

+1-805-546-0369

Directions in Google Maps →

Convenience 7-Eleven 0.26 mi ~6 min

552 California Boulevard, San Luis Obispo 93405-1905

+1 805-541-0260

Website

Directions in Google Maps →

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

+1-805-544-6465

Website

Directions in Google Maps →

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

Website

Directions in Google Maps →

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

+1-805-439-2510

Directions in Google Maps →

Coffee Starbucks 0.37 mi ~8 min

17 Chorro Street, San Luis Obispo 93405

+1 805-547-9054

Website

Directions in Google Maps →

Hotel San Luis Inn and Suites 0.37 mi ~8 min
Hotel Heritage Inn Bed & Breakfast 0.45 mi ~10 min

978 Olive St, San Luis Obispo 93405

+1-805-544-7440

Website

Directions in Google Maps →

Grocery California Fresh Market 0.48 mi ~10 min

771 Foothill Boulevard, San Luis Obispo

Website

Directions in Google Maps →

Hotel Homestead Motel 0.49 mi ~10 min
OpenStreetMap via Overpass · ODbL 800 m radius Updated Sep 9, 2026

Distances are straight‑line estimates — walking routes may be longer. Hours and phone numbers can change; call ahead to confirm.

Credentials and Medicare

State licence
LicenceStateSpecialty
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.

Medicare (PECOS)
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
Allopathic & Osteopathic Physicians Psychiatry & Neurology Psychiatry

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.

CodeSpecialtyLicenceState
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.

NPI1003173816 valid check digit
Entity typeIndividual (NPI-1)
Enumeration dateApr 18, 2012
Last updatedFeb 3, 2026
StatusActive
Sole proprietorYes
GenderMale
CredentialM.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)
This record was updated on Feb 3, 2026, which is recent enough that the contact details are likely still accurate.

Number check

1003173816 passes the NPI check digit test The final digit 6 matches the value computed from the first nine digits, so this is a well-formed NPI.
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.

Common questions

What is NPI number 1003173816?
NPI 1003173816 is the National Provider Identifier assigned to Ray Rivas, M.D. in San Luis Obispo, CA. It is a 10-digit number issued by the Centers for Medicare & Medicaid Services and used on claims, referrals, and prescriptions to identify the provider.
What does Psychiatry cover?
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…
How do I contact Ray Rivas, M.D.?
The phone number on file with NPPES is (805) 321-8471, last updated Feb 3, 2026. Because NPPES is only updated when a provider files a change, call ahead to confirm the number and the current practice address before visiting.
Does Ray Rivas, M.D. accept Medicare?
This NPI has an approved Medicare enrolment in PECOS, which means the provider is enrolled to bill Medicare. Enrolment does not guarantee they are accepting new Medicare patients — verify directly with the office.
Where do I park when visiting Ray Rivas, M.D.?
Parking is about 109 ft from the office. The closest transit stop is 675 ft away, on 9. Distances are straight-line estimates from OpenStreetMap, so walking routes may be slightly longer.
Is NPI 1003173816 a valid number?
Yes. 1003173816 passes the Luhn check digit validation that CMS uses for NPI numbers, and it resolves to an active record in the registry.
How to use this page. Everything here comes from public federal records. Tips Health does not verify quality of care, confirm that a licence is currently active, or check malpractice history, and accepts no fees for placement. A listing is not a recommendation. Verify independently before seeking care.