Encounter code.