Un-voiding a deleted Obs in RefApp


(JONATHAN AJAL ODORA) #1

Can anyone help with how to un-void a deleted observation?

Thankyou


(Daniel Kayiwa) #2

Do the deleted observations show up when you search?


(JONATHAN AJAL ODORA) #3

no, the one I deleted doesn’t show up


(Daniel Kayiwa) #4

Can you share a screenshot?


(JONATHAN AJAL ODORA) #5

they were two observations but it’s the one I deleted that is not there


(Daniel Kayiwa) #6

How many rows of data do you have in your openmrs database’s obs table?


(JONATHAN AJAL ODORA) #7

@dkayiwa I have 12 rows returned for the obs table


(Daniel Kayiwa) #8

How many of those rows have the voided flag set to true?


(JONATHAN AJAL ODORA) #9

They are two rows set to true


(Daniel Kayiwa) #10

Take note of the obs_id values. Then in the observation search results, click on any of the results and in the screen that shows up, in the url, replaces the obsId with any of the values in the database.


(JONATHAN AJAL ODORA) #11

this is what I get after entering


(Daniel Kayiwa) #12

What url do you see in the browser?


(JONATHAN AJAL ODORA) #13

http://localhost:8080/openmrs/admin/observations/obs.form?obsId=10

After replacing obsId=1 to obsId=10


(Daniel Kayiwa) #14

What obs_id do the two voided rows in your database have?


(JONATHAN AJAL ODORA) #15

The first has 2 and 12 for the next voided row


(Daniel Kayiwa) #16

Did you try putting those in the url?


(JONATHAN AJAL ODORA) #17

No I didn’t, I put what you said I could put, any value from the obs_id


(Daniel Kayiwa) #18

Put any of the voided values and share the screenshot.


(JONATHAN AJAL ODORA) #19

That’s the page I receive


(Daniel Kayiwa) #20

Can you also include the bottom of the screen?