In this paper, a swarm based ultra-wideband waveform and routing protocol is used for communicating messages in the form of short pulses in sensor based health care application. Due to the time sensitivity of the application, a cognitive protocol is applied to make decisions based on resource availability and quality-of-service. The combination of swarm based physical and routing layer protocol helps in achieving an energy, bandwidth and time efficient application. This paper compares the performance of cross layer protocol when exhaustive search and swarm based waveform design is used.