add obs to the encounter json object