Fix: refactor constList Uplaod Doc

This commit is contained in:
hasyim_kai
2025-11-14 15:47:11 +07:00
parent 60c13649d9
commit bb0017ffcb
4 changed files with 15 additions and 6 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { type Base, genBase } from "./_base"
import { supportingDocOpt, supportingDocTypeCode, supportingDocTypeLabel, type supportingDocTypeCodeKey } from '~/lib/constants'
import { docTypeLabel, } from '~/lib/constants'
import { genEmployee, type Employee } from "./employee"
import { genEncounter, type Encounter } from "./encounter"
@@ -21,7 +21,7 @@ export function genEncounterDocument(): EncounterDocument {
encounter: genEncounter(),
upload_employee_id: 0,
employee: genEmployee(),
type_code: supportingDocTypeLabel["encounter-patient"],
type_code: docTypeLabel["encounter-patient"],
name: 'example',
filePath: 'https://bing.com',
fileName: 'example',