diff --git a/src/pages/Participant/ParticipantDataCard/index.tsx b/src/pages/Participant/ParticipantDataCard/index.tsx index da857af..b0aa8c6 100644 --- a/src/pages/Participant/ParticipantDataCard/index.tsx +++ b/src/pages/Participant/ParticipantDataCard/index.tsx @@ -93,6 +93,15 @@ const ParticipantDataCard = () => { ); } + if ( + study?.protocolSnapshot.expectedParticipantData.toArray().length === 0 || + (study?.protocolSnapshot.expectedParticipantData.toArray().length === 1 && + study?.protocolSnapshot.expectedParticipantData.toArray()[0].inputDataType + .name === "informed_consent") + ) { + return null; + } + return (