make fhir version code case independent
This commit is contained in:
parent
3f9d651b9b
commit
56c52ab7dd
|
@ -7293,9 +7293,9 @@ public String toCode(int len) {
|
|||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_1_0);
|
||||
if ("4.2.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_2_0);
|
||||
if ("4.3.0-snapshot1".equals(codeString))
|
||||
if ("4.3.0-snapshot1".equalsIgnoreCase(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_3_0SNAPSHOT1);
|
||||
if ("4.3.0-cibuild".equals(codeString))
|
||||
if ("4.3.0-cibuild".equalsIgnoreCase(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_3_0CIBUILD);
|
||||
if ("4.4.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_4_0);
|
||||
|
@ -7303,9 +7303,9 @@ public String toCode(int len) {
|
|||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_5_0);
|
||||
if ("4.6.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_6_0);
|
||||
if ("5.0.0-snapshot1".equals(codeString))
|
||||
if ("5.0.0-snapshot1".equalsIgnoreCase(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._5_0_0SNAPSHOT1);
|
||||
if ("5.0.0-cibuild".equals(codeString))
|
||||
if ("5.0.0-cibuild".equalsIgnoreCase(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._5_0_0CIBUILD);
|
||||
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue