BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Registration Second Page

관련 문서: incrementalUpdateConfig is applicable ( Refer Incremental Update )

Existing OpenMRS tables

Mart Tables

Mart Views

Translations

Registration on the second page is a default Bahmni feature.

Configuration

Existing OpenMRS tables

Mart Tables

In mart database, there will be two tables based on the configuration defined as part of the Bahmni config. The default Bahmni has the config as mentioned in the Appendix . As per the configuration following tables will be created. Any other concept can be defined in the same config. To configure Registration second page in Bahmni UI check the documentation.

a) reg_nutritional_values (For Nutritional Values)

Column NameColumn Description
id_reg_nutritional_valuesObservation Id same as obs table of openmrs database
patient_idFor which patient the data was captured
encounter_idIn which encounter the data was captured
visit_idId reference of visit from visit table in openmrs
obs_datetimeobs date and time from obs table in openmrs
date_createdvisit date created from visit table in openmrs
date_modifiedvisit date changed from visit table in openmrs
location_idId reference to location from location table in openmrs
location_nameName of location from location table in openmrs
program_idId reference to the program from program table in openmrs
program_nameName of program from program table in openmrs
patient_program_idId reference to patient program from patient_program table in openmrs
heightFor given encounter and patient what is the value of height
weightFor given encounter and patient what is the value of weight

b) reg_fee_information ( Fee Information)

Column nameColumn Description
id_reg_fee_informationObservation Id same as obs table of openmrs database
patient_idFor which patient the data was captured
encounter_idIn which encounter the data was captured
visit_idId reference of visit from visit table in openmrs
obs_datetimeobs date and time from obs table in openmrs
date_createdvisit date created from visit table in openmrs
date_modifiedvisit date changed from visit table in openmrs
location_idId reference to location from location table in openmrs
location_nameName of location from location table in openmrs
program_idId reference to the program from program table in openmrs
program_nameName of program from program table in openmrs
patient_program_idId reference to patient program from patient_program table in openmrs
registration_feesFor given encounter and patient what is the value of registration fees
commentsFor given encounter and patient what is the value of comments

Note:- If a concept is present both in Observation form and in the registration second page, and the data for the concept is added from the Registration second page as well as one of the forms then the table under registration second page will have both the values under separate encounters.

However if a value is added from forms the same will only reflect under the obs table and not in the registration second page table.

Mart Views

There will be a separate table for each concept set configured in extension.json. To make it easily accessible there will be a view named as registration_second_page_view combining all the tables related to registration second page in mart database

patient_idFor which patient the data was captured
encounter_idIn which encounter the data was captured
visit_idId reference of visit from visit table in openmrs
obs_datetimeobs date and time from obs table in openmrs
date_createdvisit date created from visit table in openmrs
date_modifiedvisit date changed from visit table in openmrs
location_idId reference to location from location table in openmrs
location_nameName of location from location table in openmrs
program_idId reference to the program from program table in openmrs
program_nameName of program from program table in openmrs
patient_program_idId reference to patient program from patient_program table in openmrs
reg_fee_information_registration_feesFee collected from that patient from obs table in openmrs
reg_nutritional_values_heightHeight mentioned in the RSP from obs table in openmrs
reg_nutritional_values_weightWeight of patient mentioned in the RSP from obs table in openmrs

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.

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗