03-15-2013 07:51 AM
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?
12-29-2020 09:53 AM
Hi, I know this answer is toooo late, but just in case, you can count the number of instances in a property
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.