@openhealth/oht-custom-parser-lib 0.2.27 → 0.2.28
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.
|
@@ -393,7 +393,7 @@ async function ohtMeasurementsExtractor(labToOhtContract, ohtCoreApiKey) {
|
|
|
393
393
|
const value = labToOhtMapper?.unknownMeasurement?.value ?? '';
|
|
394
394
|
const unit = labToOhtMapper?.unknownMeasurement?.unit ?? '';
|
|
395
395
|
const annotation = labToOhtMapper?.unknownMeasurement?.annotation ?? '';
|
|
396
|
-
const jsonBlob = labToOhtMapper?.unknownMeasurement?.jsonBlob ??
|
|
396
|
+
const jsonBlob = labToOhtMapper?.unknownMeasurement?.jsonBlob ?? {};
|
|
397
397
|
const originalName = labToOhtMapper?.unknownMeasurement?.originalName ?? '';
|
|
398
398
|
const labKey = labToOhtMapper.labKey;
|
|
399
399
|
const dataOrigin = labToOhtMapper?.unknownMeasurement?.dataOrigin
|
|
@@ -148,7 +148,7 @@ export interface UnknownMeasurement {
|
|
|
148
148
|
originalName?: string;
|
|
149
149
|
}
|
|
150
150
|
export interface UnmappedLabKey extends UnknownMeasurement {
|
|
151
|
-
jsonBlob?: string
|
|
151
|
+
jsonBlob?: Record<string, any>;
|
|
152
152
|
labKey?: string;
|
|
153
153
|
}
|
|
154
154
|
export interface PatientInfo {
|