Below is an instruction from Human. Write a response.
    ### Instruction:
    How to diagnose Insomnia ?
    ### Response:
    Your doctor will likely diagnose insomnia based on your medical and sleep histories and a physical exam. He or she also may recommend a sleep study. For example, you may have a sleep study if the cause of your insomnia is unclear.
                
Medical History

    