i would prefer to have this explicitly saying checkifEncounterTypesAreLocked()