Commit 476e4126 authored by Sandeep Sagar Panjala's avatar Sandeep Sagar Panjala

initial commit

parent 01c1a395
export interface IMedicationAsync {
id: number;
name: string;
icon: string;
typeName: string;
genericName: string;
companyName: string;
supplierName: string;
}
\ No newline at end of file
import { MenuType } from "../enums";
export interface IMenuPatientModel {
mainPage: string;
subPage: string;
category: string;
url: string;
count: number;
priority: number;
generalClasses: string;
iconClasses: string;
menuTypeId: MenuType;
displayName: string;
activeRoute: string;
hasMarker?: boolean;
isHovering?: boolean;
id?: number;
encryptedId?: string;
name?: string;
value?: string;
optionalId?: number;
optionalText?: string;
optionalText1?: string;
optionalText2?: string;
optionalData?: number;
cost?: number;
isSelected?: boolean;
color?: string;
date?: Date;
time?: object;
status?: boolean;
duration?: number;
optionalId1?: number;
}
import { MenuType } from "../enums";
export interface IMenuModel {
id: number;
mainPage: string;
subPage: string;
category: string;
url: string;
count: number;
priority: number;
generalClasses: string;
iconClasses: string;
menuTypeId: MenuType;
encounterKey: string;
isEncounterCompleted: boolean;
encounterCompletedCount: number;
displayName: string;
activeRoute: string;
hasMarker?: boolean;
isHovering?: boolean;
categoryMenus: Array<ICategoryMenuModel>;
}
export interface ICategoryMenuModel {
id: number;
priority: number;
url: string;
subPage: string;
displayName: string;
iconClasses: string;
isEncounterCompleted: boolean;
}
export interface IMenuOverAllModel {
isFullAccess: boolean;
menus: Array<IMenuModel>;
menuButtonCodes: Array<string>;
}
export class NurseNotesReport {
nurseNoteId?: number;
bedNumber?: string;
note?: string;
admissionId?: number;
admissionNo?: string;
umrNo?: string;
createdByName?: string;
nurseName?: string;
createdDate?: Date;
fullName?: string;
}
import { Time } from "@angular/common";
export class ObEncounter {
obEncounterId?: number;
encryptedPatientId: string;
appointmentId: number;
encounterDate: Date;
vitals: string;
problemList: string;
briefRos: string;
active: boolean;
createdBy: number;
createdDate: Date
modifiedBy: number;
modifiedDate: Date;
geneticScreening: string;
infectionHistory: string;
medicationComment: string = null;
breastExamination: string;
vaginalExamination: string;
ancCaredClosure: string;
ancCardGeneration: string;
complaints: string;
obstetricExamination: string;
birthHistory: string;
orderPrescription: string;
drugHistory: string;
vteRisk: string;
planOfManagement: string;
menstrualHistory: string;
sgaScanning: string;
surgeries: string;
procedureForm: string;
antinantalRisk: string;
otherDetail: string;
jsonString: string;
vaccine: string;
postnantalVisit: string;
measure: string;
generalExamination: string;
breech: string;
ancCard: string;
covid: string;
anaesthesiaRecord: string;
prepregnancyCounseling: string;
allergies: string;
familyHistory: string;
appointmentDate: Date;
appointmentTimeString: string;
providerName: string;
appointmentTime: Time;
isAppointmentClosed: boolean;
outPatientManagement: string;
specialFeature: string;
prePregnancyPlan: string;
referralForm: string;
refferalOrder: string;
admissionSlip: string;
syndromes: string;
opManagement: string;
motherWithEpilepsy: string;
externalCephalicVersion: string;
dischargeSummary: string;
nurseAssessment: string;
outSideTests: string;
encryptedAppointmentId: string;
ProviderName: string;
measureCommonData: string;
ancCardCloseCommonData: string;
commonSpecialFeature: string;
neonatalAssessmentForm: string;
}
export class OTPResponse {
otp: string;
otpExpiresIn: number;
accountId: number;
fullName: string;
error: boolean;
errorDescription: string;
}
\ No newline at end of file
import { Subject } from "rxjs";
import { ApiResources } from "../helpers";
import { IUserAccount } from "./user-account.model";
export class Page {
loading: boolean;
error: boolean;
loaded: boolean;
unSubscribe: Subject<any>;
userAccount: IUserAccount;
constructor() {
this.loading = true;
this.error = false;
this.loaded = false;
this.unSubscribe = new Subject();
}
markError(): void {
this.error = true;
this.loading = false;
this.loaded = true;
}
unsubscribeAll(): void {
this.unSubscribe.next(null);
this.unSubscribe.complete();
}
getImage = (url: string): string => {
if (url) {
return `${ApiResources.getURI(ApiResources.resources.base, ApiResources.resources.getProfileImage)}?imagePath=${url}`
}
return null;
}
}
\ No newline at end of file
export class Pagination {
pageIndex = 0;
pageSize = 10;
pageSizeOptions: Array<number> = [10, 25, 50, 100];
totalItems = 0;
totalPages = 0;
currentItems = 0;
currentPage = 0;
disablePagination = false;
}
\ No newline at end of file
import { Patient, PatientEmergency, PatientInsurance, PatientFamily } from "@shared/entities"
export class PatientProfile {
patient: Patient;
emergencyContacts: Array<PatientEmergency>;
insurances: Array<PatientInsurance>;
relativeDetails: Array<PatientFamily>;
patientFamily: PatientFamily;
constructor() {
this.patient = new Patient();
this.emergencyContacts = [];
this.insurances = [];
this.patientFamily = new PatientFamily();
this.relativeDetails = new Array<PatientFamily>();
}
}
\ No newline at end of file
export class PaymentStatus {
status: number;
message: string;
result: Array<Result>;
errorCode: any;
responseCode: any;
constructor() {
this.result = [];
}
}
export class Result {
merchantTransactionId: string;
paymentId: number;
status: string;
amount: number;
}
export class Refund {
status: number;
rows: number;
message: string;
result: number;
guid: string;
sessionId: string;
errorCode: any;
}
export class PayoutAccount {
status: number;
msg: any;
code: any;
data: Data;
}
export class Data {
payoutMerchantId: number;
uuid: string;
virtualAccountNumber: string;
transferableAmount: number;
balance: number;
lowBalance: boolean;
ifsc: string;
type: string;
noOfPages: number;
totalElements: number;
currentPage: number;
transactionDetails: Array<TransactionDetail>;
}
export class TransactionDetail {
txnId: number;
purpose: string;
amount: number;
txnStatus: string;
txnDate: Date;
beneficiaryName: string;
transferType: string;
totalItems: number;
payuTransactionRefNo: string;
merchantRefId: string;
}
\ No newline at end of file
export class PayoutToken {
access_Token: string;
token_Type: string;
expires_In: number;
refresh_Token: string;
scope: string;
}
\ No newline at end of file
export class PEncounter {
pediatricEncounterId?: number;
encryptedPatientId: string;
appointmentId: number;
patientId: number;
encounterDate: Date;
active: boolean;
createdBy: number;
createdDate: Date;
modifiedBy: number;
modifiedDate: Date;
measurements: string;
neonatalRisk: string;
pediatricRisk: string;
syndrome: string;
pediatricGuide: string;
clinicalExamination: string;
downSyndromeFollowUp: string;
highRiskIntial: string;
orderPrescription: string;
allergies: string;
refferalOrder: string;
vaccineDetail: string;
diagnosisOrder: string;
nextVisitOrder: string;
specialFeatures: string;
familyHistory: string;
birthHistory: string;
mChat: string;
MeasureCommonData: string;
}
\ No newline at end of file
export class ProgressBar {
max: number;
value: number;
min: number;
percentage: string;
}
\ No newline at end of file
export class ProgressData {
loaded: number;
total: number;
percentage: number;
}
\ No newline at end of file
export class ProviderAvailability {
providerAvailabilityId: number;
providerId: number;
date: Date;
dayName: string;
dateNumber: number;
status?: string;
from24HrsTime?: string;
to24HrsTime?: string;
from12HrsTime?: string;
to12HrsTime?: string;
availabilityEndDateTime
: string;
availabilityStartDateTime
: string;
availableDate
: string;
availableDay
: string;
consultationTypeId
: number;
sessionTypeId: number;
consultationTypeName
: string;
duration
: number;
encryptedProviderId
: number;
endDate
: string;
endTime
: string;
freeFollowUpDays
: number;
freeFollowUpDaysLimit
: number;
locationId
: number;
optionalText
: string;
optionalText2
: string;
providerAvailabilitySlotId
: number;
providerAvailabilityVisitTypeId
: number;
providerName
: string;
specializationId
: number;
specializationName
: string;
startDate
: string;
startTime
: string;
value
: string;
visitTypeId
: number;
visitorName
: string;
leaveStartDate: string;
leaveEndDate: string;
leave: string;
providerLeaveId: number;
reason: string;
noOfNewPatient: number;
noOfOfflinePatient: number;
locationName: string;
breakType: string;
breakBlock: string;
specializationDuration: number;
totalSlots: number;
generalSlots: number;
newPatientSlots: number;
offlineSlots: number;
providerBreakId: number;
doctorWeekId: number;
}
\ No newline at end of file
export class ProviderBankDetails {
amountPaid: number;
accountNumber: number;
email: string;
fullName: string;
percentage: number;
transferType: string;
totalItems: number;
pendingAmount: string;
providerId: number;
expanded: boolean;
}
\ No newline at end of file
export class ProviderLocation {
providerLocationId: number;
providerId: number;
practiceLocationId: number;
practiceLocationName: string;
practiceId: number;
practiceName: number;
practiceTIN: string;
currencySymbol: string;
consultationDuration?: number;
consultationCharges?: number;
telemedicineDuration?: number;
telemedicineCharges?: number;
availableDays: string;
availability: string;
}
\ No newline at end of file
export interface IProviderService {
providerServiceId: number;
providerId: number;
serviceId: number;
serviceName: string;
active: boolean;
createdBy: number;
createdDate: Date;
}
import { ISlot } from "./slot.model";
export interface IProviderSlot {
slotName: string;
slots: Array<ISlot>;
}
\ No newline at end of file
export interface IProviderSpecialization {
providerSpecializationId :number;
providerId :number;
specializationId :number;
specializationName :string;
active:boolean;
createdBy:number;
createdDate :Date;
}
\ No newline at end of file

export interface IResource {
id: number;
appointmentNo?:string,
encryptedId: string;
name?: string;
value: string;
optionalId?: number;
optionalText?: string;
optionalText1?: string;
optionalText2?: string;
optionalText3?: string;
optionalData?: number;
cost?: number;
isSelected?: boolean;
color: string;
date: Date;
time: object;
status?: boolean;
duration: number;
optionalId1: number;
exists: boolean;
disable: boolean;
subTotal: number;
discount: number;
total: number;
gender: string;
}
\ No newline at end of file
export class Settlements {
providerId: number;
providerName: number;
email: number;
noOfAppointments: number;
amount: number;
discount: number;
providerPercentage: number;
tDSAmount: number;
appCharges: number;
setteledAmount: number;
totallItems: number;
}
\ No newline at end of file
import { DeviceType } from '@src/app/shared/enums/device-type.enum';
export class SinchDeviceDetails {
deviceType: DeviceType;
deviceId: string;
name: string;
}
\ No newline at end of file
export interface ISlot {
slotValue: string;
slotName: string;
status: string;
charge: number;
duration: number;
providerAvailabilityId: number;
value: string;
id?: string;
doctorSpecializationChargeModuleDetailsId: number;
slotType: string;
scanMachineMasterId?: number;
endTime?: string;
availableDate?: Date;
otRoomId?: number;
chargeTypesId: number;
slotValue24HoursEnd: string;
isSlotSelected?: boolean;
tokenNumber: number;
}
export interface IProviderCharges {
consultationCharges?: number;
telemedicineCharges?: number;
inPatientCharges?: number;
outPatientCharges?: number;
casualtyCharges?: number;
}
export enum SlotType {
generalSLots = 'G',
newPatientSlots = 'N',
offlinePatientSlots = 'O',
breakSlots = 'B'
}
export interface IRoomSlot {
slots: Array<ISlot>;
otRoom: string;
}
export interface ISupportCategory {
supportCategoryId: number;
issueWith: string;
}
\ No newline at end of file
export interface ISurgeryKitDetail {
surgeryKitDetailId: number;
surgeryKitHeaderId: number;
quantity: number;
pharmacyProductId: number;
productName: string;
genericName: string;
}
\ No newline at end of file
export interface ISurgeryKitHeader {
surgeryKitHeaderId: number;
kitName: string;
createdBy: number;
createdDate: Date;
modifiedDate?: Date;
createdByName: string;
isShow: boolean;
createdByRole: string;
modifiedByName: string;
modifiedByRole: string;
}
\ No newline at end of file
export interface TemplateViewModel {
appointmentId: number;
patientId: number;
providerId: number;
}
\ No newline at end of file
export interface ITicketTimeline {
ticketId: number;
ticketTimelineId: number;
assignedTo: number;
createdBy: number;
assignedDate: Date;
createdDate: Date;
endDate?: Date;
createdByName:string;
description:string;
status:string;
priority:string;
assignedToName:string;
active:boolean;
comments:string;
}
\ No newline at end of file
export interface ITicket {
ticketId: number;
encryptedTicketId: string;
supportCategoryId: number;
assignedTo?: number;
description: string;
attachment: string;
supportConversation: string;
raisedBy?: number;
mobile: string;
issueWith: string;
raisedByName: string;
assignedToName: string;
startDate?: Date;
endDate?: Date;
thumbnailUrl: string;
priority: string;
status: string;
conversation: string;
active: boolean;
ticketNumber: string;
roleName: string;
createdDate: Date;
dueDate: Date;
dueTime: Date;
dueDateTime: string;
hours: string;
hourComment: string;
ownerName: string;
totalItems: number;
}
export class TimeModel {
hour: number;
minute: number;
}
\ No newline at end of file
export interface IUserAccount {
accountId: number;
referenceId: number;
encryptedReferenceId: string;
roleId: number;
roleName: string;
fullName: string;
email: string;
mobile: string;
countryId: number;
countryName: string;
countryCode: string;
sessionId?: number;
lastLoginDate?: Date;
thumbnailUrl: string;
isAgreed: boolean;
token: string;
expires: Date;
referenceToken: string;
deviceId: string;
allowVideoCall: boolean;
locationId: number;
locationName: string;
}
\ No newline at end of file
export interface IUser {
userId: number;
firstName: string;
encryptedUserId: string;
middleName: string;
lastName: string;
fullName: string;
email: string;
mobile: string;
countryId: number;
locationId: number;
locationName: string;
roleId: number;
countryName: string;
countryCode: string;
isoCode: string;
providerLocationId: number;
gender: string;
dateOfBirth?: Date;
profileImageUrl: string;
thumbnailUrl: string;
base64ProfileImage: string;
active: boolean;
isLocked: boolean;
practiceName: string;
providerLocation: string;
providerName: string;
createdBy: number;
createdDate: Date;
modifiedBy?: number;
modifiedDate?: Date;
totalItems: number;
isOnline: boolean;
retailIds: string;
locationNames: string;
locationIdentifiers: string;
userName: string;
excelDownload?: boolean;
restrictUserLogin?: boolean;
financeBackground?: boolean;
addressLine?: string;
employeeCode?: string;
accountId?: number;
}
\ No newline at end of file
export class VideoCallHistory {
videoCallHistoryId: number;
appointmentId: number;
startDate: Date;
endDate: Date;
duration: string;
callStatusTypeId: number;
reason: string;
callerDeviceId: string;
receiverDeviceId: string;
doctorFullName: string;
patientFullName: string;
appointDate: string;
appointmentTime: string;
}
\ No newline at end of file
export class Vitals {
appointmentId: number;
appointmentDate: string;
appointmentTime: string;
vital: Vital;
bp: BloodPressure;
vitals: string;
}
class Vital {
height: string;
weight: string;
weightMsrmtMob: string;
heightMsrmtMob: string;
bmi: string;
bmiMsrmt: string;
weightMsrmt: string;
temperature: string;
hr: string;
hrMsrmt: string;
respiratory: string;
respirationMsrmt: string;
pulseOximetry: string;
pulseMsrmt: string;
systolicBp: string;
systolicBpMsrmt: string;
diastolicBp: string;
diastolicBpMsrmt: string;
randomGlucose: string;
hba1c: string;
fastingGlucose: string;
t4: string;
t3: string;
tsh: string;
}
class BloodPressure {
systolicBp: string;
systolicBpMsrmt: string;
diastolicBp: string;
diastolicBpMsrmt: string;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment