Versions Compared

Key

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

...

key

description

Mandatory

id

Unique identifier for extension

N

extensionPointId

"org.bahmni.registration.identifier"

Y

type

link

Y

src

The source to be loaded on click of defined button

Y

extensionParams

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

NY

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.

Sample FHIR Patient object

Code Block
address: [{
    city: "",
    country: "IN",
    district: "Bhopal",
    line: ['A-12, Dholakpur'],
    postalCode: "212021",
    state: "Madhya Pradesh",
}],
contactPoint: [
    {system: 'phone', value: '+919800083232'}
],
gender: "F",
id: undefined,
identifiers: [
    {type: {
            text: "identifierType1"},
        value: "hina@xyz"
    },
    {type: {
            text: "identifierType2"},
        value: "57-0517-6745"
    }
],
names: [{familyName: 'Patel', givenName: ['Hina',''], use: ''}],
birthDate: "2000".