Another schema change
Another schema change for the data: we're going to utilize the hitherto ignored outcome_duration element for outcomes. Until this point, normalized outcomes (i.e. the outcome_normalized element) with years attached, such as "transported for 1 year", "hulks for five years", etc. were simply listed as T1, Hulks5, etc. But, because the list of T# and Hulks# normalized outcomes is growing, SD and I have decided to move the numbers from the outcome_normalized element into the outcome_duration element where they belong.
Furthermore, to allow for flexibility when entering the duration, the outcome_duration element has been expanded with a number of child elements. These could also be attributes, but I've chosen to use elements since everything else in the schema uses elements rather than attributes. The modified element looks like this:
<outcome_duration>
<years>(number of years, or blank for none)</years>
<months>(number of months, or blank for none)</months>
<weeks>(number of weeks, or blank for none)</weeks>
<days>(number of days, or blank for none)</days>
<other>(Life, Remainder, or blank)</other>
</outcome_duration>
I also changed the acceptable values of outcome_normalized so that, instead of accepting T#, Hulks#, and GB#, "Transport", "Hulks", and "GoodBehavior" are the new accepted values. Also, "SelfTL" and "SelfTR" have become "SelfTransport" with either "Life" or "Remainder" in the outcome_duration/other.
The values of years, months, weeks, and days must be an integer (or blank), while the value of other must correspond to a value in the setofNormalizedDurationOthers list in the RNG schema.