For some time now I’ve been trying to add observations such as height, weight, diagnosis and so on to a row-per-patient report but haven’t been able to do so. Please any advice as to how to go about it?
Yes, I went through that page on the wiki.
Okay. I’ve created a row-per-patient dataset with name “Untitled” on the demo server
Can you share a direct link (url) to it?
Okay. This is the link: https://demo.openmrs.org/openmrs/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition . You’ll see a dataset definition named “Untitled”…That’s the one I created.
Can you also share a screenshot of what i should expect to see?
What should happen when some one has more than one observation? For instance, if one has 3 values for height.
In such scenario, the last recorded height should be fetched.
When defining this database, what field or property do you use for the height?
I created the height column using data definition. Under data definition, I used the concept name “Height (cm)” as the field. I then added the data definition to the data set definition as I did with all other data definitions(ID, Name etc).
The demo server got reset. Do you mind quickly setting that up again on https://demo.openmrs.org such that i have a look and advise accordingly?
Okay, I’ll do that right away.
This is the link: https://demo.openmrs.org/openmrs/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition The name of the dataset definition is “Untitled”
Can you do one where the height column has values like in your earlier screenshot?
Same thing I tried, but this time, the results are different