feat/micro-lab-order-50: wip
This commit is contained in:
No files matched your search
@@ -40,6 +40,7 @@ const ChemoMedicineProtocolListAsync = defineAsyncComponent(
|
||||
const DeviceOrderAsync = defineAsyncComponent(() => import('~/components/content/device-order/main.vue'))
|
||||
const PrescriptionAsync = defineAsyncComponent(() => import('~/components/content/prescription/main.vue'))
|
||||
const CpLabOrderAsync = defineAsyncComponent(() => import('~/components/content/cp-lab-order/main.vue'))
|
||||
const MicroLabOrderAsync = defineAsyncComponent(() => import('~/components/content/micro-lab-order/main.vue'))
|
||||
const CprjAsync = defineAsyncComponent(() => import('~/components/content/cprj/entry.vue'))
|
||||
const RadiologyAsync = defineAsyncComponent(() => import('~/components/content/radiology-order/main.vue'))
|
||||
const ConsultationAsync = defineAsyncComponent(() => import('~/components/content/consultation/list.vue'))
|
||||
@@ -138,8 +139,8 @@ const defaultKeys: Record<string, any> = {
|
||||
classCode: ['ambulatory', 'emergency', 'inpatient'],
|
||||
unit: 'all',
|
||||
},
|
||||
mcuLabMicro: {
|
||||
id: 'mcu-lab-micro',
|
||||
microLabOrder: {
|
||||
id: 'micro-lab-order',
|
||||
title: 'Order Lab Mikro',
|
||||
classCode: ['ambulatory', 'emergency', 'inpatient'],
|
||||
unit: 'all',
|
||||
@@ -311,10 +312,9 @@ export function injectComponents(id: string | number, data: EncounterListData, m
|
||||
currentKeys.mcuLabPc['component'] = CpLabOrderAsync
|
||||
currentKeys.mcuLabPc['props'] = { encounter_id: id }
|
||||
}
|
||||
if (currentKeys?.mcuLabMicro) {
|
||||
// TODO: add component for mcuLabMicro
|
||||
currentKeys.mcuLabMicro['component'] = null
|
||||
currentKeys.mcuLabMicro['props'] = { encounter_id: id }
|
||||
if (currentKeys?.microLabOrder) {
|
||||
currentKeys.microLabOrder['component'] = MicroLabOrderAsync
|
||||
currentKeys.microLabOrder['props'] = { encounter_id: id }
|
||||
}
|
||||
if (currentKeys?.mcuLabPa) {
|
||||
// TODO: add component for mcuLabPa
|
||||
|
||||
Reference in New Issue
Block a user