How to write resnet block for 1 dimensional data

Newbie alert !
I am experimenting with single dimensional data from a medical device using resnets. Seems like I have to write it from scratch since I have to predict an array of classes.

When I used ConvID for conv, i realized that dimensions dont match exactly with original dimensions ,when I padded it with zeros to match dimensions to do add (), I got bad accuracy .

Any pointers will be helpful.

Thanks