I read an article on the difference between EHR vs EMR, and according to that article, the (USA) National Alliance for Health Information Technology (NAHIT) has produced the following definitions for EMR and EHR:
EMR: The electronic record of health-related information on an individual that is created, gathered, managed, and consulted by licensed clinicians and staff from a single organization who are involved in the individual’s health and care.
EHR: The aggregate electronic record of health-related information on an individual that is created and gathered cumulatively across more than one health care organization and is managed and consulted by licensed clinicians and staff involved in the individual’s health and care.
I hope this will lead you to understand the basics of EHR and EMR software.