Provider Credentialing & State Licensing
Provider Credentialing & State Licensing
Section titled “Provider Credentialing & State Licensing”Who this is for: admins, new hires.
Onboarding a doctor
Section titled “Onboarding a doctor”An admin creates a doctor’s account directly in the care portal — there’s no self-signup for providers. Setup includes the doctor’s basic profile, business hours/timezone, tags/types describing what cases they can handle, and (see Scheduling & appointments) their working hours and time off.
State medical licenses
Section titled “State medical licenses”Each doctor can have one or more medical license records, one per state/country they’re licensed in. Each license tracks:
- The issuing country/state and the licensing body (“license entity”)
- The license number
- An expiration date
- A link to look up/verify the license on the state’s own licensing website
- Whether the license is currently active
The licenses dashboard
Section titled “The licenses dashboard”Admins have a dedicated “Licenses” screen (admin-only) that lists doctors’ licenses, searchable by doctor name or license number and filterable by state. It specifically surfaces licenses expiring within the next 45 days, so admins can catch renewals before they lapse and a doctor becomes unable to legally sign documents for that state.
Why this matters for case assignment
Section titled “Why this matters for case assignment”A doctor can only be assigned cases (whether appointment-based or automatically assigned — see Scheduling & appointments) for services/states they’re actually licensed and set up to handle. Licensing status is also referenced when generating the physician-credentials paperwork that some services require alongside the main document (see Document generation & e-signature).
Open questions
Section titled “Open questions”- Whether an expired license automatically blocks a doctor from being assigned new cases in that state, or whether that check is a manual admin responsibility today, was not confirmed in the code reviewed.
Where this comes from
Section titled “Where this comes from”parkingmd-care-portal/src/server/db/schema.ts(DoctorMedicalLicense)parkingmd-care-portal/src/lib/admin/action.ts(getLicenses)parkingmd-care-portal/src/app/(main)/admin/licenses/page.tsxparkingmd-care-portal/src/app/(main)/admin/providers/create/page.tsx,.../providers/[doctorId]/edit/page.tsxparkingmd-care-portal/src/app/api/generate-physician-credentials-documents/route.ts