feat/things-munaja: fix enc status
This commit is contained in:
@@ -9,7 +9,11 @@ export async function getEncounterData(id: string | number) {
|
||||
try {
|
||||
const dataRes = await getDetail(id, {
|
||||
includes:
|
||||
'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',
|
||||
'patient,patient-person,patient-person-addresses,unit,' +
|
||||
'Adm_Employee,Adm_Employee,Adm_Employee-Person,' +
|
||||
'Responsible_Nurse,Responsible_Nurse-Employee,Responsible_Nurse-Employee-Person,' +
|
||||
'Appointment_Doctor,Appointment_Doctor-employee,Appointment_Doctor-employee-person,' +
|
||||
'Responsible_Doctor,Responsible_Doctor-employee,Responsible_Doctor-employee-person',
|
||||
})
|
||||
const dataResBody = dataRes.body ?? null
|
||||
const result = dataResBody?.data ?? null
|
||||
@@ -29,4 +33,4 @@ export async function getEncounterData(id: string | number) {
|
||||
data = null
|
||||
}
|
||||
return data
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user