Our great scholars in Fiqh (Jurisprudence) have studied and discussed this matter like any other new matter and gave the rules related to it derived from our main Evidence (Quran, Hadeeth, intellect and Ijmaa').
This is the practice of our great scholars in every matter which concerns the life of people.
Wassalam.