Hi Jerry,
the documentation says that {DOS} is 'date of service' - I hadn't
understood what that would generate, The code
(download_template.php) uses ‘service date’ from the patient’s
encounter record, so I assume this is the date of an encounter.
but meanwhile i've implemented two new fields:
{CurrentTime} current time in hh:mm 24 hour clock format
{CurrentDate} current date in ISO format yyyy-mm-dd
with modifiers as follows
{CurrentDate:global} use the format specified in global settings
locale/date display format
{CurrentDate:mm/dd/yyyy}
{CurrentDate:dd/mm/yyyy}
{CurrentDate:YYYY-mm-dd} - for completeness as it’s one of the
options in ‘display format’, this is the same as the default
the parameters are all case insensitive, any parameter that is not
recognised is ignored to give the default.
I'd like to contribute this to OpenEMR, and my next task is to read
the documentation to see how to do this.
Does all this look good to you?
thanks for your help
ruth