feat: enhance encounter process with user data logging and component integration
This commit is contained in:
@@ -40,12 +40,12 @@ const id = typeof route.params.id == 'string' ? parseInt(route.params.id) : 0
|
||||
const data = ref<any>(null)
|
||||
const isShowPatient = computed(() => data.value && data.value?.patient?.person)
|
||||
|
||||
console.log(user)
|
||||
|
||||
if (activePosition.value === 'none') { // if user position is none, redirect to home page
|
||||
router.push('/')
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(user, null, 4))
|
||||
|
||||
// Dummy rows for ProtocolList (matches keys expected by list-cfg.protocol)
|
||||
const protocolRows = [
|
||||
{
|
||||
@@ -82,7 +82,7 @@ function handleClick(type: string) {
|
||||
}
|
||||
|
||||
function initMenus() {
|
||||
menus.value = getMenuItems(id, props, user, activePosition.value, {
|
||||
menus.value = getMenuItems(id, props, user, {
|
||||
status: data.value,
|
||||
medicalAssessment: data.value,
|
||||
medicalAssessmentRehab: data.value,
|
||||
|
||||
Reference in New Issue
Block a user