This is based on a SAS program that IMS maintains.
I already provided the program.
To add a new algorithm, you will need to create a "tumorsizeovertime" package, and a TumorSizeOverTime algorithm that extends the Algorithm interface. You will need to register it in Algorithms. And finally, you will need to add a new (non-standard) field in Algorithms for that computed field. You can assign the next NAACCR number available for the non-standard fields.
This is based on a SAS program that IMS maintains.
I already provided the program.
To add a new algorithm, you will need to create a "tumorsizeovertime" package, and a TumorSizeOverTime algorithm that extends the Algorithm interface. You will need to register it in Algorithms. And finally, you will need to add a new (non-standard) field in Algorithms for that computed field. You can assign the next NAACCR number available for the non-standard fields.
I think that's it. There are plenty of examples.
Let me know if you have any questions.