Hi everyone,
I’m currently working on the issue O3-4508 which involves integrating a custom API to efficiently fetch visit data. However, I’ve encountered a problem:
The new API response doesn’t provide the “provider” and “role” associated with a note.
In the old API, we used to extract these from the encounters, but in the new response, this data seems to be missing. These two fields are essential, as they’re displayed in the NotesSummary
component.
Current API Response (Notes)
visitNotes: [
{
uuid: "",
value: "",
obsDatetime: "",
concept: {
uuid: "",
display: "",
links: []
}
}
]
I discovered that we need to edit this file in the backend to fetch the additional data:
Even though the component might be deprecated soon, I’d still like to try and finish this issue to learn and contribute effectively.
I haven’t done much Java development so far — my experience has mainly been solving questions related to Data Structures and Algorithms. This will be my first dive into Java-based backend development.
Can anyone please guide me towards any resources or beginner-friendly tips on working with the OpenMRS Java backend?
I would really appreciate any help or suggestions!