Skip to content

Provider Credentialing & State Licensing

Who this is for: admins, new hires.

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.

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

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.

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

  • 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.
  • 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.tsx
  • parkingmd-care-portal/src/app/(main)/admin/providers/create/page.tsx, .../providers/[doctorId]/edit/page.tsx
  • parkingmd-care-portal/src/app/api/generate-physician-credentials-documents/route.ts