FHIR Chat · Narrative auto-generation issue · genomics

Stream: genomics

Topic: Narrative auto-generation issue


view this post on Zulip Fei Yan (Oct 16 2019 at 17:30):

Hi all,

I am using HAPI's built-in narrative generator by calling setNarrativeGenerator as below:

FhirContext ctx = FhirContext.forR4();
ctx.setNarrativeGenerator(new DefaultThymeleafNarrativeGenerator());

Later I put couple of resources (including Patient, Specimen, Organization, DiagnosticReport) into a bundle and sent to a JPA server. After the resources were created, only Patient and DiagnosticReport's narrative were generated as HTML format, the other 2 resources were not.

For Specimen and DiagnosticReport I am using different profiles (http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/diagnosticreport or specimen), and for Patient and Organization I am using original FHIR resource type.

Any help is appreciated. Thanks in advance.

Fei

view this post on Zulip Jamie Jones (Oct 16 2019 at 17:37):

I'm aware of some bugs in the Thymeleaf narrative generation regarding DiagnosticReport, but quite new to using HAPI. Maybe @Patrick Werner could point you in the right direction here

view this post on Zulip Kevin Power (Oct 16 2019 at 17:44):

I would suggest asking this in the #hapi stream

view this post on Zulip Fei Yan (Oct 16 2019 at 21:14):

@Kevin Power I just posted this in the #hapi stream, thanks


Last updated: Apr 12 2022 at 19:14 UTC