This function examines all the children of the parent of the given member, and returns the last member of that set (considering the default order of that set).
This function can return the same member that you use as its argument (if that is the last sibling).
SELECT MEASURES.[%COUNT] ON 0, birthd.[Mar 2003].LASTSIBLING ON 1 FROM patients