feat: refactor encounter entry form and handler
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user