Development and portability of a text mining algorithm for capturing disease progression in electronic health records of patients with stage IV non-small cell lung cancer