Wireless communication is becoming a part of our life at every step. But widespread use in medical applications is yet to come. We are developing a wireless communication system based on 802.15.6 MAC and 802.15.4 PHY for use in transmitting ECG data from a remote patient monitoring device which is used for home based telemedicine applications. The paper concentrates on explaining the stack program development phases of the standard IEEE 802.15.6 and its flexible access features. It is believed that the subjected standard is going to provide a medical data highway in its reserved bands.