Allow any for resource enum

This commit is contained in:
Grahame Grieve 2022-12-14 07:05:39 +11:00
parent 747a35a078
commit 2a7136021f
1 changed files with 4 additions and 0 deletions

View File

@ -10144,6 +10144,8 @@ The primary difference between a medicationusage and a medicationadministration
return VISIONPRESCRIPTION;
if ("Parameters".equals(codeString))
return PARAMETERS;
if ("Any".equals(codeString))
return RESOURCE;
throw new FHIRException("Unknown FHIRTypes code '"+codeString+"'");
}
public String toCode() {
@ -11545,6 +11547,8 @@ The primary difference between a medicationusage and a medicationadministration
return FHIRTypes.VISIONPRESCRIPTION;
if ("Parameters".equals(codeString))
return FHIRTypes.PARAMETERS;
if ("Any".equals(codeString))
return FHIRTypes.RESOURCE;
throw new IllegalArgumentException("Unknown FHIRTypes code '"+codeString+"'");
}
public Enumeration<FHIRTypes> fromType(Base code) throws FHIRException {