Merge pull request #1691 from hapifhir/FixOperationOutcomeRendering
Fix issue with rendering OperationOutcomes that don't have 'detail'
This commit is contained in:
commit
dc750bb211
|
@ -89,6 +89,7 @@ public class OperationOutcomeRenderer extends ResourceRenderer {
|
|||
td.addText(s.primitiveValue());
|
||||
}
|
||||
tr.td().addText(getTranslatedCode(i.child("code")));
|
||||
if (i.has("details"))
|
||||
tr.td().addText(i.child("details").primitiveValue("text"));
|
||||
smartAddText(tr.td(), i.primitiveValue("diagnostics"));
|
||||
if (hasSource) {
|
||||
|
|
Loading…
Reference in New Issue