From 015d53e8ee6f4e17adadec52a3859b015bb80c4a Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 8 Mar 2023 09:11:00 +1100 Subject: [PATCH] fix problem parsing types --- .../src/main/java/org/hl7/fhir/r5/elementmodel/FmlParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/FmlParser.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/FmlParser.java index 10230cbe6..3eeace3d6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/FmlParser.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/FmlParser.java @@ -273,6 +273,7 @@ public class FmlParser extends ParserBase { lexer.token("<"); if (lexer.hasToken("types")) { group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPES.toCode()); + lexer.token("types"); } else { group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPEANDTYPES.toCode()); lexer.token("type");