Package org.fhirfrog.frog.rendering
Class ReportFormatRenderer
java.lang.Object
org.fhirfrog.frog.rendering.ReportFormatRenderer
Renders TestReport in different formats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrenderJson(List<org.hl7.fhir.r4.model.TestReport> reports) A multi-TestScript run's results as one downloadable file - aBundleof typecollectionwrapping one individually validTestReportentry per TestScript (seeadd-report-export-and-rest-api's report-export spec: "one distinct, individually valid TestReport resource per TestScript - not one resource whose test[] array has been concatenated").renderJson(org.hl7.fhir.r4.model.TestReport report) renderXml(org.hl7.fhir.r4.model.TestReport report)
-
Constructor Details
-
ReportFormatRenderer
public ReportFormatRenderer()
-
-
Method Details
-
renderJson
-
renderXml
-
renderJson
A multi-TestScript run's results as one downloadable file - aBundleof typecollectionwrapping one individually validTestReportentry per TestScript (seeadd-report-export-and-rest-api's report-export spec: "one distinct, individually valid TestReport resource per TestScript - not one resource whose test[] array has been concatenated"). ABundleis the standard FHIR way to package several independent resources in a single file without synthesizing a resource that doesn't exist. -
renderXml
-