Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

This page talks about configuring an extension on Registration page .

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

Example of adding an Extension

"IdentifierLookup":{
        "id": "org.bahmni.registration.identifier.IdentifierSrc",
        "extensionPointId": "org.bahmni.registration.identifier",
        "type": "link",
        "src" : "/sample/index.html",
        "extensionParams": {
            "identifierType": [
                "sampleIdentifier1",
                "sampleIdentifier2"
            ],
            "nonEditable": ["givenName","middleName","familyName","gender","birthDate","age"],
            "linkDisplay": "Verify SampleIdentifier",
            "addressMap": {
                "city": "cityVillage",
                "state": "stateProvince",
                "postalCode": "postalCode",
                "line": "address1"
            }
        }

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).

N

  • No labels