#1678 - add div to children when exploring Narrative

This commit is contained in:
Grahame Grieve 2024-07-18 20:23:50 +08:00
parent 5521cb8724
commit 652bec9743
3 changed files with 3 additions and 1 deletions

View File

@ -338,6 +338,7 @@ public class Narrative extends BaseNarrative implements INarrative {
children.add(new Property("status", "code",
"The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.",
0, 1, status));
children.add(new Property("div", "xhtml", "The actual narrative content, a stripped down version of XHTML", 0, 1, new XhtmlType(this)));
}
@Override

View File

@ -346,6 +346,7 @@ public class Narrative extends BaseNarrative implements INarrative {
children.add(new Property("status", "code",
"The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.",
0, 1, status));
children.add(new Property("div", "xhtml", "The actual narrative content, a stripped down version of XHTML", 0, 1, new XhtmlType(this)));
}
@Override

View File

@ -287,7 +287,7 @@ public class Narrative extends BaseNarrative implements INarrative {
protected void listChildren(List<Property> children) {
super.listChildren(children);
children.add(new Property("status", "code", "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.", 0, 1, status));
children.add(new Property("div", "xhtml", "he actual narrative content, a stripped down version of XHTML", 0, 1, new XhtmlType(this)));
children.add(new Property("div", "xhtml", "The actual narrative content, a stripped down version of XHTML", 0, 1, new XhtmlType(this)));
}
@Override