@more-life/types-more-life-react 0.72.0 → 0.74.0

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 (44) hide show
  1. package/dist/dto/application/applicationEmbedded.dto.d.ts +3 -1
  2. package/dist/dto/application/applicationEmbedded.dto.js +8 -0
  3. package/dist/dto/application/applicationEmbedded.dto.js.map +1 -1
  4. package/dist/dto/geridocDiagnosis/geridocDiagnosis.dto.d.ts +16 -0
  5. package/dist/dto/geridocDiagnosis/geridocDiagnosis.dto.js +58 -0
  6. package/dist/dto/geridocDiagnosis/geridocDiagnosis.dto.js.map +1 -0
  7. package/dist/dto/geridocDiagnosis/geridocDiagnosisEmbedded.dto.d.ts +4 -0
  8. package/dist/dto/geridocDiagnosis/geridocDiagnosisEmbedded.dto.js +27 -0
  9. package/dist/dto/geridocDiagnosis/geridocDiagnosisEmbedded.dto.js.map +1 -0
  10. package/dist/dto/geridocDiagnosis/geridocDiagnosisPage.dto.d.ts +12 -0
  11. package/dist/dto/geridocDiagnosis/geridocDiagnosisPage.dto.js +55 -0
  12. package/dist/dto/geridocDiagnosis/geridocDiagnosisPage.dto.js.map +1 -0
  13. package/dist/dto/geridocMedication/geridocMedication.dto.d.ts +15 -0
  14. package/dist/dto/geridocMedication/geridocMedication.dto.js +52 -0
  15. package/dist/dto/geridocMedication/geridocMedication.dto.js.map +1 -0
  16. package/dist/dto/geridocMedication/geridocMedicationEmbedded.dto.d.ts +4 -0
  17. package/dist/dto/geridocMedication/geridocMedicationEmbedded.dto.js +28 -0
  18. package/dist/dto/geridocMedication/geridocMedicationEmbedded.dto.js.map +1 -0
  19. package/dist/dto/geridocMedication/geridocMedicationPage.dto.d.ts +12 -0
  20. package/dist/dto/geridocMedication/geridocMedicationPage.dto.js +55 -0
  21. package/dist/dto/geridocMedication/geridocMedicationPage.dto.js.map +1 -0
  22. package/dist/dto/geridocPatient/geridocPatient.dto.d.ts +14 -0
  23. package/dist/dto/geridocPatient/geridocPatient.dto.js +46 -0
  24. package/dist/dto/geridocPatient/geridocPatient.dto.js.map +1 -0
  25. package/dist/dto/geridocPatient/geridocPatientEmbedded.dto.d.ts +10 -0
  26. package/dist/dto/geridocPatient/geridocPatientEmbedded.dto.js +63 -0
  27. package/dist/dto/geridocPatient/geridocPatientEmbedded.dto.js.map +1 -0
  28. package/dist/dto/geridocPatient/geridocPatientPage.dto.d.ts +12 -0
  29. package/dist/dto/geridocPatient/geridocPatientPage.dto.js +55 -0
  30. package/dist/dto/geridocPatient/geridocPatientPage.dto.js.map +1 -0
  31. package/dist/dto/geridocTherapyGoal/geridocTherapyGoal.dto.d.ts +14 -0
  32. package/dist/dto/geridocTherapyGoal/geridocTherapyGoal.dto.js +46 -0
  33. package/dist/dto/geridocTherapyGoal/geridocTherapyGoal.dto.js.map +1 -0
  34. package/dist/dto/geridocTherapyGoal/geridocTherapyGoalEmbedded.dto.d.ts +4 -0
  35. package/dist/dto/geridocTherapyGoal/geridocTherapyGoalEmbedded.dto.js +27 -0
  36. package/dist/dto/geridocTherapyGoal/geridocTherapyGoalEmbedded.dto.js.map +1 -0
  37. package/dist/dto/geridocTherapyGoal/geridocTherapyGoalPage.dto.d.ts +12 -0
  38. package/dist/dto/geridocTherapyGoal/geridocTherapyGoalPage.dto.js +55 -0
  39. package/dist/dto/geridocTherapyGoal/geridocTherapyGoalPage.dto.js.map +1 -0
  40. package/dist/index.d.ts +13 -1
  41. package/dist/index.js +27 -3
  42. package/dist/index.js.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/package.json +1 -1
@@ -5,7 +5,8 @@ import { ExtensionDto } from '../extension/extension.dto';
5
5
  import { ApplicationCalculatedDto } from './applicationCalculated.dto';
6
6
  import { ApplicationInsuranceDto } from '../applicationInsurance/applicationInsurance.dto';
7
7
  import { CareFacilityDto } from '../careFacility/careFacility.dto';
8
- import { TherapySummaryDto } from "../therapySummary/therapySummary.dto";
8
+ import { TherapySummaryDto } from '../therapySummary/therapySummary.dto';
9
+ import { GeridocPatientDto } from '../geridocPatient/geridocPatient.dto';
9
10
  export declare class ApplicationEmbeddedDto {
10
11
  patientInfo?: PatientInfoDto;
11
12
  extensions?: ExtensionDto[];
@@ -15,6 +16,7 @@ export declare class ApplicationEmbeddedDto {
15
16
  applicationInsurances?: ApplicationInsuranceDto[];
16
17
  calculated?: ApplicationCalculatedDto;
17
18
  therapySummary?: TherapySummaryDto;
19
+ geridocPatient?: GeridocPatientDto;
18
20
  createdBy?: UserDto;
19
21
  updatedBy?: UserDto;
20
22
  }
@@ -21,6 +21,7 @@ const applicationCalculated_dto_1 = require("./applicationCalculated.dto");
21
21
  const applicationInsurance_dto_1 = require("../applicationInsurance/applicationInsurance.dto");
22
22
  const careFacility_dto_1 = require("../careFacility/careFacility.dto");
23
23
  const therapySummary_dto_1 = require("../therapySummary/therapySummary.dto");
24
+ const geridocPatient_dto_1 = require("../geridocPatient/geridocPatient.dto");
24
25
  class ApplicationEmbeddedDto {
25
26
  }
26
27
  __decorate([
@@ -83,6 +84,13 @@ __decorate([
83
84
  (0, class_transformer_1.Expose)(),
84
85
  __metadata("design:type", therapySummary_dto_1.TherapySummaryDto)
85
86
  ], ApplicationEmbeddedDto.prototype, "therapySummary", void 0);
87
+ __decorate([
88
+ (0, nestjs_1.ApiProperty)({ type: () => geridocPatient_dto_1.GeridocPatientDto, required: false }),
89
+ (0, class_transformer_1.Type)(() => geridocPatient_dto_1.GeridocPatientDto),
90
+ (0, class_validator_1.IsOptional)(),
91
+ (0, class_transformer_1.Expose)(),
92
+ __metadata("design:type", geridocPatient_dto_1.GeridocPatientDto)
93
+ ], ApplicationEmbeddedDto.prototype, "geridocPatient", void 0);
86
94
  __decorate([
87
95
  (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
88
96
  (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
@@ -1 +1 @@
1
- {"version":3,"file":"applicationEmbedded.dto.js","sourceRoot":"","sources":["../../../src/d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IACZ,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;8DAAC;AAEnC;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AAEpB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AArErB,wDAsEC"}
@@ -0,0 +1,16 @@
1
+ import { GeridocDiagnosisEmbeddedDto } from './geridocDiagnosisEmbedded.dto';
2
+ declare const GeridocDiagnosisDto_base: new () => {
3
+ createdAt: string;
4
+ updatedAt: string;
5
+ _embedded?: GeridocDiagnosisEmbeddedDto;
6
+ };
7
+ export declare class GeridocDiagnosisDto extends GeridocDiagnosisDto_base {
8
+ id: string;
9
+ geridocPatientId: string;
10
+ diagnosisCode: string;
11
+ description: string;
12
+ diagnosisType: string;
13
+ static fromPlain(object: any): GeridocDiagnosisDto;
14
+ static fromEntity(entity: any): GeridocDiagnosisDto;
15
+ }
16
+ export {};
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GeridocDiagnosisDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
16
+ const base_dto_1 = require("../generic/base.dto");
17
+ const geridocDiagnosisEmbedded_dto_1 = require("./geridocDiagnosisEmbedded.dto");
18
+ const class_validator_1 = require("class-validator");
19
+ class GeridocDiagnosisDto extends (0, base_dto_1.BaseDto)(geridocDiagnosisEmbedded_dto_1.GeridocDiagnosisEmbeddedDto) {
20
+ static fromPlain(object) {
21
+ return (0, convertAndValidate_1.convertAndValidate)(GeridocDiagnosisDto, object);
22
+ }
23
+ static fromEntity(entity) {
24
+ return (0, convertAndValidate_1.convert)(GeridocDiagnosisDto, entity);
25
+ }
26
+ }
27
+ __decorate([
28
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
29
+ (0, class_validator_1.IsUUID)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], GeridocDiagnosisDto.prototype, "id", void 0);
33
+ __decorate([
34
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
35
+ (0, class_validator_1.IsUUID)(),
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
38
+ ], GeridocDiagnosisDto.prototype, "geridocPatientId", void 0);
39
+ __decorate([
40
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
41
+ (0, class_validator_1.IsString)(),
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", String)
44
+ ], GeridocDiagnosisDto.prototype, "diagnosisCode", void 0);
45
+ __decorate([
46
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
47
+ (0, class_validator_1.IsString)(),
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", String)
50
+ ], GeridocDiagnosisDto.prototype, "description", void 0);
51
+ __decorate([
52
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
53
+ (0, class_validator_1.IsString)(),
54
+ (0, class_transformer_1.Expose)(),
55
+ __metadata("design:type", String)
56
+ ], GeridocDiagnosisDto.prototype, "diagnosisType", void 0);
57
+ exports.GeridocDiagnosisDto = GeridocDiagnosisDto;
58
+ //# sourceMappingURL=geridocDiagnosis.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocDiagnosis.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocDiagnosis/geridocDiagnosis.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAC3C,sEAA4E;AAC5E,kDAA8C;AAC9C,iFAA6E;AAC7E,qDAAmD;AAEnD,MAAa,mBAAoB,SAAQ,IAAA,kBAAO,EAAC,0DAA2B,CAAC;IA0BrE,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;CACD;AAhCA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;+CACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;6DACiB;AAE1B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;0DACc;AAEvB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;wDACY;AAErB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;0DACc;AAxBxB,kDAiCC"}
@@ -0,0 +1,4 @@
1
+ import { GeridocPatientDto } from '../geridocPatient/geridocPatient.dto';
2
+ export declare class GeridocDiagnosisEmbeddedDto {
3
+ geridocPatient?: GeridocPatientDto;
4
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GeridocDiagnosisEmbeddedDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const class_validator_1 = require("class-validator");
16
+ const geridocPatient_dto_1 = require("../geridocPatient/geridocPatient.dto");
17
+ class GeridocDiagnosisEmbeddedDto {
18
+ }
19
+ __decorate([
20
+ (0, nestjs_1.ApiProperty)({ type: () => geridocPatient_dto_1.GeridocPatientDto, required: false }),
21
+ (0, class_validator_1.IsOptional)(),
22
+ (0, class_transformer_1.Type)(() => geridocPatient_dto_1.GeridocPatientDto),
23
+ (0, class_transformer_1.Expose)(),
24
+ __metadata("design:type", geridocPatient_dto_1.GeridocPatientDto)
25
+ ], GeridocDiagnosisEmbeddedDto.prototype, "geridocPatient", void 0);
26
+ exports.GeridocDiagnosisEmbeddedDto = GeridocDiagnosisEmbeddedDto;
27
+ //# sourceMappingURL=geridocDiagnosisEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocDiagnosisEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocDiagnosis/geridocDiagnosisEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAC3C,qDAA6C;AAC7C,6EAAyE;AAEzE,MAAa,2BAA2B;CAMvC;AALA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sCAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/D,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;mEAAC;AALpC,kEAMC"}
@@ -0,0 +1,12 @@
1
+ import { PageDto } from '../generic/page.dto';
2
+ import { PageInfoDto } from '../generic/pageInfo.dto';
3
+ import { GeridocDiagnosisDto } from './geridocDiagnosis.dto';
4
+ declare class EmbeddedGeridocDiagnoses {
5
+ geridocDiagnoses?: GeridocDiagnosisDto[];
6
+ }
7
+ export declare class GeridocDiagnosisPageDto extends PageDto {
8
+ _embedded: EmbeddedGeridocDiagnoses;
9
+ static fromPlain(object: any): GeridocDiagnosisPageDto;
10
+ static fromEntityList(geridocDiagnoses: any[], _page: PageInfoDto): unknown;
11
+ }
12
+ export {};
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GeridocDiagnosisPageDto = void 0;
16
+ const page_dto_1 = require("../generic/page.dto");
17
+ const class_transformer_1 = require("class-transformer");
18
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
19
+ const transformEmbedded_1 = __importDefault(require("../../util/transformEmbedded"));
20
+ const nestjs_1 = require("../../nestjs");
21
+ const class_validator_1 = require("class-validator");
22
+ const geridocDiagnosis_dto_1 = require("./geridocDiagnosis.dto");
23
+ class EmbeddedGeridocDiagnoses {
24
+ }
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({
27
+ isArray: true,
28
+ type: () => geridocDiagnosis_dto_1.GeridocDiagnosisDto,
29
+ required: false,
30
+ }),
31
+ (0, class_transformer_1.Type)(() => geridocDiagnosis_dto_1.GeridocDiagnosisDto),
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", Array)
35
+ ], EmbeddedGeridocDiagnoses.prototype, "geridocDiagnoses", void 0);
36
+ class GeridocDiagnosisPageDto extends page_dto_1.PageDto {
37
+ static fromPlain(object) {
38
+ return (0, convertAndValidate_1.convertAndValidate)(GeridocDiagnosisPageDto, object);
39
+ }
40
+ static fromEntityList(geridocDiagnoses, _page) {
41
+ return (0, convertAndValidate_1.convert)(GeridocDiagnosisPageDto, {
42
+ geridocDiagnoses,
43
+ _page,
44
+ });
45
+ }
46
+ }
47
+ __decorate([
48
+ (0, nestjs_1.ApiProperty)({ type: () => EmbeddedGeridocDiagnoses, required: true }),
49
+ (0, class_transformer_1.Type)(() => EmbeddedGeridocDiagnoses),
50
+ (0, transformEmbedded_1.default)(EmbeddedGeridocDiagnoses),
51
+ (0, class_transformer_1.Expose)(),
52
+ __metadata("design:type", EmbeddedGeridocDiagnoses)
53
+ ], GeridocDiagnosisPageDto.prototype, "_embedded", void 0);
54
+ exports.GeridocDiagnosisPageDto = GeridocDiagnosisPageDto;
55
+ //# sourceMappingURL=geridocDiagnosisPage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocDiagnosisPage.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocDiagnosis/geridocDiagnosisPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAAiD;AAEjD,sEAA4E;AAC5E,qFAA6D;AAC7D,yCAA2C;AAC3C,qDAA6C;AAC7C,iEAA6D;AAE7D,MAAM,wBAAwB;CAU7B;AATA;IAAC,IAAA,oBAAW,EAAC;QACZ,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,GAAG,EAAE,CAAC,0CAAmB;QAC/B,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0CAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;kEACgC;AAG1C,MAAa,uBAAwB,SAAQ,kBAAO;IAO5C,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;IAC5D,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,gBAAuB,EAAE,KAAkB;QACvE,OAAO,IAAA,4BAAO,EAAC,uBAAuB,EAAE;YACvC,gBAAgB;YAChB,KAAK;SACL,CAAC,CAAC;IACJ,CAAC;CACD;AAhBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC;IACpC,IAAA,2BAAiB,EAAC,wBAAwB,CAAC;IAC3C,IAAA,0BAAM,GAAE;8BACG,wBAAwB;0DAAC;AALtC,0DAiBC"}
@@ -0,0 +1,15 @@
1
+ import { GeridocMedicationEmbeddedDto } from './geridocMedicationEmbedded.dto';
2
+ declare const GeridocMedicationDto_base: new () => {
3
+ createdAt: string;
4
+ updatedAt: string;
5
+ _embedded?: GeridocMedicationEmbeddedDto;
6
+ };
7
+ export declare class GeridocMedicationDto extends GeridocMedicationDto_base {
8
+ id: string;
9
+ geridocPatientId: string;
10
+ name: string;
11
+ dosage: string;
12
+ static fromPlain(object: any): GeridocMedicationDto;
13
+ static fromEntity(entity: any): GeridocMedicationDto;
14
+ }
15
+ export {};
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GeridocMedicationDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
16
+ const base_dto_1 = require("../generic/base.dto");
17
+ const geridocMedicationEmbedded_dto_1 = require("./geridocMedicationEmbedded.dto");
18
+ const class_validator_1 = require("class-validator");
19
+ class GeridocMedicationDto extends (0, base_dto_1.BaseDto)(geridocMedicationEmbedded_dto_1.GeridocMedicationEmbeddedDto) {
20
+ static fromPlain(object) {
21
+ return (0, convertAndValidate_1.convertAndValidate)(GeridocMedicationDto, object);
22
+ }
23
+ static fromEntity(entity) {
24
+ return (0, convertAndValidate_1.convert)(GeridocMedicationDto, entity);
25
+ }
26
+ }
27
+ __decorate([
28
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
29
+ (0, class_validator_1.IsUUID)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], GeridocMedicationDto.prototype, "id", void 0);
33
+ __decorate([
34
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
35
+ (0, class_validator_1.IsUUID)(),
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
38
+ ], GeridocMedicationDto.prototype, "geridocPatientId", void 0);
39
+ __decorate([
40
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
41
+ (0, class_validator_1.IsString)(),
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", String)
44
+ ], GeridocMedicationDto.prototype, "name", void 0);
45
+ __decorate([
46
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
47
+ (0, class_validator_1.IsString)(),
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", String)
50
+ ], GeridocMedicationDto.prototype, "dosage", void 0);
51
+ exports.GeridocMedicationDto = GeridocMedicationDto;
52
+ //# sourceMappingURL=geridocMedication.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocMedication.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocMedication/geridocMedication.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAC3C,sEAA4E;AAC5E,kDAA8C;AAC9C,mFAA+E;AAC/E,qDAAmD;AAEnD,MAAa,oBAAqB,SAAQ,IAAA,kBAAO,EAChD,4DAA4B,CAC5B;IAqBO,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACzD,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;CACD;AA3BA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;gDACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;8DACiB;AAE1B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;kDACK;AAEd;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;oDACO;AArBjB,oDA8BC"}
@@ -0,0 +1,4 @@
1
+ import { GeridocPatientDto } from '../geridocPatient/geridocPatient.dto';
2
+ export declare class GeridocMedicationEmbeddedDto {
3
+ geridocPatient?: GeridocPatientDto;
4
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GeridocMedicationEmbeddedDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const class_validator_1 = require("class-validator");
16
+ const geridocPatient_dto_1 = require("../geridocPatient/geridocPatient.dto");
17
+ const class_transformer_2 = require("class-transformer");
18
+ class GeridocMedicationEmbeddedDto {
19
+ }
20
+ __decorate([
21
+ (0, nestjs_1.ApiProperty)({ type: () => geridocPatient_dto_1.GeridocPatientDto, required: false }),
22
+ (0, class_validator_1.IsOptional)(),
23
+ (0, class_transformer_2.Type)(() => geridocPatient_dto_1.GeridocPatientDto),
24
+ (0, class_transformer_1.Expose)(),
25
+ __metadata("design:type", geridocPatient_dto_1.GeridocPatientDto)
26
+ ], GeridocMedicationEmbeddedDto.prototype, "geridocPatient", void 0);
27
+ exports.GeridocMedicationEmbeddedDto = GeridocMedicationEmbeddedDto;
28
+ //# sourceMappingURL=geridocMedicationEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocMedicationEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocMedication/geridocMedicationEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAC3C,qDAA6C;AAC7C,6EAAyE;AACzE,yDAAyC;AAEzC,MAAa,4BAA4B;CAMxC;AALA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sCAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/D,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,0BAAM,GAAE;8BACQ,sCAAiB;oEAAC;AALpC,oEAMC"}
@@ -0,0 +1,12 @@
1
+ import { PageDto } from '../generic/page.dto';
2
+ import { PageInfoDto } from '../generic/pageInfo.dto';
3
+ import { GeridocMedicationDto } from './geridocMedication.dto';
4
+ declare class EmbeddedGeridocMedications {
5
+ geridocMedications?: GeridocMedicationDto[];
6
+ }
7
+ export declare class GeridocMedicationPageDto extends PageDto {
8
+ _embedded: EmbeddedGeridocMedications;
9
+ static fromPlain(object: any): GeridocMedicationPageDto;
10
+ static fromEntityList(geridocMedications: any[], _page: PageInfoDto): unknown;
11
+ }
12
+ export {};
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GeridocMedicationPageDto = void 0;
16
+ const page_dto_1 = require("../generic/page.dto");
17
+ const class_transformer_1 = require("class-transformer");
18
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
19
+ const transformEmbedded_1 = __importDefault(require("../../util/transformEmbedded"));
20
+ const nestjs_1 = require("../../nestjs");
21
+ const class_validator_1 = require("class-validator");
22
+ const geridocMedication_dto_1 = require("./geridocMedication.dto");
23
+ class EmbeddedGeridocMedications {
24
+ }
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({
27
+ isArray: true,
28
+ type: () => geridocMedication_dto_1.GeridocMedicationDto,
29
+ required: false,
30
+ }),
31
+ (0, class_transformer_1.Type)(() => geridocMedication_dto_1.GeridocMedicationDto),
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", Array)
35
+ ], EmbeddedGeridocMedications.prototype, "geridocMedications", void 0);
36
+ class GeridocMedicationPageDto extends page_dto_1.PageDto {
37
+ static fromPlain(object) {
38
+ return (0, convertAndValidate_1.convertAndValidate)(GeridocMedicationPageDto, object);
39
+ }
40
+ static fromEntityList(geridocMedications, _page) {
41
+ return (0, convertAndValidate_1.convert)(GeridocMedicationPageDto, {
42
+ geridocMedications,
43
+ _page,
44
+ });
45
+ }
46
+ }
47
+ __decorate([
48
+ (0, nestjs_1.ApiProperty)({ type: () => EmbeddedGeridocMedications, required: true }),
49
+ (0, class_transformer_1.Type)(() => EmbeddedGeridocMedications),
50
+ (0, transformEmbedded_1.default)(EmbeddedGeridocMedications),
51
+ (0, class_transformer_1.Expose)(),
52
+ __metadata("design:type", EmbeddedGeridocMedications)
53
+ ], GeridocMedicationPageDto.prototype, "_embedded", void 0);
54
+ exports.GeridocMedicationPageDto = GeridocMedicationPageDto;
55
+ //# sourceMappingURL=geridocMedicationPage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocMedicationPage.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocMedication/geridocMedicationPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAAiD;AAEjD,sEAA4E;AAC5E,qFAA6D;AAC7D,yCAA2C;AAC3C,qDAA6C;AAC7C,mEAA+D;AAE/D,MAAM,0BAA0B;CAU/B;AATA;IAAC,IAAA,oBAAW,EAAC;QACZ,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,GAAG,EAAE,CAAC,4CAAoB;QAChC,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAoB,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;sEACmC;AAG7C,MAAa,wBAAyB,SAAQ,kBAAO;IAO7C,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,kBAAyB,EAAE,KAAkB;QACzE,OAAO,IAAA,4BAAO,EAAC,wBAAwB,EAAE;YACxC,kBAAkB;YAClB,KAAK;SACL,CAAC,CAAC;IACJ,CAAC;CACD;AAhBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,0BAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC;IACtC,IAAA,2BAAiB,EAAC,0BAA0B,CAAC;IAC7C,IAAA,0BAAM,GAAE;8BACG,0BAA0B;2DAAC;AALxC,4DAiBC"}
@@ -0,0 +1,14 @@
1
+ import { GeridocPatientEmbeddedDto } from './geridocPatientEmbedded.dto';
2
+ declare const GeridocPatientDto_base: new () => {
3
+ createdAt: string;
4
+ updatedAt: string;
5
+ _embedded?: GeridocPatientEmbeddedDto;
6
+ };
7
+ export declare class GeridocPatientDto extends GeridocPatientDto_base {
8
+ id: string;
9
+ geridocCaseNumber: string;
10
+ applicationId: string;
11
+ static fromPlain(object: any): GeridocPatientDto;
12
+ static fromEntity(entity: any): GeridocPatientDto;
13
+ }
14
+ export {};
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GeridocPatientDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
16
+ const base_dto_1 = require("../generic/base.dto");
17
+ const geridocPatientEmbedded_dto_1 = require("./geridocPatientEmbedded.dto");
18
+ const class_validator_1 = require("class-validator");
19
+ class GeridocPatientDto extends (0, base_dto_1.BaseDto)(geridocPatientEmbedded_dto_1.GeridocPatientEmbeddedDto) {
20
+ static fromPlain(object) {
21
+ return (0, convertAndValidate_1.convertAndValidate)(GeridocPatientDto, object);
22
+ }
23
+ static fromEntity(entity) {
24
+ return (0, convertAndValidate_1.convert)(GeridocPatientDto, entity);
25
+ }
26
+ }
27
+ __decorate([
28
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
29
+ (0, class_validator_1.IsUUID)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], GeridocPatientDto.prototype, "id", void 0);
33
+ __decorate([
34
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
38
+ ], GeridocPatientDto.prototype, "geridocCaseNumber", void 0);
39
+ __decorate([
40
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
41
+ (0, class_validator_1.IsUUID)(),
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", String)
44
+ ], GeridocPatientDto.prototype, "applicationId", void 0);
45
+ exports.GeridocPatientDto = GeridocPatientDto;
46
+ //# sourceMappingURL=geridocPatient.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocPatient.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocPatient/geridocPatient.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAC3C,sEAA4E;AAC5E,kDAA8C;AAC9C,6EAAyE;AACzE,qDAAmD;AAEnD,MAAa,iBAAkB,SAAQ,IAAA,kBAAO,EAAC,sDAAyB,CAAC;IAgBjE,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IACtD,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;CACD;AAtBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;6CACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;4DACkB;AAE3B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;wDACc;AAdxB,8CAuBC"}
@@ -0,0 +1,10 @@
1
+ import { ApplicationDto } from '../application/application.dto';
2
+ import { GeridocTherapyGoalDto } from '../geridocTherapyGoal/geridocTherapyGoal.dto';
3
+ import { GeridocDiagnosisDto } from '../geridocDiagnosis/geridocDiagnosis.dto';
4
+ import { GeridocMedicationDto } from '../geridocMedication/geridocMedication.dto';
5
+ export declare class GeridocPatientEmbeddedDto {
6
+ application?: ApplicationDto;
7
+ therapyGoals?: GeridocTherapyGoalDto[];
8
+ diagnosis?: GeridocDiagnosisDto[];
9
+ medications?: GeridocMedicationDto[];
10
+ }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GeridocPatientEmbeddedDto = void 0;
13
+ const nestjs_1 = require("../../nestjs");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const class_validator_1 = require("class-validator");
16
+ const application_dto_1 = require("../application/application.dto");
17
+ const geridocTherapyGoal_dto_1 = require("../geridocTherapyGoal/geridocTherapyGoal.dto");
18
+ const geridocDiagnosis_dto_1 = require("../geridocDiagnosis/geridocDiagnosis.dto");
19
+ const geridocMedication_dto_1 = require("../geridocMedication/geridocMedication.dto");
20
+ class GeridocPatientEmbeddedDto {
21
+ }
22
+ __decorate([
23
+ (0, nestjs_1.ApiProperty)({ type: () => application_dto_1.ApplicationDto, required: false }),
24
+ (0, class_validator_1.IsOptional)(),
25
+ (0, class_transformer_1.Type)(() => application_dto_1.ApplicationDto),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", application_dto_1.ApplicationDto)
28
+ ], GeridocPatientEmbeddedDto.prototype, "application", void 0);
29
+ __decorate([
30
+ (0, nestjs_1.ApiProperty)({
31
+ type: () => geridocTherapyGoal_dto_1.GeridocTherapyGoalDto,
32
+ isArray: true,
33
+ required: false,
34
+ }),
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_transformer_1.Type)(() => geridocTherapyGoal_dto_1.GeridocTherapyGoalDto),
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", Array)
39
+ ], GeridocPatientEmbeddedDto.prototype, "therapyGoals", void 0);
40
+ __decorate([
41
+ (0, nestjs_1.ApiProperty)({
42
+ type: () => geridocDiagnosis_dto_1.GeridocDiagnosisDto,
43
+ isArray: true,
44
+ required: false,
45
+ }),
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_transformer_1.Type)(() => geridocDiagnosis_dto_1.GeridocDiagnosisDto),
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", Array)
50
+ ], GeridocPatientEmbeddedDto.prototype, "diagnosis", void 0);
51
+ __decorate([
52
+ (0, nestjs_1.ApiProperty)({
53
+ type: () => geridocMedication_dto_1.GeridocMedicationDto,
54
+ isArray: true,
55
+ required: false,
56
+ }),
57
+ (0, class_validator_1.IsOptional)(),
58
+ (0, class_transformer_1.Type)(() => geridocMedication_dto_1.GeridocMedicationDto),
59
+ (0, class_transformer_1.Expose)(),
60
+ __metadata("design:type", Array)
61
+ ], GeridocPatientEmbeddedDto.prototype, "medications", void 0);
62
+ exports.GeridocPatientEmbeddedDto = GeridocPatientEmbeddedDto;
63
+ //# sourceMappingURL=geridocPatientEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geridocPatientEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/geridocPatient/geridocPatientEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC7C,oEAAgE;AAChE,yFAAqF;AACrF,mFAA+E;AAC/E,sFAAkF;AAElF,MAAa,yBAAyB;CAoCrC;AAnCA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gCAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,0BAAM,GAAE;8BACK,gCAAc;8DAAC;AAE7B;IAAC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC,8CAAqB;QACjC,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8CAAqB,CAAC;IACjC,IAAA,0BAAM,GAAE;;+DAC8B;AAEvC;IAAC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC,0CAAmB;QAC/B,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0CAAmB,CAAC;IAC/B,IAAA,0BAAM,GAAE;;4DACyB;AAElC;IAAC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC,4CAAoB;QAChC,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAoB,CAAC;IAChC,IAAA,0BAAM,GAAE;;8DAC4B;AAnCtC,8DAoCC"}
@@ -0,0 +1,12 @@
1
+ import { PageDto } from '../generic/page.dto';
2
+ import { PageInfoDto } from '../generic/pageInfo.dto';
3
+ import { GeridocPatientDto } from './geridocPatient.dto';
4
+ declare class EmbeddedGeridocPatients {
5
+ geridocPatients?: GeridocPatientDto[];
6
+ }
7
+ export declare class GeridocPatientPageDto extends PageDto {
8
+ _embedded: EmbeddedGeridocPatients;
9
+ static fromPlain(object: any): GeridocPatientPageDto;
10
+ static fromEntityList(geridocPatients: any[], _page: PageInfoDto): unknown;
11
+ }
12
+ export {};