fix(visits): reach every lab result, condition, document and visit from the link pickers

The visit form's lab picker offered the newest 200 results, the condition
picker the newest 100 conditions, the document pickers the newest thousand
documents and the document sheet's visit picker the newest 100 visits.
On a long record everything older could not be linked.

Each picker now opens on the records around the date of the thing being
linked, pages older and newer from there, and searches through the list
route itself. Records already linked always show, from the labels the
record's own read carries and from what was picked in the sheet.

The lab list takes a q filter over analyte and panel, the condition list
from/to/q/offset/sortDir, and the visit list an offset.
This commit is contained in:
Marc-André Bombeck committed 2026-10-15 11:24:40 +02:00
1 parent dad9a7778e
commit 73c4dda224
35 files changed
+1714 -251

No files matched your search

+4 -1
View File
@@ -12174,7 +12174,10 @@
"suggested": "Um dieses Datum",
"loadError": "Die Liste konnte nicht geladen werden.",
"removeNamed": "{name} entfernen",
"removed": "Verknüpfung mit {name} gelöst"
"removed": "Verknüpfung mit {name} gelöst",
"linked": "Verknüpft",
"loadNewer": "Neuere laden",
"loadOlder": "Ältere laden"
}
},
"bodySites": {
+4 -1
View File
@@ -12174,7 +12174,10 @@
"suggested": "Around this date",
"loadError": "The list could not be loaded.",
"removeNamed": "Remove {name}",
"removed": "Unlinked {name}"
"removed": "Unlinked {name}",
"linked": "Linked",
"loadNewer": "Load newer",
"loadOlder": "Load older"
}
},
"bodySites": {
+4 -1
View File
@@ -12174,7 +12174,10 @@
"suggested": "En torno a esta fecha",
"loadError": "No se pudo cargar la lista.",
"removeNamed": "Quitar {name}",
"removed": "Se desvinculó {name}"
"removed": "Se desvinculó {name}",
"linked": "Vinculados",
"loadNewer": "Cargar más recientes",
"loadOlder": "Cargar anteriores"
}
},
"bodySites": {
+4 -1
View File
@@ -12174,7 +12174,10 @@
"suggested": "Autour de cette date",
"loadError": "Impossible de charger la liste.",
"removeNamed": "Retirer {name}",
"removed": "{name} dissocié"
"removed": "{name} dissocié",
"linked": "Liés",
"loadNewer": "Charger les plus récents",
"loadOlder": "Charger les plus anciens"
}
},
"bodySites": {
+4 -1
View File
@@ -12174,7 +12174,10 @@
"suggested": "Intorno a questa data",
"loadError": "Impossibile caricare l’elenco.",
"removeNamed": "Rimuovi {name}",
"removed": "Collegamento a {name} rimosso"
"removed": "Collegamento a {name} rimosso",
"linked": "Collegati",
"loadNewer": "Carica più recenti",
"loadOlder": "Carica meno recenti"
}
},
"bodySites": {
+4 -1
View File
@@ -12174,7 +12174,10 @@
"suggested": "이 날짜 전후",
"loadError": "목록을 불러오지 못했습니다.",
"removeNamed": "{name} 제거",
"removed": "{name} 연결 해제됨"
"removed": "{name} 연결 해제됨",
"linked": "연결됨",
"loadNewer": "최근 항목 더 보기",
"loadOlder": "이전 항목 더 보기"
}
},
"bodySites": {
+4 -1
View File
@@ -12174,7 +12174,10 @@
"suggested": "Wokół tej daty",
"loadError": "Nie udało się wczytać listy.",
"removeNamed": "Usuń {name}",
"removed": "Odłączono: {name}"
"removed": "Odłączono: {name}",
"linked": "Połączone",
"loadNewer": "Wczytaj nowsze",
"loadOlder": "Wczytaj starsze"
}
},
"bodySites": {