VA
Size: a a a
VA
VK
R
edit(patientId: string, organizationAttachId: string): void {
this._userService.get(patientId).subscribe(result => {
this.patient = result;
this.getOrganizationAttach(organizationAttachId);
});
}
getOrganizationAttach(organizationAttachId: string): void {
this._patientService.get(organizationAttachId).subscribe(result => {
this.organizationAttach = result;
this.openEdit();
});
}
openEdit(): void {
const dialogRef = this.dialog.open(PatientEditComponent, {
width: 'auto', data: { doctorList: this.doctorList, organizationAttachment: this.organizationAttach, patient: this.patient }
});}BE
R
edit(patientId: string, organizationAttachId: string): void {
this._userService.get(patientId).subscribe(result => {
this.patient = result;
this.getOrganizationAttach(organizationAttachId);
});
}
getOrganizationAttach(organizationAttachId: string): void {
this._patientService.get(organizationAttachId).subscribe(result => {
this.organizationAttach = result;
this.openEdit();
});
}
openEdit(): void {
const dialogRef = this.dialog.open(PatientEditComponent, {
width: 'auto', data: { doctorList: this.doctorList, organizationAttachment: this.organizationAttach, patient: this.patient }
});}LT
R
YK
M
BE
R
private subject = new Subject<any>();
patient: Observable<any> = this.subject.asObservable();
organizationAttachment: Observable<any> = this.subject.asObservable();
MZ
LT
R
private subject = new Subject<any>();
patient: Observable<any> = this.subject.asObservable();
organizationAttachment: Observable<any> = this.subject.asObservable();
LT
LT
ГР
YK
RR