Versions Compared

Key

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

...

  1. Add the flag "shouldOverRideConfig: true" as shown below

    Code Block
    languagejs
    title/var/www/bahmni_config/openmrs/apps/clinical/app.json
    linenumberstrue
    {
            "id": "bahmni.clinical",
    		"shouldOverRideConfig": true,
            "extensionPoints": [
                {
                    "id": "org.bahmni.clinical.consultation.board",
                    "description": "Bahmni Clinical Consultation Page"
                },
                {
                    "id": "org.bahmni.clinical.conceptSetGroup.*",
                    "description": "Define conceptsets part of a conceptset group"
                },
                {
                    "id": "org.bahmni.clinical.orders",
                    "description": "Bahmni Orders Page"
                },
                {
                    "id":"org.bahmni.patient.search",
                    "description": "Bahmni Patient search, lookups Page"
                }
            ],
    .
    .
    .
    }
  2. Create a new file openmrs/apps/clinical/app.json in the folder /var/www/implementation_config as shown below

    Code Block
    languagejs
    title/var/www/implementation_config/openmrs/apps/clinical/app.json
    linenumberstrue
    {
            "id": "bahmni.clinical",
            "extensionPoints": [
                {
                    "id": "org.bahmni.clinical.consultation.board",
                    "description": "Bahmni Clinical Consultation Page"
                }
            ],
    .
    .
    .
    }


    The above file will override the section "extensionPoints" in the the app.json file with the contents of the app.json file

  3. Make sure to have an alias for implementation_config is added to "ssl.conf" under /etc/httpd/conf.d directory. Ideally this will be coming from bahmni installer itself. If not, add a new line with "Alias /implementation_config /var/www/implementation_config" where all the aliases are added.

Different types of overrides

...