@pegasimed.com/shared-tools 1.0.67 → 1.0.69

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.
@@ -1,10 +1,13 @@
1
1
  export declare const CARE_PLAN_ACTIVITY_KIND: {
2
+ patient: string;
2
3
  procedure: string;
4
+ reception: string;
3
5
  examOrders: string;
4
6
  appointment: string;
5
7
  medicalBoard: string;
6
8
  notification: string;
7
9
  questionnaire: string;
10
+ casePreparation: string;
8
11
  diagnosticReport: string;
9
12
  medicalTreatment: string;
10
13
  clinicalProcedure: string;
@@ -2,12 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CARE_PLAN_ACTIVITY_KIND = void 0;
4
4
  exports.CARE_PLAN_ACTIVITY_KIND = {
5
+ patient: 'patient',
5
6
  procedure: 'procedure',
7
+ reception: 'reception',
6
8
  examOrders: 'examOrders',
7
9
  appointment: 'appointment',
8
10
  medicalBoard: 'medicalBoard',
9
11
  notification: 'notification',
10
12
  questionnaire: 'questionnaire',
13
+ casePreparation: 'casePreparation',
11
14
  diagnosticReport: 'diagnosticReport',
12
15
  medicalTreatment: 'medicalTreatment',
13
16
  clinicalProcedure: 'clinicalProcedure',
@@ -1 +1 @@
1
- {"version":3,"file":"carePlanActivityKind.js","sourceRoot":"","sources":["../../src/constants/carePlanActivityKind.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;CACvC,CAAC"}
1
+ {"version":3,"file":"carePlanActivityKind.js","sourceRoot":"","sources":["../../src/constants/carePlanActivityKind.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;CACvC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const createExamOrderNumber: () => string;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.createExamOrderNumber = void 0;
7
+ const moment_1 = __importDefault(require("moment"));
8
+ const createExamOrderNumber = () => `${(0, moment_1.default)(new Date()).format('YYYYMMDDHHmmss')}${Math.trunc(Math.random() * 9999)}`;
9
+ exports.createExamOrderNumber = createExamOrderNumber;
10
+ //# sourceMappingURL=createExamOrderNumber.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createExamOrderNumber.js","sourceRoot":"","sources":["../../src/utils/createExamOrderNumber.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAErB,MAAM,qBAAqB,GAAG,GAAW,EAAE,CAChD,GAAG,IAAA,gBAAM,EAAC,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;AADzE,QAAA,qBAAqB,yBACoD"}
@@ -1,4 +1,5 @@
1
1
  export * from './documents';
2
+ export * from './createExamOrderNumber';
2
3
  export * from './date';
3
4
  export * from './functionOperations';
4
5
  export * from './getAllJsonKeyAndValues';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./documents"), exports);
18
+ __exportStar(require("./createExamOrderNumber"), exports);
18
19
  __exportStar(require("./date"), exports);
19
20
  __exportStar(require("./functionOperations"), exports);
20
21
  __exportStar(require("./getAllJsonKeyAndValues"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,yCAAuB;AACvB,uDAAqC;AACrC,2DAAyC;AACzC,mDAAiC;AACjC,wDAAsC;AACtC,qDAAmC;AACnC,iEAA+C;AAC/C,wDAAsC;AACtC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0DAAwC;AACxC,yCAAuB;AACvB,uDAAqC;AACrC,2DAAyC;AACzC,mDAAiC;AACjC,wDAAsC;AACtC,qDAAmC;AACnC,iEAA+C;AAC/C,wDAAsC;AACtC,yDAAuC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pegasimed.com/shared-tools",
3
- "version": "1.0.67",
3
+ "version": "1.0.69",
4
4
  "description": "Pegasi shared tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",