The Patient View Page Seems incompletep

Hello guys, Am working on the issue , Making a react ui for Patient View


To

And the Initial Arv data I have no idea how to put in please some ideas

i think so far you have done well. All you need to do is add the dropdown at the bottom that has those options i.e initial ARV, followup ARV, RTN , etc…

On the old ui though, it looks like that dropdown is not actually used in the final payload in the request to search, i.e provider=PatientSearchProvider&lastName=&firstName=k&STNumber=&subjectNumber=&nationalID=&labNumber=&guid=&dateOfBirth=&gender=&suppressExternalSearch=false. cc: @Moses_Mutesasira

1 Like

A follow up question here for @Moses_Mutesasira , why is this dropdown relevant? or is it a bug because the contents of that dropdown only appear at OpenELIS-Global-2/src/main/java/org/openelisglobal/patient/validator/PatientEntryByProjectFormValidator.java at 2914aa47249312f13bcfb1c70c573c3ac643ee16 · I-TECH-UW/OpenELIS-Global-2 · GitHub and are not in anyway used in the GET request but rather the validator is used in the POST request

1 Like

This means we have to first create a get API for this

Part of your tasks in that PR is to convert this class OpenELIS-Global-2/src/main/java/org/openelisglobal/patient/controller/PatientEntryByProjectController.java at develop · I-TECH-UW/OpenELIS-Global-2 · GitHub into a rest controller so that you can get an endpoint to use for searching using those parameters.

You can reference this Issue-862: Rewrite Dictionary Menu to React UI by mherman22 · Pull Request #918 · I-TECH-UW/OpenELIS-Global-2 · GitHub

1 Like

Thanks sir @mherman22 ,greatfully, but is that most of the content for these items is still behind the scenes