Module ahon_knowledgebase_mcp.abbreviations
Dutch medical abbreviation lookup and English-gloss search.
Functions
def lookup_dutch_medical_abbreviation(abbreviation: str) ‑> str | None-
Look up the English meaning of a Dutch medical abbreviation.
Matching is case-insensitive and ignores apostrophes, trailing dots, and hyphens vs spaces inside the abbreviation (
GAG's,gtt.,GH-IH/GHIH). A trailing slash on a stored key is optional in the query (amatchesA/), but a slash in the query is significant (P/does not matchP). Extra tokens after the abbreviation (DIEP-flap,ZN preparaat) disambiguate homographs when they appear in a meaning; otherwise they are ignored.- Args
- -----=
abbreviation- Dutch abbreviation as it appears in clinical notes.
Returns -----= The English meaning when exactly one distinct meaning matches; a markdown table with
abbreviationandmeaningcolumns when several meanings match;Nonewhen nothing matches. def search_for_dutch_medical_abbreviations(query: str) ‑> str | None-
Fuzzy-search English descriptions to find the corresponding Dutch medical abbreviations.
This searches English glosses only, not Dutch source wording and not abbreviation keys. Dutch queries such as
omtrekwill not match; use an English term such asgirthorcircumference. To resolve a known Dutch abbreviation to English, uselookup_dutch_medical_abbreviation().- Args
- -----=
query- British English term or phrase to find in abbreviation explanations.
Returns -----= A markdown table with
abbreviationandmeaningcolumns, orNonewhen nothing matches.