diff --git a/projects/ngx-formentry/src/form-entry/value-adapters/patient-identifier.adapter.ts b/projects/ngx-formentry/src/form-entry/value-adapters/patient-identifier.adapter.ts index 46db1c1a..9e6c3afa 100644 --- a/projects/ngx-formentry/src/form-entry/value-adapters/patient-identifier.adapter.ts +++ b/projects/ngx-formentry/src/form-entry/value-adapters/patient-identifier.adapter.ts @@ -67,7 +67,8 @@ export class PatientIdentifierAdapter { ) { if ( rootNode.question.extras && - rootNode.question.extras.type === 'patientIdentifier' + rootNode.question.extras.type === 'patientIdentifier' && + rootNode.control.hidden === false ) { array.push(rootNode); }