Further changes to get medications documentation measure working