@ovok/core 0.2.62 → 0.2.64
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.
|
@@ -79,9 +79,13 @@ class UricAcidService extends base_observation_service_1.BaseObservationService
|
|
|
79
79
|
value: {
|
|
80
80
|
valueQuantity: {
|
|
81
81
|
value,
|
|
82
|
-
unit:
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
...(analyte.unit ? { unit: analyte.unit } : {}),
|
|
83
|
+
...(analyte.unitCode
|
|
84
|
+
? {
|
|
85
|
+
code: analyte.unitCode,
|
|
86
|
+
system: "http://unitsofmeasure.org",
|
|
87
|
+
}
|
|
88
|
+
: {}),
|
|
85
89
|
},
|
|
86
90
|
},
|
|
87
91
|
additionalProperties: {
|
|
@@ -3,6 +3,10 @@ export type UrineAnalyteDefinition = {
|
|
|
3
3
|
key: UrineAnalyteKey;
|
|
4
4
|
code: string;
|
|
5
5
|
display: string;
|
|
6
|
+
/** Human-readable UCUM display unit, when the analyte has one. */
|
|
7
|
+
unit?: string;
|
|
8
|
+
/** UCUM code sent in Observation.valueQuantity.code. */
|
|
9
|
+
unitCode?: string;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
12
|
* LOINC mappings for the eleven values returned by Contec's BC401 strip.
|
|
@@ -7,15 +7,68 @@ exports.URINE_ANALYTE_DEFINITIONS = void 0;
|
|
|
7
7
|
* the same analytes without maintaining a second, drifting table.
|
|
8
8
|
*/
|
|
9
9
|
exports.URINE_ANALYTE_DEFINITIONS = [
|
|
10
|
-
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
{
|
|
11
|
+
key: "uro",
|
|
12
|
+
code: "50563-6",
|
|
13
|
+
display: "Urobilinogen",
|
|
14
|
+
unit: "mg/dL",
|
|
15
|
+
unitCode: "mg/dL",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
key: "bld",
|
|
19
|
+
code: "50559-4",
|
|
20
|
+
display: "Hemoglobin",
|
|
21
|
+
unit: "RBC/µL",
|
|
22
|
+
unitCode: "/uL",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
key: "bil",
|
|
26
|
+
code: "53327-3",
|
|
27
|
+
display: "Bilirubin",
|
|
28
|
+
unit: "mg/dL",
|
|
29
|
+
unitCode: "mg/dL",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: "ket",
|
|
33
|
+
code: "50557-8",
|
|
34
|
+
display: "Ketones",
|
|
35
|
+
unit: "mg/dL",
|
|
36
|
+
unitCode: "mg/dL",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
key: "glu",
|
|
40
|
+
code: "53328-1",
|
|
41
|
+
display: "Glucose",
|
|
42
|
+
unit: "mg/dL",
|
|
43
|
+
unitCode: "mg/dL",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
key: "pro",
|
|
47
|
+
code: "50561-0",
|
|
48
|
+
display: "Protein",
|
|
49
|
+
unit: "mg/dL",
|
|
50
|
+
unitCode: "mg/dL",
|
|
51
|
+
},
|
|
16
52
|
{ key: "ph", code: "50560-2", display: "Urine pH" },
|
|
17
|
-
{
|
|
18
|
-
|
|
53
|
+
{
|
|
54
|
+
key: "nit",
|
|
55
|
+
code: "50558-6",
|
|
56
|
+
display: "Nitrite",
|
|
57
|
+
unit: "qualitative",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
key: "leu",
|
|
61
|
+
code: "60026-2",
|
|
62
|
+
display: "Leukocyte esterase",
|
|
63
|
+
unit: "WBC/µL",
|
|
64
|
+
unitCode: "/uL",
|
|
65
|
+
},
|
|
19
66
|
{ key: "sg", code: "53326-5", display: "Specific gravity" },
|
|
20
|
-
{
|
|
67
|
+
{
|
|
68
|
+
key: "vc",
|
|
69
|
+
code: "5768-7",
|
|
70
|
+
display: "Ascorbate (vitamin C)",
|
|
71
|
+
unit: "mg/dL",
|
|
72
|
+
unitCode: "mg/dL",
|
|
73
|
+
},
|
|
21
74
|
];
|
|
@@ -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.2.
|
|
51
|
+
version: "0.2.63",
|
|
52
52
|
},
|
|
53
53
|
fhirVersion: "4.0.1",
|
|
54
54
|
format: ["json"],
|