Coder Social home page Coder Social logo

ctech-bangladesh / default-config Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bahmni/default-config

0.0 0.0 1.0 53.74 MB

Default configuration setup for bahmni.

License: Other

CSS 2.40% HTML 36.47% Groovy 43.28% Shell 2.56% JavaScript 15.28%

default-config's Introduction

Default Bahmni configuration and data.

======================================================================

Deploy

  • under server (apache) www directory
  • alias root (default-config) to bahmni_config

Dev commands

  • ./scripts/vagrant-link.sh to link default_config to vagrants /var/www/bahmni_config
  • ./scripts/vagrant-database.sh to run liquibase migrations in vagrant

CI Deployment

The default-config.zip is created on the CI Server as part of the Bahmni_MRS_Master pipeline (FunctionalTests job). You can download the latest ZIP from this URL:

Latest Builds: Download Link

Replace the {Build_Number} variable in the link:

https://ci-bahmni.thoughtworks.com/go/files/Bahmni_MRS_Master/{Build_Number}/BuildStage/Latest/FunctionalTests/deployables/

Configurations

  1. Clinical app.json: example - (Details in comments)
 "config" : {
    "otherInvestigationsMap": {
        "Radiology": "Radiology Order",
        "Endoscopy": "Endoscopy Order"
    },
    "conceptSetUI": {   // all configs for conceptSet added here
        "XCodedConcept": {  // name of the concept
            "autocomplete": true,  // if set to true, it will show autocomplete instead of dropdown for coded concept answers.
            "showAbnormalIndicator": true   //If set to true, will show a checkbox for capturing abnormal observation.
        },
        "Text Complaints": {    //name of the concept
            "freeTextAutocomplete": {   //if present, will show a textbox, with autocomplete for concept name.
                "conceptSetName": "VITALS_CONCEPT",  // autocomplete will search for concepts which are membersOf this conceptSet (Optional)
                "codedConceptName": "Complaints"     // autocomplete will search for concepts which are answersTo this codedConcept (Optional)
            }
        }
    }
}
  1. Registration app.json: example - (Details in comments)
"config" : {
  "autoCompleteFields":["familyName", "caste"],
  "defaultIdentifierPrefix": "GAN",
  "searchByIdForwardUrl": "/patient/{{patientUuid}}?visitType=OPD - RETURNING",
  "conceptSetUI": {
      "temparature": {
          "showAbnormalIndicator": true
      }
  },
  "registrationConceptSet":"",
  "showMiddleName": false,
  "hideFields": ["Height", "Weight", "BMI", "BMI_Status"],  //the fields on screen which should NOT be shown
  "registrationCardPrintLayout": "/bahmni_config/openmrs/apps/registration/registrationCardLayout/print.html",
  "localNameSearch": true,                       // registration search displays parameter for search by local name
  "localNameLabel": "मरीज़ का नाम",                // label to be diplyed for local name search input
  "localNamePlaceholder": "मरीज़ का नाम",          // placeholder to be diplyed for local name search input
  "localNameAttributes": ["givenNameLocal", "familyNameLocal"]  //patient attributes to be search against for local name search
}

default-config's People

Contributors

vikashgupta2000 avatar binduak avatar hemantheverest avatar sidtharthanan avatar su-docker avatar vinkesh avatar maheshvadla2304 avatar lipikadugar avatar limitless-horizon avatar swathivarkala avatar endeepak avatar aj-jaswanth avatar sumanmaity112 avatar pushpadumpala avatar padmavati avatar preethi29 avatar sushmav avatar preethisadagopan avatar angshu avatar buvaneswari-arun avatar shashikanthgadgay avatar swatigogia2020 avatar pramidatumma avatar hanisha93 avatar abishek91 avatar petmongrels avatar kravi15 avatar charleskimpolo avatar rohanpoddar avatar lispyclouds avatar

Forkers

ctechbd2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.