feat: Enhanced and modular report generation in Patient List Creation (#7015)
commitda84ee5099542788c23fb2c2693ab2bf7930ab0b
authorJack5 <32806494+jack5github@users.noreply.github.com>
Mon, 22 Apr 2024 19:05:11 +0000 (23 05:05 +1000)
committerGitHub <noreply@github.com>
Mon, 22 Apr 2024 19:05:11 +0000 (22 15:05 -0400)
tree4ac59844ccc369696d4008faf7bd80ab59f36731
parentf633bd39094c328ee166fb8ad13e87cd965dd1b6
feat: Enhanced and modular report generation in Patient List Creation (#7015)

* Patient List Creation: .=, encounters & observs.

* Patient List Creation: Fix array key errors, comms

* Patient List Creation: Fix insurance array error

* Patient List Creation: Fix missing ethnicity col

* Patient List Creation: Working CSV export

* Patient List Creation: Remove unused Lab SQL joins

* Patient List Creation: Procedures report type wip

* Patient List Creation: Date filter for all reports

* Patient List Creation: Fix proc. date filter twice

* Patient List Creation: Fix CSV-specific syntax err

* Patient List Creation: Add proc. order date

* Patient List Creation: Modular report type declars

* Patient List Creation: New headings for diag check

* Patient List Creation: Remove aggreg., new fields

* Patient List Creation: Modular access control

* Patient List Creation: Primary diagnosis readable

* Patient List Creation: Fix PHPCBF violations

* Patient List Creation: Remove stray spaces

* Patient List Creation: Easier to read PHP spacing

* Manually fix PHPCBF violations

* Patient List Creation: Rm. unused sort_cols case

* Patient List Creation: Prescriptions, fix sort/ord

* Patient List Creation: Insurance filter fixed

* Patient List Creation: Formatting and reordering

* Patient List Creation: Fully functional procedures

* Complete merge

* Fix missing CSV closer

* Fix another missing CSV closer

* Patient List Creation: Options filters, descripts.

* Disable loading icon (FIX THIS)

* Patient List Creation: CSV works with codes

* Patient List Creation: Lab Res. test, modernise

* Patient List Creation: 2+ primary diagnoses fix

* Patient List Creation: Filter by provider name

* Patient List Creation CSV: More readable code

* Patient List Creation: Lab filt., prov. list, LIKE

* Manually fix PHPCBF violations, add credit

* Use correct bracket type for all arrays

* Patient List Creation: Styling improvements

* Patient List Creation: Diag. filter+, jQ wildcards

* Patient List Creation: Proper xl/attr/text usage

* Patient List Creation: $search_options overhaul

* Patient List Creation: Condense spaces in queries

* Patient List Creation: Code readable, fix ethnic

* Fix PHPCBF violations

* Fix ethnicity query

Ethnicity was breaking for single list option ethnicity or if the
ethnicity was the first item in the list options (kinda confusing as
there are only two list options, but since people can modify this list
we want to support it).

---------

Co-authored-by: Stephen Nielson <snielson@discoverandchange.com>
interface/reports/patient_list_creation.php