Versions Compared

Key

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

...

This page talks about configuring an extension on Registration page to verify/link an extra identifier.

Extensions

Extension points, like the name suggests are used to define a plug-in/plug-off feature

Defining Extensions points on Registration page:

File to be updated: openmrs/apps/registration/extension.json

...

key

description

Mandatory

id

Unique identifier for extension

N

extensionPointId

"org.bahmni.registration.identifier"

Y

type

link

Y

additionalParams

Contains tests that signify the high-risk patients. Only the patients that have negative results for the tests mentioned in this section will be displayed.(For high risk patients, additional params are mandatory. These are not mandatory for other patient search queues).

NextensionParams

Contains additional parameters mentioning the extra identifier’s name, which registration page feels become nonEditable after the Identifier linkage, what is the button name : linkDisplay, and address map that maps the address FHIR object (returned from the link to registration page) to field in registration page

N

Assumptions

  1. The link specifies the path to the UI that needs to be rendered on click of the link identifier button.

  2. The external link returns an FHIR patient object to be mapped to Registration Page fields.