Every EHR has a system Integration Implementation Guides which contain descriptions of the data transport requirements, data schemas and sample data which can be used during interface development.
How do I get the EHR implementation guide?
The best way to get the EHR implementation guide is first to have the provider using the EHR provide it or leverage their EHR vendor contact to obtain the guide.