v0.2.3: PCS complete-code browse, non-blank input validation, compound-term search recall
LatestPCS complete-code browse, non-blank input validation, compound-term search recall
Three correctness fixes: a wrong browse-hierarchy error, unvalidated
whitespace input, and dropped billable search matches.
Fixed:
medcode_browse_hierarchyreturns empty axes with a notice for a
complete, existing ICD-10-PCS code instead ofunknown_node; a
genuinely absent code still throwsunknown_node(#13)- Whitespace-only required strings (
map_codes.from,
search_codes.query,check_code.code,get_code.codes[],
browse_hierarchy.node) are now rejected via a shared
nonBlankStringZod helper, closing thename_to_rxcuiLIKE
'%%' arbitrary-match case (#14) medcode_search_codesrecovers single-token compound/inflected
matches (mono-/polyneuropathy for a "neuropathy" query) via a
substring-match tier alongside the existing prefix-FTS tier, still
paginating as one ordered set (#6)
129 tests pass; bun run devcheck clean.