I think all the javascript for the assign patient page is sorted out other than a minor edge case where editing in the middle of a text field as opposed to the end does not properly update the used/unused states.