improvement: all clinic side ui components related to treatment types updated based on the new real world data.
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
import type { Patient } from './patient';
|
||||
|
||||
export const APPOINTMENT_PURPOSES = [
|
||||
'consultation',
|
||||
'filling',
|
||||
'endo',
|
||||
'visit',
|
||||
'hygiene',
|
||||
] as const;
|
||||
|
||||
export type AppointmentPurpose = (typeof APPOINTMENT_PURPOSES)[number];
|
||||
/**
|
||||
* An appointment purpose is any treatment-type code selectable in the appointment
|
||||
* context (see the treatment catalog with `?context=appointment`). Kept as a
|
||||
* string so the set is driven by the DB catalog rather than a hardcoded union.
|
||||
*/
|
||||
export type AppointmentPurpose = string;
|
||||
|
||||
export interface AppointmentColumnProvider {
|
||||
userId: string;
|
||||
|
||||
@@ -4,6 +4,8 @@ export interface TreatmentCatalogEntry {
|
||||
labDependent: boolean;
|
||||
sortOrder: number;
|
||||
label: string;
|
||||
availableInAppointments: boolean;
|
||||
availableInTreatment: boolean;
|
||||
}
|
||||
|
||||
export interface ProsthesisCatalogEntry {
|
||||
|
||||
Reference in New Issue
Block a user