Merge branch 'dev' into feat/kfr-kemoterapi-174
This commit is contained in:
@@ -78,7 +78,7 @@ const IntegrationBpjsSchema = z
|
||||
.optional(),
|
||||
destinationClinic: z
|
||||
.string({ required_error: ERROR_MESSAGES.required.destinationClinic })
|
||||
.min(1, ERROR_MESSAGES.required.destinationClinic),
|
||||
.min(1, ERROR_MESSAGES.required.destinationClinic).optional(),
|
||||
attendingDoctor: z
|
||||
.string({ required_error: ERROR_MESSAGES.required.attendingDoctor })
|
||||
.min(1, ERROR_MESSAGES.required.attendingDoctor),
|
||||
@@ -89,7 +89,7 @@ const IntegrationBpjsSchema = z
|
||||
cataract: z.string({ required_error: ERROR_MESSAGES.required.cataract }).min(1, ERROR_MESSAGES.required.cataract),
|
||||
clinicExcecutive: z
|
||||
.string({ required_error: ERROR_MESSAGES.required.clinicExcecutive })
|
||||
.min(1, ERROR_MESSAGES.required.clinicExcecutive),
|
||||
.min(1, ERROR_MESSAGES.required.clinicExcecutive).optional(),
|
||||
subSpecialistId: z
|
||||
.string({ required_error: ERROR_MESSAGES.required.subSpecialistId })
|
||||
.min(1, ERROR_MESSAGES.required.subSpecialistId)
|
||||
|
||||
@@ -179,6 +179,14 @@ const InstructionSchema = z.object({
|
||||
other: z.string().default(''),
|
||||
})
|
||||
|
||||
export const CprjSoapiSchema = z.object({
|
||||
subjective: z.string().default(''),
|
||||
objective: z.string().default(''),
|
||||
assesment: z.string().default(''),
|
||||
plan: z.string().default(''),
|
||||
review: z.string().default(''),
|
||||
})
|
||||
|
||||
export const SoapSchema = z.object({
|
||||
subject: SubjectSchema,
|
||||
object: ObjectSchema,
|
||||
|
||||
Reference in New Issue
Block a user