Merge pull request #873 from hapifhir/gg-202207-version-annotations

fix up version annotations
This commit is contained in:
Grahame Grieve 2022-07-22 15:16:01 +10:00 committed by GitHub
commit a82bbeb887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
218 changed files with 278 additions and 410 deletions

View File

@ -1,68 +1,15 @@
public String toCode(int len) {
return toCode().substring(0, len);
}
public static boolean isR4Plus(String version) {
return version != null && (version.startsWith("4.") || version.startsWith("5.") || "current".equals(version));
}
public static boolean isValidCode(String codeString) {
if (codeString == null || "".equals(codeString))
return false;
if ("0.01".equals(codeString))
return true;
if ("0.05".equals(codeString))
return true;
if ("0.06".equals(codeString))
return true;
if ("0.11".equals(codeString))
return true;
if ("0.0.80".equals(codeString))
return true;
if ("0.0.81".equals(codeString))
return true;
if ("0.0.82".equals(codeString))
return true;
if ("0.4.0".equals(codeString))
return true;
if ("0.5.0".equals(codeString))
return true;
if ("1.0.0".equals(codeString))
return true;
if ("1.0.1".equals(codeString))
return true;
if ("1.0.2".equals(codeString))
return true;
if ("1.1.0".equals(codeString))
return true;
if ("1.4.0".equals(codeString))
return true;
if ("1.6.0".equals(codeString))
return true;
if ("1.8.0".equals(codeString))
return true;
if ("3.0.0".equals(codeString))
return true;
if ("3.0.1".equals(codeString))
return true;
if ("3.3.0".equals(codeString))
return true;
if ("3.5.0".equals(codeString))
return true;
if ("4.0.0".equals(codeString))
return true;
if ("4.2.0".equals(codeString))
return true;
return false;
}
@Override
public String toString() {
return toCode();
}
public boolean isR4B() {
return toCode().startsWith("4.1");
}
//public String toCode(int len) {
// return toCode().substring(0, len);
// }
//
//
// @Override
// public String toString() {
// return toCode();
// }
//
//
// public boolean isR4B() {
// return toCode().startsWith("4.1");
// }
//

View File

@ -1333,7 +1333,7 @@ public class ProfileUtilities extends TranslatingUtilities {
if (shortCut) {
// this is the short cut method, we've just dived in and specified a type slice.
// in R3 (and unpatched R4, as a workaround right now...
if (!FHIRVersion.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
if (!VersionUtilities.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
// we insert a cloned element with the right types at the start of the diffMatches
ElementDefinition ed = new ElementDefinition();
ed.setPath(determineTypeSlicePath(diffMatches.get(0).getPath(), cpath));
@ -1631,7 +1631,7 @@ public class ProfileUtilities extends TranslatingUtilities {
if (shortCut) {
// this is the short cut method, we've just dived in and specified a type slice.
// in R3 (and unpatched R4, as a workaround right now...
if (!FHIRVersion.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
if (!VersionUtilities.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
// we insert a cloned element with the right types at the start of the diffMatches
ElementDefinition ed = new ElementDefinition();
ed.setPath(determineTypeSlicePath(diffMatches.get(0).getPath(), cpath));

View File

@ -39,7 +39,7 @@ public class Constants {
public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseStatement|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationStatement|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}";
public final static String NS_SYSTEM_TYPE = "http://hl7.org/fhirpath/System.";
public final static String VERSION = "4.3.0-snapshot1";
public final static String VERSION = "4.3.0";
public final static String VERSION_MM = "4.3";
public final static String DATE = "Mon, Jun 13, 2022 17:19+0300";
public final static String URI_REGEX = "((http|https)://([A-Za-z0-9\\\\\\.\\:\\%\\$]*\\/)*)?(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseStatement|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationStatement|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?";

View File

@ -33,6 +33,7 @@ package org.hl7.fhir.r4b.model;
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.exceptions.FHIRException;
public class Enumerations {
@ -6318,73 +6319,29 @@ The primary difference between a medication statement and a medication administr
}
}
// manual code from configuration.txt:
public String toCode(int len) {
return toCode().substring(0, len);
}
//public String toCode(int len) {
// return toCode().substring(0, len);
// }
public static boolean isR4Plus(String version) {
return version != null && (version.startsWith("4.") || version.startsWith("5.") || "current".equals(version));
// public static boolean isR4Plus(String version) {
// return version != null && (version.startsWith("4.") || version.startsWith("5.") || "current".equals(version));
// }
//
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");
}
public static boolean isValidCode(String codeString) {
if (codeString == null || "".equals(codeString))
return false;
if ("0.01".equals(codeString))
return true;
if ("0.05".equals(codeString))
return true;
if ("0.06".equals(codeString))
return true;
if ("0.11".equals(codeString))
return true;
if ("0.0.80".equals(codeString))
return true;
if ("0.0.81".equals(codeString))
return true;
if ("0.0.82".equals(codeString))
return true;
if ("0.4.0".equals(codeString))
return true;
if ("0.5.0".equals(codeString))
return true;
if ("1.0.0".equals(codeString))
return true;
if ("1.0.1".equals(codeString))
return true;
if ("1.0.2".equals(codeString))
return true;
if ("1.1.0".equals(codeString))
return true;
if ("1.4.0".equals(codeString))
return true;
if ("1.6.0".equals(codeString))
return true;
if ("1.8.0".equals(codeString))
return true;
if ("3.0.0".equals(codeString))
return true;
if ("3.0.1".equals(codeString))
return true;
if ("3.3.0".equals(codeString))
return true;
if ("3.5.0".equals(codeString))
return true;
if ("4.0.0".equals(codeString))
return true;
if ("4.2.0".equals(codeString))
return true;
return false;
}
@Override
public String toString() {
return toCode();
}
public boolean isR4B() {
return toCode().startsWith("4.1");
}
//
// public boolean isR4B() {
// return toCode().startsWith("4.1");
// }
// end addition
}

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r4b.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Tue, May 4, 2021 07:17+1000 for FHIR v4.6.0
// Generated on Tue, May 4, 2021 07:17+1000 for FHIR v4.3.0
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r4b.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Tue, May 4, 2021 07:17+1000 for FHIR v4.6.0
// Generated on Tue, May 4, 2021 07:17+1000 for FHIR v4.3.0
import java.util.ArrayList;
import java.util.Date;

View File

@ -31,7 +31,7 @@ package org.hl7.fhir.r4b.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR v4.3.0
import java.util.ArrayList;
import java.util.Date;

View File

@ -1348,7 +1348,7 @@ public class ProfileUtilities extends TranslatingUtilities {
if (shortCut) {
// this is the short cut method, we've just dived in and specified a type slice.
// in R3 (and unpatched R4, as a workaround right now...
if (!FHIRVersion.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
if (!VersionUtilities.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
// we insert a cloned element with the right types at the start of the diffMatches
ElementDefinition ed = new ElementDefinition();
ed.setPath(determineTypeSlicePath(diffMatches.get(0).getPath(), cpath));
@ -1646,7 +1646,7 @@ public class ProfileUtilities extends TranslatingUtilities {
if (shortCut) {
// this is the short cut method, we've just dived in and specified a type slice.
// in R3 (and unpatched R4, as a workaround right now...
if (!FHIRVersion.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
if (!VersionUtilities.isR4Plus(context.getVersion()) || !newSlicingProcessing) { // newSlicingProcessing is a work around for editorial loop dependency
// we insert a cloned element with the right types at the start of the diffMatches
ElementDefinition ed = new ElementDefinition();
ed.setPath(determineTypeSlicePath(diffMatches.get(0).getPath(), cpath));

View File

@ -30,7 +30,7 @@ package org.hl7.fhir.r5.formats;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2

View File

@ -31,7 +31,7 @@ package org.hl7.fhir.r5.formats;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2

View File

@ -30,7 +30,7 @@ package org.hl7.fhir.r5.formats;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -30,7 +30,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v4.6.0
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
@ -39,8 +39,8 @@ public class Constants {
public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}";
public final static String NS_SYSTEM_TYPE = "http://hl7.org/fhirpath/System.";
public final static String VERSION = "4.6.0";
public final static String VERSION_MM = "4.6";
public final static String VERSION = "5.0.0-snapshot2";
public final static String VERSION_MM = "5.0";
public final static String DATE = "Fri, Jul 15, 2022 11:20+1000";
public final static String URI_REGEX = "((http|https)://([A-Za-z0-9\\\\\\.\\:\\%\\$]*\\/)*)?(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?";
}

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,10 +29,11 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Mon, Jul 18, 2022 12:45+1000 for FHIR vcurrent
// Generated on Mon, Jul 18, 2022 12:45+1000 for FHIR v5.0.0-snapshot2
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.exceptions.FHIRException;
public class Enumerations {
@ -7050,74 +7051,32 @@ The primary difference between a medicationusage and a medicationadministration
default: return "?";
}
}
// manual code from configuration.txt:
public String toCode(int len) {
return toCode().substring(0, len);
//public String toCode(int len) {
// return toCode().substring(0, len);
// }
//
// public static boolean isR4Plus(String version) {
// return version != null && (version.startsWith("4.") || version.startsWith("5.") || "current".equals(version));
// }
//
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");
}
public static boolean isR4Plus(String version) {
return version != null && (version.startsWith("4.") || version.startsWith("5.") || "current".equals(version));
}
public static boolean isValidCode(String codeString) {
if (codeString == null || "".equals(codeString))
return false;
if ("0.01".equals(codeString))
return true;
if ("0.05".equals(codeString))
return true;
if ("0.06".equals(codeString))
return true;
if ("0.11".equals(codeString))
return true;
if ("0.0.80".equals(codeString))
return true;
if ("0.0.81".equals(codeString))
return true;
if ("0.0.82".equals(codeString))
return true;
if ("0.4.0".equals(codeString))
return true;
if ("0.5.0".equals(codeString))
return true;
if ("1.0.0".equals(codeString))
return true;
if ("1.0.1".equals(codeString))
return true;
if ("1.0.2".equals(codeString))
return true;
if ("1.1.0".equals(codeString))
return true;
if ("1.4.0".equals(codeString))
return true;
if ("1.6.0".equals(codeString))
return true;
if ("1.8.0".equals(codeString))
return true;
if ("3.0.0".equals(codeString))
return true;
if ("3.0.1".equals(codeString))
return true;
if ("3.3.0".equals(codeString))
return true;
if ("3.5.0".equals(codeString))
return true;
if ("4.0.0".equals(codeString))
return true;
if ("4.2.0".equals(codeString))
return true;
return false;
}
@Override
public String toString() {
return toCode();
}
public boolean isR4B() {
return toCode().startsWith("4.1");
}
// @Override
// public String toString() {
// return toCode();
// }
//
//
// public boolean isR4B() {
// return toCode().startsWith("4.1");
// }
// end addition
}

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model;
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent
// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v5.0.0-snapshot2
import java.util.ArrayList;
import java.util.Date;

Some files were not shown because too many files have changed in this diff Show More