cancel
Showing results for 
Search instead for 
Did you mean: 

Count Specific Keywords

Not applicable

We have an issue when a user indexes a document and sometimes puts multiple instances of a keyword onto a document. Since these are patient or encounter level documents, they should be indexed only to one instance of a keyword (such as having only 1 encounter or MRN keyword).

I'm looking for a way to count the instances of a keyword while indexing that will display a message to the user if multiple keywords are added to the document. I'm planning to use a VB Script with a VB Script Hook. The issue is that I cannot get a script that will count the instances of an individual keyword. I can only get it to count the total number of all keywords on a document.

Does anyone have any ideas on how to count an individual keyword and then prompt the user if more than one instance of that keyword is placed on the document?

5 REPLIES 5

Andres_Ronderos
Confirmed Champ
Confirmed Champ

Hi, I know this answer is toooo late, but just in case, you can count the number of instances in a property

f855762c611a47ae8827e9d204d951b8