What is FHIR, and when would you still be dealing with HL7 v2?
FHIR is a resource-oriented REST API with a defined set of resources, constrained for real use by profiles and implementation guides. HL7 v2 is the older pipe-delimited messaging standard that still carries most of the event traffic inside hospitals, so the two coexist and an integration engine translates between them.