ceddcozum 0.1.2 → 0.1.3
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.js +7 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24988,10 +24988,9 @@ function executeIGFSds(args) {
|
|
|
24988
24988
|
sex: String(args.sex),
|
|
24989
24989
|
igf1Value: args.igf1Value != null ? Number(args.igf1Value) : void 0,
|
|
24990
24990
|
igfbp3Value: args.igfbp3Value != null ? Number(args.igfbp3Value) : void 0,
|
|
24991
|
-
igfbp3Unit: String(args.igfbp3Unit || "mcgPerML"
|
|
24992
|
-
tannerStage: args.tannerStage ? String(args.tannerStage) : void 0,
|
|
24991
|
+
igfbp3Unit: String(args.igfbp3Unit || "mcg/mL") === "ng/mL" ? "ngPerML" : "mcgPerML",
|
|
24993
24992
|
igf1Database: String(args.igf1Database || "elmlinger"),
|
|
24994
|
-
igfbp3Database: String(args.igfbp3Database || "elmlinger")
|
|
24993
|
+
igfbp3Database: String(args.igfbp3Database || "elmlinger") === "ria-bc" ? "riaBc" : String(args.igfbp3Database || "elmlinger")
|
|
24995
24994
|
};
|
|
24996
24995
|
const result = calculateIGFSds(input);
|
|
24997
24996
|
if (!result) return [{ label: "Error", value: "Could not calculate IGF SDS. Check age range.", severity: "severe" }];
|
|
@@ -26130,10 +26129,9 @@ var toolSchemas = [
|
|
|
26130
26129
|
sex: { type: "string", description: "Sex", enum: ["male", "female"] },
|
|
26131
26130
|
igf1Value: { type: "number", description: "IGF-1 concentration in ng/mL [optional]" },
|
|
26132
26131
|
igfbp3Value: { type: "number", description: "IGFBP-3 concentration [optional]" },
|
|
26133
|
-
igfbp3Unit: { type: "string", description: "IGFBP-3 unit [default:
|
|
26134
|
-
tannerStage: { type: "string", description: "Tanner puberty stage [optional, default: I]", enum: ["I", "II", "III", "IV", "V"] },
|
|
26132
|
+
igfbp3Unit: { type: "string", description: "IGFBP-3 unit [default: mcg/mL]", enum: ["mcg/mL", "ng/mL"] },
|
|
26135
26133
|
igf1Database: { type: "string", description: "IGF-1 reference kit. elmlinger = CLIA / IMMULITE / Siemens Immulite (default). eclia = ECLIA / Roche / Elecsys / Cobas. guven = G\xFCven (Turkish reference). When user mentions a kit/assay name, match to the correct enum.", enum: ["elmlinger", "eclia", "guven"] },
|
|
26136
|
-
igfbp3Database: { type: "string", description: "IGFBP-3 reference kit. elmlinger = CLIA / IMMULITE / Siemens Immulite (default).
|
|
26134
|
+
igfbp3Database: { type: "string", description: "IGFBP-3 reference kit. elmlinger = CLIA / IMMULITE / Siemens Immulite (default). ria-bc = RIA / Beckman Coulter / RIA-BC. guven = G\xFCven (Turkish reference). When user mentions a kit/assay name, match to the correct enum.", enum: ["elmlinger", "ria-bc", "guven"] }
|
|
26137
26135
|
},
|
|
26138
26136
|
required: ["age", "sex"]
|
|
26139
26137
|
}
|
|
@@ -26524,7 +26522,7 @@ var toolSchemas = [
|
|
|
26524
26522
|
type: "function",
|
|
26525
26523
|
function: {
|
|
26526
26524
|
name: "point-blood-pressure",
|
|
26527
|
-
description: "Blood pressure percentile for children (1-18 years).
|
|
26525
|
+
description: "Blood pressure percentile for children (1-18 years). Requires sex, age, height, and measured BP.",
|
|
26528
26526
|
parameters: {
|
|
26529
26527
|
type: "object",
|
|
26530
26528
|
properties: {
|
|
@@ -27022,7 +27020,7 @@ var toolsMetadata = [
|
|
|
27022
27020
|
titleKey: "tools.point-blood-pressure.title",
|
|
27023
27021
|
subtitleKey: "tools.point-blood-pressure.subtitle",
|
|
27024
27022
|
titleFallback: "Point Blood Pressure",
|
|
27025
|
-
subtitleFallback: "Clinic percentiles by age and height
|
|
27023
|
+
subtitleFallback: "Clinic percentiles by age and height",
|
|
27026
27024
|
searchKeywords: ["tansiyon", "blood pressure", "kan bas\u0131nc\u0131", "Rosner", "persentil", "percentile", "hipertansiyon", "hypertension"]
|
|
27027
27025
|
},
|
|
27028
27026
|
{
|
|
@@ -27170,7 +27168,7 @@ var HIDDEN_TOOL_IDS = [
|
|
|
27170
27168
|
"gfr",
|
|
27171
27169
|
"leptin-sds"
|
|
27172
27170
|
];
|
|
27173
|
-
var VERSION = "0.1.
|
|
27171
|
+
var VERSION = "0.1.3";
|
|
27174
27172
|
var visibleSchemas = toolSchemas.filter(
|
|
27175
27173
|
(s) => !HIDDEN_TOOL_IDS.includes(s.function.name)
|
|
27176
27174
|
);
|