|
@@ -31,7 +31,6 @@ const registerInfoSchema: Record<
|
|
|
patient_type: z.string().nonempty(),
|
|
|
ref_physician: z.string().optional(),
|
|
|
operator_id: z.string().optional(),
|
|
|
- modality: z.string().nonempty(),
|
|
|
weight: z.number().optional(),
|
|
|
thickness: z.number().optional(),
|
|
|
length: z.number().optional(),
|
|
@@ -157,14 +156,6 @@ export const registerFormFields = {
|
|
|
message: 'Operator ID is optional',
|
|
|
trigger: ['onChange', 'onBlur'],
|
|
|
},
|
|
|
- modality: {
|
|
|
- label: 'Modality',
|
|
|
- required: true,
|
|
|
- requiredLabel: '',
|
|
|
- validation: zodToAntdRules(registerformSchema.shape.modality),
|
|
|
- message: 'Modality is optional',
|
|
|
- trigger: ['onChange', 'onBlur'],
|
|
|
- },
|
|
|
weight: {
|
|
|
label: 'Weight',
|
|
|
required: false,
|