Fix Package Mode Document Routing by Groups in the Healthcare Model

Sub Heading Comes Here

The “ImageNow Capture – Advanced” series of postings by Shamrock Solutions is intended to provide ImageNow Administrators with simplified solutions to normally difficult or impossible metadata capture. In this example:

  • Problem: The Perceptive Software standard “Healthcare Model Solution” is built around “Group-Location Routing” in workflow. Where the routing is deteremined by the “Location” custom property. You cannot set a custom property via Package Mode OR Batch Capture at scan time though. Where this fails to solve a problem is if the user in that group is working at a DIFFERENT location than they normally do. This means they will never be able to find their documents in workflow.
  • Answer: We handle this with a an intuitive vbscript added to the Capture Profile. (in Field 2 for this example).
  • The user selects the “Alternative Location” capture profile from the ImageNow toolbar -> they are then prompted in a popup window to select their CURRENT location -> document routing is then handled intelligently downstream.

‘We will use Field2 for populating a prompted user input at capture
‘You can change this to any other document key that you’re not writing at scan time.

On Error Resume Next

‘It will be easier to maintain across many capture profile directories with this config because you can use a find/replace to change the group names

Group1 = “Cardiology Group”
Group2 = “Ortho Group”
Group3 = “Oncology Group”
Group4 = “Surgical Group”
Group5 = “General Group”
Group6 = “Intra-Hospital Group”
Group7 = “Some Community Group”
Group8 = “Another Community Group”

‘One for error handling
Invalid = “Invalid option”
InvalidSel = “Invalid option. Numbers only.”

‘Make the menu
strMenu=”Enter the number corresponding to the ‘Indexing’ group at this scanning area” & VbCrLf &_
“————————————————–” & VbCrLf &_
“” & VbCrLf &_
“1) Cardiology Document Indexing” & VbCrLf &_
“————————————————–” & VbCrLf &_
“2) Ortho Document Indexing” & VbCrLf &_
“————————————————–” & VbCrLf &_
“3) Oncology Document Indexing” & VbCrLf &_
“————————————————–” & VbCrLf &_
“4) Surgical Document Indexing” & VbCrLf &_
“————————————————–” & VbCrLf &_
“5) General Document Indexing” & VbCrLf &_
“————————————————–” & VbCrLf &_
“6) Intra Hospital Document Indexing” & VbCrLf &_
“————————————————–” & VbCrLf &_
“7) Some Community Document Indexing” & VbCrLf &_
“————————————————–” & VbCrLf &_
“8) Another Community Document Indexing” & VbCrLf &_
“————————————————–”

‘Set the user’s choice
rc=InputBox(strMenu,”Batch Group Indexing Selection”,3)
If IsNumeric(rc) Then
Select Case rc
Case 1
scanningField2 = Group1
msgbox Group1
Case 2
scanningField2 = Group2
msgbox Group2
Case 3
scanningField2 = Group3
msgbox Group3
Case 4
scanningField2 = Group4
msgbox Group4
Case 5
scanningField2 = Group5
msgbox Group5
Case 6
scanningField2 = Group6
msgbox Group6
Case 7
scanningField2 = Group7
msgbox Group7
Case 8
scanningField2 = Group8
msgbox Group8
Case Else
scanningField2 = Invalid
msgbox “That’s not a valid selection. You’re going to need to reset your document and click capture again.”
End Select
Else
msgbox InvalidSel
End If
‘Now after this document hits workflow, use the stock “ReindexWF” iScript to then move this from Field 2 to the “Location” CP and build your routing rule based on this set of values

Leave a Reply

Your email address will not be published. Required fields are marked *

WE CALL YOU BACK

Request A Callback

Our team is composed of senior-level public relations consultants with editorial and creative skills that have been built over years of delivering PR services to top.