class PatientInfoServiceImpl implements PatientInfoService {

    @Override
    public CommonResult listRegistrationsByPatientId(Integer patientId) {
        List<HashMap> registrations = registrationMapper.listRegistrationsByPatientId(patientId);

        return CommonResult.success(registrations);
    }

}