From 99d72d9b022c3b3ba206aeb84f85dcfa9fe5a666 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Wed, 6 Dec 2023 14:11:30 -0800 Subject: [PATCH] make sure we allow the user to display multiple document types in DiagnosticReport and DocumentReference. fixing PDF height issue: missing px suffix. fixes #341 --- .../fhir-card/datatypes/pdf/pdf.component.html | 2 +- .../diagnostic-report.component.html | 16 +++++++++++++++- .../diagnostic-report.component.ts | 5 +++-- .../document-reference.component.html | 16 +++++++++++++++- .../document-reference.component.ts | 7 ++++--- 5 files changed, 38 insertions(+), 8 deletions(-) diff --git a/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html b/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html index b8f8afcb..113e7147 100644 --- a/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html +++ b/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html @@ -4,7 +4,7 @@ type="{{displayModel?.content_type}}" [style]="{ width: '100%', - height: height + height: height + 'px' }" /> diff --git a/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html b/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html index 4e2314d8..c1c7e3cf 100644 --- a/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html +++ b/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html @@ -16,7 +16,21 @@
- + + + +
+
+ + +