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

Mart Programs Module

This module is similar to the Clinical module present in the product.

Configuration

Existing OpenMRS tables

Flattened Mart Tables

Incremental Config:

Please check this section on how to enable/disable incremental config for specific mart tables.

a) programs_default - This table gives all the programs in an implementation

Openmrs tables used: program

Column NameDescription
program_idProgram id as in Openmrs
program_nameName of the Program
program_descriptionDescription of the Program
creator_idCreator ID of the Program
creator_nameName of the Creator
date_createdDate on which the Program was created
date_changedIf any modifications to the Program is done, the date the changes were done is captured here
changed_by_idID by whom the change was done
changed_by_nameName by whom the change was done

b) program_outcomes_default - This table lists all the outcomes for a program. Each outcome of a program will be a separate row Openmrs tables used: program, concept, concept_set, concept_name

Column NameDescription
program_idProgram id as in Openmrs
program_nameName of the Program
program_outcomeOutcome of the program

c) patient_program_data_default - This table gives the data about when the patient is enrolled into a program, completion date of the program and other information like location at which the patient enrolled into a program etc. Openmrs tables used: patient_program, episode_patient_program, concept_name, location

Column NameDescription
patient_idDatabase id of patient
program_idProgram id as in Openmrs
patient_program_idUnique id generated when a patient is enrolled in to a program from Openmrs table patient_program
date_enrolledDate enrolled in to the program
age_during_enrollmentAge of the patient during program enrollment(Date difference of birth date and program enrollment date )
date_completedDate when the patient completed the program
age_during_completionAge of the patient during program completion (Date difference of birth date and program completion date)
location_idId of the location where the patient is enrolled to a program
location_nameName of the location where the patient is enrolled to a program
program_outcomeOutcome of the program for patient
creator_idId of the user who enrolled the patient in to program
creator _nameName of the user who enrolled the patient in to program
date_createdDate on which the entry was made
date_changedIf any modifications to the patient program enrolment is done, the date the changes were done
changed_by_idID by whom the change was done
changed_by_nameName by whom the change was done
voidedIf patient information is deleted, voided shows true. (From Openmrs table patient_program) 

d) program_workflow_default - This table lists all the workflows in a program. This is a metadata table that does not capture any user entered information. Every program can have a workflow that determines all the states a patient can transition to in that program.

Openmrs tables used: program_workflow, concept_view

Column NameDescription
program_idProgram id as in Openmrs
program_workflow_idId of the workflow
program_workflow_nameName of the workflow

f) program_workfow_states_default - This table lists all the states in workflows in a program. This is a metadata table that does not capture any user entered information. Every program can have a workflow that determines all the states a patient can transition to in that program.

Openmrs tables used: program_workflow_state, program_workflow, users, concept_view

Column NameDescription
program_workflow_state_idUnique id generated for a program workflow state
program_workflow_idUnique id generated for program workflow
state_nameName of the state
program_workflow_nameName of the program workflow
initialTrue if the state is initial state else False
terminalTrue if the state is terminal state else False
creator_idId of the creator of the state
creator_nameName of the creator of the state
date_createdDate on which the state was created
date_changedDate on which if any changes are made
changed_by_idId of the user who made changes
changed_by_nameName of the user who made changes

g) program_attributes -This table gives all the program attributes enrolled for a particular patient.

Openmrs tables used: program_attribute_type, patient_program_attribute

Mart Table:- program_attributes

Column NameDescription
patient_program_idUnique id generated in DB when a patient is enrolled to a program
program_attribute 1
program_attribute 2

Mart Viewsa) patient_program_view

This view gives all the person details along with the program details that patient has been enrolled to. If a patient is enrolled into 2 programs (or twice in to the same program), there will be 2 rows corresponding to that patient id. The data related to programs will be different in two rows where as the person details data will be duplicated. This gives person details like gender, birthdate, person address, person attributes captured in registration page and program data like date enrolled in to the program, date of completion and program outcome. Patient details also includes (Patient’s age during program enrollment) and age_group_at_progage_at_programram (Patient’s age group during program enrollment).

Mart tables used: person_details, person_address, person_attributes, patient_program_data

b) patient_program_state_view

This view gives all the person details along with the program details that patient has been enrolled to. If a patient is enrolled into 2 programs (or twice in to the same program), there will be 2 rows with different patient_program_id corresponding to that patient id. The data related to programs will be different in two rows where as the person details data will be duplicated. This gives person details like gender, birthdate, person address, person attributes captured in registration page and program data like date enrolled in to the program, date of completion and program outcome. Patient details also includes (Patient’s age during program enrollment) and age_group_at_progage_at_programram (Patient’s age group during program enrollment).

Mart tables used: person_details, person_address, person_attributes, patient_program_data

Note: patient_program_view doesn’t have state transition rows where as patient_program_state_view have it.

c) patient_program_info_view

This view gives all the programs a patient is enrolled in to and all the state transitions that a patient has undergone as part of the program. Every patient state that details state name, start date of the state and end date of the state will be a different row and all the program related information like program name, date enrolled in to program will be duplicated.

Mart tables used: programs, patient_program_data, patient_state

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗