feat/role-check: wip

This commit is contained in:
2025-12-14 13:23:28 +07:00
parent b5f1ab7f88
commit 60f60b4187
5 changed files with 7711 additions and 6214 deletions

No files matched your search

+4 -1
View File
@@ -18,12 +18,15 @@ const ERROR_MESSAGES = {
const ACCEPTED_UPLOAD_TYPES = ['image/jpeg', 'image/png', 'application/pdf']
const isValidationSep = false
// const encounterPatientShcema = z.object({
// })
const IntegrationEncounterSchema = z
.object({
// Patient data (readonly, populated from selected patient)
patientSource: z.string().optional(),
patientName: z.string().optional(),
nationalIdentity: z.string().optional(),
residentIdentiyNumber: z.string().optional(),
medicalRecordNumber: z.string().optional(),
// Visit data