-
diff --git a/app/components/content/initial-nursing/entry.vue b/app/components/content/initial-nursing/entry.vue
new file mode 100644
index 00000000..5769e967
--- /dev/null
+++ b/app/components/content/initial-nursing/entry.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
diff --git a/app/components/content/initial-nursing/form.vue b/app/components/content/initial-nursing/form.vue
new file mode 100644
index 00000000..006b1dc0
--- /dev/null
+++ b/app/components/content/initial-nursing/form.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
diff --git a/app/components/content/initial-nursing/list.vue b/app/components/content/initial-nursing/list.vue
new file mode 100644
index 00000000..0c867b96
--- /dev/null
+++ b/app/components/content/initial-nursing/list.vue
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+ C. Daftar Masalah Keperawatan
+
+
+
+
+
+ handleActionRemove(recId, getMyList, toast)"
+ @cancel=""
+ >
+
+
+
+ ID:
+ {{ record?.id }}
+
+
+ Nama:
+ {{ record.name }}
+
+
+ Kode:
+ {{ record.code }}
+
+
+
+
+
diff --git a/app/components/content/mcu-order/list.vue b/app/components/content/mcu-order/list.vue
index 710a8951..6fcff867 100644
--- a/app/components/content/mcu-order/list.vue
+++ b/app/components/content/mcu-order/list.vue
@@ -54,7 +54,7 @@ const {
page,
'scope-code': props.scopeCode,
'encounter-id': encounter_id,
- includes: 'doctor,doctor-employee,doctor-employee-person',
+ includes: 'doctor,doctor-employee,doctor-employee-person,items,items-mcuSrc',
})
return { success: result.success || false, body: result.body || {} }
},
diff --git a/app/components/content/micro-lab-order/entry.vue b/app/components/content/micro-lab-order/entry.vue
new file mode 100644
index 00000000..e6ef9600
--- /dev/null
+++ b/app/components/content/micro-lab-order/entry.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
diff --git a/app/components/content/micro-lab-order/list.vue b/app/components/content/micro-lab-order/list.vue
new file mode 100644
index 00000000..c2bda748
--- /dev/null
+++ b/app/components/content/micro-lab-order/list.vue
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/app/components/content/micro-lab-order/main.vue b/app/components/content/micro-lab-order/main.vue
new file mode 100644
index 00000000..033d093f
--- /dev/null
+++ b/app/components/content/micro-lab-order/main.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
diff --git a/app/components/content/radiology-order/list.vue b/app/components/content/radiology-order/list.vue
index b2c8571d..47c822e9 100644
--- a/app/components/content/radiology-order/list.vue
+++ b/app/components/content/radiology-order/list.vue
@@ -13,7 +13,6 @@ import {
recAction,
recItem,
isReadonly,
- isFormEntryDialogOpen,
isRecordConfirmationOpen,
handleActionSave,
handleActionRemove,
@@ -28,6 +27,7 @@ const route = useRoute()
const { setQueryParams } = useQueryParam()
const title = ref('')
+const addTrigger = ref(false)
const plainEid = route.params.id
const encounter_id = (plainEid && typeof plainEid == 'string') ? parseInt(plainEid) : 0 // here the
@@ -74,7 +74,7 @@ const headerPrep: HeaderPrep = {
onClick: () => {
recItem.value = null
recId.value = 0
- isFormEntryDialogOpen.value = true
+ addTrigger.value = true
isReadonly.value = false
},
},
@@ -90,7 +90,7 @@ const getMyDetail = async (id: number | string) => {
if (result.success) {
const currentValue = result.body?.data || {}
recItem.value = currentValue
- isFormEntryDialogOpen.value = true
+ addTrigger.value = true
}
}
@@ -113,10 +113,10 @@ watch([recId, recAction], () => {
}
})
-watch([isFormEntryDialogOpen], async () => {
- if (isFormEntryDialogOpen.value) {
- isFormEntryDialogOpen.value = false;
- const saveResp = await handleActionSave({ encounter_id }, getMyList, () =>{}, toast)
+watch([addTrigger], async () => {
+ if (addTrigger.value) {
+ addTrigger.value = false;
+ const saveResp = await handleActionSave({ encounter_id, "scope_code": "rad" }, getMyList, () =>{}, toast)
if (saveResp.success) {
setQueryParams({
'mode': 'entry',
diff --git a/app/components/content/sep/entry.vue b/app/components/content/sep/entry.vue
index 6e91f464..d1d6599a 100644
--- a/app/components/content/sep/entry.vue
+++ b/app/components/content/sep/entry.vue
@@ -8,7 +8,8 @@ import AppViewHistory from '~/components/app/sep/view-history.vue'
import AppViewLetter from '~/components/app/sep/view-letter.vue'
// Handler
-import useIntegrationSepEntry from '~/handlers/integration-sep-entry.handler'
+import { useIntegrationSepEntry } from '~/handlers/integration-sep-entry.handler'
+import { useIntegrationSepDetail } from '~/handlers/integration-sep-detail.handler'
const {
histories,
@@ -55,8 +56,18 @@ const {
handleInit,
} = useIntegrationSepEntry()
+const { valueObjects, getSepDetail } = useIntegrationSepDetail()
+
+const props = defineProps<{
+ mode: 'add' | 'edit' | 'detail' | 'link'
+}>()
+
onMounted(async () => {
await handleInit()
+ if (['detail', 'link'].includes(props.mode)) {
+ await getSepDetail()
+ selectedObjects.value = { ...selectedObjects.value, ...valueObjects.value }
+ }
})
@@ -66,12 +77,13 @@ onMounted(async () => {
name="i-lucide-panel-bottom"
class="me-2"
/>
-
Tambah
- SEP
+
{{ ['detail', 'link'].includes(props.mode) ? 'Detail' : 'Tambah' }} SEP