Patient Documents Module
Purpose and Benefits
This feature is used to receive and capture patient's information in the form of documents (patient's paper record scans, X-Ray images and other external documents). Bahmni allows you to upload these documents and associating it to specific visits of a patient. All these documents get attached to a patient's record and are viewable from the Visit dashboard.
Steps
Configure Patient Documents App
To configure the Patient Documents Module/App to appear on the Home page please add the config below to this path: /bahmni/default-config/openmrs/apps/home/extension.json
"patientDocumentUpload": {
"id": "bahmni.patient.document.upload",
"extensionPointId": "org.bahmni.home.dashboard",
"type": "link",
"translationKey": "MODULE_LABEL_PATIENT_DOCUMENTS_KEY",
"url": "../document-upload/?encounterType=Patient Document&topLevelConcept=Patient Document&defaultOption=Patient file",
"icon": "icon-bahmni-documents",
"order": 6,
"requiredPrivilege": "app:patient-documents"
},Configure Active Patients Tab
To configure the active patients Tab on the first page, add the config below to this path: /bahmni/default-config/openmrs/apps/documentUpload/extension-Patient Document.json
{
"bahmniDocUploadPatientsSearchActivePatients":{
"id": "bahmni.docUpload.patients.search.activePatients",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"searchHandler": "emrapi.sqlSearch.activePatients",
"translationKey": "MODULE_LABEL_ACTIVE_PATIENTS_KEY",
"forwardUrl" : "#/patient/{{patientUuid}}/document"
},
"label": "Active Patients",
"order": 1,
"requiredPrivilege": "app:patient-documents"
},
"bahmniDocUploadPatientsSearchAllPatients":{
"id": "bahmni.docUpload.patients.search.allPatients",
"extensionPointId": "org.bahmni.patient.search",
"type": "config",
"extensionParams": {
"translationKey":"MODULE_LABEL_ALL_PATIENTS_KEY",
"forwardUrl" : "#/patient/{{patientUuid}}/document"
},
"label": "All patients",
"order": 2,
"requiredPrivilege": "app:patient-documents"
}
}Configuring Patient Document Types
To configure the types against which a Patient Document can be uploaded, you may do the following
- Go to concept dictionary (.../openmrs/dictionary/index.htm) and search for 'Patient Document'
- You will find the concept 'Patient Document' has members that appear Document Upload module.
- Add a concept (e.g. Hospitalisation Record) of type 'Misc' and datatype 'NA'.
- Add the newly created concept as member of 'Patient Document'
- Go back to Patient Document module and verify that the dropdown lists the newly added concept when you upload a file.
Bahmni Wiki · CC BY-SA 4.0