update
This commit is contained in:
@ -1,7 +1,95 @@
|
|||||||
import config from "config";
|
import config from "config";
|
||||||
import { DataSource } from "typeorm";
|
import { DataSource } from "typeorm";
|
||||||
import { ILogObj, Logger } from "tslog";
|
import { ILogObj, Logger } from "tslog";
|
||||||
import { ResponsiblePartyConsent, Province, City, Subdistrict, Ward, RefferalHospital, RegistrationFee, FareType, RoomStock, Administrativu, Aldeia, District, Menu, Munisipo, Suco, Application, Nationality, Diagnosis, DiagnosticProcedure, Room, MedicalForm, ServiceType, ServiceClass, Service, ServiceFare, ServicePackage, Department, DoctorSchedule, MeasurementUnit, ReferenceRange, QueueMonitoring, QueueMonitoringRooms, ExaminationDetail, ExaminationType, User, UserRole, HrmsEmployee, HrmsDepartment, HrmsPosition, HrmsShift, HospitalInformation, ItemOrigin, ItemType, ItemTypeDetail, Unit, ItemCategory, ItemStatus, UsageInstructions, UsageTime, ItemClass, ItemClassDetail, GenericName, Factory, Supplier, FactoryToSupplier, ItemMaster, ItemGroup, PharmacyInfo, ItemPrice, SellingPricePercentage, PatientGroup, Currency, InpatientRoom, SurgeryRoom, SurgeryType, PatientGuarantor, InitialStock, DoctorItem, DoctorItemPackage, UserToRoom, RoomToPharmacy, PlanningVerificator, ScheduleSeries, ScheduleException, CardType, PaymentMethod, FosterCareHistory } from "entity";
|
import {
|
||||||
|
ResponsiblePartyConsent,
|
||||||
|
Province,
|
||||||
|
City,
|
||||||
|
Subdistrict,
|
||||||
|
Ward,
|
||||||
|
RefferalHospital,
|
||||||
|
RegistrationFee,
|
||||||
|
FareType,
|
||||||
|
RoomStock,
|
||||||
|
Administrativu,
|
||||||
|
Aldeia,
|
||||||
|
District,
|
||||||
|
Menu,
|
||||||
|
Munisipo,
|
||||||
|
Suco,
|
||||||
|
Application,
|
||||||
|
Nationality,
|
||||||
|
Diagnosis,
|
||||||
|
DiagnosticProcedure,
|
||||||
|
Room,
|
||||||
|
MedicalForm,
|
||||||
|
ServiceType,
|
||||||
|
ServiceClass,
|
||||||
|
Service,
|
||||||
|
ServiceFare,
|
||||||
|
ServicePackage,
|
||||||
|
Department,
|
||||||
|
DoctorSchedule,
|
||||||
|
MeasurementUnit,
|
||||||
|
ReferenceRange,
|
||||||
|
QueueMonitoring,
|
||||||
|
QueueMonitoringRooms,
|
||||||
|
ExaminationDetail,
|
||||||
|
ExaminationType,
|
||||||
|
User,
|
||||||
|
UserRole,
|
||||||
|
HrmsEmployee,
|
||||||
|
HrmsDepartment,
|
||||||
|
HrmsPosition,
|
||||||
|
HrmsShift,
|
||||||
|
HospitalInformation,
|
||||||
|
ItemOrigin,
|
||||||
|
ItemType,
|
||||||
|
ItemTypeDetail,
|
||||||
|
Unit,
|
||||||
|
ItemCategory,
|
||||||
|
ItemStatus,
|
||||||
|
UsageInstructions,
|
||||||
|
UsageTime,
|
||||||
|
ItemClass,
|
||||||
|
ItemClassDetail,
|
||||||
|
GenericName,
|
||||||
|
Factory,
|
||||||
|
Supplier,
|
||||||
|
FactoryToSupplier,
|
||||||
|
ItemMaster,
|
||||||
|
ItemGroup,
|
||||||
|
PharmacyInfo,
|
||||||
|
ItemPrice,
|
||||||
|
SellingPricePercentage,
|
||||||
|
PatientGroup,
|
||||||
|
Currency,
|
||||||
|
InpatientRoom,
|
||||||
|
SurgeryRoom,
|
||||||
|
SurgeryType,
|
||||||
|
PatientGuarantor,
|
||||||
|
InitialStock,
|
||||||
|
DoctorItem,
|
||||||
|
DoctorItemPackage,
|
||||||
|
UserToRoom,
|
||||||
|
RoomToPharmacy,
|
||||||
|
PlanningVerificator,
|
||||||
|
ScheduleSeries,
|
||||||
|
ScheduleException,
|
||||||
|
CardType,
|
||||||
|
PaymentMethod,
|
||||||
|
FosterCareHistory,
|
||||||
|
InpatientRoomBed,
|
||||||
|
EmrBoardingRoom,
|
||||||
|
EmrPatient,
|
||||||
|
EmrRegistration,
|
||||||
|
EmrDiagnosis,
|
||||||
|
EmrRegistrationOutpatient,
|
||||||
|
EmrRegistrationEmergency,
|
||||||
|
EmrRegistrationEmergencyResponsible,
|
||||||
|
DischargeStatusEmergency,
|
||||||
|
EmrInternalConsultation,
|
||||||
|
} from "entity";
|
||||||
|
|
||||||
export class OrmHelper {
|
export class OrmHelper {
|
||||||
static DB: DataSource = null;
|
static DB: DataSource = null;
|
||||||
@ -61,6 +149,16 @@ export class OrmHelper {
|
|||||||
Unit,
|
Unit,
|
||||||
Currency,
|
Currency,
|
||||||
InpatientRoom,
|
InpatientRoom,
|
||||||
|
InpatientRoomBed,
|
||||||
|
EmrPatient,
|
||||||
|
EmrRegistration,
|
||||||
|
EmrDiagnosis,
|
||||||
|
EmrRegistrationOutpatient,
|
||||||
|
EmrRegistrationEmergency,
|
||||||
|
EmrRegistrationEmergencyResponsible,
|
||||||
|
DischargeStatusEmergency,
|
||||||
|
EmrInternalConsultation,
|
||||||
|
EmrBoardingRoom,
|
||||||
SurgeryRoom,
|
SurgeryRoom,
|
||||||
SurgeryType,
|
SurgeryType,
|
||||||
ItemCategory,
|
ItemCategory,
|
||||||
|
|||||||
Reference in New Issue
Block a user