Versions Compared

Key

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

OpenSRP atomfeed module is based on ICT4H Atomfeed Module and it`s source code can be cloned here. This module creates feeds for different transactions happening into OpenMRS.

Setup instructions:

  • Download module release from <<here>> here
  • Once installed goto configure and change property 'atomfeed.data-update.data-entry.roles-to-ignore'.
    • NOTE: For data pushed by OpenSRP we may only want to get feeds which are generated by direct usage of OpenMRS system or are from any other external system.
    • We would want to skip data pushed by OpenSRP daemon service (syncer service which push data updated on OpenSRP side)
    • This property would force system to skip entries from specified roles.
    • OpenSRP daemon (data sync) service should not use credentials of admin or any other user. Rather it should be a special daemon service credentials with Developer Role and Another role which distinguishes i from all other users and should never be used for administering OpenMRS via UI.
  • If your system handles all atomfeeds make value empty.

...

Entity TypeChild EntityTransaction TypeIs AvailableAPI MethodCategory
Patient

Patient Demographics

Save, Update, VoidYessavePatientOpenSRP_Patient
 Patient IdentifierSave, Update, VoidYessavePatientOpenSRP_Patient
 Patient AddressSave, Update, VoidYessavePatientOpenSRP_Patient
 Patient AttributesSave, Update, VoidYessavePatientOpenSRP_Patient
EncounterEncounter DataSave, Update, VoidYessaveEncounterOpenSRP_Encounter
 ObservationsSave, Update, VoidYessaveEncounterOpenSRP_Encounter
OrderDrug Orderssave, Update, VoidYessaveOrderOpenSRP_DrugOrder
CohortCohort DataSave, Update, VoidNosaveCohortOpenSRP_Cohort
 Cohort AttributesSave, Update, VoidNosaveCohortOpenSRP_Cohort
 Cohort MembersSave, Update, VoidNosaveCohortOpenSRP_Cohort
RelationshipPatient RelationshipSave, Update, VoidNosaveRelationship, voidRelationship, purgeRelationshipOpenSRP_Relationship
      

...