File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
apps/ehr/src/telemed/features/appointment Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -130,20 +130,14 @@ export const AppointmentSidePanel: FC = () => {
130130 const interpreterString =
131131 preferredLanguage && isSpanish ( preferredLanguage ) ? `Interpreter: ${ INTERPRETER_PHONE_NUMBER } ` : '' ;
132132
133- const paperworkAllergiesYesNo = getQuestionnaireResponseByLinkId ( 'allergies-yes-no' , questionnaireResponse ) ;
134-
135133 const allergiesStatus = ( ) : string => {
136134 if ( isChartDataLoading ) {
137135 return 'Loading...' ;
138136 }
139137 if ( questionnaireResponse ?. status === 'in-progress' && ( allergies == null || allergies . length === 0 ) ) {
140138 return 'No answer' ;
141139 }
142- if (
143- allergies == null ||
144- allergies . length === 0 ||
145- paperworkAllergiesYesNo ?. answer ?. [ 0 ] . valueString === 'Patient has no known current allergies'
146- ) {
140+ if ( allergies == null || allergies . length === 0 ) {
147141 return 'No known allergies' ;
148142 }
149143 return allergies
You can’t perform that action at this time.
0 commit comments