make sure document references are listed in the Condition UI.

This commit is contained in:
Jason Kulatunga 2023-03-18 08:47:20 -07:00
parent f76ef5e392
commit fa75594a47
No known key found for this signature in database
1 changed files with 13 additions and 0 deletions

View File

@ -117,6 +117,19 @@
</ul>
</div>
<div *ngIf="encounter?.related_resources?.DocumentReference as documentReferences" class="col-12 mt-2 mb-2">
<strong>Attachments:</strong>
<ul>
<li class="cursor-pointer" [ngbPopover]="documentReferencePopoverContent" placement="top-left" popoverClass="card-fhir-resource-popover" *ngFor="let documentReference of documentReferences">
{{documentReference.sort_title}}
<ng-template #documentReferencePopoverContent>
<fhir-resource [displayModel]="documentReference"></fhir-resource>
</ng-template>
</li>
</ul>
</div>
<div *ngIf="encounter?.related_resources?.Device as devices" class="col-12 mt-2 mb-2">
<strong>Device:</strong>
<ul>