update for R5 ballot version

This commit is contained in:
Grahame Grieve 2022-09-05 16:24:50 +10:00
parent 3706de8ded
commit f346a94c59
1 changed files with 15 additions and 15 deletions

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Mon, Jul 18, 2022 12:45+1000 for FHIR v5.0.0-snapshot2
// Generated on Mon, Jul 18, 2022 12:45+1000 for FHIR v5.0.0-ballot
import org.hl7.fhir.instance.model.api.*;
@ -6703,7 +6703,7 @@ The primary difference between a medicationusage and a medicationadministration
/**
* R5 Snapshot2
*/
_5_0_0SNAPSHOT2,
_5_0_0BALLOT,
/**
* added to help the parsers
*/
@ -6817,8 +6817,8 @@ The primary difference between a medicationusage and a medicationadministration
return _5_0_0CIBUILD;
if ("5.0.0-snapshot1".equals(codeString))
return _5_0_0SNAPSHOT1;
if ("5.0.0-snapshot2".equals(codeString))
return _5_0_0SNAPSHOT2;
if ("5.0.0-ballot".equals(codeString))
return _5_0_0BALLOT;
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
}
public String toCode() {
@ -6876,7 +6876,7 @@ The primary difference between a medicationusage and a medicationadministration
case _5_0_0: return "5.0.0";
case _5_0_0CIBUILD: return "5.0.0-cibuild";
case _5_0_0SNAPSHOT1: return "5.0.0-snapshot1";
case _5_0_0SNAPSHOT2: return "5.0.0-snapshot2";
case _5_0_0BALLOT: return "5.0.0-ballot";
case NULL: return null;
default: return "?";
}
@ -6936,7 +6936,7 @@ The primary difference between a medicationusage and a medicationadministration
case _5_0_0: return "http://hl7.org/fhir/FHIR-version";
case _5_0_0CIBUILD: return "http://hl7.org/fhir/FHIR-version";
case _5_0_0SNAPSHOT1: return "http://hl7.org/fhir/FHIR-version";
case _5_0_0SNAPSHOT2: return "http://hl7.org/fhir/FHIR-version";
case _5_0_0BALLOT: return "http://hl7.org/fhir/FHIR-version";
case NULL: return null;
default: return "?";
}
@ -6996,7 +6996,7 @@ The primary difference between a medicationusage and a medicationadministration
case _5_0_0: return "R5";
case _5_0_0CIBUILD: return "R5 CIBuild";
case _5_0_0SNAPSHOT1: return "R5 Snapshot1";
case _5_0_0SNAPSHOT2: return "R5 Snapshot2";
case _5_0_0BALLOT: return "R5 Snapshot2";
case NULL: return null;
default: return "?";
}
@ -7056,7 +7056,7 @@ The primary difference between a medicationusage and a medicationadministration
case _5_0_0: return "5.0.0";
case _5_0_0CIBUILD: return "5.0.0-cibuild";
case _5_0_0SNAPSHOT1: return "5.0.0-snapshot1";
case _5_0_0SNAPSHOT2: return "5.0.0-snapshot2";
case _5_0_0BALLOT: return "5.0.0-ballot";
case NULL: return null;
default: return "?";
}
@ -7074,7 +7074,7 @@ The primary difference between a medicationusage and a medicationadministration
public static boolean isValidCode(String codeString) {
return Utilities.existsInList(codeString, "0.01", "0.05", "0.06", "0.11", "0.0.80", "0.0.81" ,"0.0.82", "0.4.0", "0.5.0",
"1.0.0", "1.0.1", "1.0.2", "1.1.0", "1.4.0", "1.6.0", "1.8.0", "3.0.0", "3.0.1", "3.0.2", "3.3.0", "3.5.0",
"4.0.0", "4.0.1", "4.1.0" ,"4.2.0" ,"4.3.0-snapshot1" ,"4.3.0-cibuild" ,"4.3.0", "5.0.0", "5.0.0-cibuild", "5.0.0-snapshot1", "5.0.0-snapshot2");
"4.0.0", "4.0.1", "4.1.0" ,"4.2.0" ,"4.3.0-snapshot1" ,"4.3.0-cibuild" ,"4.3.0", "5.0.0", "5.0.0-cibuild", "5.0.0-snapshot1", "5.0.0-ballot");
}
@ -7202,8 +7202,8 @@ The primary difference between a medicationusage and a medicationadministration
return FHIRVersion._5_0_0CIBUILD;
if ("5.0.0-snapshot1".equals(codeString))
return FHIRVersion._5_0_0SNAPSHOT1;
if ("5.0.0-snapshot2".equals(codeString))
return FHIRVersion._5_0_0SNAPSHOT2;
if ("5.0.0-ballot".equals(codeString))
return FHIRVersion._5_0_0BALLOT;
throw new IllegalArgumentException("Unknown FHIRVersion code '"+codeString+"'");
}
public Enumeration<FHIRVersion> fromType(Base code) throws FHIRException {
@ -7320,8 +7320,8 @@ The primary difference between a medicationusage and a medicationadministration
return new Enumeration<FHIRVersion>(this, FHIRVersion._5_0_0CIBUILD);
if ("5.0.0-snapshot1".equals(codeString))
return new Enumeration<FHIRVersion>(this, FHIRVersion._5_0_0SNAPSHOT1);
if ("5.0.0-snapshot2".equals(codeString))
return new Enumeration<FHIRVersion>(this, FHIRVersion._5_0_0SNAPSHOT2);
if ("5.0.0-ballot".equals(codeString))
return new Enumeration<FHIRVersion>(this, FHIRVersion._5_0_0BALLOT);
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
}
public String toCode(FHIRVersion code) {
@ -7431,8 +7431,8 @@ The primary difference between a medicationusage and a medicationadministration
return "5.0.0-cibuild";
if (code == FHIRVersion._5_0_0SNAPSHOT1)
return "5.0.0-snapshot1";
if (code == FHIRVersion._5_0_0SNAPSHOT2)
return "5.0.0-snapshot2";
if (code == FHIRVersion._5_0_0BALLOT)
return "5.0.0-ballot";
return "?";
}
public String toSystem(FHIRVersion code) {