Eye Doctor Arizona
Haag Streit Lenstar Eye Surgery Arizona

  Haag Streit LENSTAR®
Online Users Instruction Manual
 
IOL Power Calculations IOL Power Calculations
Optical Biometry Optical Biometry
Lens Constants IOL Master Lens Constants
Validation Guidelines
Haag Streit LENSTAR® Haag Streit Lenstar
LENSTAR User Manual V.i2 Haag Streit LENSTAR Online User Manual
Program Functions
Backup Database
Restore Database
Archive Data
Recover Data
Options Manager
General Preferences
Script Language
Report Writer
Zeiss IOLMaster® Zeiss IOLMaster
SIA Calculator
Disclaimer
Physician Downloads SIA Calculator
Links
References
Special Thanks
 

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.

   

Example 1: XML EMR interface

Template for a XML interface to a EMR System or other third party software

Template Result
<?xml version="1.0" encoding="UTF-8"?>
<LS900_EMR_EXPORT>
{<EXAMINATION>
 <PATIENT>
  <ID>{ID}</ID>
  <NAME>{NAME}</NAME>
  <FIRSTNAME>{FIRSTNAME}</FIRSTNAME>
  <BIRTHDAY>{BIRTHDAY}</BIRTHDAY>
 </PATIENT>
 <EYE side="OS">
  <A-SCAN>
   <MODE>{OS_MODE}</MODE>
   <CENTRAL_CORNEA_THICKNESS>{OS_CCT}
   </CENTRAL_CORNEA_THICKNESS>
   <AQUEOUS_DEPTH>{OS_AD}</AQUEOUS_DEPTH>
   <LENSE_THICKNESS>{OS_LT}</LENSE_THICKNESS>
   <AXIAL_LENGTH>{OS_AL}</AXIAL_LENGTH>
  </A-SCAN>
  <KERATOMETRY> 
   <FLAT_MERIDIAN>{OS_R1}</FLAT_MERIDIAN>
   <STEEP_MERIDIAN>{OS_R2}</STEEP_MERIDIAN>
   <FLAT_MERIDIAN_AXIS>{OS_AXIS}</FLAT_MERIDIAN_AXIS>
  </KERATOMETRY> 
  <WHITE-WHITE> 
   <DIAMETER>{OS_WTW}</DIAMETER>
   <BARYCENTER_X>{OS_ICX}</BARYCENTER_X>
   <BARYCENTER_Y>{OS_ICY}</BARYCENTER_Y>
  </WHITE-WHITE>
  <PUPILLOMETRY> 
   <DIAMETER>{OS_PD}</DIAMETER>
   <BARYCENTER_X>{OS_PCX}</BARYCENTER_X>
   <BARYCENTER_Y>{OS_PCY}</BARYCENTER_Y>
  </PUPILLOMETRY>
 </EYE> 
 <EYE side="OD">
  <A-SCAN>
   <MODE>{OD_MODE}</MODE>
   <CENTRAL_CORNEA_THICKNESS>{OD_CCT}
   </CENTRAL_CORNEA_THICKNESS>
   <AQUEOUS_DEPTH>{OD_AD}</AQUEOUS_DEPTH>
   <LENSE_THICKNESS>{OD_LT}</LENSE_THICKNESS>
   <AXIAL_LENGTH>{OD_AL}</AXIAL_LENGTH>
  </A-SCAN>
  <KERATOMETRY> 
   <FLAT_MERIDIAN>{OD_R1}</FLAT_MERIDIAN>
   <STEEP_MERIDIAN>{OD_R2}</STEEP_MERIDIAN>
   <FLAT_MERIDIAN_AXIS>{OD_AXIS}</FLAT_MERIDIAN_AXIS>
  </KERATOMETRY> 
  <WHITE-WHITE> 
   <DIAMETER>{OD_WTW}</DIAMETER>
   <BARYCENTER_X>{OD_ICX}</BARYCENTER_X>
   <BARYCENTER_Y>{OD_ICY}</BARYCENTER_Y>
  </WHITE-WHITE>
  <PUPILLOMETRY> 
   <DIAMETER>{OD_PD}</DIAMETER>
   <BARYCENTER_X>{OD_PCX}</BARYCENTER_X>
   <BARYCENTER_Y>{OD_PCY}</BARYCENTER_Y>
  </PUPILLOMETRY>
 </EYE> 
</EXAMINATION>}
<COMMENT>Generated by EyeSuite</COMMENT>
</LS900_EMR_EXPORT>
<?xml version="1.0" encoding="UTF-8"?>
<LS900_EMR_EXPORT>
<EXAMINATION>
 <PATIENT>
  <ID>507</ID>
  <NAME>Unit Test U27</NAME>
  <FIRSTNAME>Field Test 1</FIRSTNAME>
  <BIRTHDAY>19.07.1935</BIRTHDAY>
 </PATIENT>
 <EYE side="OS">
  <A-SCAN>
   <MODE>Phakic</MODE>
   <CENTRAL_CORNEA_THICKNESS>542
   </CENTRAL_CORNEA_THICKNESS>
   <AQUEOUS_DEPTH>2.95</AQUEOUS_DEPTH>
   <LENSE_THICKNESS>4.50</LENSE_THICKNESS>
   <AXIAL_LENGTH>26.10</AXIAL_LENGTH>
  </A-SCAN>
  <KERATOMETRY> 
   <FLAT_MERIDIAN>7.86</FLAT_MERIDIAN>
   <STEEP_MERIDIAN>6.94</STEEP_MERIDIAN>
   <FLAT_MERIDIAN_AXIS>167</FLAT_MERIDIAN_AXIS>
  </KERATOMETRY> 
  <WHITE-WHITE> 
   <DIAMETER>---</DIAMETER>
   <BARYCENTER_X>---</BARYCENTER_X>
   <BARYCENTER_Y>---</BARYCENTER_Y>
  </WHITE-WHITE>
  <PUPILLOMETRY> 
   <DIAMETER>---</DIAMETER>
   <BARYCENTER_X>---</BARYCENTER_X>
   <BARYCENTER_Y>---</BARYCENTER_Y>
  </PUPILLOMETRY>
 </EYE> 
 <EYE side="OD">
  <A-SCAN>
   <MODE>Phakic</MODE>
   <CENTRAL_CORNEA_THICKNESS>527
   </CENTRAL_CORNEA_THICKNESS>
   <AQUEOUS_DEPTH>2.80</AQUEOUS_DEPTH>
   <LENSE_THICKNESS>4.58</LENSE_THICKNESS>
   <AXIAL_LENGTH>26.62</AXIAL_LENGTH>
  </A-SCAN>
  <KERATOMETRY> 
   <FLAT_MERIDIAN>7.45</FLAT_MERIDIAN>
   <STEEP_MERIDIAN>7.32</STEEP_MERIDIAN>
   <FLAT_MERIDIAN_AXIS>22</FLAT_MERIDIAN_AXIS>
  </KERATOMETRY> 
  <WHITE-WHITE> 
   <DIAMETER>---</DIAMETER>
   <BARYCENTER_X>---</BARYCENTER_X>
   <BARYCENTER_Y>---</BARYCENTER_Y>
  </WHITE-WHITE>
  <PUPILLOMETRY> 
   <DIAMETER>---</DIAMETER>
   <BARYCENTER_X>---</BARYCENTER_X>
   <BARYCENTER_Y>---</BARYCENTER_Y>
  </PUPILLOMETRY>
 </EYE> 
</EXAMINATION>
<COMMENT>Generated by EyeSuite</COMMENT>
</LS900_EMR_EXPORT>
   

Example 2: XML Export of several measurements

This example can be used by the Reporter feature (Tools>Utilities>Biometer>Reporter) to create a XML export of every exam taken in the database. Take special attention on the first opening bracket{, and the last closing bracket }. This structure allows you to define a header and a footer section. The part between the two brackets will be repeated for all measurement.

A special property of the header definition is: if the keyword encoding="....." is found in the header, this encoding will be applied to write the output file.

Template Result
<?xml version="1.0" encoding="UTF-8"?>
<LS900_EXPORT>
{<EXAMINATION>
 <PATIENT>
  <ID>{ID}</ID>
  <NAME>{NAME}</NAME>
  <FIRSTNAME>{FIRSTNAME}</FIRSTNAME>
  <BIRTHDAY>{BIRTHDAY}</BIRTHDAY>
 </PATIENT>
 <EYE side="{EYE}">
  <MODE>{MODE}</MODE>
  <CENTRAL_CORNEA_THICKNESS>{CCT}</CENTRAL_CORNEA_THICKNESS>
  <AQUEOUS_DEPTH>{AD}</AQUEOUS_DEPTH>
  <LENSE_THICKNESS>{LT}</LENSE_THICKNESS>
  <EYE_LENGTH>{AL}</EYE_LENGTH>
 </EYE> 
</EXAMINATION>}
<COMMENT>Generated by EyeSuite</COMMENT>
</LS900_EXPORT>
<?xml version="1.0" encoding="UTF-8"?>
<LS900_EXPORT>
<EXAMINATION>
 <PATIENT>
  <ID>101</ID>
  <NAME>Unit Test U27</NAME>
  <FIRSTNAME>Field Test 1</FIRSTNAME>
  <BIRTHDAY>08.08.1981</BIRTHDAY>
 </PATIENT>
 <EYE side="OD">
  <MODE>Phakic</MODE>
  <CENTRAL_CORNEA_THICKNESS>589</CENTRAL_CORNEA_THICKNESS>
  <AQUEOUS_DEPTH>2.96</AQUEOUS_DEPTH>
  <LENSE_THICKNESS>3.58</LENSE_THICKNESS>
  <EYE_LENGTH>24.05</EYE_LENGTH>
 </EYE> 
</EXAMINATION>
<EXAMINATION>
 <PATIENT>
  <ID>101</ID>
  <NAME>Unit Test U27</NAME>
  <FIRSTNAME>Field Test 1</FIRSTNAME>
  <BIRTHDAY>08.08.1981</BIRTHDAY>
 </PATIENT>
 <EYE side="OS">
  <MODE>Phakic</MODE>
  <CENTRAL_CORNEA_THICKNESS>590</CENTRAL_CORNEA_THICKNESS>
  <AQUEOUS_DEPTH>3.01</AQUEOUS_DEPTH>
  <LENSE_THICKNESS>3.59</LENSE_THICKNESS>
  <EYE_LENGTH>24.04</EYE_LENGTH>
 </EYE> 
</EXAMINATION>
<EXAMINATION>
 <PATIENT>
  <ID>102</ID>
.
.
.
  <NAME>Test</NAME>
  <FIRSTNAME>Test</FIRSTNAME>
  <BIRTHDAY>10.05.2009</BIRTHDAY>
 </PATIENT>
 <EYE side="OD">
  <MODE>Phakic</MODE>
  <CENTRAL_CORNEA_THICKNESS>---</CENTRAL_CORNEA_THICKNESS>
  <AQUEOUS_DEPTH>4.29</AQUEOUS_DEPTH>
  <LENSE_THICKNESS>---</LENSE_THICKNESS>
  <EYE_LENGTH>23.91</EYE_LENGTH>
 </EYE> 
</EXAMINATION>

<COMMENT>Generated by EyeSuite</COMMENT>
</LS900_EXPORT>
   

Example 3: CSV Export to Excel / OO-Calc or other spread sheet tools

Template Result
{ID};{NAME};{EYE};{AL}
ID;Name;Eye;AL [mm]
122;Johnson;OD;23.54
122;Johnson;OS;23.47
123;Miller;OD;21.33
123;Miller;OS;21.48
124; Dolores;OD;22.12
124;Dolores;OS;22.82
...
   

To create a CSV with a specific header line, a header line has to be created in the respective format and all tags to be retuned have to be placed in an additional {}.

Template Result
Identification;Name;Side;Axial length
{{ID};{NAME};{EYE};{AL}}
Identification;Name;Side;Axial length
122;Johnson;OD;23.54
122;Johnson;OS;23.47
123;Miller;OD;21.33
123;Miller;OS;21.48
124; Dolores;OD;22.12
124;Dolores;OS;22.82
...

Visual Field Related Tags

TAG Description
DEVICE Device name
DEVICESERIALNUMBER Device serial number
DEVICESOFTWAREVERSION Device software version
EXTENSIONNAME Extension name
MODULVERSION Extension module version
FIXATIONMETHOD Fixation control: off, Min, Med, Max or Auto
FIXATIONNUMBERMETHOD Fixation control number: 0 = off, 1 = Min, 2 = Med, 3 = Max or 4 = Auto
VIEWERVERSION Viewer version (Perimetry viewer)
EXTENSIONVERSION Extension module version (Perimetry)
EYENUMBER Eye number ( Right = 0, Left = 1)
PROGRAM Program name
PROGRAMDESCRIPTION Description of program
STIMULUSSIZE Stimulus size
STIMULUSDURATION Stimulus duration
BACKGROUND Background intensity
STRATEGY Examination strategy
EXAMMETHOD Exam color method
STIMULUSMETHOD Stimulus method (Standard or Flicker)
EXAMINATIONDURATION Examination duration
EXAMINATIONDATE Examination date
EXAMINATIONTIME Examination time
STAGENUMBER Number of stage
TESTLOCENUMBER Number of Test location
QUESTIONS Number of stimulus
POSITIFCATCHTRIAL Number of positive catch trial
FALSEPOSITIFCATCHTRIAL Number of positive answer
NEGATIFCATCHTRIAL Number of negative catch trial
FALSENEGATIFCATCHTRIAL Number of negative answer
NOTE Comment of examination. (Not the comment of the session)
SPHERE Refraction: Sphere
CYLINDER Refraction: Cylinder
AXIS Refraction: Axis
VISUS Visual acuity
PUPILSIZE Pupil size
IOP Intraocular pressure
POSXYPH1PH2NV

Only for Perimetry static

Test location:   X, Y, Phase 1, Phase 2, Normal value. Only with option _F:CSV.

Example: POSXYPH1PH2NV_F:CSV

KINETICVECTORS

Only for Perimetry kinetic

Vectors: Start point X, Start point Y, Target X, Target Y, Response point X, Response point Y, Vector of response time (0, 1), Intensity (dB), Stimulus size (1-5), Speed (0-99) in degree / second

Example: KINETICVECTORS_F:CSV

Options

PREFIX Description
_F:CSV Format: CSV for MS-Excel

Example: CSV Export to Excel

Template Result
{ID};{NAME};{EYENUMBER};{POSXYPH1PH2NV_F:CSV}
B0;Ford;1;256;120;-200;1020;-1;285;40;-200;1010;-1;314;-40;-200;...
...

LENSTAR Help
TOP

Haag Streit LENSTAR®

Optical Biometry

Intraocular Lens Power Calculations


East Valley Ophthalmology
5620 East Broadway Road
Mesa, Arizona 85206

Tel: +1-480-981-6111
FAX: +1-480-985-2426

Arizona's Top Eye Doctors - East Valley Ophthalmology provides this online information for educational and communication purposes only and it should not be construed as personal medical advice. Information published on this website is not intended to replace, supplant, or augment a consultation with an eye care professional regarding the viewer/user's own medical care. East Valley Ophthalmology's disclaims any and all liability for injury or other damages that could result from use of the information obtained from this site. Please read our full Terms, Privacy, Infringement

Eye Doctors for Mesa, Gilbert, Chandler, AZ and surrounding areas.

A few of our featured topics:


TOP

Copyright East Valley Ophthalmology. All rights reserved.