From bd4a269fad4b068e6bfc98d2f14191d5356c0dc3 Mon Sep 17 00:00:00 2001 From: Khafid Prayoga Date: Thu, 9 Oct 2025 20:21:06 +0700 Subject: [PATCH] feat(patient): add callback url support for patient creation Add callback URL parameter to redirect after successful patient creation. The URL can be passed via 'return-path' query parameter and will include the created patient's ID. This enables seamless integration with external systems that need to handle post-creation flows. --- app/components/content/patient/entry.vue | 26 ++++++++++++++++++--- app/pages/(features)/client/patient/add.vue | 3 ++- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/app/components/content/patient/entry.vue b/app/components/content/patient/entry.vue index 47fd92a0..85d65c3d 100644 --- a/app/components/content/patient/entry.vue +++ b/app/components/content/patient/entry.vue @@ -1,6 +1,7 @@