State Transition done

Affects the medication and investigation tab