TOTAL NUMBER OF LEGAL STATUS CLASSIFICATION CHANGES FOR TYPE

Format/Length:n10
HES Item: 
National Codes: 
Default Codes: 

Notes:
TOTAL NUMBER OF LEGAL STATUS CLASSIFICATION CHANGES FOR TYPE is the total number of changes of MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE for PATIENTS detained under the Mental Health Act and with a Hospital Provider Spell during the REPORTING PERIOD for a LEGAL STATUS CLASSIFICATION CHANGE FROM TO TYPE.

Where the PATIENT has been discharged from a Hospital Provider Spell during the REPORTING PERIOD, the MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE at the Discharge Date for the Hospital Provider Spell should be treated as National Code 'Informal'.

All changes from one MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE to another that is not individually specified in LEGAL STATUS CLASSIFICATION CHANGE FROM TO TYPE should be aggregated to LEGAL STATUS CLASSIFICATION CHANGE FROM TO TYPE classification 'LEGAL STATUS CLASSIFICATION CODE All other changes not specified'.

It only includes changes from MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE National Code 'Formally detained under Mental Health Act 135' and 'Formally detained under Mental Health Act 136' where the admission to the Hospital Provider Spell was to a Hospital Site.

It excludes any changes in Hospital Provider Spells where the admission is under an active Supervised Community Treatment and/or subject of a Supervised Community Treatment Recall.

1. It is a count of the total number of changes of MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE for all PATIENTS within the Health Care Provider for a given LEGAL STATUS CLASSIFICATION CHANGE FROM TO TYPE where:
  a.the Hospital Provider Spell has a Start Date on or before the REPORTING PERIOD END DATE 
   and
   the Hospital Provider Spell has no recorded Discharge Date i.e. the Hospital Provider Spell is still active
   or
   the recorded Discharge Date is after the REPORTING PERIOD END DATE i.e. the Hospital Provider Spell was active as at the REPORTING PERIOD END DATE 
   or
   the recorded Discharge Date is after the REPORTING PERIOD START DATE and before or on the REPORTING PERIOD END DATE i.e. the Hospital Provider Spell was active during the REPORTING PERIOD 
  and 
  b.the Hospital Provider Spell contains at least one Consultant Episode (Hospital Provider) where the main TREATMENT FUNCTION of the CONSULTANT is for a mental illness MAIN SPECIALTY. The mental illness MAIN SPECIALTY CODES being 700, 710, 711, 712, 713 and 715. This includes both Hospital Stays and Care Home Stays (Consultant Care) within the Hospital Provider Spell.
   Note: for LEGAL STATUS CLASSIFICATION CHANGE FROM TO TYPE set value 06 and 13, and 18 only include changes from MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE National Code 'Formally detained under Mental Health Act 136' where the admission to the Hospital Provider Spell was to a Hospital Stay.
   Note: for LEGAL STATUS CLASSIFICATION CHANGE FROM TO TYPE set value 27 only include changes from MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE National Code 'Formally detained under Mental Health Act 135' where the admission to the Hospital Provider Spell was to a Hospital Stay.
  and 
  c.the PERSON PROPERTY EFFECTIVE DATE for the change to MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE of MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION is on or after the REPORTING PERIOD START DATE and is on or before the REPORTING PERIOD END DATE 
   and
   the PERSON PROPERTY EFFECTIVE DATE for the change from MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE of LEGAL STATUS CLASSIFICATION is the latest preceding the PERSON PROPERTY EFFECTIVE DATE for the change to MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE of MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION and is for the same Hospital Provider Spell
  and 
  d.the from and to MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODES corresponds to the LEGAL STATUS CLASSIFICATION CHANGE FROM TO TYPE 
2. Where no changes match these criteria then TOTAL NUMBER OF LEGAL STATUS CLASSIFICATION CHANGES FOR TYPE should be set to zero.
 

This data element is also known by these names:
ContextAlias
pluralTOTAL_NUMBER_OF_LEGAL_STATUS_CLASSIFICATION_CHANGES_FOR_TYPE