@pegasimed.com/shared-tools 1.0.15 → 1.0.16

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.
Files changed (60) hide show
  1. package/dist/constants/model-variables/index.d.ts +2 -4
  2. package/dist/constants/model-variables/index.js +2 -4
  3. package/dist/constants/model-variables/index.js.map +1 -1
  4. package/dist/constants/model-variables/kafka-models/appointment.js.map +1 -0
  5. package/dist/constants/model-variables/kafka-models/appointmentRequest.js.map +1 -0
  6. package/dist/constants/model-variables/kafka-models/carePlan.d.ts +24 -0
  7. package/dist/constants/model-variables/kafka-models/carePlan.js +28 -0
  8. package/dist/constants/model-variables/kafka-models/carePlan.js.map +1 -0
  9. package/dist/constants/model-variables/kafka-models/carePlanType.d.ts +18 -0
  10. package/dist/constants/model-variables/kafka-models/carePlanType.js +22 -0
  11. package/dist/constants/model-variables/kafka-models/carePlanType.js.map +1 -0
  12. package/dist/constants/model-variables/kafka-models/index.d.ts +11 -0
  13. package/dist/constants/model-variables/kafka-models/index.js +28 -0
  14. package/dist/constants/model-variables/kafka-models/index.js.map +1 -0
  15. package/dist/constants/model-variables/kafka-models/location.js.map +1 -0
  16. package/dist/constants/model-variables/kafka-models/locationLog.d.ts +11 -0
  17. package/dist/constants/model-variables/kafka-models/locationLog.js +15 -0
  18. package/dist/constants/model-variables/kafka-models/locationLog.js.map +1 -0
  19. package/dist/constants/model-variables/kafka-models/reception.d.ts +14 -0
  20. package/dist/constants/model-variables/kafka-models/reception.js +18 -0
  21. package/dist/constants/model-variables/kafka-models/reception.js.map +1 -0
  22. package/dist/constants/model-variables/kafka-models/scheduleProfile.d.ts +18 -0
  23. package/dist/constants/model-variables/kafka-models/scheduleProfile.js +22 -0
  24. package/dist/constants/model-variables/kafka-models/scheduleProfile.js.map +1 -0
  25. package/dist/constants/model-variables/kafka-models/scheduledProcedure.js.map +1 -0
  26. package/dist/constants/model-variables/kafka-models/shift.d.ts +9 -0
  27. package/dist/constants/model-variables/kafka-models/shift.js +13 -0
  28. package/dist/constants/model-variables/kafka-models/shift.js.map +1 -0
  29. package/dist/constants/model-variables/kafka-models/stage.d.ts +10 -0
  30. package/dist/constants/model-variables/kafka-models/stage.js +14 -0
  31. package/dist/constants/model-variables/kafka-models/stage.js.map +1 -0
  32. package/dist/constants/model-variables/special-models/carePlanActivity.d.ts +54 -0
  33. package/dist/constants/model-variables/special-models/carePlanActivity.js +58 -0
  34. package/dist/constants/model-variables/special-models/carePlanActivity.js.map +1 -0
  35. package/dist/constants/model-variables/special-models/carePlanEvent.d.ts +14 -0
  36. package/dist/constants/model-variables/special-models/carePlanEvent.js +18 -0
  37. package/dist/constants/model-variables/special-models/carePlanEvent.js.map +1 -0
  38. package/dist/constants/model-variables/special-models/index.d.ts +2 -0
  39. package/dist/constants/model-variables/special-models/index.js +19 -0
  40. package/dist/constants/model-variables/special-models/index.js.map +1 -0
  41. package/dist/custom-variable-resolvers/executeFormula.d.ts +2 -2
  42. package/dist/custom-variable-resolvers/executeFormula.js.map +1 -1
  43. package/dist/custom-variable-resolvers/executeVariablesCondition.d.ts +6 -1
  44. package/dist/custom-variable-resolvers/executeVariablesCondition.js +38 -10
  45. package/dist/custom-variable-resolvers/executeVariablesCondition.js.map +1 -1
  46. package/dist/custom-variable-resolvers/replaceAllVariables.d.ts +2 -2
  47. package/dist/custom-variable-resolvers/replaceAllVariables.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/constants/model-variables/appointment.js.map +0 -1
  50. package/dist/constants/model-variables/appointmentRequest.js.map +0 -1
  51. package/dist/constants/model-variables/location.js.map +0 -1
  52. package/dist/constants/model-variables/scheduledProcedure.js.map +0 -1
  53. /package/dist/constants/model-variables/{appointment.d.ts → kafka-models/appointment.d.ts} +0 -0
  54. /package/dist/constants/model-variables/{appointment.js → kafka-models/appointment.js} +0 -0
  55. /package/dist/constants/model-variables/{appointmentRequest.d.ts → kafka-models/appointmentRequest.d.ts} +0 -0
  56. /package/dist/constants/model-variables/{appointmentRequest.js → kafka-models/appointmentRequest.js} +0 -0
  57. /package/dist/constants/model-variables/{location.d.ts → kafka-models/location.d.ts} +0 -0
  58. /package/dist/constants/model-variables/{location.js → kafka-models/location.js} +0 -0
  59. /package/dist/constants/model-variables/{scheduledProcedure.d.ts → kafka-models/scheduledProcedure.d.ts} +0 -0
  60. /package/dist/constants/model-variables/{scheduledProcedure.js → kafka-models/scheduledProcedure.js} +0 -0
@@ -1,4 +1,2 @@
1
- export * from './appointment';
2
- export * from './appointmentRequest';
3
- export * from './location';
4
- export * from './scheduledProcedure';
1
+ export * from './kafka-models';
2
+ export * from './special-models';
@@ -14,8 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./appointment"), exports);
18
- __exportStar(require("./appointmentRequest"), exports);
19
- __exportStar(require("./location"), exports);
20
- __exportStar(require("./scheduledProcedure"), exports);
17
+ __exportStar(require("./kafka-models"), exports);
18
+ __exportStar(require("./special-models"), exports);
21
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/model-variables/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,6CAA2B;AAC3B,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/model-variables/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,mDAAiC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/appointment.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,gBAAgB;IAC3B,eAAe,EAAE,0BAA0B;IAC3C,OAAO,EAAE,0BAA0B;IACnC,IAAI,EAAE,kBAAkB;IACxB,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,aAAa;IACtB,aAAa,EAAE,uBAAuB;IACtC,IAAI,EAAE,SAAS;IACf,eAAe,EAAE,uBAAuB;IACxC,gBAAgB,EAAE,kBAAkB;IACpC,MAAM,EAAE;QACN,UAAU,EAAE,mBAAmB;QAC/B,kBAAkB,EAAE,wBAAwB;QAC5C,eAAe,EAAE,sBAAsB;QACvC,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,2BAA2B;KAClC;IACD,MAAM,EAAE,eAAe;IACvB,SAAS,EAAE,mBAAmB;IAC9B,UAAU,EAAE,mBAAmB;IAC/B,QAAQ,EAAE,2BAA2B;IACrC,YAAY,EAAE,mBAAmB;IACjC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE;QACP,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,yBAAyB;KACvC;IACD,YAAY,EAAE;QACZ,YAAY,EAAE,kCAAkC;QAChD,QAAQ,EAAE,8BAA8B;KACzC;IACD,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,cAAc;IAC7B,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appointmentRequest.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/appointmentRequest.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,eAAe,EAAE,0BAA0B;IAC3C,IAAI,EAAE,+BAA+B;IACrC,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,0BAA0B;IACnC,QAAQ,EAAE,2BAA2B;IACrC,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,eAAe;IACvB,eAAe,EAAE,uBAAuB;IACxC,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,mBAAmB;IAC/B,MAAM,EAAE;QACN,UAAU,EAAE,wBAAwB;QACpC,kBAAkB,EAAE,wBAAwB;QAC5C,eAAe,EAAE,sBAAsB;QACvC,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,2BAA2B;QACjC,QAAQ,EAAE,wBAAwB;QAClC,iBAAiB,EAAE,uBAAuB;KAC3C;IACD,WAAW,EAAE,mBAAmB;IAChC,aAAa,EAAE,wBAAwB;IACvC,wBAAwB,EAAE,qCAAqC;IAC/D,UAAU,EAAE,cAAc;IAC1B,qBAAqB,EAAE,wBAAwB;IAC/C,cAAc,EAAE,yBAAyB;IACzC,iBAAiB,EAAE,uBAAuB;IAC1C,oBAAoB,EAAE,yBAAyB;IAC/C,SAAS,EAAE,4BAA4B;IACvC,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,SAAS;CAChB,CAAC"}
@@ -0,0 +1,24 @@
1
+ export declare const CARE_PLAN_ENUM: {
2
+ created: string;
3
+ author: string;
4
+ title: string;
5
+ description: string;
6
+ addresses: string;
7
+ goal: string;
8
+ encounter: string;
9
+ evolution: string;
10
+ intent: string;
11
+ status: string;
12
+ subject: string;
13
+ active: string;
14
+ licenseKey: string;
15
+ identifier: string;
16
+ activities: string;
17
+ isMedicalBoardTemplate: string;
18
+ strictTemplate: string;
19
+ isConsecutively: string;
20
+ templateId: string;
21
+ stages: string;
22
+ events: string;
23
+ completed: string;
24
+ };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CARE_PLAN_ENUM = void 0;
4
+ exports.CARE_PLAN_ENUM = {
5
+ created: 'Fecha de creación',
6
+ author: 'Lista de autores',
7
+ title: 'Título del plan de cuidados',
8
+ description: 'Descripción del plan de cuidados',
9
+ addresses: 'Lista de problemas a tratar',
10
+ goal: 'Objetivo del plan de cuidados',
11
+ encounter: 'Encuentro asociado',
12
+ evolution: 'Evolución del plan de cuidados',
13
+ intent: 'Intenciones del plan de cuidados',
14
+ status: 'Estado del plan de cuidados',
15
+ subject: 'Sujeto del plan de cuidados',
16
+ active: 'Plan de cuidados activo',
17
+ licenseKey: 'Clave de licencia',
18
+ identifier: 'Identificadores del plan de cuidados',
19
+ activities: 'Actividades del plan de cuidados',
20
+ isMedicalBoardTemplate: 'Es una plantilla de consejo médico',
21
+ strictTemplate: 'Es una plantilla estricta',
22
+ isConsecutively: 'Es consecutivo',
23
+ templateId: 'Id de la plantilla',
24
+ stages: 'Etapas del plan de cuidados',
25
+ events: 'Eventos del plan de cuidados',
26
+ completed: 'Plan de cuidados completado',
27
+ };
28
+ //# sourceMappingURL=carePlan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carePlan.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/carePlan.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,mBAAmB;IAC5B,MAAM,EAAE,kBAAkB;IAC1B,KAAK,EAAE,6BAA6B;IACpC,WAAW,EAAE,kCAAkC;IAC/C,SAAS,EAAE,6BAA6B;IACxC,IAAI,EAAE,+BAA+B;IACrC,SAAS,EAAE,oBAAoB;IAC/B,SAAS,EAAE,gCAAgC;IAC3C,MAAM,EAAE,kCAAkC;IAC1C,MAAM,EAAE,6BAA6B;IACrC,OAAO,EAAE,6BAA6B;IACtC,MAAM,EAAE,yBAAyB;IACjC,UAAU,EAAE,mBAAmB;IAC/B,UAAU,EAAE,sCAAsC;IAClD,UAAU,EAAE,kCAAkC;IAC9C,sBAAsB,EAAE,oCAAoC;IAC5D,cAAc,EAAE,2BAA2B;IAC3C,eAAe,EAAE,gBAAgB;IACjC,UAAU,EAAE,oBAAoB;IAChC,MAAM,EAAE,6BAA6B;IACrC,MAAM,EAAE,8BAA8B;IACtC,SAAS,EAAE,6BAA6B;CACzC,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const CARE_PLAN_TYPE_ENUM: {
2
+ author: string;
3
+ title: string;
4
+ description: string;
5
+ addresses: string;
6
+ goal: string;
7
+ intent: string;
8
+ active: string;
9
+ stages: string;
10
+ events: string;
11
+ strictTemplate: string;
12
+ isConsecutively: string;
13
+ licenseKey: string;
14
+ activities: string;
15
+ completed: string;
16
+ enabled: string;
17
+ isMedicalBoardTemplate: string;
18
+ };
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CARE_PLAN_TYPE_ENUM = void 0;
4
+ exports.CARE_PLAN_TYPE_ENUM = {
5
+ author: 'Lista de autores',
6
+ title: 'Título del tipo de plan de cuidados',
7
+ description: 'Descripción del tipo de plan de cuidados',
8
+ addresses: 'Lista de problemas a tratar',
9
+ goal: 'Objetivo del tipo de plan de cuidados',
10
+ intent: 'Intenciones del tipo de plan de cuidados',
11
+ active: 'Tipo de plan de cuidados activo',
12
+ stages: 'Etapas del tipo de plan de cuidados',
13
+ events: 'Eventos del tipo de plan de cuidados',
14
+ strictTemplate: 'Es una plantilla estricta',
15
+ isConsecutively: 'Es consecutivo',
16
+ licenseKey: 'Clave de licencia',
17
+ activities: 'Actividades del tipo de plan de cuidados',
18
+ completed: 'Tipo de plan de cuidados completado',
19
+ enabled: 'Tipo de plan de cuidados habilitado',
20
+ isMedicalBoardTemplate: 'Es una plantilla de consejo médico',
21
+ };
22
+ //# sourceMappingURL=carePlanType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carePlanType.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/carePlanType.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG;IACjC,MAAM,EAAE,kBAAkB;IAC1B,KAAK,EAAE,qCAAqC;IAC5C,WAAW,EAAE,0CAA0C;IACvD,SAAS,EAAE,6BAA6B;IACxC,IAAI,EAAE,uCAAuC;IAC7C,MAAM,EAAE,0CAA0C;IAClD,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,sCAAsC;IAC9C,cAAc,EAAE,2BAA2B;IAC3C,eAAe,EAAE,gBAAgB;IACjC,UAAU,EAAE,mBAAmB;IAC/B,UAAU,EAAE,0CAA0C;IACtD,SAAS,EAAE,qCAAqC;IAChD,OAAO,EAAE,qCAAqC;IAC9C,sBAAsB,EAAE,oCAAoC;CAC7D,CAAC"}
@@ -0,0 +1,11 @@
1
+ export * from './appointment';
2
+ export * from './appointmentRequest';
3
+ export * from './carePlan';
4
+ export * from './carePlanType';
5
+ export * from './location';
6
+ export * from './locationLog';
7
+ export * from './reception';
8
+ export * from './scheduledProcedure';
9
+ export * from './scheduleProfile';
10
+ export * from './shift';
11
+ export * from './stage';
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./appointment"), exports);
18
+ __exportStar(require("./appointmentRequest"), exports);
19
+ __exportStar(require("./carePlan"), exports);
20
+ __exportStar(require("./carePlanType"), exports);
21
+ __exportStar(require("./location"), exports);
22
+ __exportStar(require("./locationLog"), exports);
23
+ __exportStar(require("./reception"), exports);
24
+ __exportStar(require("./scheduledProcedure"), exports);
25
+ __exportStar(require("./scheduleProfile"), exports);
26
+ __exportStar(require("./shift"), exports);
27
+ __exportStar(require("./stage"), exports);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,6CAA2B;AAC3B,iDAA+B;AAC/B,6CAA2B;AAC3B,gDAA8B;AAC9B,8CAA4B;AAC5B,uDAAqC;AACrC,oDAAkC;AAClC,0CAAwB;AACxB,0CAAwB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"location.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/location.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,oBAAoB,EAAE,mDAAmD;IACzE,MAAM,EAAE,sBAAsB;IAC9B,MAAM,EAAE,wBAAwB;IAChC,iBAAiB,EAAE,yBAAyB;IAC5C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,KAAK,EAAE,uBAAuB;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,YAAY,EAAE,mBAAmB;IACjC,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,0BAA0B;IACnC,YAAY,EAAE,0BAA0B;IACxC,QAAQ,EAAE;QACR,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB;IACD,WAAW,EAAE,6BAA6B;IAC1C,gBAAgB,EAAE,0BAA0B;IAC5C,sBAAsB,EAAE,+BAA+B;IACvD,iBAAiB,EAAE,6BAA6B;IAChD,aAAa,EAAE,yBAAyB;IACxC,MAAM,EAAE,eAAe;IACvB,UAAU,EAAE,mBAAmB;CAChC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const LOCATION_LOG_ENUM: {
2
+ location: string;
3
+ period: string;
4
+ event: string;
5
+ action: string;
6
+ performer: string;
7
+ patient: string;
8
+ statusChange: string;
9
+ comments: string;
10
+ active: string;
11
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LOCATION_LOG_ENUM = void 0;
4
+ exports.LOCATION_LOG_ENUM = {
5
+ location: 'Id de la ubicación',
6
+ period: 'Periodo de tiempo',
7
+ event: 'Evento',
8
+ action: 'Acción',
9
+ performer: 'Realizador de la acción',
10
+ patient: 'Paciente',
11
+ statusChange: 'Cambio de estado',
12
+ comments: 'Comentarios',
13
+ active: 'Modelo activo',
14
+ };
15
+ //# sourceMappingURL=locationLog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locationLog.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/locationLog.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,oBAAoB;IAC9B,MAAM,EAAE,mBAAmB;IAC3B,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,yBAAyB;IACpC,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,kBAAkB;IAChC,QAAQ,EAAE,aAAa;IACvB,MAAM,EAAE,eAAe;CACxB,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const RECEPTION_ENUM: {
2
+ scheduleProfile: string;
3
+ patient: string;
4
+ procedureType: string;
5
+ comments: string;
6
+ receptionTime: string;
7
+ active: string;
8
+ status: string;
9
+ canceled: string;
10
+ reasonCanceled: string;
11
+ priority: string;
12
+ lastStatus: string;
13
+ licenseKey: string;
14
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RECEPTION_ENUM = void 0;
4
+ exports.RECEPTION_ENUM = {
5
+ scheduleProfile: 'Id del perfil de horario',
6
+ patient: 'Información del paciente',
7
+ procedureType: 'Tipo de procedimiento',
8
+ comments: 'Comentarios',
9
+ receptionTime: 'Hora de recepción',
10
+ active: 'Modelo activo',
11
+ status: 'Estado de la recepción',
12
+ canceled: 'Recepción cancelada',
13
+ reasonCanceled: 'Motivo de cancelación',
14
+ priority: 'Prioridad',
15
+ lastStatus: 'Último estado',
16
+ licenseKey: 'Clave de licencia',
17
+ };
18
+ //# sourceMappingURL=reception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reception.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/reception.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC5B,eAAe,EAAE,0BAA0B;IAC3C,OAAO,EAAE,0BAA0B;IACnC,aAAa,EAAE,uBAAuB;IACtC,QAAQ,EAAE,aAAa;IACvB,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,wBAAwB;IAChC,QAAQ,EAAE,qBAAqB;IAC/B,cAAc,EAAE,uBAAuB;IACvC,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,eAAe;IAC3B,UAAU,EAAE,mBAAmB;CAChC,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const SCHEDULE_PROFILE_ENUM: {
2
+ organizationalChart: string;
3
+ scheduleAppointment: string;
4
+ scheduleProcedure: string;
5
+ scheduleReception: string;
6
+ simultAppointments: {
7
+ unlimited: string;
8
+ totalSimultaneous: string;
9
+ };
10
+ overshift: string;
11
+ active: string;
12
+ licenseKey: string;
13
+ practitioner: {
14
+ name: string;
15
+ photo: string;
16
+ specialty: string;
17
+ };
18
+ };
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SCHEDULE_PROFILE_ENUM = void 0;
4
+ exports.SCHEDULE_PROFILE_ENUM = {
5
+ organizationalChart: 'Organigrama',
6
+ scheduleAppointment: 'Agendar cita',
7
+ scheduleProcedure: 'Agendar procedimiento',
8
+ scheduleReception: 'Agendar recepción',
9
+ simultAppointments: {
10
+ unlimited: 'Citas simultáneas ilimitadas',
11
+ totalSimultaneous: 'Total de citas simultáneas',
12
+ },
13
+ overshift: 'Sobreturno',
14
+ active: 'Modelo activo',
15
+ licenseKey: 'Clave de licencia',
16
+ practitioner: {
17
+ name: 'Nombre del profesional',
18
+ photo: 'Foto del profesional',
19
+ specialty: 'Especialidad del profesional',
20
+ },
21
+ };
22
+ //# sourceMappingURL=scheduleProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduleProfile.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/scheduleProfile.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC,mBAAmB,EAAE,aAAa;IAClC,mBAAmB,EAAE,cAAc;IACnC,iBAAiB,EAAE,uBAAuB;IAC1C,iBAAiB,EAAE,mBAAmB;IACtC,kBAAkB,EAAE;QAClB,SAAS,EAAE,8BAA8B;QACzC,iBAAiB,EAAE,4BAA4B;KAChD;IACD,SAAS,EAAE,YAAY;IACvB,MAAM,EAAE,eAAe;IACvB,UAAU,EAAE,mBAAmB;IAC/B,YAAY,EAAE;QACZ,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,sBAAsB;QAC7B,SAAS,EAAE,8BAA8B;KAC1C;CACF,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduledProcedure.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/scheduledProcedure.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,eAAe,EAAE,0BAA0B;IAC3C,IAAI,EAAE,yBAAyB;IAC/B,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,aAAa;IACtB,QAAQ,EAAE,6BAA6B;IACvC,OAAO,EAAE,0BAA0B;IACnC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE;QACN,UAAU,EAAE,0BAA0B;QACtC,kBAAkB,EAAE,wBAAwB;QAC5C,eAAe,EAAE,sBAAsB;QACvC,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,2BAA2B;KAClC;IACD,YAAY,EAAE,iCAAiC;IAC/C,MAAM,EAAE,eAAe;IACvB,UAAU,EAAE,mBAAmB;IAC/B,SAAS,EAAE,mBAAmB;CAC/B,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const SHIFT_ENUM: {
2
+ scheduleProfile: string;
3
+ day: string;
4
+ startTime: string;
5
+ endTime: string;
6
+ licenseKey: string;
7
+ attenderType: string;
8
+ shiftType: string;
9
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SHIFT_ENUM = void 0;
4
+ exports.SHIFT_ENUM = {
5
+ scheduleProfile: 'Id del perfil de horario',
6
+ day: 'Día de la semana',
7
+ startTime: 'Hora de inicio',
8
+ endTime: 'Hora de fin',
9
+ licenseKey: 'Clave de licencia',
10
+ attenderType: 'Tipo de asistente',
11
+ shiftType: 'Tipo de turno',
12
+ };
13
+ //# sourceMappingURL=shift.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shift.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/shift.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,eAAe,EAAE,0BAA0B;IAC3C,GAAG,EAAE,kBAAkB;IACvB,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,aAAa;IACtB,UAAU,EAAE,mBAAmB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,SAAS,EAAE,eAAe;CAC3B,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const STAGE_ENUM: {
2
+ code: string;
3
+ value: string;
4
+ style: {
5
+ backgroundColor: string;
6
+ color: string;
7
+ };
8
+ licenseKey: string;
9
+ active: string;
10
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.STAGE_ENUM = void 0;
4
+ exports.STAGE_ENUM = {
5
+ code: 'Código de la etapa',
6
+ value: 'Valor de la etapa',
7
+ style: {
8
+ backgroundColor: 'Color de fondo',
9
+ color: 'Color de texto',
10
+ },
11
+ licenseKey: 'Clave de licencia',
12
+ active: 'Modelo activo',
13
+ };
14
+ //# sourceMappingURL=stage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stage.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/kafka-models/stage.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE;QACL,eAAe,EAAE,gBAAgB;QACjC,KAAK,EAAE,gBAAgB;KACxB;IACD,UAAU,EAAE,mBAAmB;IAC/B,MAAM,EAAE,eAAe;CACxB,CAAC"}
@@ -0,0 +1,54 @@
1
+ export declare const CARE_PLAN_ACTIVITY_ENUM: {
2
+ plannedActivityReference: string;
3
+ created: string;
4
+ product: string;
5
+ productReference: string;
6
+ description: string;
7
+ via: string;
8
+ quantity: {
9
+ value: string;
10
+ unit: string;
11
+ system: string;
12
+ code: string;
13
+ };
14
+ goal: string;
15
+ schedulePeriod: {
16
+ period: string;
17
+ };
18
+ scheduleTiming: {
19
+ code: string;
20
+ value: string;
21
+ };
22
+ intent: string;
23
+ priority: string;
24
+ bodySite: string;
25
+ laterality: string;
26
+ identifier: string;
27
+ detail: {
28
+ code: string;
29
+ };
30
+ sample: string;
31
+ category: string;
32
+ practitioner: string;
33
+ examType: string;
34
+ specimenType: string;
35
+ supplier: string;
36
+ medicationAdministration: {
37
+ concentrationUnitType: string;
38
+ concentrationType: string;
39
+ concentration: string;
40
+ supplyUnit: string;
41
+ supply: string;
42
+ supplyDurationUnit: string;
43
+ supplyDuration: string;
44
+ quantity: string;
45
+ };
46
+ calculatedDose: string;
47
+ kafkaEvent: string;
48
+ manual: string;
49
+ eventId: string;
50
+ index: string;
51
+ status: string;
52
+ jobReference: string;
53
+ completed: string;
54
+ };
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CARE_PLAN_ACTIVITY_ENUM = void 0;
4
+ exports.CARE_PLAN_ACTIVITY_ENUM = {
5
+ plannedActivityReference: 'Referencia de actividad planificada',
6
+ created: 'Fecha de creación',
7
+ product: 'Lista de productos',
8
+ productReference: 'Lista de referencias de productos',
9
+ description: 'Descripción de la actividad',
10
+ via: 'Vía de administración',
11
+ quantity: {
12
+ value: 'Valor de la cantidad',
13
+ unit: 'Unidad de la cantidad',
14
+ system: 'Sistema de la cantidad',
15
+ code: 'Código de la cantidad',
16
+ },
17
+ goal: 'Objetivos de la actividad',
18
+ schedulePeriod: {
19
+ period: 'Periodo de tiempo',
20
+ },
21
+ scheduleTiming: {
22
+ code: 'Código de la programación',
23
+ value: 'Valor de la programación',
24
+ },
25
+ intent: 'Intenciones de la actividad',
26
+ priority: 'Prioridad de la actividad',
27
+ bodySite: 'Sitio del cuerpo',
28
+ laterality: 'Lateralidad',
29
+ identifier: 'Identificadores de la actividad',
30
+ detail: {
31
+ code: 'Código del detalle',
32
+ },
33
+ sample: 'Muestra de la actividad',
34
+ category: 'Categoría de la actividad',
35
+ practitioner: 'Practicante de la actividad',
36
+ examType: 'Tipo de examen',
37
+ specimenType: 'Tipo de especimen',
38
+ supplier: 'Proveedor',
39
+ medicationAdministration: {
40
+ concentrationUnitType: 'Tipo de unidad de concentración',
41
+ concentrationType: 'Tipo de concentración',
42
+ concentration: 'Concentración',
43
+ supplyUnit: 'Unidad de suministro',
44
+ supply: 'Suministro',
45
+ supplyDurationUnit: 'Unidad de duración de suministro',
46
+ supplyDuration: 'Duración de suministro',
47
+ quantity: 'Cantidad de medicamento',
48
+ },
49
+ calculatedDose: 'Dosis calculada',
50
+ kafkaEvent: 'Evento de Kafka',
51
+ manual: 'Es una actividad manual',
52
+ eventId: 'Id del evento',
53
+ index: 'Índice de la actividad',
54
+ status: 'Lista de estados de la actividad',
55
+ jobReference: 'Referencia de trabajo',
56
+ completed: 'Actividad completada',
57
+ };
58
+ //# sourceMappingURL=carePlanActivity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carePlanActivity.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/special-models/carePlanActivity.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,wBAAwB,EAAE,qCAAqC;IAC/D,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,oBAAoB;IAC7B,gBAAgB,EAAE,mCAAmC;IACrD,WAAW,EAAE,6BAA6B;IAC1C,GAAG,EAAE,uBAAuB;IAC5B,QAAQ,EAAE;QACR,KAAK,EAAE,sBAAsB;QAC7B,IAAI,EAAE,uBAAuB;QAC7B,MAAM,EAAE,wBAAwB;QAChC,IAAI,EAAE,uBAAuB;KAC9B;IACD,IAAI,EAAE,2BAA2B;IACjC,cAAc,EAAE;QACd,MAAM,EAAE,mBAAmB;KAC5B;IACD,cAAc,EAAE;QACd,IAAI,EAAE,2BAA2B;QACjC,KAAK,EAAE,0BAA0B;KAClC;IACD,MAAM,EAAE,6BAA6B;IACrC,QAAQ,EAAE,2BAA2B;IACrC,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,iCAAiC;IAC7C,MAAM,EAAE;QACN,IAAI,EAAE,oBAAoB;KAC3B;IACD,MAAM,EAAE,yBAAyB;IACjC,QAAQ,EAAE,2BAA2B;IACrC,YAAY,EAAE,6BAA6B;IAC3C,QAAQ,EAAE,gBAAgB;IAC1B,YAAY,EAAE,mBAAmB;IACjC,QAAQ,EAAE,WAAW;IACrB,wBAAwB,EAAE;QACxB,qBAAqB,EAAE,iCAAiC;QACxD,iBAAiB,EAAE,uBAAuB;QAC1C,aAAa,EAAE,eAAe;QAC9B,UAAU,EAAE,sBAAsB;QAClC,MAAM,EAAE,YAAY;QACpB,kBAAkB,EAAE,kCAAkC;QACtD,cAAc,EAAE,wBAAwB;QACxC,QAAQ,EAAE,yBAAyB;KACpC;IACD,cAAc,EAAE,iBAAiB;IACjC,UAAU,EAAE,iBAAiB;IAC7B,MAAM,EAAE,yBAAyB;IACjC,OAAO,EAAE,eAAe;IACxB,KAAK,EAAE,wBAAwB;IAC/B,MAAM,EAAE,kCAAkC;IAC1C,YAAY,EAAE,uBAAuB;IACrC,SAAS,EAAE,sBAAsB;CAClC,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const CARE_PLAN_EVENT_ENUM: {
2
+ name: string;
3
+ stage: string;
4
+ description: string;
5
+ conditions: string;
6
+ duration: {
7
+ value: string;
8
+ timeUnit: string;
9
+ };
10
+ percentages: string;
11
+ index: string;
12
+ completed: string;
13
+ activities: string;
14
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CARE_PLAN_EVENT_ENUM = void 0;
4
+ exports.CARE_PLAN_EVENT_ENUM = {
5
+ name: 'Nombre del evento',
6
+ stage: 'Etapa del evento',
7
+ description: 'Descripción del evento',
8
+ conditions: 'Condiciones del evento',
9
+ duration: {
10
+ value: 'Valor de la duración',
11
+ timeUnit: 'Unidad de tiempo de la duración',
12
+ },
13
+ percentages: 'Porcentajes de la duración',
14
+ index: 'Índice del evento',
15
+ completed: 'Evento completado',
16
+ activities: 'Actividades del evento',
17
+ };
18
+ //# sourceMappingURL=carePlanEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carePlanEvent.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/special-models/carePlanEvent.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,wBAAwB;IACrC,UAAU,EAAE,wBAAwB;IACpC,QAAQ,EAAE;QACR,KAAK,EAAE,sBAAsB;QAC7B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,WAAW,EAAE,4BAA4B;IACzC,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,mBAAmB;IAC9B,UAAU,EAAE,wBAAwB;CACrC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './carePlanActivity';
2
+ export * from './carePlanEvent';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./carePlanActivity"), exports);
18
+ __exportStar(require("./carePlanEvent"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/model-variables/special-models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,kDAAgC"}
@@ -1,2 +1,2 @@
1
- import { IPipelinesMap } from './executeVariablesCondition';
2
- export declare const executeFormula: (formula: string, data: any, customPipelines?: IPipelinesMap) => Promise<any>;
1
+ import { ICustomPipelineMap } from './executeVariablesCondition';
2
+ export declare const executeFormula: (formula: string, data: any, customPipelines?: ICustomPipelineMap[]) => Promise<any>;
@@ -1 +1 @@
1
- {"version":3,"file":"executeFormula.js","sourceRoot":"","sources":["../../src/custom-variable-resolvers/executeFormula.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAuC;AAEvC,+DAA4D;AAErD,MAAM,cAAc,GAAG,CAAO,OAAe,EAAE,IAAS,EAAE,eAA+B,EAAgB,EAAE;IAChH,IAAI,CAAC,IAAA,sBAAS,EAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QAC9C,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,IAAA,yCAAmB,EAAC,OAAO,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC;IAE5E,IAAI,CAAC;QACH,OAAO,QAAQ,CAAC,UAAU,SAAS,EAAE,CAAC,EAAE,CAAC;IAC3C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAA,CAAC;AAZW,QAAA,cAAc,kBAYzB"}
1
+ {"version":3,"file":"executeFormula.js","sourceRoot":"","sources":["../../src/custom-variable-resolvers/executeFormula.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAuC;AAEvC,+DAA4D;AAErD,MAAM,cAAc,GAAG,CAC5B,OAAe,EACf,IAAS,EACT,eAAsC,EACxB,EAAE;IAChB,IAAI,CAAC,IAAA,sBAAS,EAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QAC9C,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,IAAA,yCAAmB,EAAC,OAAO,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC;IAE5E,IAAI,CAAC;QACH,OAAO,QAAQ,CAAC,UAAU,SAAS,EAAE,CAAC,EAAE,CAAC;IAC3C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAA,CAAC;AAhBW,QAAA,cAAc,kBAgBzB"}
@@ -5,4 +5,9 @@ export interface IExecuteVariableEstructureOptions {
5
5
  export interface IPipelinesMap {
6
6
  [key: string]: Function;
7
7
  }
8
- export declare const executeVariableEstructure: (variable: string, data: any, customPipelines?: IPipelinesMap, Options?: IExecuteVariableEstructureOptions) => Promise<any>;
8
+ export interface ICustomPipelineMap {
9
+ name: string;
10
+ params: string[];
11
+ function: string;
12
+ }
13
+ export declare const executeVariableEstructure: (variable: string, data: any, customPipelines?: ICustomPipelineMap[], Options?: IExecuteVariableEstructureOptions) => Promise<any>;
@@ -13,6 +13,39 @@ exports.executeVariableEstructure = void 0;
13
13
  const utils_1 = require("../utils");
14
14
  const findDataObject_1 = require("./findDataObject");
15
15
  const pipelines = require("./pipelines");
16
+ const optionsToPipelines = {
17
+ modules: {
18
+ typeCheck: require('type-check'),
19
+ moment: require('moment'),
20
+ },
21
+ };
22
+ const getPipeline = (name, args, customPipelines, options) => {
23
+ var _a;
24
+ let pipelinesFound = Object.keys(pipelines).find((key) => key === name) || null;
25
+ if (pipelinesFound) {
26
+ return {
27
+ args,
28
+ // @ts-ignore
29
+ pipeline: pipelines[pipelinesFound],
30
+ };
31
+ }
32
+ if (!pipelinesFound && !(customPipelines === null || customPipelines === void 0 ? void 0 : customPipelines.length) && (options === null || options === void 0 ? void 0 : options.pipelineEmitError)) {
33
+ throw new Error(`Pipeline ${name} not found`);
34
+ }
35
+ pipelinesFound = customPipelines === null || customPipelines === void 0 ? void 0 : customPipelines.find((pipeline) => pipeline.name === name);
36
+ if (!pipelinesFound && (options === null || options === void 0 ? void 0 : options.pipelineEmitError)) {
37
+ throw new Error(`Pipeline ${name} not found`);
38
+ }
39
+ const customArgsLength = (_a = pipelinesFound.params) === null || _a === void 0 ? void 0 : _a.length;
40
+ const newCustomArgs = [];
41
+ for (let index = 0; index < customArgsLength; index++) {
42
+ newCustomArgs.push(args[index] || '');
43
+ }
44
+ return {
45
+ args: [...newCustomArgs, optionsToPipelines],
46
+ pipeline: Function(...['data', ...pipelinesFound.params, 'options', pipelinesFound.function]),
47
+ };
48
+ };
16
49
  const executePipelines = (currentValue, splitVariable, customPipelines, Options) => __awaiter(void 0, void 0, void 0, function* () {
17
50
  const options = Object.assign({ pipelineEmitError: true }, Options);
18
51
  const pipelinesToExec = splitVariable === null || splitVariable === void 0 ? void 0 : splitVariable.map((pipelineString) => {
@@ -31,17 +64,12 @@ const executePipelines = (currentValue, splitVariable, customPipelines, Options)
31
64
  const backupValue = (0, utils_1.newValueInstance)(currentValue);
32
65
  const name = pipelineToExec.pipeline;
33
66
  const args = pipelineToExec.args;
34
- const allPipelines = Object.assign(Object.assign({}, pipelines), (customPipelines || {}));
35
- const pipelinesFound = Object.keys(allPipelines).find((key) => key === name);
36
- if (!pipelinesFound) {
37
- if (options.pipelineEmitError) {
38
- throw new Error(`Pipeline ${name} not found`);
39
- }
40
- continue;
41
- }
42
67
  try {
43
- const pipeline = allPipelines[name];
44
- currentValue = yield (0, utils_1.executeFunction)(pipeline, [currentValue, ...args]);
68
+ const pipelineFound = getPipeline(name, args, customPipelines, options) || null;
69
+ if (!pipelineFound) {
70
+ continue;
71
+ }
72
+ currentValue = yield (0, utils_1.executeFunction)(pipelineFound.pipeline, [currentValue, ...pipelineFound.args]);
45
73
  }
46
74
  catch (error) {
47
75
  if (options.pipelineEmitError) {
@@ -1 +1 @@
1
- {"version":3,"file":"executeVariablesCondition.js","sourceRoot":"","sources":["../../src/custom-variable-resolvers/executeVariablesCondition.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAA6D;AAC7D,qDAAkD;AAClD,yCAAyC;AAWzC,MAAM,gBAAgB,GAAG,CACvB,YAAiB,EACjB,aAAuB,EACvB,eAA+B,EAC/B,OAA2C,EAC3C,EAAE;IACF,MAAM,OAAO,mBACX,iBAAiB,EAAE,IAAI,IACpB,OAAO,CACX,CAAC;IACF,MAAM,eAAe,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,GAAG,CAAC,CAAC,cAAc,EAAE,EAAE;QAC5D,MAAM,aAAa,GAAQ,CAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,KAAK,C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AAY,GAAG,IAAA,+BAAc,EAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;IACvE,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,IAAI,OAAO,CAAC,uBAAuB,EAAE,CAAC;YACpC,MAAM,IAAI,KAAK,CAAC,6BAA6B,SAAS,MAAM,KAAK,EAAE,CAAC,CAAC;QACvE,CAAC;QACD,YAAY,GAAG,EAAE,CAAC;IACpB,CAAC;IAED,YAAY,GAAG,MAAM,gBAAgB,CAAC,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;IAE7F,OAAO,YAAY,CAAC;AACtB,CAAC,CAAA,CAAC;AAzCW,QAAA,yBAAyB,6BAyCpC"}
1
+ {"version":3,"file":"executeVariablesCondition.js","sourceRoot":"","sources":["../../src/custom-variable-resolvers/executeVariablesCondition.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAA6D;AAC7D,qDAAkD;AAClD,yCAAyC;AAEzC,MAAM,kBAAkB,GAAG;IACzB,OAAO,EAAE;QACP,SAAS,EAAE,OAAO,CAAC,YAAY,CAAC;QAChC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;KAC1B;CACF,CAAC;AAmBF,MAAM,WAAW,GAAG,CAClB,IAAY,EACZ,IAAc,EACd,eAAsC,EACtC,OAA2C,EACjB,EAAE;;IAC5B,IAAI,cAAc,GAAuC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC;IACpH,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO;YACL,IAAI;YACJ,aAAa;YACb,QAAQ,EAAE,SAAS,CAAC,cAAc,CAAa;SAChD,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,cAAc,IAAI,CAAC,CAAA,eAAe,aAAf,eAAe,uBAAf,eA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EAAE,CAAC;YACpC,MAAM,IAAI,KAAK,CAAC,6BAA6B,SAAS,MAAM,KAAK,EAAE,CAAC,CAAC;QACvE,CAAC;QACD,YAAY,GAAG,EAAE,CAAC;IACpB,CAAC;IAED,YAAY,GAAG,MAAM,gBAAgB,CAAC,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;IAE7F,OAAO,YAAY,CAAC;AACtB,CAAC,CAAA,CAAC;AAzCW,QAAA,yBAAyB,6BAyCpC"}
@@ -1,5 +1,5 @@
1
- import { IExecuteVariableEstructureOptions, IPipelinesMap } from './executeVariablesCondition';
1
+ import { ICustomPipelineMap, IExecuteVariableEstructureOptions } from './executeVariablesCondition';
2
2
  export interface IReplaceVariablesOptions extends IExecuteVariableEstructureOptions {
3
3
  enabledAutoStringCommas?: boolean;
4
4
  }
5
- export declare const replaceAllVariables: (text: string, data: any, customPipelines?: IPipelinesMap, Options?: IReplaceVariablesOptions) => Promise<string>;
5
+ export declare const replaceAllVariables: (text: string, data: any, customPipelines?: ICustomPipelineMap[], Options?: IReplaceVariablesOptions) => Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"replaceAllVariables.js","sourceRoot":"","sources":["../../src/custom-variable-resolvers/replaceAllVariables.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAuC;AACvC,qEAAkE;AAClE,2EAIqC;AAMrC,MAAM,YAAY,GAAG,CAAC,OAAiC,EAAE,EAAE;IACzD,MAAM,OAAO,mBACX,iBAAiB,EAAE,IAAI,EACvB,uBAAuB,EAAE,IAAI,EAC7B,uBAAuB,EAAE,IAAI,IAC1B,OAAO,CACX,CAAC;IACF,MAAM,gCAAgC,GAAsC;QAC1E,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;QAC5C,uBAAuB,EAAE,OAAO,CAAC,uBAAuB;KACzD,CAAC;IAEF,OAAO;QACL,OAAO;QACP,gCAAgC;KACjC,CAAC;AACJ,CAAC,CAAC;AAEK,MAAM,mBAAm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ared-tools",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Pegasi shared tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../src/constants/model-variables/appointment.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,gBAAgB;IAC3B,eAAe,EAAE,0BAA0B;IAC3C,OAAO,EAAE,0BAA0B;IACnC,IAAI,EAAE,kBAAkB;IACxB,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,aAAa;IACtB,aAAa,EAAE,uBAAuB;IACtC,IAAI,EAAE,SAAS;IACf,eAAe,EAAE,uBAAuB;IACxC,gBAAgB,EAAE,kBAAkB;IACpC,MAAM,EAAE;QACN,UAAU,EAAE,mBAAmB;QAC/B,kBAAkB,EAAE,wBAAwB;QAC5C,eAAe,EAAE,sBAAsB;QACvC,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,2BAA2B;KAClC;IACD,MAAM,EAAE,eAAe;IACvB,SAAS,EAAE,mBAAmB;IAC9B,UAAU,EAAE,mBAAmB;IAC/B,QAAQ,EAAE,2BAA2B;IACrC,YAAY,EAAE,mBAAmB;IACjC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE;QACP,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,yBAAyB;KACvC;IACD,YAAY,EAAE;QACZ,YAAY,EAAE,kCAAkC;QAChD,QAAQ,EAAE,8BAA8B;KACzC;IACD,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,cAAc;IAC7B,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,mBAAmB;CACrC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"appointmentRequest.js","sourceRoot":"","sources":["../../../src/constants/model-variables/appointmentRequest.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,eAAe,EAAE,0BAA0B;IAC3C,IAAI,EAAE,+BAA+B;IACrC,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,0BAA0B;IACnC,QAAQ,EAAE,2BAA2B;IACrC,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,eAAe;IACvB,eAAe,EAAE,uBAAuB;IACxC,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,mBAAmB;IAC/B,MAAM,EAAE;QACN,UAAU,EAAE,wBAAwB;QACpC,kBAAkB,EAAE,wBAAwB;QAC5C,eAAe,EAAE,sBAAsB;QACvC,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,2BAA2B;QACjC,QAAQ,EAAE,wBAAwB;QAClC,iBAAiB,EAAE,uBAAuB;KAC3C;IACD,WAAW,EAAE,mBAAmB;IAChC,aAAa,EAAE,wBAAwB;IACvC,wBAAwB,EAAE,qCAAqC;IAC/D,UAAU,EAAE,cAAc;IAC1B,qBAAqB,EAAE,wBAAwB;IAC/C,cAAc,EAAE,yBAAyB;IACzC,iBAAiB,EAAE,uBAAuB;IAC1C,oBAAoB,EAAE,yBAAyB;IAC/C,SAAS,EAAE,4BAA4B;IACvC,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,SAAS;CAChB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"location.js","sourceRoot":"","sources":["../../../src/constants/model-variables/location.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,oBAAoB,EAAE,mDAAmD;IACzE,MAAM,EAAE,sBAAsB;IAC9B,MAAM,EAAE,wBAAwB;IAChC,iBAAiB,EAAE,yBAAyB;IAC5C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,KAAK,EAAE,uBAAuB;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,YAAY,EAAE,mBAAmB;IACjC,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,0BAA0B;IACnC,YAAY,EAAE,0BAA0B;IACxC,QAAQ,EAAE;QACR,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB;IACD,WAAW,EAAE,6BAA6B;IAC1C,gBAAgB,EAAE,0BAA0B;IAC5C,sBAAsB,EAAE,+BAA+B;IACvD,iBAAiB,EAAE,6BAA6B;IAChD,aAAa,EAAE,yBAAyB;IACxC,MAAM,EAAE,eAAe;IACvB,UAAU,EAAE,mBAAmB;CAChC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scheduledProcedure.js","sourceRoot":"","sources":["../../../src/constants/model-variables/scheduledProcedure.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,eAAe,EAAE,0BAA0B;IAC3C,IAAI,EAAE,yBAAyB;IAC/B,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,aAAa;IACtB,QAAQ,EAAE,6BAA6B;IACvC,OAAO,EAAE,0BAA0B;IACnC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE;QACN,UAAU,EAAE,0BAA0B;QACtC,kBAAkB,EAAE,wBAAwB;QAC5C,eAAe,EAAE,sBAAsB;QACvC,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,2BAA2B;KAClC;IACD,YAAY,EAAE,iCAAiC;IAC/C,MAAM,EAAE,eAAe;IACvB,UAAU,EAAE,mBAAmB;IAC/B,SAAS,EAAE,mBAAmB;CAC/B,CAAC"}