Forms 2.0 Job
We could navigate Forms 2.0 either from clinical module or programs module.
- ConfigurationColumnsToIgnore, ignoreAllFreeTextConcepts, separateTableConfig, enableForAddMoreAndMultiSelect apply for this module ( Refer https://msfprojects.atlassian.net/wiki/spaces/BAH/pages/329875787/Appendix )
- incrementalUpdateConfig is applicable ( Refer https://msfprojects.atlassian.net/wiki/spaces/BAH/pages/329679036/Incremental+Update )
Configuration
ColumnsToIgnore, ignoreAllFreeTextConcepts, separateTableConfig, enableForAddMoreAndMultiSelect apply for this module ( Refer https://msfprojects.atlassian.net/wiki/spaces/BAH/pages/329875787/Appendix )
incrementalUpdateConfig is applicable ( Refer https://msfprojects.atlassian.net/wiki/spaces/BAH/pages/329679036/Incremental+Update )
Existing OpenMRS tables
Flattened Mart Tables
The Forms 2.0 module deals with only Obs table. Once the data is filled against a particular form, upon executing mart, the form observations would be populated in the mart with the table name as “form_name”.
Below are the columns that are common in every form table
| Column Name | Description |
|---|---|
| patient_id | Id reference for patient id from patient_id table. |
| visit_id | In which Visit the data is captured |
| encounter_id | In which encounter data is captured |
| obs_datetime | Observation date and time |
| location_id | Location code |
| location_name | Location name |
| program_id | Program code |
| program_name | Name of the program |
| patient_program_id | Id in which patient is enrolled to the program |
| date_created | Date of form creation (When filled for the first time) |
| date_modified | Date of recent form updation (When any form fields are filled again or modified in same encounter) |
| form_field_path | Combination of name of the path, control id and version of the form. This refers to specific control in the form |
| reference_form_field_path | Refers to the name of the form2 form |
Translations
if we need to get those values as per the translations we need to add the below locale tag in the “/var/www/bahmni_config/bahmni-mart/bahmni-mart.json“ file.
Changing form name in production
원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0