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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kc-sdk",
3
- "version": "5.7.3705",
3
+ "version": "5.8.3757-rc",
4
4
  "description": "Knowledge Components SDK",
5
5
  "main": "",
6
6
  "publishConfig": {
package/src/kc-sdk.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var kcSdkVersion = "5.7.3705"
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 = 'loadPatientRecord';
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', 'loadPatientRecord'];
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: 'loadPatientRecord',
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 'loadPatientRecord':
347
+ case 'angularLoadPatientRecord':
348
348
  vm.workflowInput = angular.toJson(vm.examplePatientRecord, 2);
349
349
  break;
350
350
  case 'setAuthToken':