was working atA casual form of で働いていたんだ. The んだ adds an explanatory or emphatic tone, often conveying “you see” or giving background information. The place or organization comes before で.
JA: 姉は去年、東京の病院で働いてたんだ。
EN: My older sister was working at a hospital in Tokyo last year.