This is the TI copyright that we got these API files originally. Yes, they are different from the other TI files that are generated by HALCoGen but they are still TI files and not ours. When I was working on the copyright script, I realized the script did not realize they are not our files and added our copyright. I enhanced the algorithm that checks whether a file belongs to Diality or not, so this issue will not happen. At the same time, I removed the Diality copyright. I am not sure why there is a "?" in their copyright that does not affect the script's parsing capabilities.
Create utility module (if not already done) with method fromMinToHrs(float min) that converts minutes to hours and call that from here with passed in argument vTreatmentTime.time_Total.
Note: Since this is the JavaScript portion of QML, I leave it up to your best judgment where to define this method, local (only used in this *.qml file) vs. global (used across *.qml files).