Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancy Riju authored and Ancy Riju committed Apr 15, 2024
1 parent aaefa05 commit 2de679c
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 76 deletions.
75 changes: 20 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@angular/platform-browser-dynamic": "^16.2.0",
"@angular/router": "^16.2.0",
"@types/file-saver": "^2.0.7",
"@types/recordrtc": "^5.6.14",
"ack-angular-webcam": "^1.10.0",
"bootstrap": "^5.3.3",
"chart.js": "^4.4.2",
Expand Down Expand Up @@ -58,7 +59,6 @@
"@angular/compiler-cli": "^16.2.0",
"@types/crypto-js": "^4.2.1",
"@types/jasmine": "~5.1.4",
"@types/recordrtc": "^5.6.14",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "^8.51.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,18 +415,18 @@
</ul>
</div>
</div>
<div class="col-12" style="margin-top: 10px">
<mat-paginator
style="display: unset !important"
[pageSizeOptions]="[5, 10, 20]"
[hidden]="dataSource.data.length === 0"
[pageSize]="5"
showFirstLastButtons
aria-label="Select patient in doctorWorklist"
>
</mat-paginator>
</div>
</section>
<div class="col-12" style="margin-top: 10px">
<mat-paginator
style="display: unset !important"
[pageSizeOptions]="[5, 10, 20]"
[hidden]="dataSource.data.length === 0"
[pageSize]="5"
showFirstLastButtons
aria-label="Select patient in doctorWorklist"
>
</mat-paginator>
</div>
</mat-card>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,11 +630,9 @@ export class NurseService {
JSON.stringify(patientChiefComplaintsForm),
);
for (const complaint of patientChiefComplaintsFormValue) {
if (complaint.chiefComplaint !== null) {
// complaint.chiefComplaintID = complaint.chiefComplaint.chiefComplaintID;
// complaint.chiefComplaint = complaint.chiefComplaint.chiefComplaint;
complaint.chiefComplaintID = complaint.chiefComplaintIDData;
complaint.chiefComplaint = complaint.chiefComplaintData;
if (complaint.chiefComplaint) {
complaint.chiefComplaintID = complaint.chiefComplaint.chiefComplaintID;
complaint.chiefComplaint = complaint.chiefComplaint.chiefComplaint;
}
complaint.beneficiaryRegID = localStorage.getItem('beneficiaryRegID');
complaint.benVisitID = benVisitID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ <h4 *ngIf="enableLungAssessment">
<strong>Lung Assessment *</strong>
</h4>

<div class="row col-xs-12 m-t-10 m-b-10">
<div class="row col-xs-12">
<button
mat-raised-button
class="mat_blue font-regular"
Expand Down Expand Up @@ -1013,7 +1013,7 @@ <h4 *ngIf="enableLungAssessment">

<div *ngIf="enableResult">
<span style="text-decoration: underline; margin-top: 10px">
<strong><em>Test Result : </em></strong>
<strong> <em>Test Result : </em> </strong>
</span>
<br />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ export class GeneralPatientVitalsComponent
);
this.attendant = this.route.snapshot.params['attendant'];
this.getBeneficiaryDetails();
if (this.benAge < 18) {
this.disabledLungAssesment = true;
} else {
this.disabledLungAssesment = false;
}
this.rbsSelectedInInvestigationSubscription =
this.nurseService.rbsSelectedInInvestigation$.subscribe((response) =>
response === undefined
Expand Down Expand Up @@ -1186,7 +1191,6 @@ export class GeneralPatientVitalsComponent
}

startAssessment() {
const todayDate = new Date();
const symptoms = {
frequent_cough: this.frequentCough ? 1 : 0,
sputum: this.sputum ? 1 : 0,
Expand All @@ -1200,7 +1204,6 @@ export class GeneralPatientVitalsComponent
gender: this.benGenderType,
age: this.benAge,
patientId: localStorage.getItem('beneficiaryRegID'),
// timestamp: moment(todayDate).format('YYYY-MM-DD HH:mm:ss'),
assessmentId: null,
providerServiceMapID: localStorage.getItem('providerServiceID'),
createdBy: localStorage.getItem('userName'),
Expand Down Expand Up @@ -1260,4 +1263,6 @@ export class GeneralPatientVitalsComponent
}
});
}

//--End--
}

0 comments on commit 2de679c

Please sign in to comment.