Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

1)Child Health Care

  •  

...

  •  Created concept named "Child Health Care Program" which represent the program
  •  

...

  •  Created concept named "Child Health Care Workflow"
  •  

...

  •  Created concept named "Program Outcome Completed"
  •  

...

  •  Created concept named "Child Health Care Outcome" datatype ConvSet and added "Program Outcome Completed" as a set member.
  •  

...

  •  Created concept named "Program State Ongoing" as a default state
  •  

...

  •  Created Program with above concepts.
  •  

...

  •  After saving the concept add "Program State Ongoing" as workflow states.

       

...

  •   Bahmni already provides a entity_mapping_type for program to observation_template with ID 1. We will use that here for every mapping

     Go to openmrs database
                Get UUID for child health care template
                Get UUID for child health care program
                    insert into entity_mapping( uuid,entity_mapping_type_id,entity1_uuid,entity2_uuid,date_created) values(UUID(),1,’{{UUID_Of_Program}}', {{‘UUID_Of_Concept}}', now());
2)Cause of Death     1)

  •   Created concept named "Cause of Death Program" which represent the program
  •  

...

  • Created concept named "Cause of Death Workflow"
  •  

...

  • Created concept named "Cause of Death Outcome" datatype ConvSet and added "Program Outcome

...

  • Completed" as a set member.     
     
  •  

...

  • Created Program with above concepts.

...

  •  

...

  • After saving the concept add "Program State Ongoing" as workflow states.
          Go to openmrs database
              Get UUID for death note template
              Get UUID for Cause of Death program
       
              insert into entity_mapping( uuid,entity_mapping_type_id,entity1_uuid,entity2_uuid,date_created) values(UUID(),1,’{{UUID_Of_Program}}', {{‘UUID_Of_Concept}}', now());
3) Maternal Health     1)Created concept named 

  •    Created concept named "Maternal Health Care Program" which represent the program
  •  

...

  •  Created concept named "Maternal Health Care Workflow"
  •  

...

  •  Created concept named "Maternal Health Care Outcome" datatype ConvSet and added "Program Outcome

...

  • Completed" as a set member.  

...

  •     
     

...

  •    Created Program with above concepts.
  •  

...

  •  After saving the concept add "Program State Ongoing" as workflow states.

    Go to openmrs database

                 

              Get UUID for ANC Visit template
              Get UUID for Maternal Health program    insert into entity program
           
               insert into entity_mapping( uuid,entity_mapping_type_id,entity1_uuid,entity2_uuid,date_created) values(UUID(),1,’{{UUID_Of_Program}}', {{‘UUID_Of_Concept}}', now());
              Get UUID for PNC Visit template
              Get UUID for Maternal Health program
              insert into entity_mapping( uuid,entity_mapping_type_id,entity1_uuid,entity2_uuid,date_created) values(UUID(),1,’{{UUID_Of_Program}}', {{‘UUID_Of_Concept}}', now());
Get UUID for              Get UUID for Delivery Information template
    Get UUID for          Get UUID for Maternal Health program
         
          insert into entity   insert into entity_mapping( uuid,entity_mapping_type_id,entity1_uuid,entity2_uuid,date_created) values(UUID(),1,’{{UUID_Of_Program}}', {{‘UUID_Of_Concept}}', now());
Get UUID for              Get UUID for New Born Care template
    Get UUID for          Get UUID for Maternal Health program
      insert into entity       insert into entity_mapping( uuid,entity_mapping_type_id,entity1_uuid,entity2_uuid,date_created) values(UUID(),1,’{{UUID_Of_Program}}', {{‘UUID_Of_Concept}}', now());
Get UUID for              Get UUID for Pregnancy Intake template
    Get UUID for          Get UUID for Maternal Health program
            insert into entity insert into entity_mapping( uuid,entity_mapping_type_id,entity1_uuid,entity2_uuid,date_created) values(UUID(),1,’{{UUID_Of_Program}}', {{‘UUID_Of_Concept}}', now());