MactoAnd it goes on your permanent record, too!
According to the way the blog posts are currently scheduled, I just spent about a month doing nothing but talking about stuff that has very little to do with the implementation, code or even just rough architecture. I bet you thought that you were going to see some code, diagrams and something real that you can sink your teeth into…
Well, not so fast, this is supposed to be a DDD sample, as such, the first and foremost topic that discuss is the actual domain. I think that this is likely to be the last of the pure domain posts, and I’ll get started with the actual design stuff shortly. But before we do that, we need to learn about one last aspect of the domain, the Inmate’s Record.
So far, we have dealt mostly with the Dossier, the legal stuff that means that we can keep an Inmate in lawful incarceration, but in addition to that, we also have the Inmate’s Record. The Record is basically all the interesting things that the prison stuff needs to know about the Inmate. Those things range from cliff notes version that you need to look at before you interact with an Inmate to a detailed record of his stay in prison.
The cliff note version is usually used in briefing about the guy, “Look, we have to take him to his court date, you need to remember, the guy is on suicide watch, so never leave him alone…”. In the cliff note version, we highly important aspects of the Record. Suicidal, Flighty (tried / planning to escape), Avoid Putting With Inmate X, etc.
The Full Record is used for things like intelligence reviews, interviews, parole hearings, and in any case where there is a need to learn a lot about the Inmate.
What goes into the Record?
- Guards’ reports
- Intelligence gathered
- Disciplinary actions
And probably a whole lot more that I am forgetting. It is important to note the difference between the Dossier, which is usually handled by Legal and the Record, which is usually handled by Staff. They both refer to the same Inmate, but they are usually handled, maintained and used completely separately.
More posts in "Macto" series:
- (17 Aug 2011) Looking at warrants
- (15 Aug 2011) Talking to nasty people
- (11 Aug 2011) Counting is The Holy Grail
- (10 Aug 2011) Getting Started, you never forget your first Inmate
- (08 Aug 2011) The Main Screen
- (03 Aug 2011) Warrants are for fools
- (01 Aug 2011) Non functional concerns, you are a legal system
- (28 Jul 2011) And it goes on your permanent record, too!
- (27 Jul 2011) Once more from the top, I swear I had a few more over there
- (26 Jul 2011) Day to day life
- (22 Jul 2011) Where is the Inmate anyway?
- (19 Jul 2011) Let’s CREATE an Inmate
- (12 Jul 2011) Creating The Model
- (05 Jul 2011) The boundaries of a prison
- (25 Jul 2009) An end to end sample
Comments
How do you determine when one combined system becomes two that share information? For instance, the legal system seems to have 2 requirements.
1) Do we have legal authority to incarcerate an inmate? 2) Are all incarcerated inmates accounted for?
We can do this system dealing only with the inmate's current dossier and we do not really care how many other dossiers refer to this inmate. This system does not need to be cross-prison because we do not care (at least operationally), how a previous prison handled this for a previous incarceration.
However for at least parts of the inmate's record, it seems important to share this information between prisons/government/military and that the record does correlate with a specific individual.
Paul, You can't really share that information with other prison. Or, to be rather more exact, you are already sharing this, by passing them the paper Dossier. There are many organizations that run a prison, Military, Police, Prison Service, Border Control, etc. Hell, in the military alone there are usually at least two different types of prisons, with totally different systems. You can't share the Dossier between everyone because they are completely different systems, requirements, change times, etc.
Do you have more info about:
Guards’ reports Intelligence gathered Disciplinary actions
What sort of information do we need to store about each? Are these pretty much standard who, when, what and where? I assume they are stored in the record.
Those are pretty much just a bunch of text and maybe some pics. Right now we are talking about hand written reports.
So who is the customer? 1. Is it the Prison Commander? Who is responsible for one prison? 2. The Military? Who are responsible for multiple prisons? 3. Or Hibernating Rhinos? Purveyor of fine off the shelf incarceration tracking solutions.
From the previous posts it sounds like either 1 or 3.
In this case, might not really be important, but it does impact how you would think about the solution and how you would drive out the non-obvious functional needs.
Adrian, I am thinking here as the prison commander.
Comment preview