Skip to content

Commit

Permalink
show gender of sexual partners for chlamydia result
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbywells52 committed Jan 8, 2025
1 parent 8a4b26b commit 2abfe41
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,16 @@ export const DetachedTestResultDetailsModal = ({
data?.testResult.results,
MULTIPLEX_DISEASES.GONORRHEA
);
const isChlamydiaResult = !!getResultForDisease(
data?.testResult.results,
MULTIPLEX_DISEASES.CHLAMYDIA
);
const showGenderOfSexualPartners =
isHIVResult || isSyphilisResult || isHepatitisCResult || isGonorrheaResult;
isHIVResult ||
isSyphilisResult ||
isHepatitisCResult ||
isGonorrheaResult ||
isChlamydiaResult;

const dateTested = data?.testResult.dateTested;

Expand Down

0 comments on commit 2abfe41

Please sign in to comment.