Haag Streit LENSTAR® - Program Functions
Script Language for Exports and Reports
Haag-Streit script language has been created to allow the user to export EyeSuite examination and analysis data in customizable text format, leading to a pure text or a .xml files to be used in EMR Systems, for Excel data analysis in tables or any other third party software. Below you find a list of the available tags and syntax conventions to create templates leading to customized outputs of EyeSuite.
How To:
Using normal text editor for this task like NotePad or JEdit, create a template text file with the extension .rpt. This template can contain any text, but it will be parsed for tags like this: {TAG}. TAG will be a Haag-Streit defined keyword, you will find them in the following list. This tag, together with the brackets will be replaced by EyeSuite with the corresponding value of the examination.
To ensure the decimal separation sign always is "." independent of the operating systems settings, use the TAG {DECIMAL}. This option replaces regional decimal separators by "."
A TAG notation follows the notation {PREFIX_TAG_OPTION}, the prefix and option are not required.
Prefixes
| PREFIX |
Description |
| OS_ |
The value of the left Patient Eye will be returned for the following TAG. Example {OS_AL} gives the axial length of the left Patient Eye |
| OD_ |
The value of the right Patient Eye will be return for the following TAG. Example {OD_AL} gives the axial length of the right Patient Eye |
General Tags
| TAG |
Description |
| ID |
Patient ID |
| NAME |
Patient family name |
| FIRSTNAME |
Patient first name |
| BIRTHDAY |
Patient birthday in system format |
| BIRTHDAYSTD |
Patient birthday in standard format yyyy.mm.dd (for file names, "." and "spaces" are replaced by "_") |
| BIRTHDAYYEAR |
Patient birthday's year in the format yyyy |
| BIRTHDAYSHORTYEAR |
Patient birthday's year in the format yy |
| BIRTHDAYMONTH |
Patient birthday's month in the format mm |
| BIRTHDAYDAY |
Patient birthday's day in the format dd |
| EYE |
Eye side of the actual exam |
| TIMESTAMP |
Returns information when the exam was taken in the system format (dependant on the local settings of your PC operating system) |
| TIMESTAMPSTD |
Returns information when the exam was taken in standard format yyyy.mm.dd HH:mm:ss (for file names, "." ":" and "spaces" are replaced by "_" |
| YEAR |
Returns the year the exam was taken in the format YYYY |
| SHORTYEAR |
Returns the year the exam was taken in the format YY |
| MONTH |
Returns the month the exam was taken in the format MM |
| DAY |
Returns the day the exam was taken in the format DD |
| HOUR |
Returns the hour the exam was taken |
| MINUTE |
Returns the minute the exam was taken |
| SECOND |
Returns the second the exam was taken |
| GENDER |
Returns the gender of the patient (male/female/not specified) |
| ETHNICITY |
Returns the ethnic group the patient has been assigned to |
| DIAGNOSIS |
DIAGNOSIS has to be used with a pre-fix as it is separated for OD and OS. It returns the text entered in the diagnosis fields of the patient |
| COMMENT |
Returns the text entered in the comment field of the patient |
| RISK |
Returns the text entered in the risk factors field of the patient |
Biometry Tags
| TAG
|
Description
|
| AL |
axial length of the eye |
| CCT |
central corneal thickness |
| AD |
Aqueous depth (cornea ending to lens beginning) |
| LT |
Lens thickness |
| RT |
Retinal thickness |
| K1 |
Power of the flat meridian in diopter |
| KFLAT |
Power of the flat meridian in diopter |
| K2 |
Power of the steep meridian in diopter |
| KSTEEP |
Power of the steep meridian in diopter |
| R1 |
Radius of the flat meridian |
| RFLAT |
Radius of the flat meridian |
| R2 |
Radius of the steep meridian |
| RSTEEP |
Radius of the steep meridian |
| AXIS |
Axis of the flat meridian R1/K1 |
| AXIS1 |
Axis of the flat meridian R1/K1 |
| AXISFLAT |
Axis of the flat meridian R1/K1 |
| AXIS2 |
Axis of the steep meridian R2/K2 |
| AXISSTEEP |
Axis of the steep meridian R2/K2 |
| AST |
Astigmatism in diopters, in plus or minus cylinder notation depending on the user's choice in the LENSTAR settings |
| AXISAST |
Axis of the astigmatism either in plus or minus cylinder notation depending on the users choice in the LENSTAR settings |
| KINDEX |
Keratometric refraction index used for diopter calculation |
| WTW |
White-to-White distance or iris diameter |
| ICX |
X-Coordinate/distance of the iris barycenter from the visual axis |
| ICY |
Y-Coordinate/distance of the iris barycenter from the visual axis |
| PD |
Pupil diameter |
| PCX |
X-Coordinate/distance of the pupil barycenter from the visual axis |
| PCY |
Y-Coordinate/distance of the pupil barycenter from the visual axis |
Options
| Option |
Description |
| _SD |
standard deviation of the value |
| _%n |
n=Number of the measurement in the examination |
Filters
If you are creating report, for example in a csv manner, it may be useful to filter the output. With the filter tag '#FILTERNAME=VALUE' at the beginning of the template will force EyeSuite to report only examinations, which are matching the filter criteria:
Filter by examination category
#CATEGORY=NNNN
Replace the NNNN by one of following number codes:
| Category |
Description |
| 1000 |
Static Perimetry |
| 1010 |
Kinetic Perimetry |
| 1020 |
Imaging |
| 1030 |
Biometry |
| 1040 |
Tonometry |
| 1060 |
IOL |
..other filter tags are available, but not documented yet.
|