feat: improve medication enrichment lookup

Squash merge PR #475
This commit is contained in:
Daniel Volz
2026-03-25 07:03:08 +01:00
committed by GitHub
parent 5382669ffe
commit 8e2d7e74d2
18 changed files with 3594 additions and 168 deletions
+35 -5
View File
@@ -228,35 +228,65 @@
"enrichment": {
"title": "Optionale Medikamentensuche",
"coverageLabel": "Unvollständige freie Abdeckung",
"collapsedHint": "Öffne das nur, wenn du Suchvorschläge nutzen möchtest.",
"collapsedHint": "Nur verwenden, wenn du Suchvorschläge brauchst.",
"toggleShow": "Suche anzeigen",
"toggleHide": "Suche ausblenden",
"infoShow": "Infos zu den Quellen",
"infoHide": "Quellenhinweise ausblenden",
"infoTitle": "Was du erwarten kannst",
"description": "Durchsuche zuerst RxNorm und openFDA, nutze EMA nur als letzten Fallback und prüfe jeden Treffer, bevor du etwas ins Formular übernimmst.",
"infoTitle": "Hinweise zu den Quellen",
"description": "Die Ergebnisse stammen in erster Linie aus RxNorm und openFDA. EMA wird nur als Fallback verwendet, wenn es nötig ist. Prüfe jeden Vorschlag, bevor du ihn ins Formular übernimmst.",
"searchLabel": "Medikamentenquellen durchsuchen",
"searchPlaceholder": "Nach Marke oder Wirkstoff suchen",
"searchAction": "Suchen",
"searching": "Suche läuft...",
"loadingSearch": "Medikamentenquellen werden durchsucht...",
"loadingMoreResults": "Weitere Treffer werden geladen...",
"showMoreAction": "Mehr Treffer anzeigen",
"noResults": "Es wurden in der aktuellen Freiquellen-Suche keine Treffer gefunden. Du kannst das Medikament manuell weiter erfassen.",
"manualEntryHint": "Diese Hilfe ist optional und kann Medikamente, Stärken oder lokale Marktvarianten übersehen.",
"manualEntryHint": "Die Suchvorschläge sind optional und decken möglicherweise nicht jedes Medikament, jede Stärke, jede Packungsgröße oder jede lokale Marktvariante ab.",
"authRequired": "Für die Medikamentensuche ist eine aktive Anmeldung erforderlich. Bitte melde dich erneut an oder fahre mit der manuellen Eingabe fort.",
"searchError": "Die Medikamentensuche ist momentan nicht verfügbar. Bitte fahre mit der manuellen Eingabe fort.",
"applyAction": "Übernehmen",
"applying": "Wird übernommen...",
"applied": "Ins Formular übernommen",
"applyError": "Das Autofill konnte nicht übernommen werden. Bitte bearbeite das Medikament manuell weiter.",
"partialNote": "Es waren nur teilweise Autofill-Vorschläge verfügbar. Prüfe die Felder vor dem Speichern.",
"packageAvailable": "Packungsgröße",
"packageUnavailable": "Keine Packungsgröße",
"packageTitle": "Packungsgrößen-Vorschläge",
"packageHint": "Wähle eine Packungsgröße aus, um die Bestandsfelder zu aktualisieren.",
"appliedPackage": "Übernommene Packungsgröße: {{label}}",
"packageContainers": {
"blister_one": "1 Blisterpackung",
"blister_other": "{{count}} Blisterpackungen",
"bottle_one": "1 Flasche",
"bottle_other": "{{count}} Flaschen",
"liquidContainer_one": "1 Flasche",
"liquidContainer_other": "{{count}} Flaschen",
"tube_one": "1 Tube",
"tube_other": "{{count}} Tuben"
},
"packageUnits": {
"tablet_one": "Tablette",
"tablet_other": "Tabletten",
"capsule_one": "Kapsel",
"capsule_other": "Kapseln",
"caplet_one": "Caplet",
"caplet_other": "Caplets",
"pill_one": "Pille",
"pill_other": "Pillen"
},
"strengthTitle": "Stärke-Vorschläge",
"strengthHint": "Wähle eine Stärke aus, um Dosis pro Tablette und Einheit zu aktualisieren.",
"showMoreStrengthsAction": "Mehr anzeigen",
"appliedStrength": "Übernommene Stärke: {{label}}",
"details": {
"showAction": "Mehr Details",
"hideAction": "Weniger Details",
"authorisationHolder": "Zulassungsinhaber",
"therapeuticArea": "Therapiebereich",
"authorisationDate": "Zulassungsdatum"
"authorisationDate": "Zulassungsdatum",
"packageSizes": "Packungsgrößen"
},
"genericStatus": {
"generic": "Generikum",
+35 -5
View File
@@ -228,35 +228,65 @@
"enrichment": {
"title": "Optional medication lookup",
"coverageLabel": "Incomplete free-source coverage",
"collapsedHint": "Open this only if you want lookup suggestions.",
"collapsedHint": "Use this only when you want lookup suggestions.",
"toggleShow": "Show lookup",
"toggleHide": "Hide lookup",
"infoShow": "About sources",
"infoHide": "Hide source notes",
"infoTitle": "What to expect",
"description": "Search RxNorm and openFDA first, use EMA as a last fallback, and review each result before applying anything to the form.",
"infoTitle": "Source notes",
"description": "Results are primarily sourced from RxNorm and openFDA. EMA is used only as a fallback when needed. Review each suggestion before applying it to the form.",
"searchLabel": "Search medication sources",
"searchPlaceholder": "Search by brand or ingredient",
"searchAction": "Search",
"searching": "Searching...",
"loadingSearch": "Searching medication sources...",
"loadingMoreResults": "Loading more results...",
"showMoreAction": "Show more results",
"noResults": "No matches were found in the current free-source search. You can continue entering the medication manually.",
"manualEntryHint": "This helper is optional and may miss medications, strengths, or local market variants.",
"manualEntryHint": "Lookup suggestions are optional and may not cover every medication, strength, package size, or local market variant.",
"authRequired": "Medication lookup requires an active sign-in. Please sign in again or continue with manual entry.",
"searchError": "Medication lookup is currently unavailable. Please continue with manual entry.",
"applyAction": "Apply",
"applying": "Applying...",
"applied": "Applied to form",
"applyError": "Autofill could not be applied. Please keep editing the medication manually.",
"partialNote": "Only partial autofill suggestions were available. Review the fields before saving.",
"packageAvailable": "Package size",
"packageUnavailable": "No package size",
"packageTitle": "Package size suggestions",
"packageHint": "Choose a package size to update the stock fields.",
"appliedPackage": "Applied package size: {{label}}",
"packageContainers": {
"blister_one": "1 blister pack",
"blister_other": "{{count}} blister packs",
"bottle_one": "1 bottle",
"bottle_other": "{{count}} bottles",
"liquidContainer_one": "1 bottle",
"liquidContainer_other": "{{count}} bottles",
"tube_one": "1 tube",
"tube_other": "{{count}} tubes"
},
"packageUnits": {
"tablet_one": "tablet",
"tablet_other": "tablets",
"capsule_one": "capsule",
"capsule_other": "capsules",
"caplet_one": "caplet",
"caplet_other": "caplets",
"pill_one": "pill",
"pill_other": "pills"
},
"strengthTitle": "Strength suggestions",
"strengthHint": "Choose a strength to update dose per pill and unit.",
"showMoreStrengthsAction": "Show more",
"appliedStrength": "Applied strength: {{label}}",
"details": {
"showAction": "More details",
"hideAction": "Less details",
"authorisationHolder": "Authorisation holder",
"therapeuticArea": "Therapeutic area",
"authorisationDate": "Authorisation date"
"authorisationDate": "Authorisation date",
"packageSizes": "Package sizes"
},
"genericStatus": {
"generic": "Generic",