Skip to content

Commit

Permalink
make sure document references are listed in the Condition UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Mar 18, 2023
1 parent f76ef5e commit fa75594
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fa75594

Please sign in to comment.