From 25d0091a19ca813fc50c317e0318eb0983ba3124 Mon Sep 17 00:00:00 2001 From: Muhammad Rifai Date: Mon, 20 Oct 2025 23:41:23 +0700 Subject: [PATCH] Fix Dialog Consultation (#124) --- app/components/app/consultation/entry.vue | 126 +++++++++ app/components/app/consultation/list.cfg.ts | 54 ++++ app/components/app/consultation/list.vue | 31 +++ .../app/division/entry-form-prev.vue | 145 +++++++++++ app/components/app/division/tree.vue | 165 ++++++++++++ .../assesment-function/entry-form.vue | 47 ++++ .../encounter/assesment-function/list-cfg.ts | 112 ++++++++ .../app/encounter/assesment-function/list.vue | 19 ++ .../encounter/assesment-function/picker.vue | 0 .../encounter/assesment-function/search.vue | 0 app/components/app/encounter/process.vue | 73 ++++++ .../app/specialist/entry-form-prev.vue | 181 +++++++++++++ .../app/subspecialist/entry-form-prev.vue | 213 ++++++++++++++++ app/components/app/unit/entry-form-prev.vue | 125 +++++++++ app/components/content/consultation/list.vue | 213 ++++++++++++++++ app/components/content/division/entry.ts | 145 +++++++++++ app/components/content/division/list-prev.vue | 208 +++++++++++++++ .../encounter/assesment-function/add.vue | 3 + .../encounter/assesment-function/list.vue | 64 +++++ app/components/content/encounter/process.vue | 3 +- app/components/content/installation/entry.ts | 37 +++ app/components/content/patient/add.vue | 9 + app/components/content/specialist/entry.ts | 95 +++++++ .../content/specialist/list-prev.vue | 240 ++++++++++++++++++ app/components/content/subspecialist/entry.ts | 98 +++++++ .../content/subspecialist/list-prev.vue | 239 +++++++++++++++++ app/components/content/unit/entry.ts | 63 +++++ app/components/content/unit/list-prev.vue | 207 +++++++++++++++ app/composables/usePaginatedList.ts | 2 +- app/handlers/consultation.handler.ts | 17 ++ app/models/_model.ts | 20 ++ app/models/consultation.ts | 47 ++++ app/models/device.ts | 2 +- app/models/division.ts | 2 +- app/models/material.ts | 2 +- app/models/specialist.ts | 2 +- app/models/subspecialist.ts | 2 +- app/models/uom.ts | 2 +- app/pages/(features)/patient/[id]/detail.vue | 9 + app/pages/(features)/patient/[id]/edit.vue | 9 + app/pages/(features)/patient/add.vue | 41 +++ app/pages/(features)/patient/index.vue | 40 +++ app/pages/_dev/consultation/list.vue | 42 +++ app/schemas/consultation.schema.ts | 13 + app/services/consultation.service.ts | 23 ++ app/services/unit.service.ts | 2 +- server/api/v1/_dev/division/list.get.ts | 163 ++++++++++++ server/api/v1/satusehat/list.post.ts | 171 +++++++++++++ 48 files changed, 3517 insertions(+), 9 deletions(-) create mode 100644 app/components/app/consultation/entry.vue create mode 100644 app/components/app/consultation/list.cfg.ts create mode 100644 app/components/app/consultation/list.vue create mode 100644 app/components/app/division/entry-form-prev.vue create mode 100644 app/components/app/division/tree.vue create mode 100644 app/components/app/encounter/assesment-function/entry-form.vue create mode 100644 app/components/app/encounter/assesment-function/list-cfg.ts create mode 100644 app/components/app/encounter/assesment-function/list.vue create mode 100644 app/components/app/encounter/assesment-function/picker.vue create mode 100644 app/components/app/encounter/assesment-function/search.vue create mode 100644 app/components/app/encounter/process.vue create mode 100644 app/components/app/specialist/entry-form-prev.vue create mode 100644 app/components/app/subspecialist/entry-form-prev.vue create mode 100644 app/components/app/unit/entry-form-prev.vue create mode 100644 app/components/content/consultation/list.vue create mode 100644 app/components/content/division/entry.ts create mode 100644 app/components/content/division/list-prev.vue create mode 100644 app/components/content/encounter/assesment-function/add.vue create mode 100644 app/components/content/encounter/assesment-function/list.vue create mode 100644 app/components/content/installation/entry.ts create mode 100644 app/components/content/patient/add.vue create mode 100644 app/components/content/specialist/entry.ts create mode 100644 app/components/content/specialist/list-prev.vue create mode 100644 app/components/content/subspecialist/entry.ts create mode 100644 app/components/content/subspecialist/list-prev.vue create mode 100644 app/components/content/unit/entry.ts create mode 100644 app/components/content/unit/list-prev.vue create mode 100644 app/handlers/consultation.handler.ts create mode 100644 app/models/_model.ts create mode 100644 app/models/consultation.ts create mode 100644 app/pages/(features)/patient/[id]/detail.vue create mode 100644 app/pages/(features)/patient/[id]/edit.vue create mode 100644 app/pages/(features)/patient/add.vue create mode 100644 app/pages/(features)/patient/index.vue create mode 100644 app/pages/_dev/consultation/list.vue create mode 100644 app/schemas/consultation.schema.ts create mode 100644 app/services/consultation.service.ts create mode 100644 server/api/v1/_dev/division/list.get.ts create mode 100644 server/api/v1/satusehat/list.post.ts diff --git a/app/components/app/consultation/entry.vue b/app/components/app/consultation/entry.vue new file mode 100644 index 00000000..a8378b0c --- /dev/null +++ b/app/components/app/consultation/entry.vue @@ -0,0 +1,126 @@ + + +