Openemr encounters twig kernel (#4644)
commit583def288b26ea0f37f1dd3115f7a7221dbee9cf
authorStephen Nielson <stephen@nielson.org>
Sat, 25 Sep 2021 12:32:56 +0000 (25 08:32 -0400)
committerGitHub <noreply@github.com>
Sat, 25 Sep 2021 12:32:56 +0000 (25 08:32 -0400)
treea9ba52dac11d0b3947b451cec606911c51fd5c41
parente123305beca15a45ae4475ebc95c8b54121e12e2
Openemr encounters twig kernel (#4644)

* Encounter search,save changes. Twig module support.

Add empty option for encounter discharge

Made it so you can add additional search directories for twig.   This makes it so modules can use twig templates inside their own folders.

Added a helper method to the EncounterService to be able to get the most recent encounter for a patient based on the encounter date.

Modified the search method in EncounterService so you can have order by and limit conditions.

Removed spam log from patient demographics.

* Fix styles
interface/forms/newpatient/common.php
interface/forms/newpatient/save.php
src/Common/Twig/TwigContainer.php
src/FHIR/SMART/SmartLaunchController.php
src/Services/EncounterService.php