This is just here as a test because I lose it

Term information

database cross reference
  • PATO:0000011 (age/birthdate)
definition

This derived field contains the patient's age in whole years at the end of a finished episode (from 1 to 115 (1990-91 to 1994-95) and from 1 to 120 (1995-96 onwards)). It is calculated from the episode end date (epiend) and the patient's date of birth (dob). For unfinished episodes it is calculated using the period end date, i.e. 31st March, instead of epiend. For patients under one year old, special codes apply. The patient's age in years at the end of an episode is only relevant for General, Delivery or Birth records. It is recorded as a whole number of years (i.e. any days or months produced by the calculation are ignored, unless endage is less than 1 year).

internal ID

endage

Term relations

Subclass of: