kc-sdk 6.0.5382 → 6.0.5474
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 = "6.0.
|
|
3
|
+
var kcSdkVersion = "6.0.5474"
|
|
4
4
|
|
|
5
5
|
var kcSdk = function kcSdk() {
|
|
6
6
|
// locals
|
|
@@ -238,7 +238,7 @@ var kcSdk = function kcSdk() {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
function loadPatientRecord(patientRecord) {
|
|
241
|
-
communicationPacket.action = '
|
|
241
|
+
communicationPacket.action = 'loadPatientRecord';
|
|
242
242
|
communicationPacket.value = patientRecord;
|
|
243
243
|
communication(communicationPacket, listeningWindows.KC);
|
|
244
244
|
}
|
|
@@ -449,7 +449,7 @@ var kcSdk = function kcSdk() {
|
|
|
449
449
|
// workflow functions
|
|
450
450
|
function addToWorkflow(wf) {
|
|
451
451
|
var wfArray = Array.isArray(wf) ? wf : [wf];
|
|
452
|
-
var kcWindowFunctions = ['openKc', 'launchKc', '
|
|
452
|
+
var kcWindowFunctions = ['openKc', 'launchKc', 'loadPatientRecord', 'assignConfig'];
|
|
453
453
|
var encoderWindowFunctions = ['openEncoder', 'launchEncoder', 'loadPhraseInLogic', 'loadPhraseInIndex', 'loadCodeInTabular'];
|
|
454
454
|
var allWindowFunctions = ['setI9I10State', 'setAuthToken', 'setDemographics', 'closeAllKCWindows']
|
|
455
455
|
|
package/src/sdk-tester.js
CHANGED
|
@@ -268,7 +268,7 @@ function testerController($scope, $timeout, $http, $q,
|
|
|
268
268
|
windowName: vm.encoderWindowName
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
name: '
|
|
271
|
+
name: 'loadPatientRecord',
|
|
272
272
|
fn: kcSdk.kcWindow.loadPatientRecord,
|
|
273
273
|
windowName: vm.kcWindowName
|
|
274
274
|
},
|
|
@@ -351,7 +351,7 @@ function testerController($scope, $timeout, $http, $q,
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
switch (vm.availableApiSelected.name) {
|
|
354
|
-
case '
|
|
354
|
+
case 'loadPatientRecord':
|
|
355
355
|
vm.workflowInput = angular.toJson(vm.examplePatientRecord, 2);
|
|
356
356
|
break;
|
|
357
357
|
case 'assignConfig':
|