diff --git a/app/components/content/encounter/entry.vue b/app/components/content/encounter/entry.vue index 6fab59e8..a4ffc0d8 100644 --- a/app/components/content/encounter/entry.vue +++ b/app/components/content/encounter/entry.vue @@ -16,7 +16,7 @@ import { useIntegrationSepEntry } from '~/handlers/integration-sep-entry.handler const props = defineProps<{ id: number classCode?: 'ambulatory' | 'emergency' | 'inpatient' | 'outpatient' - subClassCode?: 'reg' | 'rehab' | 'chemo' | 'emg' | 'eon' | 'op' | 'icu' | 'hcu' | 'vk' + subclassCode?: 'reg' | 'rehab' | 'chemo' | 'emg' | 'eon' | 'op' | 'icu' | 'hcu' | 'vk' formType: string }>() @@ -77,9 +77,7 @@ function handleSaveClick() { } function handleFetch(value?: any) { - if (value?.subSpecialistId) { - handleFetchDoctors(value.subSpecialistId) - } + // handleFetchDoctors(props.subclassCode) } async function handleEvent(menu: string, value?: any) { @@ -97,7 +95,7 @@ async function handleEvent(menu: string, value?: any) { isService: 'false', encounterId: props.id || null, sourcePath: route.path, - resource: `${props.classCode}-${props.subClassCode}`, + resource: `${props.classCode}-${props.subclassCode}`, ...value, }) } else if (menu === 'sep-number-changed') { @@ -213,7 +211,7 @@ onMounted(async () => { :is-action="true" :histories="histories" /> - +