moving FHIRPublication
This commit is contained in:
parent
a464c81474
commit
b47b0653c4
|
@ -3,7 +3,7 @@ package org.hl7.fhir.convertors.advisors.interfaces;
|
|||
import org.hl7.fhir.dstu3.model.*;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.instance.model.api.IBaseExtension;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
|
|
|
@ -24,7 +24,7 @@ public abstract class BaseAdvisor40<T extends IBaseExtension> extends BaseAdviso
|
|||
}
|
||||
|
||||
public boolean ignoreEntry(@Nonnull Bundle.BundleEntryComponent src,
|
||||
@Nonnull org.hl7.fhir.r5.model.FhirPublication targetVersion) {
|
||||
@Nonnull org.hl7.fhir.utilities.FhirPublication targetVersion) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ package org.hl7.fhir.convertors.advisors.interfaces;
|
|||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.instance.model.api.IBaseExtension;
|
||||
import org.hl7.fhir.r5.model.*;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.hl7.fhir.convertors.context.ConversionContext10_30;
|
|||
import org.hl7.fhir.convertors.conv10_30.datatypes10_30.complextypes10_30.Signature10_30;
|
||||
import org.hl7.fhir.convertors.conv10_30.datatypes10_30.primitivetypes10_30.*;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
|
||||
public class Bundle10_30 {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.hl7.fhir.convertors.context.ConversionContext10_40;
|
|||
import org.hl7.fhir.convertors.conv10_40.datatypes10_40.complextypes10_40.Signature10_40;
|
||||
import org.hl7.fhir.convertors.conv10_40.datatypes10_40.primitivetypes10_40.*;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
|
||||
public class Bundle10_40 {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.hl7.fhir.convertors.context.ConversionContext10_50;
|
|||
import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Signature10_50;
|
||||
import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.*;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
|
||||
public class Bundle10_50 {
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ import org.hl7.fhir.dstu3.model.Bundle.BundleType;
|
|||
import org.hl7.fhir.dstu3.model.CodeSystem;
|
||||
import org.hl7.fhir.dstu3.model.ValueSet;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.hl7.fhir.exceptions.FHIRException;
|
|||
import org.hl7.fhir.r4.model.Bundle;
|
||||
import org.hl7.fhir.r4.model.CodeSystem;
|
||||
import org.hl7.fhir.r4.model.ValueSet;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
|
|
|
@ -1,37 +1,7 @@
|
|||
package org.hl7.fhir.convertors.txClient;
|
||||
|
||||
/*
|
||||
Copyright (c) 2011+, HL7, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
* Neither the name of HL7 nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.r5.terminologies.TerminologyClient;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.utilities.VersionUtilities;
|
||||
|
||||
|
|
|
@ -36,18 +36,47 @@ import org.hl7.fhir.dstu2.model.Resource;
|
|||
import org.hl7.fhir.dstu2.utils.client.FHIRToolingClient;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r5.model.*;
|
||||
import org.hl7.fhir.r5.model.Enumerations.FHIRVersion;
|
||||
import org.hl7.fhir.r5.terminologies.TerminologyClient;
|
||||
import org.hl7.fhir.r5.utils.client.network.ClientHeaders;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Map;
|
||||
|
||||
public class TerminologyClientR2 implements TerminologyClient {
|
||||
|
||||
private final FHIRToolingClient client; // todo: use the R2 client
|
||||
|
||||
public EnumSet<FhirPublication> supportableVersions() {
|
||||
return EnumSet.of(FhirPublication.DSTU2);
|
||||
}
|
||||
|
||||
public void setAllowedVersions(EnumSet<FhirPublication> versions) {
|
||||
boolean found = false;
|
||||
for (FhirPublication version : versions) {
|
||||
if (version == FhirPublication.DSTU2) {
|
||||
found = true;
|
||||
} else {
|
||||
throw new Error("Unsupported version for DSTU2 client: "+version.toCode());
|
||||
}
|
||||
}
|
||||
if (!found) {
|
||||
throw new Error("DSTU2 client only supports DSTU2");
|
||||
}
|
||||
}
|
||||
|
||||
public EnumSet<FhirPublication> getAllowedVersions() {
|
||||
return EnumSet.of(FhirPublication.DSTU2);
|
||||
}
|
||||
|
||||
public FhirPublication getActualVersion() {
|
||||
return FhirPublication.DSTU2;
|
||||
}
|
||||
|
||||
public TerminologyClientR2(String address, String userAgent) throws URISyntaxException {
|
||||
client = new FHIRToolingClient(address, userAgent);
|
||||
}
|
||||
|
|
|
@ -38,10 +38,12 @@ import org.hl7.fhir.exceptions.FHIRException;
|
|||
import org.hl7.fhir.r5.model.*;
|
||||
import org.hl7.fhir.r5.terminologies.TerminologyClient;
|
||||
import org.hl7.fhir.r5.utils.client.network.ClientHeaders;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Map;
|
||||
|
||||
public class TerminologyClientR3 implements TerminologyClient {
|
||||
|
@ -59,6 +61,23 @@ public class TerminologyClientR3 implements TerminologyClient {
|
|||
setClientHeaders(clientHeaders);
|
||||
}
|
||||
|
||||
|
||||
public EnumSet<FhirPublication> supportableVersions() {
|
||||
return client.supportableVersions();
|
||||
}
|
||||
|
||||
public void setAllowedVersions(EnumSet<FhirPublication> versions) {
|
||||
client.setAllowedVersions(versions);
|
||||
}
|
||||
|
||||
public EnumSet<FhirPublication> getAllowedVersions() {
|
||||
return client.getAllowedVersions();
|
||||
}
|
||||
|
||||
public FhirPublication getActualVersion() {
|
||||
return client.getActualVersion();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TerminologyCapabilities getTerminologyCapabilities() throws FHIRException {
|
||||
return TerminologyCapabilities30_50.convertTerminologyCapabilities(client.getTerminologyCapabilities(), false);
|
||||
|
|
|
@ -38,10 +38,12 @@ import org.hl7.fhir.r4.utils.client.FHIRToolingClient;
|
|||
import org.hl7.fhir.r5.model.*;
|
||||
import org.hl7.fhir.r5.terminologies.TerminologyClient;
|
||||
import org.hl7.fhir.r5.utils.client.network.ClientHeaders;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Map;
|
||||
|
||||
public class TerminologyClientR4 implements TerminologyClient {
|
||||
|
@ -59,6 +61,25 @@ public class TerminologyClientR4 implements TerminologyClient {
|
|||
setClientHeaders(clientHeaders);
|
||||
}
|
||||
|
||||
|
||||
public EnumSet<FhirPublication> supportableVersions() {
|
||||
// todo
|
||||
return EnumSet.range(FhirPublication.STU3, FhirPublication.R5);
|
||||
}
|
||||
|
||||
public void setAllowedVersions(EnumSet<FhirPublication> versions) {
|
||||
// todo
|
||||
}
|
||||
|
||||
public EnumSet<FhirPublication> getAllowedVersions() {
|
||||
return null; // todo
|
||||
}
|
||||
|
||||
public FhirPublication getActualVersion() {
|
||||
return FhirPublication.STU3;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public TerminologyCapabilities getTerminologyCapabilities() throws FHIRException {
|
||||
return TerminologyCapabilities40_50.convertTerminologyCapabilities(client.getTerminologyCapabilities());
|
||||
|
|
|
@ -35,12 +35,14 @@ import org.hl7.fhir.r5.model.*;
|
|||
import org.hl7.fhir.r5.terminologies.TerminologyClient;
|
||||
import org.hl7.fhir.r5.utils.client.FHIRToolingClient;
|
||||
import org.hl7.fhir.r5.utils.client.network.ClientHeaders;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Map;
|
||||
|
||||
public class TerminologyClientR5 implements TerminologyClient {
|
||||
|
@ -58,6 +60,25 @@ public class TerminologyClientR5 implements TerminologyClient {
|
|||
setClientHeaders(clientHeaders);
|
||||
}
|
||||
|
||||
|
||||
public EnumSet<FhirPublication> supportableVersions() {
|
||||
// todo
|
||||
return EnumSet.range(FhirPublication.STU3, FhirPublication.R5);
|
||||
}
|
||||
|
||||
public void setAllowedVersions(EnumSet<FhirPublication> versions) {
|
||||
// todo
|
||||
}
|
||||
|
||||
public EnumSet<FhirPublication> getAllowedVersions() {
|
||||
return null; // todo
|
||||
}
|
||||
|
||||
public FhirPublication getActualVersion() {
|
||||
return FhirPublication.STU3;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public TerminologyCapabilities getTerminologyCapabilities() {
|
||||
return client.getTerminologyCapabilities();
|
||||
|
|
|
@ -8,6 +8,7 @@ import org.hl7.fhir.dstu3.model.Parameters.ParametersParameterComponent;
|
|||
import org.hl7.fhir.dstu3.utils.client.network.ByteUtils;
|
||||
import org.hl7.fhir.dstu3.utils.client.network.Client;
|
||||
import org.hl7.fhir.dstu3.utils.client.network.ResourceRequest;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
|
||||
|
@ -16,6 +17,7 @@ import java.net.URI;
|
|||
import java.net.URISyntaxException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Base64;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -67,17 +69,20 @@ public class FHIRToolingClient {
|
|||
private String username;
|
||||
private String password;
|
||||
private String userAgent;
|
||||
private EnumSet<FhirPublication> allowedVersions;
|
||||
|
||||
//Pass endpoint for client - URI
|
||||
public FHIRToolingClient(String baseServiceUrl, String userAgent) throws URISyntaxException {
|
||||
preferredResourceFormat = ResourceFormat.RESOURCE_XML;
|
||||
this.userAgent = userAgent;
|
||||
this.allowedVersions = supportableVersions();
|
||||
initialize(baseServiceUrl);
|
||||
}
|
||||
|
||||
public void initialize(String baseServiceUrl) throws URISyntaxException {
|
||||
base = baseServiceUrl;
|
||||
resourceAddress = new ResourceAddress(baseServiceUrl);
|
||||
this.allowedVersions = supportableVersions();
|
||||
this.maxResultSetSize = -1;
|
||||
}
|
||||
|
||||
|
@ -85,6 +90,23 @@ public class FHIRToolingClient {
|
|||
return client;
|
||||
}
|
||||
|
||||
public EnumSet<FhirPublication> supportableVersions() {
|
||||
// todo
|
||||
return EnumSet.range(FhirPublication.STU3, FhirPublication.R5);
|
||||
}
|
||||
|
||||
public void setAllowedVersions(EnumSet<FhirPublication> versions) {
|
||||
// todo
|
||||
}
|
||||
|
||||
public EnumSet<FhirPublication> getAllowedVersions() {
|
||||
return null; // todo
|
||||
}
|
||||
|
||||
public FhirPublication getActualVersion() {
|
||||
return FhirPublication.STU3;
|
||||
}
|
||||
|
||||
public void setClient(Client client) {
|
||||
this.client = client;
|
||||
}
|
||||
|
|
|
@ -1,87 +0,0 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
|
||||
/*
|
||||
Copyright (c) 2011+, HL7, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
* Neither the name of HL7 nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
import org.hl7.fhir.r5.model.Enumerations.FHIRVersion;
|
||||
import org.hl7.fhir.utilities.VersionUtilities;
|
||||
|
||||
/**
|
||||
* This enumreation is special, and hand crafted. It only supports a subset of the actual published FHIR versions, those that are still supported.
|
||||
* @author graha
|
||||
*
|
||||
*/
|
||||
public enum FhirPublication {
|
||||
NULL,
|
||||
DSTU1,
|
||||
DSTU2,
|
||||
DSTU2016May,
|
||||
STU3,
|
||||
R4,
|
||||
R4B,
|
||||
R5;
|
||||
|
||||
public static FhirPublication fromCode(String v) {
|
||||
if (VersionUtilities.isR2Ver(v))
|
||||
return FhirPublication.DSTU2;
|
||||
if (VersionUtilities.isR2BVer(v))
|
||||
return FhirPublication.DSTU2016May;
|
||||
if (VersionUtilities.isR3Ver(v))
|
||||
return FhirPublication.STU3;
|
||||
if (VersionUtilities.isR4Ver(v))
|
||||
return FhirPublication.R4;
|
||||
if (VersionUtilities.isR4BVer(v))
|
||||
return FhirPublication.R4B;
|
||||
if (VersionUtilities.isR5Ver(v))
|
||||
return FhirPublication.R5;
|
||||
return null;
|
||||
}
|
||||
|
||||
public String toCode() {
|
||||
switch (this) {
|
||||
case DSTU1: return "0.01";
|
||||
case DSTU2: return "1.0.2";
|
||||
case DSTU2016May: return "1.4.0";
|
||||
case STU3: return "3.0.1";
|
||||
case R4: return "4.0.1";
|
||||
case R4B: return "4.3.0";
|
||||
case R5: return "5.0.0";
|
||||
default:
|
||||
return "??";
|
||||
}
|
||||
}
|
||||
|
||||
public static FhirPublication fromVersion(FHIRVersion v) {
|
||||
return fromCode(v.toCode());
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -18,10 +18,10 @@ import org.hl7.fhir.r5.context.IWorkerContext;
|
|||
import org.hl7.fhir.r5.model.Base;
|
||||
import org.hl7.fhir.r5.model.DomainResource;
|
||||
import org.hl7.fhir.r5.model.Enumerations.FHIRVersion;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.r5.renderers.utils.Resolver.IReferenceResolver;
|
||||
import org.hl7.fhir.r5.renderers.utils.Resolver.ResourceContext;
|
||||
import org.hl7.fhir.r5.utils.FHIRPathEngine.IEvaluationContext;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.MarkDownProcessor;
|
||||
import org.hl7.fhir.utilities.MarkDownProcessor.Dialect;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
|
|
|
@ -32,13 +32,21 @@ package org.hl7.fhir.r5.terminologies;
|
|||
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r5.model.*;
|
||||
import org.hl7.fhir.r5.model.Enumerations.FHIRVersion;
|
||||
import org.hl7.fhir.r5.utils.client.network.ClientHeaders;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
|
||||
import java.util.EnumSet;
|
||||
import java.util.Map;
|
||||
|
||||
public interface TerminologyClient {
|
||||
|
||||
EnumSet<FhirPublication> supportableVersions();
|
||||
void setAllowedVersions(EnumSet<FhirPublication> versions);
|
||||
EnumSet<FhirPublication> getAllowedVersions();
|
||||
FhirPublication getActualVersion();
|
||||
|
||||
String getAddress();
|
||||
String getServerVersion();
|
||||
TerminologyCapabilities getTerminologyCapabilities() throws FHIRException;
|
||||
|
|
|
@ -45,6 +45,7 @@ import org.hl7.fhir.r5.terminologies.ValueSetUtilities;
|
|||
import org.hl7.fhir.r5.utils.XVerExtensionManager;
|
||||
import org.hl7.fhir.r5.utils.XVerExtensionManager.XVerExtensionStatus;
|
||||
import org.hl7.fhir.r5.utils.validation.ValidationContextCarrier.IValidationContextResourceLoader;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.utilities.i18n.I18nConstants;
|
||||
import org.hl7.fhir.utilities.validation.ValidationMessage;
|
||||
|
|
|
@ -62,13 +62,13 @@ import org.hl7.fhir.r5.elementmodel.Manager.FhirFormat;
|
|||
import org.hl7.fhir.r5.formats.JsonParser;
|
||||
import org.hl7.fhir.r5.formats.XmlParser;
|
||||
import org.hl7.fhir.r5.model.CodeSystem;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.r5.model.OperationOutcome;
|
||||
import org.hl7.fhir.r5.model.Resource;
|
||||
import org.hl7.fhir.r5.model.ValueSet;
|
||||
import org.hl7.fhir.r5.utils.validation.constants.BestPracticeWarningLevel;
|
||||
import org.hl7.fhir.r5.utils.validation.constants.CheckDisplayOption;
|
||||
import org.hl7.fhir.r5.utils.validation.constants.IdStatus;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.utilities.VersionUtilities;
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ import org.hl7.fhir.r5.renderers.spreadsheets.ConceptMapSpreadsheetGenerator;
|
|||
import org.hl7.fhir.r5.renderers.spreadsheets.StructureDefinitionSpreadsheetGenerator;
|
||||
import org.hl7.fhir.r5.renderers.spreadsheets.ValueSetSpreadsheetGenerator;
|
||||
import org.hl7.fhir.r5.utils.ToolingExtensions;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.TextFile;
|
||||
import org.hl7.fhir.utilities.TimeTracker;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.hl7.fhir.validation.cli.utils;
|
||||
|
||||
import org.hl7.fhir.r5.model.Constants;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.TimeTracker;
|
||||
import org.hl7.fhir.utilities.VersionUtilities;
|
||||
import org.hl7.fhir.validation.ValidationEngine;
|
||||
|
|
|
@ -19,7 +19,6 @@ import org.hl7.fhir.r5.elementmodel.ObjectConverter;
|
|||
import org.hl7.fhir.r5.formats.IParser.OutputStyle;
|
||||
import org.hl7.fhir.r5.model.CodeableConcept;
|
||||
import org.hl7.fhir.r5.model.Coding;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.r5.model.Library;
|
||||
import org.hl7.fhir.r5.model.Measure;
|
||||
import org.hl7.fhir.r5.model.Measure.MeasureGroupComponent;
|
||||
|
@ -28,6 +27,7 @@ import org.hl7.fhir.r5.model.Measure.MeasureGroupStratifierComponent;
|
|||
import org.hl7.fhir.r5.model.Resource;
|
||||
import org.hl7.fhir.r5.renderers.DataRenderer;
|
||||
import org.hl7.fhir.r5.utils.XVerExtensionManager;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.utilities.i18n.I18nConstants;
|
||||
import org.hl7.fhir.utilities.validation.ValidationMessage;
|
||||
|
|
|
@ -29,7 +29,6 @@ import org.hl7.fhir.r5.model.Coding;
|
|||
import org.hl7.fhir.r5.model.DateType;
|
||||
import org.hl7.fhir.r5.model.DomainResource;
|
||||
import org.hl7.fhir.r5.model.Enumerations.FHIRVersion;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.r5.model.IntegerType;
|
||||
import org.hl7.fhir.r5.model.Questionnaire;
|
||||
import org.hl7.fhir.r5.model.Questionnaire.QuestionnaireItemAnswerOptionComponent;
|
||||
|
@ -44,6 +43,7 @@ import org.hl7.fhir.r5.utils.XVerExtensionManager;
|
|||
import org.hl7.fhir.r5.utils.validation.ValidationContextCarrier;
|
||||
import org.hl7.fhir.r5.utils.validation.ValidationContextCarrier.ValidationContextResourceProxy;
|
||||
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.utilities.i18n.I18nConstants;
|
||||
import org.hl7.fhir.utilities.validation.ValidationMessage;
|
||||
|
|
|
@ -3,10 +3,10 @@ package org.hl7.fhir.validation.tests;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.utilities.tests.CacheVerificationLogger;
|
||||
import org.hl7.fhir.validation.tests.utilities.TestConstants;
|
||||
import org.hl7.fhir.r5.elementmodel.Manager.FhirFormat;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.r5.model.OperationOutcome;
|
||||
import org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity;
|
||||
import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent;
|
||||
|
|
|
@ -37,7 +37,6 @@ import org.hl7.fhir.r5.model.Base;
|
|||
import org.hl7.fhir.r5.model.CanonicalResource;
|
||||
import org.hl7.fhir.r5.model.Constants;
|
||||
import org.hl7.fhir.r5.model.ElementDefinition;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.r5.model.ImplementationGuide;
|
||||
import org.hl7.fhir.r5.model.Patient;
|
||||
import org.hl7.fhir.r5.model.Resource;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.hl7.fhir.validation.tests.utilities;
|
||||
|
||||
import org.hl7.fhir.r5.context.TerminologyCache;
|
||||
import org.hl7.fhir.r5.model.FhirPublication;
|
||||
import org.hl7.fhir.utilities.FhirPublication;
|
||||
import org.hl7.fhir.validation.ValidationEngine;
|
||||
|
||||
import java.nio.file.Paths;
|
||||
|
|
Loading…
Reference in New Issue