Commits
rbttrifork authored 705c84562a8
1 - | <div *ngIf="this.value" class="card-container"> |
1 + | <div *ngIf="value" class="card-container"> |
2 2 | <app-card header="Rhesustype" class="card-container"> |
3 3 | <div class="third-split sub-group"> |
4 4 | <app-radio-group label="Moders blodtype taget" name="mothers-bloodtype-taken" |
5 5 | [(ngModel)]="value?.maternalRhDAntibody.bloodSampleTaken"> |
6 6 | <app-radio-button value="yes" label="Ja"></app-radio-button> |
7 7 | <app-radio-button value="no" label="Nej"></app-radio-button> |
8 8 | </app-radio-group> |
9 9 | <app-radio-group label="Moderens Rhesustype" name="mothers-rhesus-type" |
10 - | [disabled]="value?.maternalRhDAntibody.bloodSampleTaken == 'no'" |
10 + | [notRelevant]="value?.maternalRhDAntibody.bloodSampleTaken == 'no'" |
11 11 | [(ngModel)]="value?.maternalRhDAntibody.rhesusType"> |
12 12 | <app-radio-button value="positive" label="Positiv"></app-radio-button> |
13 13 | <app-radio-button value="negative" label="Negativ"></app-radio-button> |
14 14 | </app-radio-group> |
15 15 | <app-radio-group label="Irregulære antistoffer i 6.-10. uge" name="irregular-bg-antibody" |
16 - | [disabled]="value?.maternalRhDAntibody.bloodSampleTaken == 'no'" |
16 + | [notRelevant]="value?.maternalRhDAntibody.bloodSampleTaken == 'no'" |
17 17 | [(ngModel)]="value?.maternalRhDAntibody.irregularBloodGroupAntibodyOresent"> |
18 18 | <app-radio-button value="positive" label="Positiv"></app-radio-button> |
19 19 | <app-radio-button value="negative" label="Negativ"></app-radio-button> |
20 20 | </app-radio-group> |
21 21 | </div> |
22 22 | <div class="third-split sub-group"> |
23 23 | <app-radio-group label="Barnets rhesustype(uge 25)" name="baby-rhesus-type" |
24 24 | [(ngModel)]="value?.fetalRhDAntibody.rhesusType"> |
25 25 | <app-radio-button value="positive" label="Positiv"></app-radio-button> |
26 26 | <app-radio-button value="negative" label="Negativ"></app-radio-button> |
27 27 | </app-radio-group> |
28 28 | <app-radio-group label="Antistof hos rh. neg. i 25. uge" name="antistof-rh-neg" |
29 - | [disabled]="value?.fetalRhDAntibody.rhesusType == 'negative'" |
29 + | [notRelevant]="value?.fetalRhDAntibody.rhesusType == 'negative'" |
30 30 | [(ngModel)]="value?.fetalRhDAntibody.antiDIsoimmunizationAffectingPregnancy"> |
31 31 | <app-radio-button value="positive" label="Positiv"></app-radio-button> |
32 32 | <app-radio-button value="negative" label="Negativ"></app-radio-button> |
33 33 | </app-radio-group> |
34 34 | </div> |
35 35 | <div class="half-split sub-group"> |
36 36 | <div class="form-field"> |
37 37 | <h4 class="form-field--header">Uge 29 anti-D immunglobin er givet</h4> |
38 38 | <mat-checkbox |
39 39 | color="primary" |
40 40 | name="santiDGiven" |
41 41 | [disabled]="value?.fetalRhDAntibody.antiDIsoimmunizationAffectingPregnancy === 'negative'" |
42 42 | [checked]="value?.antiDImmunoglobulinGiven.value === 'yes'" |
43 43 | (change)="value?.antiDImmunoglobulinGiven.value = $event.checked ? 'yes' : 'no'">Givet anti-D immunglobin</mat-checkbox> |
44 44 | </div> |
45 45 | <app-date-picker name="birth-date-ultrasound-birth-date" label="Dato hvor immoglobin er givet" |
46 - | [disabled]="value?.antiDImmunoglobulinGiven.value !== 'yes'" |
46 + | [notRelevant]="value?.antiDImmunoglobulinGiven.value !== 'yes'" |
47 47 | [ngModel]="value?.antiDImmunoglobulinGiven.date"> |
48 48 | </app-date-picker> |
49 49 | </div> |
50 50 | </app-card> |
51 51 | <app-card header="B-streptokokker"> |
52 52 | <div class="half-split"> |
53 53 | <div class="form-field"> |
54 54 | <h4 class="form-field--header">Urindyrkning(uanset hvornår)</h4> |
55 55 | <mat-checkbox |
56 56 | color="primary" |
57 57 | name="santiDGiven" |
58 58 | [checked]="value?.streptococcusGroupB.result === 'positive'" |
59 59 | (change)="value?.streptococcusGroupB.result = $event.checked ? 'positive' : 'negative'" |
60 60 | >Fund af gruppe B-streptokokker</mat-checkbox> |
61 61 | </div> |
62 62 | <app-date-picker name="birth-date-ultrasound-birth-date" label="Dato hvor immoglobin er givet" |
63 - | [disabled]="value?.streptococcusGroupB.result !== 'positive'" |
63 + | [notRelevant]="value?.streptococcusGroupB.result !== 'positive'" |
64 64 | [ngModel]="value?.antiDImmunoglobulinGiven.date"> |
65 65 | </app-date-picker> |
66 66 | </div> |
67 67 | </app-card> |
68 68 | <app-card header="Diabetes screening - OGTT"> |
69 69 | <app-info-box> |
70 70 | <div class="info-text"> |
71 71 | <div class="info-label">Risikofaktorer:</div> |
72 72 | <div>1=Tidligere GDM</div> |
73 73 | <div>2=Familiær disposition</div> |