Ayende @ Rahien

It's a girl

Macto: And 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.


Posted By: Ayende Rahien

Published at

Originally posted at


Paul Cox
07/04/2011 10:25 AM by
Paul Cox

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.

Ayende Rahien
07/04/2011 10:36 AM by
Ayende Rahien

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.

07/11/2011 10:22 PM by

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.

Ayende Rahien
07/12/2011 05:16 AM by
Ayende Rahien

Those are pretty much just a bunch of text and maybe some pics. Right now we are talking about hand written reports.

Adrian Russell
07/28/2011 11:17 AM by
Adrian Russell

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.

Ayende Rahien
07/28/2011 11:20 AM by
Ayende Rahien

Adrian, I am thinking here as the prison commander.

Comments have been closed on this topic.