If ICD-10 stroke codes were entered as the primary discharge diagnoses, the electronic health record systems would not allow the discharge of the patient until all required documentation has been completed. The EHR would not allow for any empty fields before it could be closed. Data quality was assured by automatic feasibility checks. The novel electronic data acquisition system provides the continuous clinical care data on all stroke patients from their acute management phase to inpatient rehabilitation or discharge.