updates to enumerations for technical correction releases
This commit is contained in:
parent
55c379dab8
commit
f60bb8a9c6
|
@ -9963,7 +9963,7 @@ The primary difference between a medication statement and a medication administr
|
|||
/**
|
||||
* added to help the parsers
|
||||
*/
|
||||
_4_1_0,
|
||||
_4_0_1,
|
||||
NULL;
|
||||
public static FHIRVersion fromCode(String codeString) throws FHIRException {
|
||||
if (codeString == null || "".equals(codeString))
|
||||
|
@ -10010,8 +10010,8 @@ The primary difference between a medication statement and a medication administr
|
|||
return _3_5_0;
|
||||
if ("4.0.0".equals(codeString))
|
||||
return _4_0_0;
|
||||
if ("4.1.0".equals(codeString))
|
||||
return _4_1_0;
|
||||
if ("4.0.1".equals(codeString))
|
||||
return _4_0_1;
|
||||
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
}
|
||||
@Override
|
||||
|
@ -10041,7 +10041,7 @@ The primary difference between a medication statement and a medication administr
|
|||
case _3_3_0: return "3.3.0";
|
||||
case _3_5_0: return "3.5.0";
|
||||
case _4_0_0: return "4.0.0";
|
||||
case _4_1_0: return "4.1.0";
|
||||
case _4_0_1: return "4.0.1";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -10068,7 +10068,7 @@ The primary difference between a medication statement and a medication administr
|
|||
case _3_3_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _3_5_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _4_0_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _4_1_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _4_0_1: return "http://hl7.org/fhir/FHIR-version";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -10095,6 +10095,7 @@ The primary difference between a medication statement and a medication administr
|
|||
case _3_3_0: return "R4 Ballot #1.";
|
||||
case _3_5_0: return "R4 Ballot #2.";
|
||||
case _4_0_0: return "FHIR Release 4 (Normative + STU).";
|
||||
case _4_0_1: return "FHIR Release 4 Technical Correction #1.";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -10121,6 +10122,7 @@ The primary difference between a medication statement and a medication administr
|
|||
case _3_3_0: return "3.3.0";
|
||||
case _3_5_0: return "3.5.0";
|
||||
case _4_0_0: return "4.0.0";
|
||||
case _4_0_1: return "4.0.1";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -10179,6 +10181,8 @@ The primary difference between a medication statement and a medication administr
|
|||
return FHIRVersion._3_5_0;
|
||||
if ("4.0.0".equals(codeString))
|
||||
return FHIRVersion._4_0_0;
|
||||
if ("4.0.1".equals(codeString))
|
||||
return FHIRVersion._4_0_1;
|
||||
throw new IllegalArgumentException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
}
|
||||
public Enumeration<FHIRVersion> fromType(Base code) throws FHIRException {
|
||||
|
@ -10231,6 +10235,8 @@ The primary difference between a medication statement and a medication administr
|
|||
return new Enumeration<FHIRVersion>(this, FHIRVersion._3_5_0);
|
||||
if ("4.0.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_0_0);
|
||||
if ("4.0.1".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_0_1);
|
||||
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
}
|
||||
public String toCode(FHIRVersion code) {
|
||||
|
@ -10276,6 +10282,8 @@ The primary difference between a medication statement and a medication administr
|
|||
return "3.5.0";
|
||||
if (code == FHIRVersion._4_0_0)
|
||||
return "4.0.0";
|
||||
if (code == FHIRVersion._4_0_1)
|
||||
return "4.0.1";
|
||||
return "?";
|
||||
}
|
||||
public String toSystem(FHIRVersion code) {
|
||||
|
|
|
@ -10087,6 +10087,10 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
* FHIR Release 3 (STU) with 1 technical errata.
|
||||
*/
|
||||
_3_0_1,
|
||||
/**
|
||||
* FHIR Release 3 (STU) with 2 technical errata.
|
||||
*/
|
||||
_3_0_2,
|
||||
/**
|
||||
* R4 Ballot #1.
|
||||
*/
|
||||
|
@ -10099,6 +10103,10 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
* FHIR Release 4 (Normative + STU).
|
||||
*/
|
||||
_4_0_0,
|
||||
/**
|
||||
* FHIR Release 4 (Normative + STU) + 1 technical correction
|
||||
*/
|
||||
_4_0_1,
|
||||
/**
|
||||
* Current build after R4.
|
||||
*/
|
||||
|
@ -10146,12 +10154,16 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
return _3_0_0;
|
||||
if ("3.0.1".equals(codeString))
|
||||
return _3_0_1;
|
||||
if ("3.0.2".equals(codeString))
|
||||
return _3_0_2;
|
||||
if ("3.3.0".equals(codeString))
|
||||
return _3_3_0;
|
||||
if ("3.5.0".equals(codeString))
|
||||
return _3_5_0;
|
||||
if ("4.0.0".equals(codeString))
|
||||
return _4_0_0;
|
||||
if ("4.0.1".equals(codeString))
|
||||
return _4_0_1;
|
||||
if ("4.1.0".equals(codeString))
|
||||
return _4_1_0;
|
||||
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
|
@ -10176,9 +10188,11 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
case _1_8_0: return "1.8.0";
|
||||
case _3_0_0: return "3.0.0";
|
||||
case _3_0_1: return "3.0.1";
|
||||
case _3_0_2: return "3.0.2";
|
||||
case _3_3_0: return "3.3.0";
|
||||
case _3_5_0: return "3.5.0";
|
||||
case _4_0_0: return "4.0.0";
|
||||
case _4_0_1: return "4.0.1";
|
||||
case _4_1_0: return "4.1.0";
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -10203,9 +10217,11 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
case _1_8_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _3_0_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _3_0_1: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _3_0_2: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _3_3_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _3_5_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _4_0_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _4_0_1: return "http://hl7.org/fhir/FHIR-version";
|
||||
case _4_1_0: return "http://hl7.org/fhir/FHIR-version";
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -10230,9 +10246,11 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
case _1_8_0: return "FHIR STU3 Candidate + Connectathon 14 (San Antonio).";
|
||||
case _3_0_0: return "FHIR Release 3 (STU).";
|
||||
case _3_0_1: return "FHIR Release 3 (STU) with 1 technical errata.";
|
||||
case _3_0_2: return "FHIR Release 3 (STU) with 2 technical errata.";
|
||||
case _3_3_0: return "R4 Ballot #1.";
|
||||
case _3_5_0: return "R4 Ballot #2.";
|
||||
case _4_0_0: return "FHIR Release 4 (Normative + STU).";
|
||||
case _4_0_1: return "FHIR Release 4 (Normative + STU) + ! Technical Correction";
|
||||
case _4_1_0: return "Current build after R4.";
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -10257,9 +10275,11 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
case _1_8_0: return "1.8.0";
|
||||
case _3_0_0: return "3.0.0";
|
||||
case _3_0_1: return "3.0.1";
|
||||
case _3_0_2: return "3.0.2";
|
||||
case _3_3_0: return "3.3.0";
|
||||
case _3_5_0: return "3.5.0";
|
||||
case _4_0_0: return "4.0.0";
|
||||
case _4_0_1: return "4.0.1";
|
||||
case _4_1_0: return "4.1.0";
|
||||
default: return "?";
|
||||
}
|
||||
|
@ -10372,12 +10392,16 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
return FHIRVersion._3_0_0;
|
||||
if ("3.0.1".equals(codeString))
|
||||
return FHIRVersion._3_0_1;
|
||||
if ("3.0.2".equals(codeString))
|
||||
return FHIRVersion._3_0_2;
|
||||
if ("3.3.0".equals(codeString))
|
||||
return FHIRVersion._3_3_0;
|
||||
if ("3.5.0".equals(codeString))
|
||||
return FHIRVersion._3_5_0;
|
||||
if ("4.0.0".equals(codeString))
|
||||
return FHIRVersion._4_0_0;
|
||||
if ("4.0.1".equals(codeString))
|
||||
return FHIRVersion._4_0_1;
|
||||
if ("4.1.0".equals(codeString))
|
||||
return FHIRVersion._4_1_0;
|
||||
throw new IllegalArgumentException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
|
@ -10426,12 +10450,16 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
return new Enumeration<FHIRVersion>(this, FHIRVersion._3_0_0);
|
||||
if ("3.0.1".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._3_0_1);
|
||||
if ("3.0.2".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._3_0_2);
|
||||
if ("3.3.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._3_3_0);
|
||||
if ("3.5.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._3_5_0);
|
||||
if ("4.0.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_0_0);
|
||||
if ("4.0.1".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_0_1);
|
||||
if ("4.1.0".equals(codeString))
|
||||
return new Enumeration<FHIRVersion>(this, FHIRVersion._4_1_0);
|
||||
throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'");
|
||||
|
@ -10473,12 +10501,16 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
return "3.0.0";
|
||||
if (code == FHIRVersion._3_0_1)
|
||||
return "3.0.1";
|
||||
if (code == FHIRVersion._3_0_2)
|
||||
return "3.0.2";
|
||||
if (code == FHIRVersion._3_3_0)
|
||||
return "3.3.0";
|
||||
if (code == FHIRVersion._3_5_0)
|
||||
return "3.5.0";
|
||||
if (code == FHIRVersion._4_0_0)
|
||||
return "4.0.0";
|
||||
if (code == FHIRVersion._4_0_1)
|
||||
return "4.0.1";
|
||||
if (code == FHIRVersion._4_1_0)
|
||||
return "4.1.0";
|
||||
return "?";
|
||||
|
|
Loading…
Reference in New Issue