As The Case May Be Definition

As is appropriate to the circumstances; particularly where a choice must be made between two options.
Wiktionary