@causalfoundry/react-native-cf-chw-mgmt
Version:
causalfoundry.ai SDK for tracking logs for Community Healthcare Worker's usage of the app.
191 lines (190 loc) • 9.8 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PrescriptionItemFrequency = exports.ChwModuleType = exports.ScreeningType = exports.ReviewSummaryItem = exports.PrescriptionItemType = exports.TreatmentType = exports.TreatmentFrequency = exports.ChwItemAction = exports.PregnancyDetailItemType = exports.QuestionType = exports.PatientStatusValueType = exports.NeonatalOutcomeType = exports.MaternalOutcomeType = exports.DiagnosisType = exports.DiagnosisSymptomType = exports.DiagnosisQuestionnaireType = exports.CounselingType = exports.ChwSiteType = void 0;
// ENUMS
var ChwSiteType;
(function (ChwSiteType) {
ChwSiteType["Facility"] = "facility";
ChwSiteType["Community"] = "community";
})(ChwSiteType = exports.ChwSiteType || (exports.ChwSiteType = {}));
var CounselingType;
(function (CounselingType) {
CounselingType["Lifestyle"] = "lifestyle";
CounselingType["Psychological"] = "psychological";
CounselingType["Other"] = "other";
})(CounselingType = exports.CounselingType || (exports.CounselingType = {}));
var DiagnosisQuestionnaireType;
(function (DiagnosisQuestionnaireType) {
DiagnosisQuestionnaireType["Phq4"] = "phq_4";
DiagnosisQuestionnaireType["CageAid"] = "cage_aid";
DiagnosisQuestionnaireType["SuicidalIdeation"] = "suicidal_ideation";
DiagnosisQuestionnaireType["SubstanceAbuse"] = "substance_abuse";
DiagnosisQuestionnaireType["Phq9"] = "phq_9";
DiagnosisQuestionnaireType["Gad7"] = "gad_7";
DiagnosisQuestionnaireType["Pregnancy"] = "pregnancy";
DiagnosisQuestionnaireType["Diabetes"] = "diabetes";
DiagnosisQuestionnaireType["Hypertension"] = "hypertension";
DiagnosisQuestionnaireType["MentalHealth"] = "mental_health";
DiagnosisQuestionnaireType["MaternalHealth"] = "maternal_health";
DiagnosisQuestionnaireType["Other"] = "other";
})(DiagnosisQuestionnaireType = exports.DiagnosisQuestionnaireType || (exports.DiagnosisQuestionnaireType = {}));
var DiagnosisSymptomType;
(function (DiagnosisSymptomType) {
DiagnosisSymptomType["SubstanceUseDisorder"] = "substance_use_disorder";
DiagnosisSymptomType["Pregnancy"] = "pregnancy";
DiagnosisSymptomType["Diabetes"] = "diabetes";
DiagnosisSymptomType["Hypertension"] = "hypertension";
DiagnosisSymptomType["MentalHealth"] = "mental_health";
DiagnosisSymptomType["Other"] = "other";
})(DiagnosisSymptomType = exports.DiagnosisSymptomType || (exports.DiagnosisSymptomType = {}));
var DiagnosisType;
(function (DiagnosisType) {
DiagnosisType["Age"] = "age";
DiagnosisType["Gender"] = "gender";
DiagnosisType["Height"] = "height";
DiagnosisType["Weight"] = "weight";
DiagnosisType["Smoker"] = "smoker";
DiagnosisType["BloodPressure"] = "blood_pressure";
DiagnosisType["BloodGlucose"] = "blood_glucose";
DiagnosisType["Bmi"] = "bmi";
DiagnosisType["Temperature"] = "temperature";
DiagnosisType["Cvd"] = "cvd";
DiagnosisType["HbA1c"] = "hbA1c";
DiagnosisType["Phq4"] = "phq_4";
DiagnosisType["Phq9"] = "phq_9";
DiagnosisType["Gad7"] = "gad_7";
DiagnosisType["PregnancyStatus"] = "pregnancy_status";
DiagnosisType["PregnancyDanger_signs"] = "pregnancy_danger_signs";
DiagnosisType["SuicidalIdeation"] = "suicidal_ideation";
DiagnosisType["HighRiskPregnancy"] = "high_risk_pregnancy";
DiagnosisType["Other"] = "other";
})(DiagnosisType = exports.DiagnosisType || (exports.DiagnosisType = {}));
var MaternalOutcomeType;
(function (MaternalOutcomeType) {
MaternalOutcomeType["AliveWell"] = "alive_well";
MaternalOutcomeType["MaternalDeath"] = "maternal_death";
MaternalOutcomeType["Other"] = "other";
})(MaternalOutcomeType = exports.MaternalOutcomeType || (exports.MaternalOutcomeType = {}));
var NeonatalOutcomeType;
(function (NeonatalOutcomeType) {
NeonatalOutcomeType["StillBirth"] = "still_birth";
NeonatalOutcomeType["LiveBirth"] = "live_birth";
NeonatalOutcomeType["NeonatalDeath"] = "neonatal_death";
NeonatalOutcomeType["Other"] = "other";
})(NeonatalOutcomeType = exports.NeonatalOutcomeType || (exports.NeonatalOutcomeType = {}));
var PatientStatusValueType;
(function (PatientStatusValueType) {
PatientStatusValueType["N_A"] = "n_a";
PatientStatusValueType["NewPatient"] = "new_patient";
PatientStatusValueType["KnownPatient"] = "known_patient";
PatientStatusValueType["Other"] = "other";
})(PatientStatusValueType = exports.PatientStatusValueType || (exports.PatientStatusValueType = {}));
var QuestionType;
(function (QuestionType) {
QuestionType["OpenEnded"] = "open_ended";
QuestionType["ClosedEnded"] = "closed_ended";
QuestionType["Nominal"] = "nominal";
QuestionType["LikertScale"] = "likert_scale";
QuestionType["RatingScale"] = "rating_scale";
QuestionType["YesNo"] = "yes_no";
QuestionType["Interview"] = "interview";
QuestionType["Other"] = "other";
})(QuestionType = exports.QuestionType || (exports.QuestionType = {}));
var PregnancyDetailItemType;
(function (PregnancyDetailItemType) {
PregnancyDetailItemType["Diabetes"] = "diabetes";
PregnancyDetailItemType["Hypertension"] = "hypertension";
PregnancyDetailItemType["AncStarted"] = "anc_started";
PregnancyDetailItemType["FollowupInterest"] = "followup_interest";
PregnancyDetailItemType["IptDrugs"] = "ipt_drugs";
PregnancyDetailItemType["Supplements"] = "supplements";
PregnancyDetailItemType["MosquitoNet"] = "mosquito_net";
PregnancyDetailItemType["GestationalAge"] = "gestational_age";
PregnancyDetailItemType["EstimatedDeliveryDate"] = "estimated_delivery_date";
PregnancyDetailItemType["Other"] = "other";
})(PregnancyDetailItemType = exports.PregnancyDetailItemType || (exports.PregnancyDetailItemType = {}));
var ChwItemAction;
(function (ChwItemAction) {
ChwItemAction["View"] = "view";
ChwItemAction["Add"] = "add";
ChwItemAction["Update"] = "update";
ChwItemAction["Remove"] = "remove";
ChwItemAction["Done"] = "done";
})(ChwItemAction = exports.ChwItemAction || (exports.ChwItemAction = {}));
var TreatmentFrequency;
(function (TreatmentFrequency) {
TreatmentFrequency["Daily"] = "daily";
TreatmentFrequency["Days"] = "days";
TreatmentFrequency["Weeks"] = "weeks";
TreatmentFrequency["Months"] = "months";
})(TreatmentFrequency = exports.TreatmentFrequency || (exports.TreatmentFrequency = {}));
var TreatmentType;
(function (TreatmentType) {
TreatmentType["MedicalReview"] = "medical_review";
TreatmentType["BloodPressure"] = "blood_pressure";
TreatmentType["BloodGlucose"] = "blood_glucose";
TreatmentType["HbA1c"] = "HbA1c";
TreatmentType["cho"] = "cho";
TreatmentType["Other"] = "other";
})(TreatmentType = exports.TreatmentType || (exports.TreatmentType = {}));
var PrescriptionItemType;
(function (PrescriptionItemType) {
PrescriptionItemType["Tablet"] = "tablet";
PrescriptionItemType["Syrup"] = "syrup";
PrescriptionItemType["Injection"] = "injection";
PrescriptionItemType["Insulin"] = "insulin";
PrescriptionItemType["Capsule"] = "capsule";
PrescriptionItemType["Other"] = "other";
})(PrescriptionItemType = exports.PrescriptionItemType || (exports.PrescriptionItemType = {}));
var ReviewSummaryItem;
(function (ReviewSummaryItem) {
ReviewSummaryItem["ChiefComplaints"] = "chief_complaints";
ReviewSummaryItem["PhysicalExaminations"] = "physical_examinations";
ReviewSummaryItem["Comorbidities"] = "comorbidities";
ReviewSummaryItem["Complications"] = "complications";
ReviewSummaryItem["ObstetricExamination"] = "obstetric_examination";
ReviewSummaryItem["SystemicExamination"] = "systemic_examination";
ReviewSummaryItem["Other"] = "other";
})(ReviewSummaryItem = exports.ReviewSummaryItem || (exports.ReviewSummaryItem = {}));
var ScreeningType;
(function (ScreeningType) {
ScreeningType["Triage"] = "triage";
ScreeningType["Outpatient"] = "outpatient";
ScreeningType["Inpatient"] = "inpatient";
ScreeningType["Pharmacy"] = "pharmacy";
ScreeningType["DoorToDoor"] = "door_to_door";
ScreeningType["Camp"] = "camp";
ScreeningType["Other"] = "other";
})(ScreeningType = exports.ScreeningType || (exports.ScreeningType = {}));
var ChwModuleType;
(function (ChwModuleType) {
ChwModuleType["Screening"] = "screening";
ChwModuleType["Assessment"] = "assessment";
ChwModuleType["Enrolment"] = "enrolment";
ChwModuleType["MedicalReview"] = "medical_review";
ChwModuleType["MyPatients"] = "my_patients";
ChwModuleType["Prescription"] = "prescription";
ChwModuleType["LifestyleMgmt"] = "lifestyle_mgmt";
ChwModuleType["PsychologicalMgmt"] = "psychological_mgmt";
ChwModuleType["CounselingMgmt"] = "counseling_mgmt";
ChwModuleType["Investigation"] = "investigation";
ChwModuleType["TreatmentPlan"] = "treatment_plan";
ChwModuleType["Transfers"] = "transfers";
ChwModuleType["Other"] = "other";
})(ChwModuleType = exports.ChwModuleType || (exports.ChwModuleType = {}));
var PrescriptionItemFrequency;
(function (PrescriptionItemFrequency) {
PrescriptionItemFrequency["AM"] = "AM";
PrescriptionItemFrequency["PM"] = "PM";
PrescriptionItemFrequency["OD"] = "OD";
PrescriptionItemFrequency["BD"] = "BD";
PrescriptionItemFrequency["TDS"] = "TDS";
PrescriptionItemFrequency["QDS"] = "QDS";
PrescriptionItemFrequency["OM"] = "OM";
PrescriptionItemFrequency["ON"] = "ON";
PrescriptionItemFrequency["CC"] = "CC";
PrescriptionItemFrequency["PC"] = "PC";
PrescriptionItemFrequency["AC"] = "AC";
PrescriptionItemFrequency["PRN"] = "PRN";
PrescriptionItemFrequency["Other"] = "other";
})(PrescriptionItemFrequency = exports.PrescriptionItemFrequency || (exports.PrescriptionItemFrequency = {}));