From 0011d46928e29fc1f136d74313e0b0cdc3ced375 Mon Sep 17 00:00:00 2001 From: devikasuresh20 Date: Mon, 7 Oct 2024 16:03:49 +0530 Subject: [PATCH 1/8] Workarea related change in nurse module --- .../app-modules/nurse-doctor/workarea/workarea.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/app-modules/nurse-doctor/workarea/workarea.component.ts b/src/app/app-modules/nurse-doctor/workarea/workarea.component.ts index 813d860..865e31b 100644 --- a/src/app/app-modules/nurse-doctor/workarea/workarea.component.ts +++ b/src/app/app-modules/nurse-doctor/workarea/workarea.component.ts @@ -858,6 +858,10 @@ export class WorkareaComponent this.showPNC = false; this.showCaseRecord = false; this.showRefer = false; + + if (this.attendant === 'nurse') { + this.changeDetectorRef.detectChanges(); + } } submitPatientMedicalDetailsForm(medicalForm: any) { From 0cc9fdd0b053aa6707bc2f42e26f6be639b3eb40 Mon Sep 17 00:00:00 2001 From: devikasuresh20 Date: Thu, 10 Oct 2024 17:15:30 +0530 Subject: [PATCH 2/8] ANC menstrual history changes --- .../menstrual-history.component.html | 1 - .../menstrual-history.component.ts | 3 +++ .../shared/services/doctor.service.ts | 16 +++++++++++++++- .../shared/services/nurse.service.ts | 15 ++++++++++++++- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/src/app/app-modules/nurse-doctor/history/general-opd-history/menstrual-history/menstrual-history.component.html b/src/app/app-modules/nurse-doctor/history/general-opd-history/menstrual-history/menstrual-history.component.html index f95971b..da25caf 100644 --- a/src/app/app-modules/nurse-doctor/history/general-opd-history/menstrual-history/menstrual-history.component.html +++ b/src/app/app-modules/nurse-doctor/history/general-opd-history/menstrual-history/menstrual-history.component.html @@ -140,7 +140,6 @@ [min]="minimumLMPDate" [max]="today" [matDatepicker]="lmpPicker" - [disabled]="visitType === 'ANC'" /> Date: Thu, 24 Oct 2024 14:53:29 +0530 Subject: [PATCH 3/8] File upload changes --- .../lab/workarea/workarea.component.ts | 18 ++++++++---------- .../upload-files/upload-files.component.ts | 19 ++++++++----------- 2 files changed, 16 insertions(+), 21 deletions(-) diff --git a/src/app/app-modules/lab/workarea/workarea.component.ts b/src/app/app-modules/lab/workarea/workarea.component.ts index 4e048cb..4807036 100644 --- a/src/app/app-modules/lab/workarea/workarea.component.ts +++ b/src/app/app-modules/lab/workarea/workarea.component.ts @@ -965,16 +965,14 @@ export class WorkareaComponent }); dialogRef.afterClosed().subscribe((result: any) => { if (result) { - this.labService.viewFileContent(result).subscribe((res: any) => { - const blob = new Blob([res], { type: res.type }); - console.log(blob, 'blob'); - const url = window.URL.createObjectURL(blob); - const a = document.createElement('a'); - a.href = url; - a.download = result.fileName; - document.body.appendChild(a); - a.click(); - document.body.removeChild(a); + const fileID = { + fileID: result, + }; + this.labService.viewFileContent(fileID).subscribe((res: any) => { + if (res && res.data && res.data.statusCode === 200) { + const fileContent = res.data.data?.response; + location.href = fileContent; + } }); } }); diff --git a/src/app/app-modules/nurse-doctor/visit-details/upload-files/upload-files.component.ts b/src/app/app-modules/nurse-doctor/visit-details/upload-files/upload-files.component.ts index 04317b2..816bd0a 100644 --- a/src/app/app-modules/nurse-doctor/visit-details/upload-files/upload-files.component.ts +++ b/src/app/app-modules/nurse-doctor/visit-details/upload-files/upload-files.component.ts @@ -309,17 +309,14 @@ export class UploadFilesComponent implements OnInit, DoCheck, OnChanges { ); ViewTestReport.afterClosed().subscribe((result) => { if (result) { - this.labService.viewFileContent(result).subscribe((res: any) => { - const blob = new Blob([res], { type: res.type }); - console.log(blob, 'blob'); - const url = window.URL.createObjectURL(blob); - // window.open(url); - const a = document.createElement('a'); - a.href = url; - a.download = result.fileName; - document.body.appendChild(a); - a.click(); - document.body.removeChild(a); + const fileID = { + fileID: result, + }; + this.labService.viewFileContent(fileID).subscribe((res: any) => { + if (res && res.data && res.data.statusCode === 200) { + const fileContent = res.data.data?.response; + location.href = fileContent; + } }); } }); From e8339b22452352114b25051825491d4d73c154d4 Mon Sep 17 00:00:00 2001 From: devikasuresh20 Date: Thu, 24 Oct 2024 16:21:28 +0530 Subject: [PATCH 4/8] Minor changes in file upload --- .../view-radiology-uploaded-files.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app-modules/lab/view-radiology-uploaded-files/view-radiology-uploaded-files.component.html b/src/app/app-modules/lab/view-radiology-uploaded-files/view-radiology-uploaded-files.component.html index 18114be..3e4a9f6 100644 --- a/src/app/app-modules/lab/view-radiology-uploaded-files/view-radiology-uploaded-files.component.html +++ b/src/app/app-modules/lab/view-radiology-uploaded-files/view-radiology-uploaded-files.component.html @@ -5,6 +5,7 @@

{{ current_language_set?.coreComponents?.filesClickToDownload }}

matDialogClose matTooltip="{{ current_language_set?.common?.close }}" class="pull-right exit width-20px" + aria-label="{{ current_language_set?.common?.close }}" >close @@ -29,6 +30,7 @@

{{current_language_set?.common?.noRecordsFound}} --> + - -

@@ -38,8 +40,6 @@

{{ i + 1 }}. Date: Mon, 28 Oct 2024 17:32:01 +0530 Subject: [PATCH 5/8] Diagnosis changes --- .../components/diagnosis-search/diagnosis-search.component.html | 2 +- .../general-opd-diagnosis/general-opd-diagnosis.component.html | 2 +- .../ncd-screening-diagnosis.component.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/app-modules/core/components/diagnosis-search/diagnosis-search.component.html b/src/app/app-modules/core/components/diagnosis-search/diagnosis-search.component.html index 6650e19..de48dc2 100644 --- a/src/app/app-modules/core/components/diagnosis-search/diagnosis-search.component.html +++ b/src/app/app-modules/core/components/diagnosis-search/diagnosis-search.component.html @@ -103,7 +103,7 @@

{{ currentLanguageSet?.common?.provisionalDiagnosisSelection }}

{{ currentLanguageSet?.common?.noRecordsFound }} {{ current_language_set?.casesheet?.provisionalDiag }}* " > -
+
" > -
+
Date: Wed, 13 Nov 2024 12:01:46 +0530 Subject: [PATCH 6/8] CSS changes for Schedule for TM Screen --- .../nurse-doctor/scheduler/scheduler.component.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html b/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html index 8891f4a..c2be29b 100644 --- a/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html +++ b/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html @@ -119,7 +119,7 @@

{{ currentLanguageSet?.common?.scheduler }}

-
+
{{ currentLanguageSet?.common?.specialization @@ -187,12 +187,13 @@

{{ currentLanguageSet?.common?.scheduler }}

-
-
+
+
-
+
From 4e577c01a331be9e84537f9e79ff9514b51d1fa3 Mon Sep 17 00:00:00 2001 From: devikasuresh20 Date: Wed, 13 Nov 2024 12:06:43 +0530 Subject: [PATCH 8/8] Minor changes --- .../app-modules/nurse-doctor/scheduler/scheduler.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html b/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html index 5d50467..0ff8a16 100644 --- a/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html +++ b/src/app/app-modules/nurse-doctor/scheduler/scheduler.component.html @@ -197,7 +197,7 @@

{{ currentLanguageSet?.common?.scheduler }}

id="slot" (click)="saveScheduledSlot()" > - {{ currentLanguageSe t?.common?.submitSlot }} + {{ currentLanguageSet?.common?.submitSlot }}