Variant 5 in each template LBT13/LBT14 needs to use trim_levels_to_map with a metadata map that has the appropriate grade reference ranges. For example, in the "HIGH" direction some parameters like ALKPHSI have levels 1-4 defined. Other parameters have only a subset of levels e.g. GLUCSI has levels 3,4 only and LYMPHSI has levels 2-3 only.
[ ] Consider whether a map helper function can be created
[ ] Update downstream TLG-C examples as appropriate
Variant 5 in each template LBT13/LBT14 needs to use
trim_levels_to_map
with a metadata map that has the appropriate grade reference ranges. For example, in the "HIGH" direction some parameters like ALKPHSI have levels 1-4 defined. Other parameters have only a subset of levels e.g. GLUCSI has levels 3,4 only and LYMPHSI has levels 2-3 only.