Merge pull request #181 from dikstub-rssa/feat/kfr-kemoterapi-174

Feat/kfr kemoterapi 174
This commit is contained in:
Munawwirul Jamal
2025-12-01 20:48:45 +07:00
committed by GitHub
25 changed files with 1488 additions and 12 deletions

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { z } from 'zod'
type KfrFormData = z.infer<typeof KfrSchema>
const KfrSchema = z.object({
subjective: z.string({required_error: 'Mohon lengkapi Form',}),
objective: z.string({required_error: 'Mohon lengkapi Form',}),
assesment: z.string({required_error: 'Mohon lengkapi Form',}),
planningGoal: z.string({required_error: 'Mohon lengkapi Form',}),
planningAction: z.string({required_error: 'Mohon lengkapi Form',}),
planningEducation: z.string({required_error: 'Mohon lengkapi Form',}),
planningFrequency: z.number({required_error: 'Mohon lengkapi Form',}),
followUpPlan: z.enum(['EVALUASI', 'RUJUK', "SELESAI"], {required_error: 'Mohon lengkapi status pasien', }),
followUpPlanDesc: z.string({required_error: 'Mohon lengkapi Form',}),
})
export { KfrSchema, }
export type { KfrFormData, }
+1 -1
View File
@@ -16,4 +16,4 @@ const VerificationSchema = z.object({
type VerificationFormData = z.infer<typeof VerificationSchema>
export { VerificationSchema, }
export type { VerificationFormData, }
export type { VerificationFormData, }