Leon
Leon
Thanks for the quick reply. Keep me informed when there is any progress or when I can test something
Thanks for the fix but I'dont think it is correct this way. The div element is missing now. I think the desired output should be the following. ```xml Name Peter...
Yes, i know. When I look at the FHIR spec it requires a div element within the xhtml namespace. https://www.hl7.org/fhir/narrative.html The div element as cdata does not validate against the...
Tnx. I have worked a lot with xmlwriter in php and that is more flexible than simplexml for generating this kind of xml. I have used it for generating hl7v3...
Great, is it intended that I have to use it this way because of the namespacing? ```php $text->setDiv("Example Narrative"); ```
Yes, what I mean is why there is a difference between the setStatus and setDiv. setStatus generates the element but setDiv does not generate the div element. ```php $text->setStatus($narrativeStatus); $text->setDiv("Example...
Okay, sounds logical. From the specification I see that an optional `lang` attribute can also be added to the div element so that is possible this way. Thanks, I think...
It looks like this fix is reverted, we are seeing htmlencoded xml inside the `` when serializing to XML. The JSON looks good.
Hi, I have tested it against the latest master and the R4 specs. But it is not working as expected. ```php $narrative = new FHIRNarrative([ 'div' => new FHIRXHTML('This is...
When you wait for a job to complete it is easier to execute it direct. Or let the ExampleJob send a ExampleFinishedJob when something needs to happen when the first...