dcmjs 0.49.3 → 0.49.4
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/build/dcmjs.es.js +12 -7
- package/build/dcmjs.es.js.map +1 -1
- package/build/dcmjs.js +12 -7
- package/build/dcmjs.js.map +1 -1
- package/build/dcmjs.min.js +1 -1
- package/build/dcmjs.min.js.map +1 -1
- package/package.json +1 -1
package/build/dcmjs.js
CHANGED
|
@@ -15956,18 +15956,19 @@
|
|
|
15956
15956
|
noUnitCodeValues.forEach(function (codeValue) {
|
|
15957
15957
|
unitCodeMap[codeValue] = NO_UNIT;
|
|
15958
15958
|
});
|
|
15959
|
-
unitCodeMap["
|
|
15959
|
+
unitCodeMap["HU"] = {
|
|
15960
15960
|
CodingSchemeDesignator: "UCUM",
|
|
15961
15961
|
CodingSchemeVersion: "1.4",
|
|
15962
|
-
CodeValue: "
|
|
15963
|
-
CodeMeaning: "
|
|
15962
|
+
CodeValue: "[hnsf'U]",
|
|
15963
|
+
CodeMeaning: "Hounsfield unit"
|
|
15964
15964
|
};
|
|
15965
|
-
|
|
15966
|
-
CodeValue: "mm",
|
|
15965
|
+
unitCodeMap["mm\xB2"] = {
|
|
15967
15966
|
CodingSchemeDesignator: "UCUM",
|
|
15968
15967
|
CodingSchemeVersion: "1.4",
|
|
15969
|
-
|
|
15968
|
+
CodeValue: "mm2",
|
|
15969
|
+
CodeMeaning: "mm2"
|
|
15970
15970
|
};
|
|
15971
|
+
|
|
15971
15972
|
/** Converts the given unit into the
|
|
15972
15973
|
* specified coding values.
|
|
15973
15974
|
* Has .measurementMap on the function specifying global units for measurements.
|
|
@@ -15979,7 +15980,11 @@
|
|
|
15979
15980
|
var codingUnit = unitCodeMap[units] || unitCodeMap[baseUnit];
|
|
15980
15981
|
if (!codingUnit) {
|
|
15981
15982
|
log.error("Unspecified units", units);
|
|
15982
|
-
return
|
|
15983
|
+
return {
|
|
15984
|
+
CodeValue: "[arb'U]{".concat(units, "}"),
|
|
15985
|
+
CodingSchemeDesignator: "UCUM",
|
|
15986
|
+
CodeMeaning: "arbitrary ".concat(units)
|
|
15987
|
+
};
|
|
15983
15988
|
}
|
|
15984
15989
|
return codingUnit;
|
|
15985
15990
|
};
|