feat: refactor encounter entry form and handler

This commit is contained in:
riefive
2025-11-26 14:52:42 +07:00
parent e9ce5927bd
commit fe3630fcee
4 changed files with 624 additions and 624 deletions
+13 -13
View File
@@ -11,15 +11,9 @@ import AppViewLetter from '~/components/app/sep/view-letter.vue'
import useIntegrationSepEntry from '~/handlers/integration-sep-entry.handler'
const {
openPatient,
openLetter,
openHistory,
selectedLetter,
selectedObjects,
selectedServiceType,
selectedAdmissionType,
histories,
letters,
patients,
doctors,
diagnoses,
facilitiesFrom,
@@ -41,18 +35,24 @@ const {
isSaveLoading,
isLetterReadonly,
isLoadingPatient,
openPatient,
openLetter,
openHistory,
selectedLetter,
selectedObjects,
selectedServiceType,
selectedAdmissionType,
specialistsTree,
selectedPatient,
paginationMeta,
getLetterMappers,
getPatientsList,
getPatientByIdentifierSearch,
handleSaveLetter,
handleSavePatient,
handleEvent,
handleFetch,
handleInit,
getLetterMappers,
patients,
selectedPatient,
paginationMeta,
getPatientsList,
getPatientByIdentifierSearch,
} = useIntegrationSepEntry()
onMounted(async () => {