Skip to content

Commit

Permalink
initial configs from bahmni default_config 0.77
Browse files Browse the repository at this point in the history
  • Loading branch information
x-ian committed Nov 18, 2015
1 parent 7287d04 commit 4cd01cd
Show file tree
Hide file tree
Showing 124 changed files with 9,873 additions and 0 deletions.
10 changes: 10 additions & 0 deletions openmrs/apps/admin/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "bahmni.admin",
"extensionPoints": [
{
"id": "org.bahmni.admin.dashboard",
"description": "Bahmni Admin Page"
}
]

}
26 changes: 26 additions & 0 deletions openmrs/apps/admin/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"csvUpload":{
"id": "bahmni.admin.csv",
"extensionPointId": "org.bahmni.admin.dashboard",
"type": "link",
"extensionParams": {
},
"label": "CSV Upload",
"url": "#/csv",
"icon": "fa-upload",
"order": 1,
"requiredPrivilege": "app:registration"
},
"csvExport":{
"id": "bahmni.admin.csvExport",
"extensionPointId": "org.bahmni.admin.dashboard",
"type": "link",
"extensionParams": {
},
"label": "CSV Export",
"url": "#/csvExport",
"icon": "fa-download",
"order": 1,
"requiredPrivilege": "app:registration"
}
}
110 changes: 110 additions & 0 deletions openmrs/apps/adt/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"id": "bahmni.adt.admission",
"extensionPoints": [
{
"id": "org.bahmni.adt.admit.action",
"description": "Bahmni Patient Admission Action"
},
{
"id": "org.bahmni.adt.transfer.action",
"description": "Bahmni Patient Transfer Action"
},
{
"id": "org.bahmni.adt.discharge.action",
"description": "Bahmni Patient Discharge Action"
},
{
"id": "org.bahmni.patient.search",
"description": "Bahmni patient search, lookup Page"
}
],
"contextModel": [
"patientUuid",
"encounterUuid",
"visitUuid"
],
"config" : {
"onAdmissionForwardTo": "#/patient/{{patientUuid}}/visit/{{visitUuid}}/encounter/{{encounterUuid}}/bed",
"onTransferForwardTo": "#/patient/{{patientUuid}}/visit/{{visitUuid}}/encounter/{{encounterUuid}}/bed",
"onDischargeForwardTo": "#/patient/search",
"defaultVisitType": "IPD",
"maxPatientsPerBed" : 2,
"dashboard":{
"dashboardName": "General",
"conceptName": "Adt Notes",
"sections": {
"vitals":{
"title": "Vitals",
"name": "vitals",
"displayOrder": 0,
"isObservation": true,
"dashboardParams": {
"conceptNames": ["Vitals"],
"numberOfVisits": 2
}
},
"disposition":{
"title": "Disposition",
"name": "disposition",
"numberOfVisits": 1,
"displayOrder": 1
},
"diagnosis":{
"title": "Diagnosis",
"name": "diagnosis",
"numberOfVisits": 1,
"showDetailsButton":true,
"displayOrder": 2
},
"patientInformation":{
"title": "Patient Information",
"name": "patientInformation",
"displayOrder": 3,
"patientAttributes": ["caste", "class", "education", "occupation", "debt", "distanceFromCenter", "isUrban", "cluster","RationCard", "familyIncome"],
"addressFields": ["address1", "address2", "cityVillage", "countryDistrict"]
},
"admissionDetails":{
"title": "Admission Details",
"name":"admissionDetails",
"displayOrder": 4
},
"navigationLinksControl":{
"title": "Navigation Links Control",
"name": "navigationLinksControl",
"displayOrder": 5,
"links": [
{
"title": "Home Dashboard",
"url": "../home/#/dashboard"
},
{
"title": "Patient Visit Page",
"url": "../clinical/#/patient/{{patientUuid}}/dashboard/visit/{{visitUuid}}"
},
{
"title": "Patient ADT Page",
"url": "../adt/#/patient/{{patientUuid}}/visit/{{visitUuid}}/"
},
{
"title": "Patient Dashboard",
"url": "../clinical/#/patient/{{patientUuid}}/dashboard"
},
{
"title": "Discharge Summary Page",
"url": "../clinical/#/patient/{{patientUuid}}/dashboard/visit/{{visitUuid}}"
},
{
"title": "Program Management Page",
"url": "../clinical/#/patient/{{patientUuid}}/consultationContext"
},
{
"title": "Consultation",
"url": "../clinical/#/patient/{{patientUuid}}/concept-set-group/observations"
}
]
}

}}

}
}
142 changes: 142 additions & 0 deletions openmrs/apps/adt/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"bahmniAdtAdmitContinueVisit":{
"id": "bahmni.adt.admit.continue.visit",
"extensionPointId": "org.bahmni.adt.admit.action",
"type": "config",
"extensionParams" : {
"displayFunction": "getDisplayForContinuingVisit",
"action":"admit",
"showCondition":"visitExists"
},
"order": 2,
"requiredPrivilege": "app:adt"
},
"bahmniAdtAdmitCancel":{
"id": "bahmni.adt.admit.cancel",
"extensionPointId": "org.bahmni.adt.admit.action",
"type": "config",
"extensionParams" : {
"display": "Cancel",
"action":"cancel"
},
"order": 3,
"requiredPrivilege": "app:adt"
},
"bahmniAdtTransferSave":{
"id": "bahmni.adt.transfer.save",
"extensionPointId": "org.bahmni.adt.transfer.action",
"type": "config",
"extensionParams" : {
"display": "Save",
"action":"transfer"
},
"order": 1,
"requiredPrivilege": "app:adt"
},
"bahmniAdtTransferCancel":{
"id": "bahmni.adt.transfer.cancel",
"extensionPointId": "org.bahmni.adt.transfer.action",
"type": "config",
"extensionParams" : {
"display": "Cancel",
"action":"cancel"
},
"order": 2,
"requiredPrivilege": "app:adt"
},
"bahmniAdtDischargeSave":{
"id": "bahmni.adt.discharge.save",
"extensionPointId": "org.bahmni.adt.discharge.action",
"type": "config",
"extensionParams" : {
"display": "Discharge",
"action":"discharge"
},
"order": 2,
"requiredPrivilege": "app:adt"
},
"bahmniAdtDischargeCancel":{
"id": "bahmni.adt.discharge.cancel",
"extensionPointId": "org.bahmni.adt.discharge.action",
"type": "config",
"extensionParams" : {
"display": "Cancel",
"action":"cancel"
},
"order": 3,
"requiredPrivilege": "app:adt"
},
"bahmniAdtUndoDischarge":{
"id": "bahmni.adt.undo.discharge",
"extensionPointId": "org.bahmni.adt.undo.discharge.action",
"type": "config",
"extensionParams" : {
"display": "Undo Discharge",
"action":"undoDischarge"
},
"order": 1,
"requiredPrivilege": "app:adt"
},
"bahmniAdtUndoDischargeCancel":{
"id": "bahmni.adt.undo.discharge.cancel",
"extensionPointId": "org.bahmni.adt.undo.discharge.action",
"type": "config",
"extensionParams" : {
"display": "Cancel",
"action":"cancel"
},
"order": 2,
"requiredPrivilege": "app:adt"
},
"bahmniAdtPatientsSearchPatientsToAdmit":{
"id": "bahmni.adt.patients.search.patientsToAdmit",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.patientsToAdmit",
"display":"To Admit",
"forwardUrl":"#/patient/{{patientUuid}}/visit/{{visitUuid}}/admit"
},
"label": "To Admit",
"order": 1,
"requiredPrivilege": "app:adt"
},
"bahmniAdtPatientsSearchPatientsAdmitted":{
"id": "bahmni.adt.patients.search.patientsAdmitted",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.admittedPatients",
"display":"Admitted",
"forwardUrl" : "#/patient/{{patientUuid}}/visit/{{visitUuid}}/transfer"
},
"label": "Admitted",
"order": 2,
"requiredPrivilege": "app:adt"
},
"bahmniAdtPatientsSearchPatientsToDischarge":{
"id": "bahmni.adt.patients.search.patientsToDischarge",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.patientsToDischarge",
"display":"To Discharge",
"forwardUrl" : "#/patient/{{patientUuid}}/visit/{{visitUuid}}/discharge"
},
"label": "To Discharge",
"order": 3,
"requiredPrivilege": "app:adt"
},
"bahmniAdtPatientsSearchAllPatients":{
"id": "bahmni.adt.patients.search.allPatients",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"display":"All",
"forwardUrl" : "#/patient/{{patientUuid}}/visit/{{visitUuid}}/admit"
},
"label": "All",
"order": 4,
"requiredPrivilege": "app:adt"
}
}
Loading

0 comments on commit 4cd01cd

Please sign in to comment.