- Introduced phase 4 documentation detailing treatment estimates, data models, state machines, API endpoints, and new dashboard metrics. - Added phase 5 documentation covering consumables, lab operations, periodontal charts, sterilization cycles, clinical images, and a checklist for professional review. - Created a preset content document outlining default dental service packages and protocols for clinics.
99 lines
4.4 KiB
Markdown
99 lines
4.4 KiB
Markdown
# ClinicPro Backend
|
|
|
|
The Symfony API and bundled React admin that owns all clinic data, scheduling and auth for the
|
|
ClinicPro product. This glossary records the language the backend uses for its own concepts.
|
|
|
|
## Language
|
|
|
|
### Clinic configuration
|
|
|
|
**Practice Domain**:
|
|
The single field of practice a tenant declares it operates in — beauty, dental, orthopaedics. It is a
|
|
configuration key: it selects which dashboard, forms and treatment workflows the tenant gets. A clinic
|
|
or a solo doctor's practice has exactly one.
|
|
_Avoid_: Specialty, clinic type, field, discipline
|
|
|
|
**Specialty**:
|
|
A medical specialty label attached to a Clinic or a Doctor, used by the public booking site for
|
|
listing and SEO. It is descriptive, not configuration — it never selects behaviour.
|
|
_Avoid_: Practice Domain, category
|
|
|
|
### Treatment
|
|
|
|
**Treatment Protocol**:
|
|
The template attached to a service that says a course of that service runs over several sessions, when
|
|
each one falls due, which doctor supervises the course, and which staff are allowed to perform it.
|
|
Defined once by the clinic manager, not per patient.
|
|
_Avoid_: Treatment plan, course template, session config
|
|
|
|
**Supervising Doctor**:
|
|
The doctor answerable for a Treatment Protocol and for every Treatment Case opened from it. They carry
|
|
clinical responsibility; they do not necessarily perform the treatment.
|
|
_Avoid_: Doctor, owner, responsible
|
|
|
|
**Operator**:
|
|
The staff member who actually performs a Treatment Session — runs the device, treats each area, and
|
|
records what was done. Chosen at booking time from the staff the Treatment Protocol allows.
|
|
_Avoid_: Technician, performer, staff, nurse
|
|
|
|
**Treatment Case**:
|
|
One patient's run of a Treatment Protocol, from the first booking until the course ends. It owns the
|
|
sessions and carries the state of the whole course.
|
|
_Avoid_: Treatment plan, patient file, dossier, episode
|
|
|
|
**Treatment Session**:
|
|
One numbered step of a Treatment Case — session 3 of 8. It exists whether or not it has been booked
|
|
yet, so its number survives cancellation and rescheduling. It holds the plan and the clinical record,
|
|
never money.
|
|
_Avoid_: Appointment, visit, session slot, patient session
|
|
|
|
**Visit Record**:
|
|
The billing side of one attended visit — services rendered, insurance shares, discounts, payments. It
|
|
comes into existence when an Appointment is confirmed, so a Treatment Session that has not been booked
|
|
yet has none.
|
|
_Avoid_: Session, invoice, patient session
|
|
|
|
**Appointment**:
|
|
A reserved slot in a calendar. It is the booking, not the treatment. A Treatment Session may point at
|
|
one, at a different one after rescheduling, or at none while still unbooked.
|
|
_Avoid_: Session, booking, reservation
|
|
|
|
**Treatment Area**:
|
|
A region of the body a Treatment Session is performed on — underarms, bikini line. A single session
|
|
covers several, each completed and recorded on its own.
|
|
_Avoid_: Zone, body part, region
|
|
|
|
**Session Area Record**:
|
|
What the operator actually did to one Treatment Area in one Treatment Session — the device used, the
|
|
parameters it was set to, how long it took, and any note.
|
|
_Avoid_: Treatment log, area result, shot record
|
|
|
|
### Dental
|
|
|
|
**Dental Preset**:
|
|
The package of default data a tenant receives when it declares the dental practice domain — service
|
|
groups, services, resource types and protocols. Defined in code and versioned; it is product content,
|
|
not tenant data.
|
|
_Avoid_: Seed, fixture, template, sample data
|
|
|
|
**Preset Install**:
|
|
The record that one preset template key became one real row in one tenant. It is what makes installing
|
|
a preset twice a no-op.
|
|
_Avoid_: Migration, sync record, import log
|
|
|
|
**Tooth Chart**:
|
|
The current condition of every tooth of one patient in one tenant. It is a snapshot, never a history,
|
|
and it holds conditions that predate the tenant — a tooth lost years before the first visit.
|
|
_Avoid_: Odontogram record, dental record, chart entry
|
|
|
|
**Tooth Site**:
|
|
One tooth, identified by its two-digit FDI number, together with the surfaces of it a service targets.
|
|
It is what a dental service is performed on, and it is not a Treatment Area.
|
|
_Avoid_: Treatment Area, tooth record, position, location
|
|
|
|
**Treatment Estimate**:
|
|
The priced list of services proposed to a patient across their teeth, which the patient accepts in whole
|
|
or in part. In Persian it is «طرح درمان»; the English name stays distinct because Treatment Plan is
|
|
ambiguous between a Treatment Protocol and a Treatment Case.
|
|
_Avoid_: Treatment plan, quote, proposal, estimate sheet
|