Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,9 @@ export class DoctorDiagnosisCaseSheetComponent
].join('/');
}

this.downloadSign();
if (this.casesheetData?.BeneficiaryData?.doctorSignatureFlag) {
this.downloadSign();
}
this.getVaccinationTypeAndDoseMaster();
}
}
Expand Down
32 changes: 32 additions & 0 deletions src/app/app-modules/nurse-doctor/shared/services/doctor.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -232,6 +233,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -350,6 +352,7 @@ export class DoctorService {
consultationData: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand All @@ -372,6 +375,7 @@ export class DoctorService {
vanID: vanID,
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};
const quickConsultation = Object.assign(
{},
Expand All @@ -389,6 +393,7 @@ export class DoctorService {
consultationData: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand All @@ -411,6 +416,7 @@ export class DoctorService {
vanID: vanID,
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};
const quickConsultation = Object.assign(
{},
Expand Down Expand Up @@ -541,6 +547,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -593,6 +600,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -682,6 +690,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -744,6 +753,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand All @@ -770,6 +780,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -824,6 +835,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -2358,6 +2370,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -2409,6 +2422,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -2655,6 +2669,7 @@ export class DoctorService {
visitCategory: any,
otherDetails: any,
tcRequest: any,
doctorSignatureFlag: any,
): Observable<any> {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -2718,6 +2733,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: otherDetails.isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -2772,6 +2788,7 @@ export class DoctorService {
visitCategory: any,
otherDetails: any,
tcRequest: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -2829,6 +2846,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: otherDetails.isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -3443,6 +3461,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -3503,6 +3522,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -3542,6 +3562,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -3604,6 +3625,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand All @@ -3622,6 +3644,7 @@ export class DoctorService {
otherDetails: any,
tcRequest: any,
isSpecialist: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -3684,6 +3707,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand All @@ -3703,6 +3727,7 @@ export class DoctorService {
visitCategory: any,
otherDetails: any,
tcRequest: any,
doctorSignatureFlag: any,
): Observable<any> {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -3765,6 +3790,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: otherDetails.isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand All @@ -3783,6 +3809,7 @@ export class DoctorService {
visitCategory: any,
otherDetails: any,
tcRequest: any,
doctorSignatureFlag: any,
) {
const serviceLineDetails: any =
this.sessionstorage.getItem('serviceLineDetails');
Expand Down Expand Up @@ -3845,6 +3872,7 @@ export class DoctorService {
createdBy: this.sessionstorage.getItem('userName'),
tcRequest: tcRequest,
isSpecialist: otherDetails.isSpecialist,
doctorSignatureFlag: doctorSignatureFlag,
};

console.log(
Expand Down Expand Up @@ -3973,4 +4001,8 @@ export class DoctorService {
getAssessmentDet(assessmentId: any) {
return this.http.get(environment.getAssessmentUrl + '/' + assessmentId);
}

checkUsersignatureExist(userID: any) {
return this.http.get(environment.checkUsersignExistUrl + userID);
}
}
Loading