Skip to content

Commit

Permalink
OHRI-2267 PTracker ID should show on the Family section patient list …
Browse files Browse the repository at this point in the history
…on MNCH summary (#1907)
  • Loading branch information
ODORA0 authored Jul 17, 2024
1 parent 4588dab commit 594a85f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ const CurrentPregnancy: React.FC<PatientChartProps> = ({ patientUuid, pTrackerId
const identifiers = await fetchPatientIdentifiers(patientUuid);
if (identifiers?.length) {
pTrackerMap.pTrackerId =
identifiers.find((id) => id.identifierType.uuid === identifiersTypes.pTrackerIdentifierType)?.identifier ??
identifiers.find((id) => id.identifierType.uuid === identifiersTypes.ptrackerIdentifierType)?.identifier ??
'--';
}
return pTrackerMap;
},
[identifiersTypes.pTrackerIdentifierType],
[identifiersTypes.ptrackerIdentifierType],
);

useEffect(() => {
Expand Down

0 comments on commit 594a85f

Please sign in to comment.