From 1e6fd76ace04b25b7792263de6cf1cc18f34b0cf Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 31 Jan 2023 16:07:10 +1100 Subject: [PATCH] special case work around for old THO problem --- .../src/main/java/org/hl7/fhir/dstu3/model/Identifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/model/Identifier.java b/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/model/Identifier.java index e3c112d13..95cbf20ca 100644 --- a/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/model/Identifier.java +++ b/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/model/Identifier.java @@ -129,7 +129,7 @@ public class Identifier extends Type implements ICompositeType { public static class IdentifierUseEnumFactory implements EnumFactory { public IdentifierUse fromCode(String codeString) throws IllegalArgumentException { if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString) || "?".equals(codeString)) return null; if ("usual".equals(codeString)) return IdentifierUse.USUAL;