Detention period—detention end reason, youth justice detention end reason code N[N]

Identifying and definitional attributes

Metadata item type:Help on this termData Element
Short name:Help on this termDetention end reason
Synonymous names:Help on this termExit reason
METEOR identifier:Help on this term537444
Registration status:Help on this term
  • Youth Justice, Superseded 23/08/2022
Definition:Help on this term

The reason a period of custody or confinement of a young person held under youth justice supervision ends, as represented by a code.

Data element concept attributes

Identifying and definitional attributes

Data element concept:Detention period—detention end reason
METEOR identifier:Help on this term537453
Registration status:Help on this term
  • Community Services (retired), Not progressed 23/01/2018
  • Youth Justice, Standard 15/02/2022
Definition:Help on this term

The reason a period of detention ends.

Object class:Help on this termDetention period
Property:Help on this termDetention end reason

Value domain attributes

Identifying and definitional attributes

Value domain:Juvenile justice detention end reason code N[N]
Synonymous names:Help on this termDetention end reason
METEOR identifier:Help on this term754615
Registration status:Help on this term
  • Youth Justice, Superseded 23/08/2022
Definition:Help on this term

A code set representing the reason why an episode of juvenile justice detention ended.

Representational attributes

Representation class:Help on this termCode
Data type:Help on this termNumber
Format:Help on this termN[N]
Maximum character length:Help on this term2
Permissible values:Help on this term
ValueMeaning
1Completed
2Death
3Transfer to another jurisdiction
4Transfer to another youth detention centre within the jurisdiction
5Release on parole
6Release on bail
7Release on bail by appeal
8Release stayed pending appeal
9Escape
10Abscond on leave pass
88Other reason
Supplementary values:Help on this term
ValueMeaning
0Not applicable

Collection and usage attributes

Guide for use:Help on this term

Transfer to another jurisdiction: includes transfer to police custody, adult system or interstate.

CODE 1 (completed) is to end a period of detention where a young person completed their sentence or their period of police-referred detention or remand ended due to the outcome of a court hearing or trial.

CODE 2 (death) is to end a period of detention that ended due to the death of a young person.

CODE 3 (transfer to another jurisdiction, police custody, adult system) is used to end a detention period for reasons including transfer to police custody, adult system or interstate.

CODE 4 (transfer to another youth detention centre within the jurisdiction) is used to end a period of detention when a young person transfers to another youth detention centre within the state or territory.

CODE 5 (release on parole) is used to end a period of sentenced detention where a young person is released into the community to serve a portion or the remainder of their sentence.

CODE 6 (release on bail) is used to end a period of remand where a young person is released into the community on bail to await a trial.  

CODE 7 (release on bail by appeal) is used to end a period of remand where a young person is released into the community on bail though an appeal process.

CODE 8 (release stayed pending appeal) is used to end a period of detention where a young person is released into the community to await the outcome of an appeal process.

CODE 9 (escape) is used to end a period of detention where a young person has escaped.

CODE 10 (abscond on leave pass) is used to end a period of detention where a young person did not return from leave.

CODE 88 (other) is used for any end reason not already defined above.

CODE 0 (not applicable) is used to end a detention period where the end date falls after the end of the reporting period.

Detention periods ending due to a release by appeal or to await the outcome of an appeal should be ended based on the release type. For example, if a young person was released to bail by appeal or released to bail to await the outcome of an appeal, then CODE 6 (release on bail) should be used.

Data element attributes

Collection and usage attributes

Guide for use:Help on this term

Detention code ‘5‘ should include detention periods that ended with a release on supervised release. This includes the community-based portion of a detention sentence.

Source and reference attributes

Submitting organisation:Help on this termAustralian Youth Justice Administrators (AYJA)

Relational attributes

Related metadata references:Help on this term
Supersedes Service episode—detention end reason, code N[N]
  • Community Services (retired), Standard 14/09/2009
Has been superseded by Detention period—detention end reason, youth justice detention end reason code N[N]
  • Youth Justice, Standard 15/02/2022
Implementation in Data Set Specifications:Help on this term

Juvenile Justice Detention file cluster
Community Services (retired), Not progressed 23/01/2018
Youth Justice, Superseded 23/08/2022

DSS specific information:

Business rules:

  • If the detention end reason is CODE 5 (release on parole), the detention type must be sentenced (CODE 3).
  • If the detention end reason is released on bail, the detention type must be unsentenced (CODE 1, CODE 2).
  • If the detention end date is on or before the end of the reporting period, the detention end reason must be a reason other than CODE 0 (not applicable).
  • If the detention end reason for a previous detention period was CODE 2 (death) there must not be any subsequent detention periods.
  • If the detention end reason is CODE 2 (death) there must be a corresponding order period with an order end reason of CODE 3 (death).
  • If the detention end date is on or before the end of the reporting period, the detention end reason must be a reason other than CODE 0 (not applicable).
  • If the detention end date is after the end of the reporting period, the detention end reason must be CODE 0 (not applicable).
  • If the detention end reason is CODE 4 (transfer to another youth detention centre within the jurisdiction), the next detention record must start within a day and have the same detention type.

No null values.


Juvenile Justice Detention file cluster
Youth Justice, Qualified 22/12/2022

DSS specific information:

Business rules:

  • If the detention end reason is CODE 5 (release on parole), the detention type must be sentenced (CODE 3).
  • If the detention end reason is released on bail, the detention type must be unsentenced (CODE 1, CODE 2).
  • If the detention end date is on or before the end of the reporting period, the detention end reason must be a reason other than CODE 0 (not applicable).
  • If the detention end reason for a previous detention period was CODE 2 (death) there must not be any subsequent detention periods.
  • If the detention end reason is CODE 2 (death) there must be a corresponding order period with an order end reason of CODE 3 (death).
  • If the detention end date is on or before the end of the reporting period, the detention end reason must be a reason other than CODE 0 (not applicable).
  • If the detention end date is after the end of the reporting period, the detention end reason must be CODE 0 (not applicable).
  • If the detention end reason is CODE 4 (transfer to another youth detention centre within the jurisdiction), the next detention record must start within a day and have the same detention type.

No null values.


Youth Justice Detention file cluster
Youth Justice, Superseded 23/08/2022

DSS specific information:

Business rules:

  • If the detention end reason is CODE 5 (release on parole), the detention type must be sentenced (CODE 3).
  • If the detention end reason is released on bail, the detention type must be unsentenced (CODE 1, CODE 2).
  • If the detention end date is on or before the end of the reporting period, the detention end reason must be a reason other than CODE 0 (not applicable).
  • If the detention end reason for a previous detention period was CODE 2 (death) there must not be any subsequent detention periods.
  • If the detention end reason is CODE 2 (death) there must be a corresponding order period with an order end reason of CODE 3 (death).
  • If the detention end date is on or before the end of the reporting period, the detention end reason must be a reason other than CODE 0 (not applicable).
  • If the detention end date is after the end of the reporting period, the detention end reason must be CODE 0 (not applicable).
  • If the detention end reason is CODE 4 (transfer to another youth detention centre within the jurisdiction), the next detention record must start within a day and have the same detention type.

No null values.