we need a function which will take a programId as well as a userID and get the status of the program. a program can have the following status;
general-non-assigned - In this instance the program is not assigned to a user and is simply a general program
general-assigned - in this instance the program is assigned to a user and they are currently working on the program
-general-completed - in this instance the program has been completed by the end user
-custom-assigned - in this instance the program is a custom program which has been assigned to the end user
-custom-completed - in this instance the program is assigned to an end user which they have completed.
we need a function which will take a programId as well as a userID and get the status of the program. a program can have the following status;