ai-ebm-assistant-v4 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +165 -28
- package/dist/index.umd.js +12 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -132966,7 +132966,7 @@ const KeyboardArrowUpIcon = /* @__PURE__ */ getDefaultExportFromCjs$1(KeyboardAr
|
|
|
132966
132966
|
_id: en?._id ?? ""
|
|
132967
132967
|
};
|
|
132968
132968
|
if (en?.logging === !1)
|
|
132969
|
-
console.log(nn)
|
|
132969
|
+
console.log(nn);
|
|
132970
132970
|
else {
|
|
132971
132971
|
const an = await AxiosCall("POST", "https://logservice.ainqaplatform.in/api/logs/logheader", nn);
|
|
132972
132972
|
if (!an?.error)
|
|
@@ -132995,7 +132995,7 @@ const KeyboardArrowUpIcon = /* @__PURE__ */ getDefaultExportFromCjs$1(KeyboardAr
|
|
|
132995
132995
|
error: en?.error ?? Ye ?? {}
|
|
132996
132996
|
};
|
|
132997
132997
|
if (en?.logging === !1)
|
|
132998
|
-
console.log(nn)
|
|
132998
|
+
console.log(nn);
|
|
132999
132999
|
else {
|
|
133000
133000
|
const an = await AxiosCall("POST", "https://logservice.ainqaplatform.in/api/logs/logsteps", nn);
|
|
133001
133001
|
return an?.error ? tn : an?.response?.Code === 201 ? {
|
|
@@ -133023,7 +133023,7 @@ const KeyboardArrowUpIcon = /* @__PURE__ */ getDefaultExportFromCjs$1(KeyboardAr
|
|
|
133023
133023
|
errorstatus: tn?.errorstatus ?? !1
|
|
133024
133024
|
};
|
|
133025
133025
|
if (tn?.logging === !1)
|
|
133026
|
-
console.log(sn)
|
|
133026
|
+
console.log(sn);
|
|
133027
133027
|
else {
|
|
133028
133028
|
const An = await AxiosCall("POST", "https://logservice.ainqaplatform.in/api/logs/logdata", sn);
|
|
133029
133029
|
if (!An?.error)
|
|
@@ -133247,7 +133247,7 @@ function OutputSTepper({ getInputData: en, params: Ye, data: tn, setData: nn, lo
|
|
|
133247
133247
|
/* @__PURE__ */ jsx$3(Box, { sx: { position: "sticky", top: 0, zIndex: 1 }, children: /* @__PURE__ */ jsx$3(Stepper, { activeStep: hn, sx: { padding: 2, borderRadius: 2, backgroundColor: mn?.palette?.background?.default }, children: _n.map((ta, aa) => /* @__PURE__ */ jsx$3(Step$1, { ...{}, children: /* @__PURE__ */ jsx$3(StepLabel, { onClick: () => On(aa), ...{}, children: ta }) }, ta)) }) }),
|
|
133248
133248
|
/* @__PURE__ */ jsx$3("div", { children: /* @__PURE__ */ jsx$3("div", { style: { height: "70vh" }, children: hn == 0 ? /* @__PURE__ */ jsx$3(Grid, { container: !0, p: 2, justifyContent: "space-between", flexDirection: "column", children: wn?.diagnosesData?.length > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
133249
133249
|
/* @__PURE__ */ jsx$3(Grid, { container: !0, p: 2, justifyContent: "space-between", flexDirection: "column", height: "100vh", children: /* @__PURE__ */ jsx$3(Grid, { item: !0, children: wn?.diagnosesData?.map((ta, aa) => {
|
|
133250
|
-
const Aa = Object.values(ta?.justification).join("|| "), na = [
|
|
133250
|
+
const Aa = Object.values(ta?.justification ?? {}).join("|| "), na = [
|
|
133251
133251
|
...new Set(
|
|
133252
133252
|
ta?.graph_evidence?.nodes?.map((sa) => sa?.reference)?.filter(Boolean)
|
|
133253
133253
|
)
|
|
@@ -134760,31 +134760,168 @@ const ContentCopyIcon = /* @__PURE__ */ getDefaultExportFromCjs$1(ContentCopyExp
|
|
|
134760
134760
|
)), /* @__PURE__ */ jsx$3(
|
|
134761
134761
|
CpgPackage,
|
|
134762
134762
|
{
|
|
134763
|
-
getInputData: en || (async () => {
|
|
134764
|
-
|
|
134765
|
-
|
|
134766
|
-
|
|
134767
|
-
|
|
134768
|
-
|
|
134769
|
-
|
|
134770
|
-
|
|
134763
|
+
getInputData: en || (async () => ({
|
|
134764
|
+
EncounterDetails: {
|
|
134765
|
+
encounterId: "ENC-3342",
|
|
134766
|
+
encounterDate: 1759516199,
|
|
134767
|
+
encounterTypeLongDesc: "Out Patient",
|
|
134768
|
+
encounterTypeShortDesc: "OP"
|
|
134769
|
+
},
|
|
134770
|
+
PatientDemographic: {
|
|
134771
|
+
name: "Fatima Khalid",
|
|
134772
|
+
gender: "Female",
|
|
134773
|
+
mrn: "2025H12317",
|
|
134774
|
+
age: "48 Years"
|
|
134775
|
+
},
|
|
134776
|
+
Vitals: {
|
|
134777
|
+
"BMI - Kg/m2": "33 ",
|
|
134778
|
+
"BSA - m2": "1 ",
|
|
134779
|
+
Diastolic: "88 mmHg",
|
|
134780
|
+
"Height - Cm": "160 Centimetre",
|
|
134781
|
+
"O2 Saturation": "97 Percentage",
|
|
134782
|
+
Pulse: "84 Minutes",
|
|
134783
|
+
Respiratory: "18 Minutes",
|
|
134784
|
+
Systolic: "148 mmHg",
|
|
134785
|
+
"Weight - Kilogram": "85 Kilogram",
|
|
134786
|
+
Temperature: "37 Celcius"
|
|
134787
|
+
},
|
|
134788
|
+
Allergy: [],
|
|
134789
|
+
ChiefComplaints: [
|
|
134790
|
+
{
|
|
134791
|
+
chiefcomplaints: "Extreme tiredness",
|
|
134792
|
+
bodysite: "Body",
|
|
134793
|
+
severity: "Severe",
|
|
134794
|
+
verification: "Confirmed",
|
|
134795
|
+
remarks: "",
|
|
134796
|
+
duration: "0 "
|
|
134771
134797
|
},
|
|
134772
|
-
|
|
134773
|
-
|
|
134774
|
-
|
|
134775
|
-
|
|
134776
|
-
|
|
134777
|
-
|
|
134778
|
-
|
|
134779
|
-
|
|
134780
|
-
|
|
134781
|
-
"
|
|
134782
|
-
|
|
134783
|
-
|
|
134784
|
-
|
|
134785
|
-
|
|
134786
|
-
|
|
134787
|
-
|
|
134798
|
+
{
|
|
134799
|
+
chiefcomplaints: "Polyuria",
|
|
134800
|
+
bodysite: "Body",
|
|
134801
|
+
severity: "Mild",
|
|
134802
|
+
verification: "Confirmed",
|
|
134803
|
+
remarks: "",
|
|
134804
|
+
duration: "0 "
|
|
134805
|
+
},
|
|
134806
|
+
{
|
|
134807
|
+
chiefcomplaints: "Reports frequent high glucose alerts, especially post-meals, and fatigue",
|
|
134808
|
+
bodysite: "Body",
|
|
134809
|
+
severity: null,
|
|
134810
|
+
verification: "Confirmed",
|
|
134811
|
+
remarks: "",
|
|
134812
|
+
duration: "0 "
|
|
134813
|
+
}
|
|
134814
|
+
],
|
|
134815
|
+
Diagnosis: {
|
|
134816
|
+
primary: [],
|
|
134817
|
+
secondary: []
|
|
134818
|
+
},
|
|
134819
|
+
LaboratoryOrder: {
|
|
134820
|
+
"03-10-2025": {
|
|
134821
|
+
"FDSB-Lab-0020 LIPIDS STUDIES": [
|
|
134822
|
+
{
|
|
134823
|
+
"Fasting Time": "",
|
|
134824
|
+
"HDL-Cholesterol": "",
|
|
134825
|
+
"Icteric Index (I)": "",
|
|
134826
|
+
"Lipemic Index (LI)": "",
|
|
134827
|
+
"Total Cholesterol": "",
|
|
134828
|
+
Triglycerides: "",
|
|
134829
|
+
"LDL-Cholesterol": "140 mmol/L"
|
|
134830
|
+
}
|
|
134831
|
+
],
|
|
134832
|
+
"FDSB-Lab-0024 Renal Profile": [
|
|
134833
|
+
{
|
|
134834
|
+
Creatinine: "",
|
|
134835
|
+
"Hemolytic Index (Hi)": "",
|
|
134836
|
+
"Icteric Index (I)": "",
|
|
134837
|
+
Potassium: "",
|
|
134838
|
+
Sodium: "",
|
|
134839
|
+
Urea: "",
|
|
134840
|
+
"Uric Acid": "",
|
|
134841
|
+
"eGFR (MDRD)": "78 mL/min/1.73m²"
|
|
134842
|
+
}
|
|
134843
|
+
]
|
|
134844
|
+
},
|
|
134845
|
+
"04-10-2025": {
|
|
134846
|
+
"73050-14-60 Fasting Glucose": [
|
|
134847
|
+
{
|
|
134848
|
+
"Fasting Glucose": "210 mg/dL"
|
|
134849
|
+
}
|
|
134850
|
+
],
|
|
134851
|
+
"FDSB-Lab-HB001 HBA1c": [
|
|
134852
|
+
{
|
|
134853
|
+
"HbA1c (IFCC)": "",
|
|
134854
|
+
HbA1c: "9.2 Percentage"
|
|
134855
|
+
}
|
|
134856
|
+
]
|
|
134857
|
+
}
|
|
134858
|
+
},
|
|
134859
|
+
RadiologyOrder: {
|
|
134860
|
+
"03-10-2025": {
|
|
134861
|
+
"RAD-001 Radiology - ECHO Findings ": [
|
|
134862
|
+
{
|
|
134863
|
+
"Aortic Valve": "",
|
|
134864
|
+
"Critical Findings": "No abnormality detected",
|
|
134865
|
+
FMI: "",
|
|
134866
|
+
"Great Vessels": "",
|
|
134867
|
+
IVC: "",
|
|
134868
|
+
"Interarterial Septum": "",
|
|
134869
|
+
LAD: "",
|
|
134870
|
+
LCX: "",
|
|
134871
|
+
LUSI: "",
|
|
134872
|
+
"Left Atrium": "",
|
|
134873
|
+
"Left Ventricle": "",
|
|
134874
|
+
"Mitral Valve": "",
|
|
134875
|
+
Pericardium: "",
|
|
134876
|
+
"Pulmonary Valve": "",
|
|
134877
|
+
RCA: "",
|
|
134878
|
+
Richtext: "",
|
|
134879
|
+
"Right Atrium": "",
|
|
134880
|
+
"Right Ventricle": "",
|
|
134881
|
+
"Tricuspid Valve": "",
|
|
134882
|
+
Image: ""
|
|
134883
|
+
}
|
|
134884
|
+
],
|
|
134885
|
+
"RAD-002 ECG ": [
|
|
134886
|
+
{
|
|
134887
|
+
P: "",
|
|
134888
|
+
PR: "",
|
|
134889
|
+
QRS: "narrow",
|
|
134890
|
+
QRSd: "",
|
|
134891
|
+
QT: "",
|
|
134892
|
+
QTc: "",
|
|
134893
|
+
Rate: "82",
|
|
134894
|
+
T: "",
|
|
134895
|
+
"Interpretation ": "Normal Sinus Rhythm -"
|
|
134896
|
+
}
|
|
134897
|
+
]
|
|
134898
|
+
}
|
|
134899
|
+
},
|
|
134900
|
+
MedicationOrder: [
|
|
134901
|
+
"61614 SITAGLIPTIN PHOSPHATE ORAL 100 mg TABLET 100 MG 1 Months",
|
|
134902
|
+
"101100 Metformin 1000 MG 1 Months"
|
|
134903
|
+
],
|
|
134904
|
+
ObservationOrders: "",
|
|
134905
|
+
ProcedureCode: [],
|
|
134906
|
+
OtherInvestigationOrders: {},
|
|
134907
|
+
History: {},
|
|
134908
|
+
"Progress Notes": [
|
|
134909
|
+
{
|
|
134910
|
+
Type: "Examination",
|
|
134911
|
+
Display: `Physical Exam
|
|
134912
|
+
General Alert, appears tired
|
|
134913
|
+
Cardiovascular Normal heart sounds, no murmurs
|
|
134914
|
+
Respiratory Mild basal crackles
|
|
134915
|
+
Abdomen Soft, non-tender
|
|
134916
|
+
Extremities Good range of motion, no edema
|
|
134917
|
+
Neurological Sensation intact, reflexes normal
|
|
134918
|
+
|
|
134919
|
+
History
|
|
134920
|
+
Mother: Type 2 DM
|
|
134921
|
+
Father: Ischemic heart disease`
|
|
134922
|
+
}
|
|
134923
|
+
]
|
|
134924
|
+
})),
|
|
134788
134925
|
getDetailedInputData: Ye || (async () => {
|
|
134789
134926
|
const pn = new Headers();
|
|
134790
134927
|
pn.append("Content-Type", "application/json");
|