diff --git a/components/pendaftaran/MedisPasienV2.vue b/components/pendaftaran/MedisPasienV2.vue
index b858aea..d159ebe 100644
--- a/components/pendaftaran/MedisPasienV2.vue
+++ b/components/pendaftaran/MedisPasienV2.vue
@@ -321,6 +321,7 @@ defineExpose({
| Jenis Diagnosa |
Diagnosa |
+ Keterangan |
Action |
@@ -344,6 +345,9 @@ defineExpose({
{{ item.kodeDiagnosa }} | {{ item.diagnosa }} |
+
+ {{ item.keterangan || '-' }}
+ |
@@ -395,6 +399,11 @@ defineExpose({
|
+
+
+ |
@@ -433,7 +442,8 @@ defineExpose({
| Tindakan |
- Tindakan Tambahan |
+ Tindakan Tambahan |
+ Keterangan |
Action |
@@ -455,6 +465,10 @@ defineExpose({
{{ item.tindakanTambahan || '-'
}}
|
+
+ {{ item.keterangan || '-'
+ }}
+ |
@@ -490,6 +504,11 @@ defineExpose({
placeholder="Tindakan Tambahan..." variant="outlined" density="compact"
hide-details>
|
+
+
+ |
diff --git a/components/pendaftaran/ModalDetailPendaftaran.vue b/components/pendaftaran/ModalDetailPendaftaran.vue
index 6e5ce0e..2b2f395 100644
--- a/components/pendaftaran/ModalDetailPendaftaran.vue
+++ b/components/pendaftaran/ModalDetailPendaftaran.vue
@@ -524,10 +524,10 @@ const closeModal = () => {
- {{ item.diagnosa }}
+ {{ item.diagnosa }} ({{ item.jenisDiagnosa }})
- {{ item.jenisDiagnosa }}
+ {{ item.keterangan || '-' }}
{{ item.kodeDiagnosa }}
diff --git a/store/pendaftaran.ts b/store/pendaftaran.ts
index e7823e8..88ba824 100644
--- a/store/pendaftaran.ts
+++ b/store/pendaftaran.ts
@@ -173,10 +173,10 @@ export const usePendaftaranStore = defineStore('pendaftaran', {
}
// Validate tindakan items - must have at least 1
- if (this.tindakanItems.length === 0) {
- errors.push('Tindakan (minimal 1 tindakan harus diisi)');
- if (!firstErrorField) firstErrorField = 'tindakan';
- }
+ // if (this.tindakanItems.length === 0) {
+ // errors.push('Tindakan (minimal 1 tindakan harus diisi)');
+ // if (!firstErrorField) firstErrorField = 'tindakan';
+ // }
// Validate rencanaOperasiData
if (!this.rencanaOperasiData.spesialis) {
diff --git a/types/pendaftaran.ts b/types/pendaftaran.ts
index 1a030f1..e2437c7 100644
--- a/types/pendaftaran.ts
+++ b/types/pendaftaran.ts
@@ -23,12 +23,14 @@ export interface DiagnosisItem {
kodeDiagnosa: string;
diagnosa: string;
jenisDiagnosa: string;
+ keterangan?: string;
}
export interface TindakanItem {
kodeTindakan: string;
tindakan: string;
tindakanTambahan?: string;
+ keterangan?: string;
}
export interface DiagnosisApiData {
|