The PatientSearchInputBox allows entry of freeform text representing search criteria
for a patient. It parses the criteria and its resultant constituent parts are exposed
The PatientSearchInputBox (PSIB) sample allows the user to enter the details
of the patient in either a 'freetext' or 'structured' format. The 'freetext' format
allows the user to input the patient details in whichever order is desired. The
PSIB will attempt to correctly identify which detail belongs to which field. Alternately,
the PSIB can switch to a more structured form of input that details the order in
which the details should be input, with a comma used as a separator. This structured
form of input can be set by the developer to whichever structure they deem appropriate
for their application.
Another feature of the PSIB is that it can be set to either process the details
on a per keystroke basis or the user can actively initiate processing when they
have finished their data entry.