import { Injectable } from '@nestjs/common';
import { DataSource } from 'typeorm';
@Injectable()
export class DocumentTypeService {
  constructor(private readonly connection: DataSource
  ) {
  }

  async findAll() {
    const getTypes = await this.connection.query(`select * from patient_record_type`)
    return getTypes;
  }
}
