File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/utils/lib/configuration/booking Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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' ) ;
You can’t perform that action at this time.
0 commit comments