# Openfront Med Spa

> Booking, clinical authority, consent, checkout, memberships, inventory and follow-up in source you own.

From the booking to the signed treatment note.

## At a glance

- 99 data models for the practice, from bookings to recalls
- 1 verified credential and active authorization required to perform a treatment
- 2 payment adapters: Stripe and manual cash

## Links

- [Product overview](https://spec.openship.org/medspa): every area and feature on one page
- [Live demo](https://medspa.openship.org)
- [Documentation](https://docs.openship.org/docs/openfront/medspa)
- [Source code](https://github.com/openshiporg/openfront-medspa)
- [Feature film](https://spec.openship.org/medspa/video): a 27-second walk through every area

## Areas

### Booking

- **Let clients find the treatment**: A public storefront lists services, providers and the team, then takes clients through booking, confirmation and their account. Service variants, categories and packages come from the catalog you manage. (https://docs.openship.org/docs/openfront/medspa/storefront)
- Publish services, variants and catalog images.
- Let clients view and manage their appointments.
- Collect reviews and show a gallery.
- Sell gift cards from the storefront.

### Schedules & rooms

- **Providers, rooms and devices on one day sheet**: Locations, provider schedules and resources keep appointments tied to who and what they need. Reservations and schedule blocks keep rooms and devices that are already in use out of the plan. (https://docs.openship.org/docs/openfront/medspa/locations-schedules-resources)
- Scope staff and schedules to locations.
- Reserve resources and supervisors for appointments.
- Block out maintenance time on rooms and devices.
- Work the waitlist from the dashboard.

### Clients & intake

- **A client record built from the visit**: Client accounts connect appointments, intake forms, form submissions, notes and referrals. Reviewed intake evidence stays with the template version the client answered. (https://docs.openship.org/docs/openfront/medspa/clients)
- Version intake and consent templates.
- Review submitted forms before treatment.
- Keep client notes as append-only, signed entries.
- Retain referral and follow-up history.

### Clinical authority

- **Who may perform what, and where**: Provider credentials and authorizations connect treatment, location and performer. Dashboard access alone is not treated as clinical licensure; execution needs a verified credential and active authorization. (https://docs.openship.org/docs/openfront/medspa/treatment)
- Record supervision requirements.
- Issue clinical orders to authorized performers.
- Track order states from active to fulfilled or revoked.
- Keep authority events for review.

### Treatment

- **From consultation to signed note**: Move through consultation, contraindication findings and decisions, an approved plan, order, consent, session and administration. A readiness check confirms the records exist and match; clinical appropriateness remains the clinician's judgment. (https://docs.openship.org/docs/openfront/medspa/treatment)
- Record contraindication findings and the clinician's decision.
- Sign or withdraw consent against a published template.
- Refuse treatment when required intake changed after the order.
- Record administered lots for lot-traced products.

### Checkout & payments

- **Close the visit with its evidence**: Checkout combines services, retail products, gift cards, memberships and packages. Payments, refunds and refund attempts keep a record; Stripe and manual cash adapters are registered, and Stripe needs its keys configured. (https://docs.openship.org/docs/openfront/medspa/checkout)
- Verify Stripe webhooks and record each event once.
- Operator-recorded cash is a separate manual path.
- Apply membership and package benefits at checkout.
- Keep refunds tied to the original payment.

### Memberships & packages

- **Repeat visits, tracked**: Membership plans, client memberships, agreements, service packages, usage and loyalty points are separate records. Package redemption can be reversed with its adjustment trail intact. (https://docs.openship.org/docs/openfront/medspa/benefits)
- Accept membership agreements explicitly.
- Sell and redeem service packages.
- Reverse package usage rather than editing balances.
- Issue gift cards and apply their balance.

### Inventory

- **Lots from vendor to treatment room**: Products, vendors, purchase orders and goods receipts create inventory lots. Product-level and lot-level movements keep adjustments, retail returns and administration traceable. (https://docs.openship.org/docs/openfront/medspa/inventory)
- Receive purchase orders into lots.
- Disposition or return lots deliberately.
- Link treatment administrations to lots.
- Adjust inventory through a named workflow.

### Safety & privacy

- **Incidents and recalls**: Report incidents and open recall cases, then link recall exposures to affected lots and clients. (https://docs.openship.org/docs/openfront/medspa/safety)
- **Patient-rights requests**: Track privacy requests, retention policies and legal holds. Practice policy and legal review remain the practice's responsibility. (https://docs.openship.org/docs/openfront/medspa/privacy)

### Staff & commissions

- **Roles with 14 capability flags**: Staff invitations, practice memberships and roles control the operator dashboard. Capabilities are re-read from the database on each check, and commissions are recorded for the work delivered. (https://docs.openship.org/docs/openfront/medspa/commissions)
- Invite staff into the practice.
- Disable a user and access ends immediately.
- Review commissions in the dashboard.
- Practice scope applies to every list.

### Developer

- **A treatment room backed by your own records**: Next.js, Keystone, Prisma and Postgres connect the storefront, dashboard and GraphQL API. Business changes pass through named workflows that check the actor, the practice, the revision and an idempotency key. (https://docs.openship.org/docs/openfront/medspa/api-reference)
- 99 models cover booking, consent, treatment, checkout, inventory lots and recalls.
- Clinical records are visible only to roles with the matching authority.
- Run it on infrastructure the practice chooses.
- Workflows check the revision and an idempotency key before writing.
