@ovok/core 0.4.9 → 0.4.10

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.
@@ -175,4 +175,7 @@ UricAcidService.THRESHOLDS = {
175
175
  leu: { min: 0, max: 25 },
176
176
  sg: { min: 1.003, max: 1.03 },
177
177
  vc: {}, // Skip vitamin C from problem count
178
+ mal: {}, // No BC401 problem-count threshold is defined for this analyte.
179
+ cr: {},
180
+ uca: {},
178
181
  };
@@ -1,4 +1,4 @@
1
- export type UrineAnalyteKey = "uro" | "bil" | "ket" | "glu" | "pro" | "ph" | "bld" | "nit" | "leu" | "sg" | "vc";
1
+ export type UrineAnalyteKey = "uro" | "bil" | "ket" | "glu" | "pro" | "ph" | "bld" | "nit" | "leu" | "sg" | "vc" | "mal" | "cr" | "uca";
2
2
  export type UrineAnalyteDefinition = {
3
3
  key: UrineAnalyteKey;
4
4
  code: string;
@@ -9,7 +9,7 @@ export type UrineAnalyteDefinition = {
9
9
  unitCode?: string;
10
10
  };
11
11
  /**
12
- * LOINC mappings for the eleven values returned by Contec's BC401 strip.
12
+ * LOINC mappings for the analytes returned by Contec's BC401 strips.
13
13
  * These are exported so Native declarations and consuming apps can describe
14
14
  * the same analytes without maintaining a second, drifting table.
15
15
  */
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.URINE_ANALYTE_DEFINITIONS = void 0;
4
4
  /**
5
- * LOINC mappings for the eleven values returned by Contec's BC401 strip.
5
+ * LOINC mappings for the analytes returned by Contec's BC401 strips.
6
6
  * These are exported so Native declarations and consuming apps can describe
7
7
  * the same analytes without maintaining a second, drifting table.
8
8
  */
@@ -71,4 +71,25 @@ exports.URINE_ANALYTE_DEFINITIONS = [
71
71
  unit: "mg/dL",
72
72
  unitCode: "mg/dL",
73
73
  },
74
+ {
75
+ key: "mal",
76
+ code: "14957-5",
77
+ display: "Microalbumin",
78
+ unit: "mg/dL",
79
+ unitCode: "mg/dL",
80
+ },
81
+ {
82
+ key: "cr",
83
+ code: "2161-8",
84
+ display: "Creatinine",
85
+ unit: "mg/dL",
86
+ unitCode: "mg/dL",
87
+ },
88
+ {
89
+ key: "uca",
90
+ code: "3086-6",
91
+ display: "Urate",
92
+ unit: "mg/dL",
93
+ unitCode: "mg/dL",
94
+ },
74
95
  ];
@@ -14,6 +14,9 @@ export type UrineAnalyzeMeasurement = Measurement & {
14
14
  leu?: number;
15
15
  sg?: number;
16
16
  vc?: number;
17
+ mal?: number;
18
+ cr?: number;
19
+ uca?: number;
17
20
  urineValues: UrineAnalysisValue[];
18
21
  /** Time at which the analyzer recorded the strip. */
19
22
  recordedAt?: Date;
@@ -48,7 +48,7 @@ exports.OVOK_CORE_REQUIREMENTS = {
48
48
  description: "The FHIR surface a server must provide for the @ovok/core client library's own methods to function.",
49
49
  software: {
50
50
  name: "@ovok/core",
51
- version: "0.4.9",
51
+ version: "0.4.10",
52
52
  },
53
53
  fhirVersion: "4.0.1",
54
54
  format: ["json"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovok/core",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",