emr-types
Version:
Comprehensive TypeScript Types Library for Electronic Medical Record (EMR) Applications - Domain-Driven Design with Zod Validation
198 lines • 8.82 kB
JavaScript
// ============================================================================
// ENUMS
// ============================================================================
export var AppointmentStatus;
(function (AppointmentStatus) {
AppointmentStatus["SCHEDULED"] = "scheduled";
AppointmentStatus["CONFIRMED"] = "confirmed";
AppointmentStatus["CHECKED_IN"] = "checked_in";
AppointmentStatus["IN_PROGRESS"] = "in_progress";
AppointmentStatus["COMPLETED"] = "completed";
AppointmentStatus["CANCELLED"] = "cancelled";
AppointmentStatus["NO_SHOW"] = "no_show";
AppointmentStatus["RESCHEDULED"] = "rescheduled";
AppointmentStatus["PENDING"] = "pending";
AppointmentStatus["ON_HOLD"] = "on_hold";
})(AppointmentStatus || (AppointmentStatus = {}));
export var AppointmentType;
(function (AppointmentType) {
AppointmentType["CONSULTATION"] = "consultation";
AppointmentType["FOLLOW_UP"] = "follow_up";
AppointmentType["EMERGENCY"] = "emergency";
AppointmentType["ROUTINE_CHECKUP"] = "routine_checkup";
AppointmentType["SPECIALIST_VISIT"] = "specialist_visit";
AppointmentType["PROCEDURE"] = "procedure";
AppointmentType["SURGERY"] = "surgery";
AppointmentType["LAB_TEST"] = "lab_test";
AppointmentType["IMAGING"] = "imaging";
AppointmentType["VACCINATION"] = "vaccination";
AppointmentType["PHYSICAL_THERAPY"] = "physical_therapy";
AppointmentType["MENTAL_HEALTH"] = "mental_health";
AppointmentType["DENTAL"] = "dental";
AppointmentType["VISION"] = "vision";
AppointmentType["OTHER"] = "other";
})(AppointmentType || (AppointmentType = {}));
export var SlotType;
(function (SlotType) {
SlotType["REGULAR"] = "regular";
SlotType["URGENT"] = "urgent";
SlotType["EMERGENCY"] = "emergency";
SlotType["WALK_IN"] = "walk_in";
SlotType["TELEMEDICINE"] = "telemedicine";
SlotType["HOME_VISIT"] = "home_visit";
SlotType["SPECIALIST"] = "specialist";
SlotType["PROCEDURE"] = "procedure";
SlotType["SURGERY"] = "surgery";
})(SlotType || (SlotType = {}));
export var BookingMethod;
(function (BookingMethod) {
BookingMethod["ONLINE"] = "online";
BookingMethod["PHONE"] = "phone";
BookingMethod["IN_PERSON"] = "in_person";
BookingMethod["MOBILE_APP"] = "mobile_app";
BookingMethod["WALK_IN"] = "walk_in";
BookingMethod["REFERRAL"] = "referral";
BookingMethod["EMERGENCY"] = "emergency";
})(BookingMethod || (BookingMethod = {}));
export var LocationType;
(function (LocationType) {
LocationType["HOSPITAL"] = "hospital";
LocationType["CLINIC"] = "clinic";
LocationType["OFFICE"] = "office";
LocationType["URGENT_CARE"] = "urgent_care";
LocationType["EMERGENCY_ROOM"] = "emergency_room";
LocationType["LABORATORY"] = "laboratory";
LocationType["IMAGING_CENTER"] = "imaging_center";
LocationType["PHARMACY"] = "pharmacy";
LocationType["HOME"] = "home";
LocationType["TELEMEDICINE"] = "telemedicine";
})(LocationType || (LocationType = {}));
export var FacilityType;
(function (FacilityType) {
FacilityType["HOSPITAL"] = "hospital";
FacilityType["CLINIC"] = "clinic";
FacilityType["MEDICAL_OFFICE"] = "medical_office";
FacilityType["URGENT_CARE"] = "urgent_care";
FacilityType["EMERGENCY_CENTER"] = "emergency_center";
FacilityType["LABORATORY"] = "laboratory";
FacilityType["IMAGING_CENTER"] = "imaging_center";
FacilityType["SURGERY_CENTER"] = "surgery_center";
FacilityType["REHABILITATION_CENTER"] = "rehabilitation_center";
FacilityType["MENTAL_HEALTH_CENTER"] = "mental_health_center";
})(FacilityType || (FacilityType = {}));
export var AppointmentInsuranceType;
(function (AppointmentInsuranceType) {
AppointmentInsuranceType["PRIVATE"] = "private";
AppointmentInsuranceType["MEDICARE"] = "medicare";
AppointmentInsuranceType["MEDICAID"] = "medicaid";
AppointmentInsuranceType["TRICARE"] = "tricare";
AppointmentInsuranceType["WORKERS_COMPENSATION"] = "workers_compensation";
AppointmentInsuranceType["AUTO_INSURANCE"] = "auto_insurance";
AppointmentInsuranceType["OTHER"] = "other";
})(AppointmentInsuranceType || (AppointmentInsuranceType = {}));
export var BillingStatus;
(function (BillingStatus) {
BillingStatus["PENDING"] = "pending";
BillingStatus["BILLED"] = "billed";
BillingStatus["PAID"] = "paid";
BillingStatus["PARTIALLY_PAID"] = "partially_paid";
BillingStatus["OVERDUE"] = "overdue";
BillingStatus["WRITTEN_OFF"] = "written_off";
BillingStatus["DISPUTED"] = "disputed";
})(BillingStatus || (BillingStatus = {}));
export var AppointmentPaymentMethod;
(function (AppointmentPaymentMethod) {
AppointmentPaymentMethod["CASH"] = "cash";
AppointmentPaymentMethod["CHECK"] = "check";
AppointmentPaymentMethod["CREDIT_CARD"] = "credit_card";
AppointmentPaymentMethod["DEBIT_CARD"] = "debit_card";
AppointmentPaymentMethod["BANK_TRANSFER"] = "bank_transfer";
AppointmentPaymentMethod["INSURANCE"] = "insurance";
AppointmentPaymentMethod["PAYMENT_PLAN"] = "payment_plan";
})(AppointmentPaymentMethod || (AppointmentPaymentMethod = {}));
export var ReminderMethod;
(function (ReminderMethod) {
ReminderMethod["EMAIL"] = "email";
ReminderMethod["SMS"] = "sms";
ReminderMethod["PHONE_CALL"] = "phone_call";
ReminderMethod["PUSH_NOTIFICATION"] = "push_notification";
ReminderMethod["IN_APP"] = "in_app";
ReminderMethod["MAIL"] = "mail";
})(ReminderMethod || (ReminderMethod = {}));
export var AppointmentContactMethod;
(function (AppointmentContactMethod) {
AppointmentContactMethod["EMAIL"] = "email";
AppointmentContactMethod["PHONE"] = "phone";
AppointmentContactMethod["SMS"] = "sms";
AppointmentContactMethod["MAIL"] = "mail";
AppointmentContactMethod["IN_PERSON"] = "in_person";
})(AppointmentContactMethod || (AppointmentContactMethod = {}));
export var RefundPolicy;
(function (RefundPolicy) {
RefundPolicy["FULL_REFUND"] = "full_refund";
RefundPolicy["PARTIAL_REFUND"] = "partial_refund";
RefundPolicy["NO_REFUND"] = "no_refund";
RefundPolicy["CREDIT_TO_ACCOUNT"] = "credit_to_account";
})(RefundPolicy || (RefundPolicy = {}));
export var ReschedulePolicy;
(function (ReschedulePolicy) {
ReschedulePolicy["FREE_RESCHEDULE"] = "free_reschedule";
ReschedulePolicy["FEE_APPLIED"] = "fee_applied";
ReschedulePolicy["NO_RESCHEDULE"] = "no_reschedule";
ReschedulePolicy["LIMITED_RESCHEDULE"] = "limited_reschedule";
})(ReschedulePolicy || (ReschedulePolicy = {}));
export var NoShowPolicy;
(function (NoShowPolicy) {
NoShowPolicy["FEE_APPLIED"] = "fee_applied";
NoShowPolicy["ACCOUNT_SUSPENSION"] = "account_suspension";
NoShowPolicy["PREPAYMENT_REQUIRED"] = "prepayment_required";
NoShowPolicy["NO_PENALTY"] = "no_penalty";
})(NoShowPolicy || (NoShowPolicy = {}));
export var ApprovalStatus;
(function (ApprovalStatus) {
ApprovalStatus["PENDING"] = "pending";
ApprovalStatus["APPROVED"] = "approved";
ApprovalStatus["REJECTED"] = "rejected";
ApprovalStatus["CANCELLED"] = "cancelled";
})(ApprovalStatus || (ApprovalStatus = {}));
export var TreatmentEffectiveness;
(function (TreatmentEffectiveness) {
TreatmentEffectiveness["EXCELLENT"] = "excellent";
TreatmentEffectiveness["GOOD"] = "good";
TreatmentEffectiveness["FAIR"] = "fair";
TreatmentEffectiveness["POOR"] = "poor";
TreatmentEffectiveness["UNKNOWN"] = "unknown";
})(TreatmentEffectiveness || (TreatmentEffectiveness = {}));
export var PatientCompliance;
(function (PatientCompliance) {
PatientCompliance["EXCELLENT"] = "excellent";
PatientCompliance["GOOD"] = "good";
PatientCompliance["FAIR"] = "fair";
PatientCompliance["POOR"] = "poor";
PatientCompliance["UNKNOWN"] = "unknown";
})(PatientCompliance || (PatientCompliance = {}));
export var ReadmissionRisk;
(function (ReadmissionRisk) {
ReadmissionRisk["LOW"] = "low";
ReadmissionRisk["MEDIUM"] = "medium";
ReadmissionRisk["HIGH"] = "high";
ReadmissionRisk["VERY_HIGH"] = "very_high";
})(ReadmissionRisk || (ReadmissionRisk = {}));
export var RecurrenceFrequency;
(function (RecurrenceFrequency) {
RecurrenceFrequency["DAILY"] = "daily";
RecurrenceFrequency["WEEKLY"] = "weekly";
RecurrenceFrequency["MONTHLY"] = "monthly";
RecurrenceFrequency["YEARLY"] = "yearly";
})(RecurrenceFrequency || (RecurrenceFrequency = {}));
export var DayOfWeek;
(function (DayOfWeek) {
DayOfWeek["MONDAY"] = "monday";
DayOfWeek["TUESDAY"] = "tuesday";
DayOfWeek["WEDNESDAY"] = "wednesday";
DayOfWeek["THURSDAY"] = "thursday";
DayOfWeek["FRIDAY"] = "friday";
DayOfWeek["SATURDAY"] = "saturday";
DayOfWeek["SUNDAY"] = "sunday";
})(DayOfWeek || (DayOfWeek = {}));
//# sourceMappingURL=Appointment.js.map