Closed nriss closed 2 years ago
Thanks for the issue @nriss ! I suggest that we define a basic HTML template, and a script that would fill it based on each ressource content 💪
@nriss Actually, I saw that once loaded into our FHIR server, HAPI seems to automatically add a narrative
Or maybe it's just the HAPI client doing it while reading the resource ?
Yeah I also see that! I think it is added automatically when we push the resources, that seems to be perfect!
I think HAPI is generating this array automatically with the ElementDefinition marked as isSummary
(https://www.hl7.org/fhir/elementdefinition.html) in the concerned StructureDefinition
@MiskoG @simonvadee do you agree to close this issue ?
I think we can reopen it later if we have new needs of personnalisation for instance
So we tolerate the current warning that pops everytime we validate a ressource ?
I think we can hide the warning about the narrative yeah, the resource has not been pushed on hapi, that's why there is no narrative during the preview I think it is another issue and it is not a prio
Alright agreed, so I close this issue 👍
Problem
When trying to validate a resource, a warning is generated by hapi because the narrative (Resource.text) is not completed.
According to the FHIR Doc :
Guideline: A resource should have narrative for robust management
Implementation
The easiest solution would be to use the Automatic Narrative Generator proposed by hapi
Discussed with @simonvadee and @MiskoG