mv treatment-report to action-report based on encounter menu id list

This commit is contained in:
Khafid Prayoga
2025-12-03 17:38:15 +07:00
parent 8fa1f61b19
commit da26790513
26 changed files with 45 additions and 52 deletions
@@ -105,7 +105,7 @@ const TissueNoteSchema = z.object({
.optional(),
})
export const TreatmentReportSchema = z.object({
export const ActionReportSchema = z.object({
operatorTeam: OperatorTeamSchema,
procedures: z.array(ProcedureSchema).min(1, { message: 'Silahkan pilih prosedur' }),
@@ -118,4 +118,4 @@ export const TreatmentReportSchema = z.object({
tissueNotes: z.array(TissueNoteSchema).optional(),
})
export type TreatmentReportFormData = z.infer<typeof TreatmentReportSchema>
export type ActionReportFormData = z.infer<typeof ActionReportSchema>