Fix: refactor constList Uplaod Doc
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user