feat: Implement patient encounter management with entry form, SEP integration, and list views.

This commit is contained in:
riefive
2025-12-08 13:02:14 +07:00
parent 1a7a69162d
commit 53b40ec732
6 changed files with 195 additions and 22 deletions
+19 -3
View File
@@ -136,8 +136,21 @@ onMounted(() => {
/////// Functions
async function getPatientList() {
isLoading.isTableLoading = true
const includesParams =
'patient,patient-person,patient-person-addresses,unit,Appointment_Doctor,Appointment_Doctor-employee,Appointment_Doctor-employee-person,Responsible_Doctor,Responsible_Doctor-employee,Responsible_Doctor-employee-person'
const includesParamsArrays = [
'patient',
'patient-person',
'patient-person-addresses',
'Appointment_Doctor',
'Appointment_Doctor-employee',
'Appointment_Doctor-employee-person',
'Responsible_Doctor',
'Responsible_Doctor-employee',
'Responsible_Doctor-employee-person',
'EncounterDocuments',
'unit',
'vclaimReference', // vclaimReference | vclaimSep
]
const includesParams = includesParamsArrays.join(',')
data.value = []
try {
const params: any = { includes: includesParams, ...filterParams.value }
@@ -270,7 +283,10 @@ function handleRemoveConfirmation() {
/>
</CH.ContentHeader>
<Content :data="data" />
<Content
:data="data"
:class-code="classCode"
/>
<!-- Filter -->
<Dialog