Add support for R6 formal version
This commit is contained in:
parent
9d53b738df
commit
829549eeff
|
@ -12025,6 +12025,10 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
* R6 Rolling ci-build.
|
||||
*/
|
||||
_6_0_0CIBUILD,
|
||||
/**
|
||||
* R6 Formal version (does not exist yet)
|
||||
*/
|
||||
_6_0_0,
|
||||
/**
|
||||
* added to help the parsers
|
||||
*/
|
||||
|
@ -12148,6 +12152,8 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
return _5_0_0DRAFTFINAL;
|
||||
if ("6.0.0-cibuild".equals(codeString))
|
||||
return _6_0_0CIBUILD;
|
||||
if ("6.0.0".equals(codeString))
|
||||
return _6_0_0;
|
||||
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
}
|
||||
public static boolean isValidCode(String codeString) {
|
||||
|
@ -12215,6 +12221,7 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
case _5_0_0SNAPSHOT3: return "5.0.0-snapshot3";
|
||||
case _5_0_0DRAFTFINAL: return "5.0.0-draft-final";
|
||||
case _6_0_0CIBUILD: return "6.0.0-cibuild";
|
||||
case _6_0_0: return "6.0.0";
|
||||
case NULL: return null;
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -12279,6 +12286,7 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
case _5_0_0SNAPSHOT3: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _5_0_0DRAFTFINAL: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _6_0_0CIBUILD: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _6_0_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case NULL: return null;
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -12343,6 +12351,7 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
case _5_0_0SNAPSHOT3: return "R5 January 2023 Staging Release + Connectathon 32.";
|
||||
case _5_0_0DRAFTFINAL: return "R5 Final QA.";
|
||||
case _6_0_0CIBUILD: return "R6 Rolling ci-build.";
|
||||
case _6_0_0: return "R6 Final Version.";
|
||||
case NULL: return null;
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -12407,6 +12416,7 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
case _5_0_0SNAPSHOT3: return "5.0.0-snapshot3";
|
||||
case _5_0_0DRAFTFINAL: return "5.0.0-draft-final";
|
||||
case _6_0_0CIBUILD: return "6.0.0-cibuild";
|
||||
case _6_0_0: return "6.0.0";
|
||||
case NULL: return null;
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -12551,6 +12561,8 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
return FHIRVersion._5_0_0DRAFTFINAL;
|
||||
if ("6.0.0-cibuild".equals(codeString))
|
||||
return FHIRVersion._6_0_0CIBUILD;
|
||||
if ("6.0.0".equals(codeString))
|
||||
return FHIRVersion._6_0_0;
|
||||
throw new IllegalArgumentException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
}
|
||||
|
||||
|
@ -12678,6 +12690,8 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
return new Enumeration<FHIRVersion>(this, FHIRVersion._5_0_0DRAFTFINAL, code);
|
||||
if ("6.0.0-cibuild".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._6_0_0CIBUILD, code);
|
||||
if ("6.0.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._6_0_0, code);
|
||||
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
}
|
||||
public String toCode(FHIRVersion code) {
|
||||
|
@ -12797,6 +12811,8 @@ The primary difference between a medicationstatement and a medicationadministrat
|
|||
return "5.0.0-draft-final";
|
||||
if (code == FHIRVersion._6_0_0CIBUILD)
|
||||
return "6.0.0-cibuild";
|
||||
if (code == FHIRVersion._6_0_0)
|
||||
return "6.0.0";
|
||||
return "?";
|
||||
}
|
||||
public String toSystem(FHIRVersion code) {
|
||||
|
|
Loading…
Reference in New Issue