import request from '@/utils/request';
import {AxiosPromise} from 'axios';

/**
 * 查询就诊记录列表
 * @param query
 * @returns {*}
 *
 */
export const getHistoryRecordListAPI = (query?: any): AxiosPromise<any[]> => {
  return request({
    url: '/patients/hospitalRecord/list',
    method: 'get',
    params: query
  });
};
