Year of Python (YOP) – Week Forty


Hello Reader!

Here we are at week 40!  Only 12 more weeks to go!

This week I continue segments for my overall case management system.  This week I’m focusing on case notes, which are a critical part of any case management system.  I also think the best system is one where you can collaborate on adding case notes.  So multiple people can enter in their findings on the same case, and the other people involved can see the updates.

For this script, I’m just focusing on entering the case note into the database.  There are a lot of similarities to the last two weeks of code, which I’ve been using as a basic framework.  However in this instance, I’m just capturing the current date and time, the actual case note entry itself, and finally I’m hashing the case note entry with the SHA256 algorithm to prevent tampering.  Then all three items are written to the database.

In the larger code, this would end up looping as long as someone wanted to enter in case notes.

Until next week!


No Responses Yet to “Year of Python (YOP) – Week Forty”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: