This commit is contained in:
Grahame Grieve 2020-04-22 16:44:13 +10:00
parent 4cbf328e54
commit 50d7e0e879
1 changed files with 3 additions and 0 deletions

View File

@ -1613,6 +1613,9 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
if ("http://hl7.org/fhir/StructureDefinition/regex".equals(extUrl)) { if ("http://hl7.org/fhir/StructureDefinition/regex".equals(extUrl)) {
list.get(1).setExpression("ElementDefinition.type"); list.get(1).setExpression("ElementDefinition.type");
} }
if ("http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version".equals(extUrl)) {
list.get(0).setExpression("Element"); // well, it can't be used anywhere but the list of places it can be used is quite long
}
return list; return list;
} }