Combining wearables and nearables for patient state analysis