312027b9ed
avoid too many duplicate requireUserInServerComponent requests for each page+layout
2025-09-10 06:33:44 +03:00
0aea6b80d4
sent time in medipost xml can be different from order creation time
2025-09-10 06:31:49 +03:00
95452de88b
prefer using providers conf from supabase instead of env
2025-09-10 06:31:23 +03:00
0f16c6552f
Merge pull request #84 from MR-medreport/keycloak-improvements-0909
...
improve namings; improve logging for orders without analysis packages
2025-09-09 11:55:43 +00:00
7d208b41f2
update naming to be clearer
2025-09-09 14:01:19 +03:00
Helena
ca13e9e30a
MED-82: add patient notification emails ( #74 )
...
* MED-82: add patient notification emails
* remove console.log
* clean up
* remove extra paragraph from email
2025-09-09 10:37:22 +03:00
fd94320295
use analysisElementMedusaProductIds from order product selected variant if it exists
2025-09-09 09:56:57 +03:00
596d0e9eee
fix missing month for DoB in medipost xml
2025-09-09 09:56:47 +03:00
1d641211b6
update for new type
2025-09-09 09:56:44 +03:00
06154f24bf
fix: deduplicate specimen elements in medipost XML generation
...
- Fix duplicate <Proov> elements when multiple analysis elements use same material type
- Ensure analysis elements reference correct specimen order numbers
- Move XML composition logic to separate service for better separation of concerns
2025-09-09 09:56:39 +03:00
f00899c456
move medipost xml to separate service to be unit tested
2025-09-09 09:56:34 +03:00
3bdc1cfefc
update personal code util
2025-09-09 09:56:19 +03:00
0081e8948b
move most isikukood.js usage to utils
2025-09-09 09:56:03 +03:00
57a998d215
fix NaN for bmi when divide-by-zero
2025-09-08 01:02:42 +03:00
f01829de96
update keycloak signup / login
2025-09-08 01:02:10 +03:00
6495d1c4a3
fix toTitleCase
2025-09-08 00:58:02 +03:00
c08fe26b36
remove comments from order xml
2025-09-05 15:13:14 +03:00
2435e6f113
update medipost order xml for live
2025-09-05 15:09:27 +03:00
6e9cde6b95
medusa product can have either analysiselement or analysis originalId
2025-09-04 13:20:09 +03:00
Helena
9122acc89f
MED-151: add profile view and working smoking dashboard card ( #71 )
...
* MED-151: add profile view and working smoking dashboard card
* update zod
* move some components to shared
* move some components to shared
* remove console.logs
* remove unused password form components
* only check null for variant
* use pathsconfig
2025-09-04 12:17:54 +03:00
b046b6ab16
use recipient from env as it's different in live
2025-09-03 13:31:41 +03:00
Helena
3498406a0c
MED-88: add doctor email notifications ( #65 )
...
* MED-88: add doctor email notifications
* add logging, send open jobs notification on partial analysis response
* update permissions
* fix import, permissions
* casing, let email be null
* unused import
2025-09-02 12:14:01 +03:00
d83319a094
Merge branch 'main' into MED-85
2025-08-29 11:45:36 +03:00
Helena
5cf29447b3
add email sender
2025-08-28 18:03:28 +03:00
Helena
7d1400fba6
log email result and subject
2025-08-28 17:30:32 +03:00
Helena
5ee161f482
remove html length limit from emails
2025-08-28 16:47:27 +03:00
71f5a25632
Merge branch 'main' into MED-85
2025-08-28 14:57:09 +03:00
Helena
86dc221cc6
MED-145: send notification to patient when summary completed ( #61 )
...
* MED-145: send notification to patient when summary completed
* MED-145: send notification to patient when summary completed
* use aliased imports where possible, revert cart service urls
* save language preference to local db
* remove unnecessary optional chaning
2025-08-28 13:05:07 +03:00
2ffad84100
feat(MED-105): log opening analysis results from orders view
2025-08-28 12:35:30 +03:00
b4985afdf0
feat(MED-85): add logging for medipost response error xml
2025-08-28 12:25:18 +03:00
a37c4cad9c
feat(MED-85): add logging for medipost actions with xml and related order id
2025-08-28 11:56:07 +03:00
47ab39172e
feat(MED-85): run sending fake medipost results in dev from Medusa BO
2025-08-28 10:30:43 +03:00
a547503887
Merge branch 'main' into MED-85
2025-08-27 08:31:26 +03:00
Helena
8c6ce29c23
MED-147: add doctor actions logging ( #59 )
...
* MED-147: add doctor actions logging
* enum casing
2025-08-27 08:11:13 +03:00
380363922c
feat(MED-85): improve results sync logs
2025-08-27 08:07:18 +03:00
2b2a0b8bc4
feat(MED-85): update dispatch order to medipost retry
2025-08-27 08:05:52 +03:00
Danel Kungla
dedb42f15b
Merge branch 'main' into MED-57
2025-08-26 11:30:34 +03:00
Helena
d017834b8c
MED-90: improve doctor analysis detail view ( #57 )
...
* add doctor jobs view
* change translation
* another translation change
* clean up
* add analaysis detail view to paths config
* translation
* merge fix
* fix path
* MED-90: improve doctor analysis detail view
* add key
2025-08-25 16:49:04 +03:00
Danel Kungla
e0a8173368
Merge branch 'main' into MED-57
2025-08-25 12:25:18 +03:00
Danel Kungla
56ffd7591e
feat(team-accounts): enhance team account statistics and health details components with new data and improved calculations
2025-08-25 12:24:27 +03:00
da8b5aa59f
feat(MED-85): create logs of sending order to medipost success/error
2025-08-25 12:22:29 +03:00
38d73e27ad
feat(MED-121): use age+sex specific analysis package variants
2025-08-25 11:50:03 +03:00
Helena
195af1db3d
MED-137: add doctor other jobs view ( #55 )
...
* add doctor jobs view
* change translation
* another translation change
* clean up
* add analaysis detail view to paths config
* translation
* merge fix
* fix path
* move components to shared
* refactor
* imports
* clean up
2025-08-25 11:12:57 +03:00
Danel Kungla
d8c617eb34
fix(utils): round BMI calculation to return a valid number or NaN
2025-08-22 09:16:06 +03:00
Danel Kungla
1fb8df7c89
feat(dashboard, api): integrate BMI thresholds and enhance dashboard with health metrics
2025-08-21 22:09:17 +03:00
Danel Kungla
937f3e4a71
feat(account): refactor team account retrieval and update SQL function for workspace
2025-08-18 15:59:59 +03:00
Karli
2f732b254f
feat(MED-123): log order analysis page view
2025-08-18 14:11:27 +03:00
Karli
ec866c7f29
feat(MED-101): add audit log to cart item delete
2025-08-18 13:27:13 +03:00
Karli
d65a6e8a4a
feat(MED-105): update sending test analysis results
2025-08-18 13:20:06 +03:00
5ff0500a9a
Merge branch 'main' into MED-105-v3
2025-08-14 12:21:46 +03:00