Added view loaded listener to patientgraph
Added unpacking function for survey results