We will have to keep those POJOs that are related to authentication, global properties, modules etc. Those that are in FHIR, will be replaced to connect to those. You do not have to do any UI restructuring as part of this project. Just the REST resources should be exposed like the JPA server example that I provided in my last post.
Encounter has type property, which takes value from a valueset - Valueset-encounter-type - FHIR v5.0.0 . This is the replacement for the EncounterType from present lh-toolkit.
The UI part will be done using the web components project - Project: Create web components for FHIR Resources