Bonus report provider dropdown list includes system and imported providers (negative provider numbers)

Preconditions

Ontario setup
Files provided during OMD revalidation to test import functionality

Steps to Reproduce

See revalidation server.
Open Report -> Ontario Prevention Report 2019
Click on provider dropdown

Expected Result

Only providers working at clinic are listed

Observed Result

External providers associated with imported patient reports are also listed (have negative provider numbers). System,System is listed (-1).

Additional Comments

I don't think any of the providers with negative provider numbers should be listed. Even on the small OMD revalidation test database, the list of providers is very long.

Also, it would be good to show the logged in provider as the default provider in the dropdown rather than just showing it as blank but using the logged in provider if none are selected.

Assignee

Unassigned

Reporter

Raymond Rusk

Labels

OSCAR Build Date

2018/07/26

OSCAR Build Tag

stable-1000

Client Browser

Firefox

Client OS

Windows 7

Are you or your organization planning on submitting a fix for this bug in the next 30 days?

No

Validated by Reporter

No

SourceForge Link

None

SourceForge Reporter

None

SourceForge Assigned To

None

SourceForge Date Created

None

SourceForge ID

None

Fix versions

Affects versions

Priority

3
Configure