A woman who was shot in the chest at a house in South Wales died from injuries to her heart and lung, an inquest opening has heard.