kc-sdk 5.7.3705 → 5.8.3757-rc
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/package.json +1 -1
- package/src/kc-sdk.js +3 -3
- package/src/sdk-tester.js +2 -2
package/package.json
CHANGED
package/src/kc-sdk.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var kcSdkVersion = "5.
|
|
3
|
+
var kcSdkVersion = "5.8.3757"
|
|
4
4
|
|
|
5
5
|
var kcSdk = function kcSdk() {
|
|
6
6
|
// locals
|
|
@@ -237,7 +237,7 @@ var kcSdk = function kcSdk() {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
function loadPatientRecord(patientRecord) {
|
|
240
|
-
communicationPacket.action = '
|
|
240
|
+
communicationPacket.action = 'angularLoadPatientRecord';
|
|
241
241
|
communicationPacket.value = patientRecord;
|
|
242
242
|
communication(communicationPacket, listeningWindows.KC);
|
|
243
243
|
}
|
|
@@ -442,7 +442,7 @@ var kcSdk = function kcSdk() {
|
|
|
442
442
|
// workflow functions
|
|
443
443
|
function addToWorkflow(wf) {
|
|
444
444
|
var wfArray = Array.isArray(wf) ? wf : [wf];
|
|
445
|
-
var kcWindowFunctions = ['openKc', 'launchKc', '
|
|
445
|
+
var kcWindowFunctions = ['openKc', 'launchKc', 'angularLoadPatientRecord'];
|
|
446
446
|
var encoderWindowFunctions = ['openEncoder', 'launchEncoder', 'loadPhraseInLogic', 'loadPhraseInIndex', 'loadCodeInTabular'];
|
|
447
447
|
var allWindowFunctions = ['setI9I10State', 'setAuthToken', 'setDemographics', 'closeAllKCWindows']
|
|
448
448
|
|
package/src/sdk-tester.js
CHANGED
|
@@ -266,7 +266,7 @@ function testerController($scope, $timeout, $http, $q,
|
|
|
266
266
|
windowName: vm.encoderWindowName
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
|
-
name: '
|
|
269
|
+
name: 'angularLoadPatientRecord',
|
|
270
270
|
fn: kcSdk.kcWindow.loadPatientRecord,
|
|
271
271
|
windowName: vm.kcWindowName
|
|
272
272
|
},
|
|
@@ -344,7 +344,7 @@ function testerController($scope, $timeout, $http, $q,
|
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
switch (vm.availableApiSelected.name) {
|
|
347
|
-
case '
|
|
347
|
+
case 'angularLoadPatientRecord':
|
|
348
348
|
vm.workflowInput = angular.toJson(vm.examplePatientRecord, 2);
|
|
349
349
|
break;
|
|
350
350
|
case 'setAuthToken':
|