@eka-care/medical-records-ui 1.2.50 → 1.2.51
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -908,8 +908,8 @@ function isEkaPrescription(typeCode) {
|
|
|
908
908
|
return _optionalChain([typeCode, 'optionalAccess', _8 => _8.toLowerCase, 'call', _9 => _9()]) === EKA_PRESCRIPTION_TYPE;
|
|
909
909
|
}
|
|
910
910
|
function sourceLabelOf(typeCode, source) {
|
|
911
|
-
if (
|
|
912
|
-
return
|
|
911
|
+
if (_optionalChain([source, 'optionalAccess', _10 => _10.toLowerCase, 'call', _11 => _11()]) === SCRIBE_SOURCE) return "EkaScribe";
|
|
912
|
+
return isEkaPrescription(typeCode) ? "Eka EMR" : null;
|
|
913
913
|
}
|
|
914
914
|
function smartLabelOf(typeCode, isSmart) {
|
|
915
915
|
if (isEkaPrescription(typeCode)) return "Smart Record";
|