-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.bundle.js
2239 lines (2060 loc) · 104 KB
/
main.bundle.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
webpackJsonp(["main"],{
/***/ "../../../../../src/$$_lazy_route_resource lazy recursive":
/***/ (function(module, exports) {
function webpackEmptyAsyncContext(req) {
// Here Promise.resolve().then() is used instead of new Promise() to prevent
// uncatched exception popping up in devtools
return Promise.resolve().then(function() {
throw new Error("Cannot find module '" + req + "'.");
});
}
webpackEmptyAsyncContext.keys = function() { return []; };
webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
module.exports = webpackEmptyAsyncContext;
webpackEmptyAsyncContext.id = "../../../../../src/$$_lazy_route_resource lazy recursive";
/***/ }),
/***/ "../../../../../src/app/app.component.html":
/***/ (function(module, exports) {
module.exports = "<router-outlet></router-outlet>\n"
/***/ }),
/***/ "../../../../../src/app/app.component.scss":
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
// imports
// module
exports.push([module.i, "", ""]);
// exports
/*** EXPORTS FROM exports-loader ***/
module.exports = module.exports.toString();
/***/ }),
/***/ "../../../../../src/app/app.component.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var AppComponent = (function () {
function AppComponent() {
this.title = 'app';
}
AppComponent = __decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({
selector: 'app-root',
template: __webpack_require__("../../../../../src/app/app.component.html"),
styles: [__webpack_require__("../../../../../src/app/app.component.scss")]
})
], AppComponent);
return AppComponent;
}());
/***/ }),
/***/ "../../../../../src/app/app.module.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__("../../../platform-browser/esm5/platform-browser.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_animations__ = __webpack_require__("../../../platform-browser/esm5/animations.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__("../../../forms/esm5/forms.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_primeng_primeng__ = __webpack_require__("../../../../primeng/primeng.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_primeng_primeng___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_routing__ = __webpack_require__("../../../../../src/app/app.routing.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__app_component__ = __webpack_require__("../../../../../src/app/app.component.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_home_home_component__ = __webpack_require__("../../../../../src/app/components/home/home.component.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__components_header_header_component__ = __webpack_require__("../../../../../src/app/components/header/header.component.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__components_calendar_calendar_component__ = __webpack_require__("../../../../../src/app/components/calendar/calendar.component.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__services__ = __webpack_require__("../../../../../src/app/services/index.ts");
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
// Routing
// Components
// Services
var AppModule = (function () {
function AppModule() {
}
AppModule = __decorate([
Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["NgModule"])({
declarations: [
__WEBPACK_IMPORTED_MODULE_6__app_component__["a" /* AppComponent */],
__WEBPACK_IMPORTED_MODULE_7__components_home_home_component__["a" /* HomeComponent */],
__WEBPACK_IMPORTED_MODULE_8__components_header_header_component__["a" /* HeaderComponent */],
__WEBPACK_IMPORTED_MODULE_9__components_calendar_calendar_component__["a" /* CalendarComponent */],
],
imports: [
__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["BrowserModule"],
__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */],
__WEBPACK_IMPORTED_MODULE_5__app_routing__["a" /* RoutingModule */],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["ButtonModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["InputTextModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["CalendarModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["CheckboxModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["DropdownModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["RadioButtonModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["DataTableModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["SharedModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["MessagesModule"],
__WEBPACK_IMPORTED_MODULE_4_primeng_primeng__["MessageModule"],
__WEBPACK_IMPORTED_MODULE_3__angular_forms__["FormsModule"],
],
providers: [
__WEBPACK_IMPORTED_MODULE_10__services__["e" /* PersonService */],
__WEBPACK_IMPORTED_MODULE_10__services__["a" /* CalendarService */],
__WEBPACK_IMPORTED_MODULE_10__services__["b" /* LoggingService */],
__WEBPACK_IMPORTED_MODULE_10__services__["d" /* MenuService */],
__WEBPACK_IMPORTED_MODULE_10__services__["f" /* WindowRef */],
],
bootstrap: [__WEBPACK_IMPORTED_MODULE_6__app_component__["a" /* AppComponent */]]
})
], AppModule);
return AppModule;
}());
/***/ }),
/***/ "../../../../../src/app/app.routing.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RoutingModule; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_router__ = __webpack_require__("../../../router/esm5/router.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_home_home_component__ = __webpack_require__("../../../../../src/app/components/home/home.component.ts");
// Components
// Routes
var appRoutes = [
{
path: '',
component: __WEBPACK_IMPORTED_MODULE_1__components_home_home_component__["a" /* HomeComponent */],
},
{
path: '**',
redirectTo: '',
},
];
var RoutingModule = __WEBPACK_IMPORTED_MODULE_0__angular_router__["RouterModule"].forRoot(appRoutes);
/***/ }),
/***/ "../../../../../src/app/components/calendar/calendar.component.html":
/***/ (function(module, exports) {
module.exports = "<div id=\"layout-content\">\n <div id=\"printable\" class=\"ui-g\">\n <div class=\"ui-g-12\">\n <h1>Zwangerschapskalender</h1>\n </div>\n <div class=\"ui-g-12\">\n <table class=\"header\">\n <tr>\n <td>\n <strong>Patient</strong>\n </td>\n <td>{{currentPatient}}</td>\n </tr>\n <tr>\n <td>\n <strong>Bevallingsdatum</strong>\n </td>\n <td>{{currentDeliveryDateString}}</td>\n </tr>\n <tr>\n <td>\n <strong>Schema</strong>\n </td>\n <td>{{currentSchemeName}}</td>\n </tr>\n </table>\n </div>\n <!-- Calendar -->\n <div *ngIf=\"hasCalendar\" class=\"ui-g-12\">\n <p-dataTable id=\"calendar\" [value]=\"calendar\">\n <p-column *ngFor=\"let col of cols\" [field]=\"col.field\" [header]=\"col.header\">\n <ng-template let-col let-data=\"rowData\" pTemplate type=\"default\">\n <div innerHTML=\"{{data[col.field]}}\"></div>\n </ng-template>\n </p-column>\n </p-dataTable>\n </div>\n <!-- No Calendar -->\n <div *ngIf=\"!hasCalendar\" class=\"ui-g-12\">\n <p-message severity=\"warn\" text=\"Onvoldoende gegevens om de kalender te bepalen.\"></p-message>\n </div>\n </div>\n</div>"
/***/ }),
/***/ "../../../../../src/app/components/calendar/calendar.component.scss":
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
// imports
// module
exports.push([module.i, "#layout-content {\n margin-left: 340px;\n background-color: #fff;\n padding-top: 10px;\n padding-left: 10px;\n padding-right: 10px; }\n\nh1 {\n font-size: 20px; }\n\n.header td {\n padding-top: 10px;\n padding-bottom: 10px;\n padding-right: 10px; }\n\nstrong {\n font-weight: bold; }\n\nh2 {\n font-weight: bold; }\n", ""]);
// exports
/*** EXPORTS FROM exports-loader ***/
module.exports = module.exports.toString();
/***/ }),
/***/ "../../../../../src/app/components/calendar/calendar.component.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CalendarComponent; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__models__ = __webpack_require__("../../../../../src/app/models/index.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services__ = __webpack_require__("../../../../../src/app/services/index.ts");
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var CalendarComponent = (function () {
function CalendarComponent(logger, calenderService, menuService, window) {
var _this = this;
this.logger = logger;
this.calenderService = calenderService;
this.menuService = menuService;
this.window = window;
this.menuService.menuAction$.subscribe(function (data) {
var action = data;
switch (action) {
case __WEBPACK_IMPORTED_MODULE_2__services__["c" /* MenuAction */].Print:
_this.onPrint();
break;
}
});
}
Object.defineProperty(CalendarComponent.prototype, "patient", {
set: function (model) {
this.currentPatient = model;
this.update();
},
enumerable: true,
configurable: true
});
Object.defineProperty(CalendarComponent.prototype, "deliveryDate", {
set: function (model) {
this.currentDeliveryDate = model;
if (model) {
var month = this.calenderService.monthNames[model.getMonth()];
this.currentDeliveryDateString =
model.getDate().toString() + ' ' + month + ' ' + model.getFullYear().toString();
}
else {
// clear
this.currentDeliveryDateString = '';
}
this.update();
},
enumerable: true,
configurable: true
});
Object.defineProperty(CalendarComponent.prototype, "scheme", {
set: function (model) {
this.currentScheme = model;
this.currentSchemeName = __WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */][this.currentScheme];
this.update();
},
enumerable: true,
configurable: true
});
CalendarComponent.prototype.update = function () {
if (this.currentScheme && this.currentDeliveryDate) {
this.hasCalendar = true;
this.calendar = this.calenderService.getCalendar(this.currentScheme, this.currentDeliveryDate);
this.cols = [
{ field: 'appointment', header: 'Afspraak' },
{ field: 'date', header: 'Voorkeursdatum' },
{ field: 'who', header: 'Bij wie' },
{ field: 'what', header: 'Waarvoor' }
];
}
else {
this.hasCalendar = false;
this.calendar = this.calenderService.getCalendar(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].NONE, null);
}
};
CalendarComponent.prototype.onPrint = function () {
this.logger.info('printing');
var nativeDocument = this.window.nativeDocument;
var nativeWindow = this.window.nativeWindow;
var printContent = nativeDocument.getElementById('printable').innerHTML;
var popupWin = nativeWindow.open('', '_blank', 'top=0,left=0,height=100%,width=auto');
popupWin.document.open();
popupWin.document.write("\n <html>\n <head>\n <style>\n body {\n font-family: Roboto,Trebuchet MS,Arial,Helvetica,sans-serif;\n }\n #calendar table {\n border: 1px solid black;\n }\n #calendar table thead tr:first-of-type>th:not(:last-child) {\n border-right: 1px solid black;\n border-bottom: 1px solid black;\n }\n #calendar table thead tr:first-of-type>th:last-child {\n border-bottom: 1px solid black;\n }\n #calendar table tbody tr:not(:last-child)>td:not(:last-child) {\n border-right: 1px solid black;\n border-bottom: 1px solid black;\n }\n #calendar table tbody tr:not(:last-child)>td:last-child {\n border-bottom: 1px solid black;\n }\n #calendar table tbody tr:last-child>td:not(:last-child) {\n border-right: 1px solid black;\n }\n </style>\n </head>\n <body onload=\"window.print()\">\n " + printContent + "\n </body>\n </html>");
popupWin.document.close();
};
__decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(),
__metadata("design:type", String),
__metadata("design:paramtypes", [String])
], CalendarComponent.prototype, "patient", null);
__decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(),
__metadata("design:type", Date),
__metadata("design:paramtypes", [Date])
], CalendarComponent.prototype, "deliveryDate", null);
__decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(),
__metadata("design:type", Number),
__metadata("design:paramtypes", [Number])
], CalendarComponent.prototype, "scheme", null);
CalendarComponent = __decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({
selector: 'app-calendar',
template: __webpack_require__("../../../../../src/app/components/calendar/calendar.component.html"),
styles: [__webpack_require__("../../../../../src/app/components/calendar/calendar.component.scss")],
}),
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2__services__["b" /* LoggingService */],
__WEBPACK_IMPORTED_MODULE_2__services__["a" /* CalendarService */],
__WEBPACK_IMPORTED_MODULE_2__services__["d" /* MenuService */],
__WEBPACK_IMPORTED_MODULE_2__services__["f" /* WindowRef */]])
], CalendarComponent);
return CalendarComponent;
}());
/***/ }),
/***/ "../../../../../src/app/components/header/header.component.html":
/***/ (function(module, exports) {
module.exports = "<div id=\"layout-topbar\">\n <a class=\"logo\" [routerLink]=\"['/home']\">\n <img src=\"/assets/logo.png\" />\n <span>Zwangerschapskalender</span>\n </a>\n\n <ul class=\"menu-topbar\">\n <li><a (click)=\"onPrint()\">AFDRUKKEN</a></li>\n <li><a (click)=\"onClear()\">WISSEN</a></li>\n </ul>\n</div>\n\n<div class=\"pusher\"></div>"
/***/ }),
/***/ "../../../../../src/app/components/header/header.component.scss":
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
// imports
// module
exports.push([module.i, "#layout-topbar {\n background-color: #563d7c;\n display: block;\n padding: 0px;\n height: 60px;\n width: 100%;\n box-sizing: border-box;\n position: fixed;\n top: 0px;\n left: 0px;\n z-index: 9999;\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3); }\n\n.logo {\n margin-left: 18px;\n display: inline-block; }\n\na:link.logo {\n text-decoration: none; }\n\na:visited.logo {\n text-decoration: none; }\n\n.logo img {\n height: 42px;\n padding: 9px 10px 9px 0px;\n float: left; }\n\n.logo span {\n text-decoration: none;\n color: white;\n font-size: 22px;\n line-height: 60px; }\n\n.menu-topbar {\n list-style-type: none;\n float: right;\n margin: 0 20px 0 0;\n padding: 0; }\n\n.menu-topbar, .menu-topbar > li, .menu-topbar > li > a {\n display: inline-block;\n height: 100%; }\n\n.menu-topbar > li > a {\n text-decoration: none;\n color: #fff;\n transition: background-color .3s;\n min-width: 120px;\n text-align: center;\n box-sizing: border-box;\n line-height: 60px; }\n\n.menu-topbar > li > a:hover {\n cursor: pointer;\n background-color: rgba(255, 255, 255, 0.4); }\n\n.pusher {\n height: 60px; }\n", ""]);
// exports
/*** EXPORTS FROM exports-loader ***/
module.exports = module.exports.toString();
/***/ }),
/***/ "../../../../../src/app/components/header/header.component.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderComponent; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services__ = __webpack_require__("../../../../../src/app/services/index.ts");
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var HeaderComponent = (function () {
function HeaderComponent(menuService, logger) {
this.menuService = menuService;
this.logger = logger;
}
HeaderComponent.prototype.onPrint = function () {
this.logger.info('menu: print');
this.menuService.publishAction(__WEBPACK_IMPORTED_MODULE_1__services__["c" /* MenuAction */].Print);
};
HeaderComponent.prototype.onClear = function () {
this.logger.info('menu: clear');
this.menuService.publishAction(__WEBPACK_IMPORTED_MODULE_1__services__["c" /* MenuAction */].Clear);
};
HeaderComponent = __decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({
selector: 'app-header',
template: __webpack_require__("../../../../../src/app/components/header/header.component.html"),
styles: [__webpack_require__("../../../../../src/app/components/header/header.component.scss")],
}),
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__services__["d" /* MenuService */],
__WEBPACK_IMPORTED_MODULE_1__services__["b" /* LoggingService */]])
], HeaderComponent);
return HeaderComponent;
}());
/***/ }),
/***/ "../../../../../src/app/components/home/home.component.html":
/***/ (function(module, exports) {
module.exports = "<app-header></app-header>\n\n<div id=\"layout-sidebar\">\n\n <div class=\"ui-g ui-fluid\">\n <!-- Patient -->\n <div class=\"ui-g-12\">\n <h2>Patient</h2>\n </div>\n <div class=\"ui-g-12\">\n <input id=\"input\" type=\"text\" minlength=\"2\" maxlength=\"100\" pInputText [(ngModel)]=\"patient\">\n </div>\n <!-- Delivery Date -->\n <div class=\"ui-g-12\">\n <h2>Verwachte bevallingsdatum</h2>\n </div>\n <div class=\"ui-g-12 hor-center\">\n <p-calendar [(ngModel)]=\"deliveryDate\" [inline]=\"true\" [locale]=\"nl\" dateFormat=\"dd/mm/yy\" [showIcon]=\"true\" (ngModelChange)=\"onDeliveryDateSelected($event)\"></p-calendar>\n </div>\n <!-- Cardinality foetus -->\n <div class=\"ui-g-12\">\n <h2>Aantal foetussen</h2>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"cardinality\" value=\"one\" label=\"Eenling\" [(ngModel)]=\"cardinality\" (ngModelChange)=\"onCardinalitySelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"cardinality\" value=\"two\" label=\"Tweeling\" [(ngModel)]=\"cardinality\" (ngModelChange)=\"onCardinalitySelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"cardinality\" value=\"multiple\" label=\"Meerling\" [(ngModel)]=\"cardinality\" (ngModelChange)=\"onCardinalitySelected($event)\"></p-radioButton>\n </div>\n <!-- Risk -->\n <div *ngIf=\"isRiskVisible\">\n <div class=\"ui-g-12\">\n <h2>Risico</h2>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"risk\" value=\"low\" label=\"Laag\" [(ngModel)]=\"risk\" (ngModelChange)=\"onRiskSelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"risk\" value=\"medium\" label=\"Medium\" [(ngModel)]=\"risk\" (ngModelChange)=\"onRiskSelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"risk\" value=\"high\" label=\"Hoog\" [(ngModel)]=\"risk\" (ngModelChange)=\"onRiskSelected($event)\"></p-radioButton>\n </div>\n </div>\n <!-- Follow-up -->\n <div *ngIf=\"isFollowUpVisible\">\n <div class=\"ui-g-12\">\n <h2>Opvolging</h2>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"followup\" value=\"gynonly\" label=\"Enkel gynaecoloog\" [(ngModel)]=\"followUp\" (ngModelChange)=\"onFollowUpSelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"followup\" value=\"gynandgp\" label=\"Gynaecoloog en HA/VV\" [(ngModel)]=\"followUp\" (ngModelChange)=\"onFollowUpSelected($event)\"></p-radioButton>\n </div>\n </div>\n <!-- Early birth -->\n <div *ngIf=\"isEarlyBirthVisible\">\n <div class=\"ui-g-12\">\n <h2>Voorgeschiedenis vroeggeboorte</h2>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"earlybirth\" value=\"earlybirthyes\" label=\"Ja\" [(ngModel)]=\"earlyBirth\" (ngModelChange)=\"onEarlyBirthSelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"earlybirth\" value=\"earlybirthno\" label=\"Nee\" [(ngModel)]=\"earlyBirth\" (ngModelChange)=\"onEarlyBirthSelected($event)\"></p-radioButton>\n </div>\n </div>\n <!-- Cardinality pregnancies -->\n <div *ngIf=\"isFirstPregnancyVisible\">\n <div class=\"ui-g-12\">\n <h2>Aantal zwangerschappen</h2>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"pregnancies\" value=\"primipara\" label=\"Primipara\" [(ngModel)]=\"firstPregnancy\" (ngModelChange)=\"onPregnancyCardinalitySelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"pregnancies\" value=\"multipara\" label=\"Multipara\" [(ngModel)]=\"firstPregnancy\" (ngModelChange)=\"onPregnancyCardinalitySelected($event)\"></p-radioButton>\n </div>\n </div>\n <!-- Mono chorial -->\n <div *ngIf=\"isMonoChorialVisible\">\n <div class=\"ui-g-12\">\n <h2>Monochoriaal</h2>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"monochorial\" value=\"monochorialyes\" label=\"Ja\" [(ngModel)]=\"monoChorial\" (ngModelChange)=\"onMonochorialSelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"monochorial\" value=\"monochorialno\" label=\"Nee\" [(ngModel)]=\"monoChorial\" (ngModelChange)=\"onMonochorialSelected($event)\"></p-radioButton>\n </div>\n </div>\n <!-- Mono amniotic -->\n <div *ngIf=\"isMonoAmnioticVisible\">\n <div class=\"ui-g-12\">\n <h2>Monoamniotisch</h2>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"monoamniotic\" value=\"monoamnioticyes\" label=\"Ja\" [(ngModel)]=\"monoAmniotic\" (ngModelChange)=\"onMonoamnioticSelected($event)\"></p-radioButton>\n </div>\n <div class=\"ui-g-12\">\n <p-radioButton name=\"monoamniotic\" value=\"monoamnioticno\" label=\"Nee\" [(ngModel)]=\"monoAmniotic\" (ngModelChange)=\"onMonoamnioticSelected($event)\"></p-radioButton>\n </div>\n </div>\n </div>\n <div class=\"pusher\"></div>\n</div>\n\n<app-calendar [patient]=\"patient\" [deliveryDate]=\"deliveryDate\" [scheme]=\"scheme\"></app-calendar>"
/***/ }),
/***/ "../../../../../src/app/components/home/home.component.scss":
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
// imports
// module
exports.push([module.i, "#layout-sidebar {\n position: fixed;\n display: block;\n left: 0;\n height: 100%;\n background-color: #eeeeee;\n overflow-x: hidden;\n overflow-y: auto;\n width: 320px;\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);\n padding-top: 10px;\n padding-left: 10px;\n padding-right: 10px; }\n\nh2 {\n font-weight: bold; }\n\n.pusher {\n height: 100px; }\n\n.hor-center {\n text-align: center; }\n", ""]);
// exports
/*** EXPORTS FROM exports-loader ***/
module.exports = module.exports.toString();
/***/ }),
/***/ "../../../../../src/app/components/home/home.component.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomeComponent; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__models__ = __webpack_require__("../../../../../src/app/models/index.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services__ = __webpack_require__("../../../../../src/app/services/index.ts");
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var HomeComponent = (function () {
function HomeComponent(personService, calendarService, logger, menuService) {
var _this = this;
this.personService = personService;
this.calendarService = calendarService;
this.logger = logger;
this.menuService = menuService;
this.menuService.menuAction$.subscribe(function (data) {
var action = data;
switch (action) {
case __WEBPACK_IMPORTED_MODULE_2__services__["c" /* MenuAction */].Clear:
_this.onClear();
break;
}
});
}
HomeComponent.prototype.ngOnInit = function () {
this.nl = {
firstDayOfWeek: 0,
dayNames: ['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag'],
dayNamesShort: ['Zon', 'Maa', 'Din', 'Woe', 'Don', 'Vri', 'Zat'],
dayNamesMin: ['Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za'],
monthNames: [
'Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December'
],
monthNamesShort: ['Jan', 'Feb', 'Maa', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
today: 'Vandaag',
clear: 'Wissen'
};
};
HomeComponent.prototype.onDeliveryDateSelected = function (event) {
this.logger.info('date: ' + this.deliveryDate);
};
HomeComponent.prototype.onCardinalitySelected = function (event) {
this.logger.info('cardinality: ' + this.cardinality);
switch (this.cardinality) {
case 'one':
this.clearOne();
this.isRiskVisible = true;
break;
case 'two':
this.clearTwo();
this.isMonoChorialVisible = true;
break;
case 'multiple':
this.clearMultiple();
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].MCDA);
break;
}
};
HomeComponent.prototype.onRiskSelected = function (event) {
this.logger.info('risk: ' + this.risk);
switch (this.risk) {
case 'low':
this.clearScheme();
this.earlyBirth = undefined;
this.isEarlyBirthVisible = false;
this.isFollowUpVisible = true;
break;
case 'medium':
this.followUp = undefined;
this.isFollowUpVisible = false;
this.firstPregnancy = undefined;
this.isFirstPregnancyVisible = false;
this.earlyBirth = undefined;
this.isEarlyBirthVisible = false;
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA1);
break;
case 'high':
this.clearScheme();
this.followUp = undefined;
this.isFollowUpVisible = false;
this.firstPregnancy = undefined;
this.isFirstPregnancyVisible = false;
this.isEarlyBirthVisible = true;
break;
}
};
HomeComponent.prototype.onFollowUpSelected = function (event) {
this.logger.info('follow-up: ' + this.followUp);
switch (this.followUp) {
case 'gynonly':
this.clearScheme();
this.isFirstPregnancyVisible = true;
break;
case 'gynandgp':
this.isFirstPregnancyVisible = false;
this.firstPregnancy = undefined;
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA3);
break;
}
};
HomeComponent.prototype.onPregnancyCardinalitySelected = function (event) {
this.logger.info('pregnancy cardinality: ' + this.firstPregnancy);
switch (this.firstPregnancy) {
case 'primipara':
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA1);
break;
case 'multipara':
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA2);
break;
}
};
HomeComponent.prototype.onEarlyBirthSelected = function (event) {
this.logger.info('early birth: ' + this.earlyBirth);
switch (this.earlyBirth) {
case 'earlybirthyes':
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA5);
break;
case 'earlybirthno':
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA4);
break;
}
};
HomeComponent.prototype.onMonochorialSelected = function (event) {
this.logger.info('monochorial: ' + this.monoChorial);
switch (this.monoChorial) {
case 'monochorialyes':
this.clearScheme();
this.isMonoAmnioticVisible = true;
break;
case 'monochorialno':
this.monoAmniotic = undefined;
this.isMonoAmnioticVisible = false;
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].DCDA);
break;
}
};
HomeComponent.prototype.onMonoamnioticSelected = function (event) {
this.logger.info('monoamniotic: ' + this.monoAmniotic);
switch (this.monoAmniotic) {
case 'monoamnioticyes':
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].MCMA);
break;
case 'monoamnioticno':
this.setScheme(__WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].MCDA);
break;
}
};
HomeComponent.prototype.init = function () {
this.cardinality = undefined;
this.risk = undefined;
this.isRiskVisible = false;
this.followUp = undefined;
this.isFollowUpVisible = false;
this.firstPregnancy = undefined;
this.isFirstPregnancyVisible = false;
this.earlyBirth = undefined;
this.isEarlyBirthVisible = false;
this.monoChorial = undefined;
this.isMonoChorialVisible = false;
this.monoAmniotic = undefined;
this.isMonoAmnioticVisible = false;
this.deliveryDate = undefined;
this.patient = '';
this.clearScheme();
};
HomeComponent.prototype.setScheme = function (scheme) {
this.logger.info('setting scheme: ' + scheme);
this.scheme = scheme; // .emit(scheme);
};
HomeComponent.prototype.clearScheme = function () {
this.logger.info('clearing scheme');
this.scheme = undefined; // .emit(undefined);
};
HomeComponent.prototype.clearOne = function () {
this.clearScheme();
this.followUp = undefined;
this.isFollowUpVisible = false;
this.firstPregnancy = undefined;
this.isFirstPregnancyVisible = false;
this.earlyBirth = undefined;
this.isEarlyBirthVisible = false;
this.monoChorial = undefined;
this.isMonoChorialVisible = false;
this.monoAmniotic = undefined;
this.isMonoAmnioticVisible = false;
};
HomeComponent.prototype.clearTwo = function () {
this.clearScheme();
this.risk = undefined;
this.isRiskVisible = false;
this.followUp = undefined;
this.isFollowUpVisible = false;
this.firstPregnancy = undefined;
this.isFirstPregnancyVisible = false;
this.earlyBirth = undefined;
this.isEarlyBirthVisible = false;
this.monoAmniotic = undefined;
this.isMonoAmnioticVisible = false;
};
HomeComponent.prototype.clearMultiple = function () {
this.risk = undefined;
this.isRiskVisible = false;
this.followUp = undefined;
this.isFollowUpVisible = false;
this.firstPregnancy = undefined;
this.isFirstPregnancyVisible = false;
this.earlyBirth = undefined;
this.isEarlyBirthVisible = false;
this.monoChorial = undefined;
this.isMonoChorialVisible = false;
this.monoAmniotic = undefined;
this.isMonoAmnioticVisible = false;
};
HomeComponent.prototype.onClear = function () {
this.logger.info('clearing');
this.init();
};
HomeComponent = __decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({
selector: 'app-home',
template: __webpack_require__("../../../../../src/app/components/home/home.component.html"),
styles: [__webpack_require__("../../../../../src/app/components/home/home.component.scss")],
}),
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2__services__["e" /* PersonService */],
__WEBPACK_IMPORTED_MODULE_2__services__["a" /* CalendarService */],
__WEBPACK_IMPORTED_MODULE_2__services__["b" /* LoggingService */],
__WEBPACK_IMPORTED_MODULE_2__services__["d" /* MenuService */]])
], HomeComponent);
return HomeComponent;
}());
/***/ }),
/***/ "../../../../../src/app/models/index.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__person__ = __webpack_require__("../../../../../src/app/models/person.ts");
/* unused harmony namespace reexport */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__scheme__ = __webpack_require__("../../../../../src/app/models/scheme.ts");
/* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_1__scheme__["a"]; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__item__ = __webpack_require__("../../../../../src/app/models/item.ts");
/* unused harmony namespace reexport */
/***/ }),
/***/ "../../../../../src/app/models/item.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony export Item */
var Item = (function () {
function Item() {
}
return Item;
}());
/***/ }),
/***/ "../../../../../src/app/models/person.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* unused harmony export Person */
var Person = (function () {
function Person() {
}
return Person;
}());
/***/ }),
/***/ "../../../../../src/app/models/scheme.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Scheme; });
var Scheme;
(function (Scheme) {
Scheme[Scheme["NONE"] = 0] = "NONE";
Scheme[Scheme["SCHEMA1"] = 1] = "SCHEMA1";
Scheme[Scheme["SCHEMA2"] = 2] = "SCHEMA2";
Scheme[Scheme["SCHEMA3"] = 3] = "SCHEMA3";
Scheme[Scheme["SCHEMA4"] = 4] = "SCHEMA4";
Scheme[Scheme["SCHEMA5"] = 5] = "SCHEMA5";
Scheme[Scheme["MCMA"] = 6] = "MCMA";
Scheme[Scheme["MCDA"] = 7] = "MCDA";
Scheme[Scheme["DCDA"] = 8] = "DCDA";
})(Scheme || (Scheme = {}));
/***/ }),
/***/ "../../../../../src/app/services/calendar.service.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CalendarService; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__models__ = __webpack_require__("../../../../../src/app/models/index.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__logging_service__ = __webpack_require__("../../../../../src/app/services/logging.service.ts");
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var CalendarService = (function () {
function CalendarService(logger) {
this.logger = logger;
this.monthNames = [
'Januari',
'Februari',
'Maart',
'April',
'Mei',
'Juni',
'Juli',
'Augustus',
'September',
'Oktober',
'November',
'December'
];
this.pGynaecoloog = 'Gynaecoloog';
this.pGynaecoloogMic = 'Gynaecoloog MIC';
this.pMidwifeAZ = 'Vroedvrouw AZ';
this.pMidwifeIndependent = 'Zelfstandige Vroedvrouw';
this.pGP = 'Huisarts';
this.pTocography = 'Tocografie AZ';
this.pregnancyInWeeks = 40;
this.pregnancyInDays = 7 * 40;
}
CalendarService.prototype.getCalendar = function (scheme, dd) {
switch (scheme) {
case __WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA1:
return [
{
appointment: 'Week 8',
date: this.getDateForWeek(8, dd),
who: this.pGynaecoloog,
what: this.toList([
'Timing echografie (zelfbetalend)',
'Labo ev aanvullen',
'Info Toxoplasmose, CMV, Listeria - Downscreening - ...',
]),
},
{
appointment: 'Week 12-13',
date: this.getDateForWeek(12, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo I (terugbetaald)',
'Ev. NIPT indien gewenst & echo normaal',
]),
},
{
appointment: 'Week 16',
date: this.getDateForWeek(16, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo (zelfbetalend)',
'Urinecultuur',
'BD',
'Labo CMV / toxo indien niet immuun',
]),
},
{
appointment: 'Week 20',
date: this.getDateForWeek(20, dd),
who: this.pGynaecoloogMic,
what: this.toList([
'Structurele echo II (terugbetaald)',
]),
},
{
appointment: 'Week 24',
date: this.getDateForWeek(24, dd),
who: this.pMidwifeAZ,
what: this.toList([
'GCT + labo Complet, ferritine, toxo (indien niet immuun)',
'Info kraamgeld, erkenning, voeding, postpartumzorg',
]),
},
{
appointment: 'Week 26',
date: this.getDateForWeek(26, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo (zelfbetalend)',
'BD, urine',
]),
},
{
appointment: 'Week 30',
date: this.getDateForWeek(30, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo III (terugbetaald) (groei, hersenen, hart, nieren)',
'BD, urine',
'Labo irr As + Rhogam bij Rh negatief',
]),
},
{
appointment: 'Week 30',
date: this.getDateForWeek(30, dd),
who: this.pGP,
what: this.toList([
'Boostrix',
]),
},
{
appointment: 'Week 33',
date: this.getDateForWeek(33, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo (zelfbetalend)',
'BD, urine',
]),
},
{
appointment: 'Week 36',
date: this.getDateForWeek(36, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo (zelfbetalend)',
'BD, urine',
'GBS',
'MRSA'
]),
},
{
appointment: 'Week 38',
date: this.getDateForWeek(38, dd),
who: this.pGynaecoloog,
what: this.toList([
'Luisteren foetaal hartritme',
'BD, urine',
]),
},
{
appointment: 'Week 39',
date: this.getDateForWeek(39, dd),
who: this.pGynaecoloog,
what: this.toList([
'Luisteren foetaal hartritme',
'BD, urine',
]),
},
{
appointment: 'Week 40',
date: this.getDateForWeek(40, dd),
who: this.pTocography,
what: this.toList([
'CTG',
]),
},
];
case __WEBPACK_IMPORTED_MODULE_1__models__["a" /* Scheme */].SCHEMA2:
return [
{
appointment: 'Week 8',
date: this.getDateForWeek(8, dd),
who: this.pGynaecoloog,
what: this.toList([
'Timing echografie (zelfbetalend)',
'Labo ev aanvullen',
'Info Toxoplasmose, CMV, Listeria - Downscreening - ...',
]),
},
{
appointment: 'Week 12',
date: this.getDateForWeek(12, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo I (terugbetaald)',
'Ev. NIPT indien gewenst & echo normaal',
]),
},
{
appointment: 'Week 16',
date: this.getDateForWeek(16, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo (zelfbetalend)',
'Urinecultuur',
'BD',
'Labo CMV / toxo indien niet immuun',
]),
},
{
appointment: 'Week 20',
date: this.getDateForWeek(20, dd),
who: this.pGynaecoloogMic,
what: this.toList([
'Structurele echo II (terugbetaald)',
]),
},
{
appointment: 'Week 24',
date: this.getDateForWeek(24, dd),
who: this.pMidwifeAZ,
what: this.toList([
'GCT + labo Complet, ferritine, toxo (indien niet immuun)',
'Info kraamgeld, erkenning, voeding, postpartumzorg',
]),
},
{
appointment: 'Week 26',
date: this.getDateForWeek(26, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo (zelfbetalend)',
'BD, urine',
]),
},
{
appointment: 'Week 30',
date: this.getDateForWeek(30, dd),
who: this.pGynaecoloog,
what: this.toList([
'Echo III (terugbetaald) (groei, hersenen, hart, nieren)',
'BD, urine',
'Labo irr As + Rhogam bij Rh negatief',
]),
},
{
appointment: 'Week 30',
date: this.getDateForWeek(30, dd),
who: this.pGP,
what: this.toList([
'Boostrix',
]),
},
{
appointment: 'Week 33',
date: this.getDateForWeek(33, dd),
who: this.pGynaecoloog,
what: this.toList([