Constant Definitions



In this appendix, the different Constants that are relevant for Module and Business System Developers will be described. Basically, they can be split in three categories:

  • Manufacturer Codes

  • Module Categories

  • DataTypes

Adding new constants

There are two situations where constants can be added to the System Database:

  • When HIMSA adds a new constant: A company becomes a HIMSA licensee, HIMSA assigns the company a Manufacturer code. 

  • When a HIMSA licensee submits a proposal for adding a constant in the System Database and the proposal is accepted: A licensee may wish to add a new data type constant that supports a new type of data format.

 

You can use the UpdNoah.exe Tool available from the Noah SDK to update the System Database (globob.stg file) on a system where a Noah 4 business System is installed.


This would be necessary for example; if you had developed a new module for Noah 4 that required support for a specific data type which is only supported by the most recent Noah 4 releases.

Another example could be if you recently acquired a Manufacturer ID from HIMSA in order to start developing modules for Noah 4. In this case, you will also need to update the System Database, globob.stg file, using the UpdNoah.exe tool.

To use this tool:

1.  Make sure you are using it on a PC where a Noah 4 Business System is installed.

2.  During deployment of your module execute the UpdNoah.exe file.

3.  Verify that the exit code from the UpdNoah.exe is 0 (a zero value equals success).

Q Will I break anything by running the UpdNoah.exe on a version of the Globob.stg that does not need to be update? 
No.  The UpdNoah.exe does a comparison.  If nothing needs to be added to the globob nothing happens.  The UpdNoah.exe also does not downgrade the globob.stg.  

Q: Can I also distribute the UpdNoah.exe tool to my customers (e.g. via download or installation media)?

A: Yes



Manufacturer codes

Each HIMSA licensee is assigned a unique manufacturer code. This code is used to tell Noah:

  • if the module is from a HIMSA licensee.  Modules without a valid manufacturer code will not be display).

  • if the licensee already has a module button displayed on the Module Bar

You need to contact HIMSA to get a manufacturer code - contact information can be found at HIMSA webpage, www.himsa.com.



Module Categories

There are three types of modules: measurement modules, fitting modules and other modules. Upon installation, a module must tell NOAH to which category it belongs.

Constant

Value

Meaning

Fitting

0

Fitting module

Measurement

1

Measurement module

Other

2

Other type of module

 

Globob Codes

The following are the resulting codes from running the UpdNoah.exe tool.

 

0 : Success - The update was successful.

10 : Error - Instantiating the Module Installation Server failed. Check that if the NoahClient and NoahServer services are running.

11 : Error - Initializing the Module Installation Server failed. The module server was instantiated correctly but the initialization failed.

12 : Error - GetGlobobFile failed. The updater was unable to retrieve the embedded globob.stg file from UpdNoah.exe which has been extracted to a temporary path.

13 : Error - PutNewStorage failed. The attempt to update the the Globob.stg file utilizing the 'PutNewStorage' method was unsuccessful.

100 : Error - Unknown error.

200 : Error - Update timed out after 60 seconds. The update is assumed to be unsuccessful.

 

Data Types

When a Noah compatible application wishes to store an action in the Noah database, it must inform Noah of the data type of the action to be stored. The currently defined types of data in the Noah system database are listed below.

Constant

Value

Meaning

Audiogram

1

Audiograms of different types, both ears

REM_L

3

Real Ear Measurements, left ear

REM_R

4

Real Ear Measurements, right ear

HITest_L

5

Hearing Instrument tests, left ear

HITest_R

6

Hearing Instrument tests, right ear

ERA_L

7

Electric Response Audiometry, left ear

ERA_R

8

Electric Response Audiometry, right ear

SOE_L

9

Spontaneous Otoacoustic Emissions, left ear

SOE_R

10

Spontaneous Otoacoustic Emissions, right ear

TEOE_L

11

Transient Evoked Otoacoustic Emissions, left ear

TEOE_R

12

Transient Evoked Otoacoustic Emissions, right ear

DPOE_L

13

Distortion Product Otoacoustic Emissions, left ear

DPOE_R

14

Distortion Product Otoacoustic Emissions, right ear

Impedance_L

15

Admittance, left ear (formally labeled Impedance measurements)

Impedance_R

16

Admittance, right ear (formally labeled Impedance measurements)

LoudnessScaling_L

17

Loudness Scaling, left ear

LoudnessScaling_R

18

Loudness Scaling, right ear

MCR_L

19

Most Comfortable Range measurement, left ear

MCR_R

20

Most Comfortable Range measurement, right ear

NYS_L

21

NYS, left ear

NYS_R

22

NYS, right ear

VideoOtoscopy_L

23

Video otoscopy, left ear

VideoOtoscopy_R

24

Video otoscopy, right ear

DPIOC_L

25

Distortion Product Input-Output Curve, left ear

DPIOC_R

26

Distortion Product Input-Output Curve, right ear

OAEProbeFitting_L

27

OAE Probe Fitting, left ear

OAEProbeFitting_R

28

OAE Probe Fitting, right ear

OAEScreening_L

29

OAE Screening, left ear

OAEScreening_R

30

OAE Screening, right ear

OtherMeasurement_L

125

Other measurements, left ear

OtherMeasurement_R

126

Other measurements, right ear

HISelection_L

129

Hearing Instrument Selection, left ear

HISelection_R

130

Hearing Instrument Selection, right ear

HIFitting_L

131

Hearing Instrument Fitting, left ear

HIFitting_R

132

Hearing Instrument Fitting, right ear

RCSelection

133

Remote Control Selection

HIInfo

135

Other Hearing Instrument information – both ears

OtherFitting_L

136

Other fitting, left ear

OtherFitting_R

137

Other fitting, right ear

JournalEntry

256

Journal Entry

OtherInfo

257

Other Information

OrderForm

258

Order Form

QuestionaireInfo

259

Questionaire Information

FileAttachment

260

File Attachment

Earscan_L

261

Earscan, left ear

Earscan_R

262

Earscan, right ear

ScanMetaStandard

263

Scan Meta Data

CochlearSoundProcessorSelectionLeft

264

Cochlear Sound Processor Selection Left

CochlearSoundProcessorSelectionRight

265

Cochlear Sound Processor Selection Right

CochlearSoundProcessorProgrammingLeft

266

Cochlear Sound Processor Programming Left

CochlearSoundProcessorProgrammingRight

267

Cochlear Sound Processor Programming Right

ReportComments

268

Report Comments

AudiogramMetaData

269

Audiogram Meta Data

Tinnitus

270

Tinnitus

Equipment Information

271

Equipment Information

dtcDashboardNotification

303

Dashboard notification action data

dtcReserved

512

Values up to 512 are reserved by HIMSA