In addition to the information specifications for electronic health records, functional and behavioral capabilities need to be agreed to achieve interoperability. In this paper, we present results from task analysis and specification of software services to support the management of service events. The work has been performed to support the management of the nationally shared EPR in Finland. The results support the specification of information sharing and composition in relation to healthcare workflows and activities. The specification of a functional reference model and software services for the management of service events and encounters promotes the integration of shared EHR and systems adaptability for migration towards interoperable electronic health records in healthcare networks.