GSoC @OpenMRS 2nd week

Ayeshmantha Perera
2 min readJun 14, 2020

Two weeks have passed since the coding period time begins.It was a great experience working to a top leading opensource community that has a huge community.

After the first weekend, I had discussions with my mentors about the road ahead on the path. And what steps that I will be working on in the next week.

End of the first week we integrated the ActiveMQ event bus to the project which is the underline event bus used in openMRS. So in the next coming week will be working on identifying the events types. Since we already have because came up into a decision what are the system-level metrics we are capturing what are the openMRS object types that we need to capture from the event bus.

below is the config file which will be storing the openMRS obejct types which we need to use to capture the data points.

"eventConfigurations": [
{
"openMrsClass": "org.openmrs.Person",
"enabled": "true",
"title": "Person",
"category": "person",
"linkTemplates": {
"rest": "/ws/rest/v1/person/{uuid}?v=full",
"fhir": "/ws/fhir/Person/{uuid}"
}
},
{
"openMrsClass": "org.openmrs.User",
"enabled": "false",
"title": "User",
"category": "user",
"linkTemplates": {
"rest": "/ws/rest/v1/user/{uuid}?v=full"
}
},
{
"openMrsClass": "org.openmrs.Patient",
"enabled": "true",
"title": "Patient",
"category": "patient",
"linkTemplates": {
"rest": "/ws/rest/v1/patient/{uuid}?v=full",
"fhir": "/ws/fhir/Patient/{uuid}"
}
},
{
"openMrsClass": "org.openmrs.Form",
"enabled": "true",
"title": "Form",
"category": "form",
"linkTemplates": {
"rest": "/ws/rest/v1/form/{uuid}?v=full"
}
},
{
"openMrsClass": "org.openmrs.Obs",
"enabled": "true",
"title": "Observation",
"category": "observation",
"linkTemplates": {
"rest": "/ws/rest/v1/obs/{uuid}?v=full",
"fhir": "/ws/fhir/Observation/{uuid}"
}
},
{
"openMrsClass": "org.openmrs.Encounter",
"enabled": "true",
"title": "Encounter",
"category": "encounter",
"linkTemplates": {
"rest": "/ws/rest/v1/encounter/{uuid}?v=full",
"fhir": "/ws/fhir/Encounter/{uuid}"
}
}
]

So the next step would be to work on the flow to capture the specified events classes and get the values for them. In the upcoming week will be working on that.

--

--