The HL7 EHR functional model is a framework for message creation and medical document creation. In a nutshell, it is a set of rules that help create unified messages exchanged between systems that use different technologies.