Skip to content

Commit eb17738

Browse files
committed
variable name typo
1 parent db0e8d0 commit eb17738

File tree

1 file changed

+3
-3
lines changed
  • packages/utils/lib/configuration/booking

1 file changed

+3
-3
lines changed

packages/utils/lib/configuration/booking/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ export const prepopulateBookingForm = (input: BookingFormPrePopulationInput): Qu
233233
)?.value;
234234

235235
// assuming here we never need to collect this when we already have it
236-
const shouldShownSSNField = !ssn && !BOOKING_CONFIG.hiddenBookingFields.includes('patient-ssn');
237-
const ssnRequired = serviceCategoryCode === 'workmans_comp' && shouldShownSSNField;
236+
const shouldShowSSNField = !ssn && !BOOKING_CONFIG.hiddenBookingFields.includes('patient-ssn');
237+
const ssnRequired = serviceCategoryCode === 'workmans_comp' && shouldShowSSNField;
238238

239239
const item: QuestionnaireResponseItem[] = (questionnaire.item ?? []).map((item) => {
240240
const populatedItem: QuestionnaireResponseItem[] = (() => {
@@ -247,7 +247,7 @@ export const prepopulateBookingForm = (input: BookingFormPrePopulationInput): Qu
247247
answer = makeAnswer(patient.id);
248248
}
249249
if (linkId === 'should-display-ssn-field') {
250-
answer = makeAnswer(shouldShownSSNField, 'Boolean');
250+
answer = makeAnswer(shouldShowSSNField, 'Boolean');
251251
}
252252
if (linkId === 'ssn-field-required') {
253253
answer = makeAnswer(ssnRequired, 'Boolean');

0 commit comments

Comments
 (0)