Techniques for electronic medical record (EMR) integration are described. A middleware application may receive a command from a third-party application via an electronic network. The command may conform to a unified data format specified by a unified data model. The command may include a request to retrieve data from or write data to an EMR system. The middleware application may convert, using a mapping registrar, the command into a data format compatible with the EMR system. The middleware application may transmit, via another electronic network, the converted command to the EMR system. The middleware application may receive a response from the EMR system. The middleware application may convert, using a mapping registrar, the response into a result that may conform to the unified data format. The middleware application may transmit the converted result to the third-party application.