Expand description
Bind values from a supplied Parameters resource to Library.parameter
declarations, using FHIR type codes to choose the right rusqlite value.
Structs§
- Bound
Param - A named, type-checked binding. The handler passes a
Vec<BoundParam>to the engine;nameis theLibrary.parameter.namewithout a leading colon.
Constants§
- BINDABLE_
PARAMETER_ TYPES - FHIR type codes this binder knows how to map to a
Parameters.parameter.value[x]— the source of truth for what aLibrary.parameter[].typevalue this module can actually bind, and the list a caller building a type picker (#841’s “Add parameter”) should offer so it never diverges from what running the query actually supports.
Functions§
- bind_
supplied_ params - Walks the supplied
parametersParameters resource and produces bindings for everyLibrary.parameter[use="in"]. Missing values fall back to the declared default; if no default, returnsBindParameter.