improvement: all confirmed suggestions implemented
This commit is contained in:
@@ -72,7 +72,6 @@ export const LAB_WORKFLOW_STEPS = [
|
||||
|
||||
export type ProsthesisChartRegion = 'crown' | 'root' | 'arch';
|
||||
export type ProsthesisStackGroup = 'restoration' | 'implant' | 'post_core' | 'arch';
|
||||
export type ProsthesisAddonKind = '' | 'implant' | 'post_core';
|
||||
|
||||
export type ProsthesisTypeSeed = {
|
||||
code: string;
|
||||
@@ -83,7 +82,6 @@ export type ProsthesisTypeSeed = {
|
||||
subcategory?: string;
|
||||
chartRegion: ProsthesisChartRegion;
|
||||
stackGroup: ProsthesisStackGroup;
|
||||
addonKind?: ProsthesisAddonKind;
|
||||
/** Manufacturing sequence. Packing and shipping are appended except for smile_design. */
|
||||
manufacturingSteps: readonly string[];
|
||||
};
|
||||
@@ -138,7 +136,7 @@ function crown(
|
||||
};
|
||||
}
|
||||
|
||||
function implantAddon(
|
||||
function implant(
|
||||
code: string,
|
||||
sortOrder: number,
|
||||
manufacturingSteps: readonly string[],
|
||||
@@ -150,7 +148,6 @@ function implantAddon(
|
||||
category: 'implant',
|
||||
chartRegion: 'root',
|
||||
stackGroup: 'implant',
|
||||
addonKind: 'implant',
|
||||
manufacturingSteps,
|
||||
...extra,
|
||||
};
|
||||
@@ -230,7 +227,6 @@ export const PROSTHESIS_TYPES: ProsthesisTypeSeed[] = [
|
||||
category: 'post_core',
|
||||
chartRegion: 'root',
|
||||
stackGroup: 'post_core',
|
||||
addonKind: 'post_core',
|
||||
manufacturingSteps: POST_CORE,
|
||||
},
|
||||
{
|
||||
@@ -239,29 +235,28 @@ export const PROSTHESIS_TYPES: ProsthesisTypeSeed[] = [
|
||||
category: 'post_core',
|
||||
chartRegion: 'root',
|
||||
stackGroup: 'post_core',
|
||||
addonKind: 'post_core',
|
||||
manufacturingSteps: POST_CORE,
|
||||
},
|
||||
implantAddon('prefabricated_abutment', 40, [
|
||||
implant('prefabricated_abutment', 40, [
|
||||
'intraoral_scan',
|
||||
'choosing_abutment',
|
||||
'model_create',
|
||||
'polish_prep',
|
||||
]),
|
||||
implantAddon('ti_base_abutment', 41, ['intraoral_scan', 'model_create', 'polish_prep']),
|
||||
implantAddon('multi_unit_abutment', 42, [
|
||||
implant('ti_base_abutment', 41, ['intraoral_scan', 'model_create', 'polish_prep']),
|
||||
implant('multi_unit_abutment', 42, [
|
||||
'intraoral_scan',
|
||||
'choosing_abutment',
|
||||
'model_create',
|
||||
'polish_prep',
|
||||
]),
|
||||
implantAddon('customized_abutment', 43, [
|
||||
implant('customized_abutment', 43, [
|
||||
...SCAN_DESIGN_MODEL,
|
||||
'milling_wet',
|
||||
'polish_prep',
|
||||
]),
|
||||
implantAddon('zirconia_abutment', 44, [...SCAN_DESIGN_MODEL, 'milling_dry', 'sinter']),
|
||||
implantAddon(
|
||||
implant('zirconia_abutment', 44, [...SCAN_DESIGN_MODEL, 'milling_dry', 'sinter']),
|
||||
implant(
|
||||
'screw_retained',
|
||||
45,
|
||||
[...SCAN_DESIGN_MODEL, 'milling_wet', 'polish_prep'],
|
||||
|
||||
Reference in New Issue
Block a user