Changes applied to:
- archetypes, revision 4230, 4232
- vpms, revision 4231
To configure patient age formatting:
- go to Administration -> Lookups
- create a new Duration Formats
- add one or more formats
- go to Administration -> Organisation
- edit the practice
- select the previously created Duration Formats as the "Patient Age Format"
The duration formats work as follows:
- the interval and units specify the formatting that is applied for a particular duration. E.g 7 days means that the format applies to all durations < 7 days
- the Show Years flag indicates to that the duration should include the years, if any.
- the Show Months flag indicates to that the duration should include the months, if any.
- the Show Weeks flag indicates to that the duration should include the weeks, if any.
- the Show Days flag indicates to that the duration should include the weeks, if any.
- All combinations of the Show flags are supported
E.g given the following:
- 12 Months, Show Months = true, Show Weeks = true
- 13 Months, Show Years = true, Show Months = true
A patient < 12 months old will be displayed as "N Months, N Weeks"
A patient >= 12 months old will be displayed as "M Years, N Months"
If the practice has no patient age format specified, it defaults to the following:
- 7 days, Show Days = true
- 90 Days, Show Weeks = true
- 23 Months, Show Months = true
- 2 Years, Show Years = true
This means:
- a patient < 7 days old will be displayed as "N Days"
- a patient >= 7 days old and < 90 days old will be displayed as "N Weeks"
- a patient >= 90 days old and < 23 months will be displayed as "N Months"
- a patient >= 23 months will be displayed as "N Years"
Hi Tim,
Costing on this one ta
Matt C