How to modernize a legacy EHR for FHIR