diff --git a/src/app/lab-order-search/lab-order-search-post.component.ts b/src/app/lab-order-search/lab-order-search-post.component.ts index 01f658bf8..3a7c7366b 100644 --- a/src/app/lab-order-search/lab-order-search-post.component.ts +++ b/src/app/lab-order-search/lab-order-search-post.component.ts @@ -129,12 +129,13 @@ export class LabOrderSearchPostComponent implements OnInit, OnChanges { this.patientIdentifers = identifiers; }); this.patient = this.order.patient; + this.person = new Person(this.order.patient.person); if ( Moment().diff(Moment(this.person.birthdate), 'months') <= 18 && !( this.patient.identifiers[0].identifierType.uuid === - 'f2d6ff1a-8440-4d35-a150-1d4b5a930c5e' + this.cccIdentifierType ) ) { this.isHEIActive = true;