Configuration for relationship events:
Set atomfeed.publish.eventsForPatientRelationshipChange true in OpenMRS global properties to raise events related to person relationship changes
Use atomfeed.event.urlPatternForPatientRelationshipChange OpenMRS global property to configure the object values for the raised events. The default is /openmrs/ws/rest/v1/relationship/%s, where %s represents the relationship uuid.
Configuration for program events:
Set atomfeed.publish.eventsForPatientProgramStateChange true in OpenMRS global properties to raise events related to person program changes
Use atomfeed.event.urlPatternForProgramStateChange OpenMRS global property to configure the object values for the raised events. The default is /openmrs/ws/rest/v1/programenrollment/{uuid}?v=full where {uuid} represents the patientprogram uuid.