Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A widget has been added to Registration App that can be injected into the Patient Search widget in Core Apps to integrate searching by biometrics/fingerprints into the main basic search.  This widget currently assuming assumed a RESTful interaction with a Biometrics server and is based around the pattern defined in RestBiometricEngine mentioned above, but is not dependent on it.

The widget is provided by the registration app module and is called "biometrics/fingerprintSearch".  It would be configured in a manner by setting up an Extension similar to this the one below (this sample has not fully been testing, if because in our use case we programmatically set up our extensions. If you try it and have issues please post on Talk and we can debug):

...

.

Note that this extension must be injected into the same page as the Core Apps Patient Search. If everything is working successfully, the search widget will use the "devicesUrl" to confirm that a fingerprint scanner is present, and the "scanUrl" to repeatedly poll for a fingerprint during the search process.


Code Block
{
	"type": "

...

include-

...

fragment",

...

	"uuid": "uuid",
	"extensionPoint": "

...

coreapps.patientSearch.extension",
    "extensionParams": {
    

...

	"

...

provider": "registrationapp",
        "

...

fragment": "biometrics/fingerprintSearch"

...

,
`		"fragmentConfig": {

...

			"scanUrl": "a url that initiates a scan operation on the fingerprint reader and returns a fingerprint template"
       		"devicesUrl": "a url that returns a list of available fingerprint scanners"

...

		}
    }
  }
}