I was sick, you know.

Literal

Sick was [explanatory-んだよ].

病気だったんだよ — んだ provides explanation ('the thing is, I was sick'), and よ asserts new information. The combination signals 'I'm telling you something you should know.' Very natural casual speech.