feature: Preview added for treatments.
This commit is contained in:
@@ -51,8 +51,19 @@ export interface TreatmentAttachmentMeta {
|
||||
sizeBytes: number;
|
||||
}
|
||||
|
||||
export const TREATMENT_TYPES = [
|
||||
'consultation',
|
||||
'filling',
|
||||
'endo',
|
||||
'visit',
|
||||
'hygiene',
|
||||
] as const;
|
||||
|
||||
export type TreatmentType = (typeof TREATMENT_TYPES)[number];
|
||||
|
||||
export interface PastTreatmentRecord {
|
||||
id: string;
|
||||
treatmentType: TreatmentType;
|
||||
teeth: FdiToothId[];
|
||||
notes?: string | null;
|
||||
}
|
||||
@@ -75,6 +86,7 @@ export interface LinkedOrganizationOption {
|
||||
|
||||
export interface TreatmentRecordDraft {
|
||||
clientId: string;
|
||||
treatmentType: TreatmentType;
|
||||
teeth: FdiToothId[];
|
||||
comment: string;
|
||||
attachmentMetas: TreatmentAttachmentMeta[];
|
||||
|
||||
Reference in New Issue
Block a user