Merge pull request #939 from hapifhir/MapParsingChanges
When we load StructureMaps from mapping files, make the mapping langu…
This commit is contained in:
commit
646e132a51
|
@ -81,6 +81,7 @@ import org.hl7.fhir.r4.model.ExpressionNode;
|
|||
import org.hl7.fhir.r4.model.ExpressionNode.CollectionStatus;
|
||||
import org.hl7.fhir.r4.model.IdType;
|
||||
import org.hl7.fhir.r4.model.IntegerType;
|
||||
import org.hl7.fhir.r4.model.Narrative;
|
||||
import org.hl7.fhir.r4.model.Narrative.NarrativeStatus;
|
||||
import org.hl7.fhir.r4.model.PrimitiveType;
|
||||
import org.hl7.fhir.r4.model.Reference;
|
||||
|
@ -743,6 +744,12 @@ public class StructureMapUtilities {
|
|||
parseGroup(result, lexer);
|
||||
}
|
||||
|
||||
Narrative textNode = result.getText();
|
||||
textNode.setStatus(Narrative.NarrativeStatus.ADDITIONAL);
|
||||
XhtmlNode node = new XhtmlNode(NodeType.Element, "div");
|
||||
textNode.setDiv(node);
|
||||
node.pre().tx(text);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue