rework terminology interface

This commit is contained in:
Grahame Grieve 2023-04-14 17:59:06 +10:00
parent 03eb6e7bf0
commit 6ac00b8c68
101 changed files with 1963 additions and 1229 deletions

View File

@ -17,6 +17,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_
import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Uri40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Uri40_50;
import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.r5.model.ValueSet.ConceptPropertyComponent; import org.hl7.fhir.r5.model.ValueSet.ConceptPropertyComponent;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionPropertyComponent;
/* /*
Copyright (c) 2011+, HL7, Inc. Copyright (c) 2011+, HL7, Inc.
@ -373,7 +374,7 @@ public class ValueSet40_50 {
if (src == null) if (src == null)
return null; return null;
org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent tgt = new org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent(); org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent tgt = new org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent();
ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyBackboneElement(src, tgt); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyBackboneElement(src, tgt, "http://hl7.org/fhir/5.0/StructureDefinition/extension-ValueSet.expansion.property");
if (src.hasIdentifier()) if (src.hasIdentifier())
tgt.setIdentifierElement(Uri40_50.convertUri(src.getIdentifierElement())); tgt.setIdentifierElement(Uri40_50.convertUri(src.getIdentifierElement()));
if (src.hasTimestamp()) if (src.hasTimestamp())
@ -384,6 +385,11 @@ public class ValueSet40_50 {
tgt.setOffsetElement(Integer40_50.convertInteger(src.getOffsetElement())); tgt.setOffsetElement(Integer40_50.convertInteger(src.getOffsetElement()));
for (org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionParameterComponent t : src.getParameter()) for (org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionParameterComponent t : src.getParameter())
tgt.addParameter(convertValueSetExpansionParameterComponent(t)); tgt.addParameter(convertValueSetExpansionParameterComponent(t));
for (org.hl7.fhir.r4.model.Extension t : src.getExtension()) {
if ("http://hl7.org/fhir/5.0/StructureDefinition/extension-ValueSet.expansion.property".equals(t.getUrl())) {
tgt.addProperty().setCode(t.getExtensionString("code")).setUri(t.getExtensionString("uri"));
}
}
for (org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionContainsComponent t : src.getContains()) for (org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionContainsComponent t : src.getContains())
tgt.addContains(convertValueSetExpansionContainsComponent(t)); tgt.addContains(convertValueSetExpansionContainsComponent(t));
return tgt; return tgt;
@ -404,6 +410,11 @@ public class ValueSet40_50 {
tgt.setOffsetElement(Integer40_50.convertInteger(src.getOffsetElement())); tgt.setOffsetElement(Integer40_50.convertInteger(src.getOffsetElement()));
for (org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionParameterComponent t : src.getParameter()) for (org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionParameterComponent t : src.getParameter())
tgt.addParameter(convertValueSetExpansionParameterComponent(t)); tgt.addParameter(convertValueSetExpansionParameterComponent(t));
for (ValueSetExpansionPropertyComponent t : src.getProperty()) {
org.hl7.fhir.r4.model.Extension ext = tgt.addExtension().setUrl("http://hl7.org/fhir/5.0/StructureDefinition/extension-ValueSet.expansion.property");
ext.addExtension().setUrl("code").setValue(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(t.getCodeElement()));
ext.addExtension().setUrl("uri").setValue(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(t.getUriElement()));
}
for (org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionContainsComponent t : src.getContains()) for (org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionContainsComponent t : src.getContains())
tgt.addContains(convertValueSetExpansionContainsComponent(t)); tgt.addContains(convertValueSetExpansionContainsComponent(t));
return tgt; return tgt;

View File

@ -0,0 +1,30 @@
package org.hl7.fhir.convertors.misc;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import org.hl7.fhir.exceptions.FHIRFormatError;
import org.hl7.fhir.r5.formats.JsonParser;
import org.hl7.fhir.r5.model.CodeSystem;
public class BigCodeSystemGenerator {
public static void main(String[] args) throws FileNotFoundException, IOException {
new BigCodeSystemGenerator().execute(new File("/Users/grahamegrieve/work/test-cases/tx/big/codesystem-big.json"));
}
private void execute(File file) throws FHIRFormatError, FileNotFoundException, IOException {
CodeSystem cs = (CodeSystem) new JsonParser().parse(new FileInputStream(file));
cs.getConcept().clear();
for (int i = 1; i <= 2000; i++) {
cs.addConcept().setCode("code"+i).setDisplay("Display "+i).setDefinition("This is code "+i);
}
new JsonParser().compose(new FileOutputStream(file), cs);
}
}

View File

@ -9,50 +9,50 @@ import org.hl7.fhir.utilities.VersionUtilities;
public class TerminologyClientFactory { public class TerminologyClientFactory {
public static TerminologyClient makeClient(String url, String userAgent, FhirPublication v) throws URISyntaxException { public static TerminologyClient makeClient(String id, String url, String userAgent, FhirPublication v) throws URISyntaxException {
if (v == null) if (v == null)
return new TerminologyClientR5(checkEndsWith("/r4", url), userAgent); return new TerminologyClientR5(id, checkEndsWith("/r4", url), userAgent);
switch (v) { switch (v) {
case DSTU2016May: case DSTU2016May:
return new TerminologyClientR3(checkEndsWith("/r3", url), userAgent); // r3 is the least worst match return new TerminologyClientR3(id, checkEndsWith("/r3", url), userAgent); // r3 is the least worst match
case DSTU1: case DSTU1:
throw new Error("The version " + v + " is not currently supported"); throw new Error("The version " + v + " is not currently supported");
case DSTU2: case DSTU2:
return new TerminologyClientR2(checkEndsWith("/r2", url), userAgent); return new TerminologyClientR2(id, checkEndsWith("/r2", url), userAgent);
case R4: case R4:
return new TerminologyClientR4(checkEndsWith("/r4", url), userAgent); return new TerminologyClientR4(id, checkEndsWith("/r4", url), userAgent);
case R4B: case R4B:
return new TerminologyClientR4(checkEndsWith("/r4", url), userAgent); return new TerminologyClientR4(id, checkEndsWith("/r4", url), userAgent);
case R5: case R5:
return new TerminologyClientR5(checkEndsWith("/r4", url), userAgent); // r4 for now, since the terminology is currently the same return new TerminologyClientR5(id, checkEndsWith("/r4", url), userAgent); // r4 for now, since the terminology is currently the same
case STU3: case STU3:
return new TerminologyClientR3(checkEndsWith("/r3", url), userAgent); return new TerminologyClientR3(id, checkEndsWith("/r3", url), userAgent);
default: default:
throw new Error("The version " + v + " is not currently supported"); throw new Error("The version " + v + " is not currently supported");
} }
} }
public static TerminologyClient makeClient(String url, String userAgent, String v) throws URISyntaxException { public static TerminologyClient makeClient(String id, String url, String userAgent, String v) throws URISyntaxException {
if (v == null) if (v == null)
return new TerminologyClientR5(checkEndsWith("/r4", url), userAgent); return new TerminologyClientR5(id, checkEndsWith("/r4", url), userAgent);
v = VersionUtilities.getMajMin(v); v = VersionUtilities.getMajMin(v);
if (VersionUtilities.isR2Ver(v)) { if (VersionUtilities.isR2Ver(v)) {
return new TerminologyClientR2(checkEndsWith("/r2", url), userAgent); return new TerminologyClientR2(id, checkEndsWith("/r2", url), userAgent);
} }
if (VersionUtilities.isR2BVer(v)) { if (VersionUtilities.isR2BVer(v)) {
return new TerminologyClientR3(checkEndsWith("/r3", url), userAgent); // r3 is the least worst match return new TerminologyClientR3(id, checkEndsWith("/r3", url), userAgent); // r3 is the least worst match
} }
if (VersionUtilities.isR3Ver(v)) { if (VersionUtilities.isR3Ver(v)) {
return new TerminologyClientR3(checkEndsWith("/r3", url), userAgent); // r3 is the least worst match return new TerminologyClientR3(id, checkEndsWith("/r3", url), userAgent); // r3 is the least worst match
} }
if (VersionUtilities.isR4Ver(v)) { if (VersionUtilities.isR4Ver(v)) {
return new TerminologyClientR4(checkEndsWith("/r4", url), userAgent); return new TerminologyClientR4(id, checkEndsWith("/r4", url), userAgent);
} }
if (VersionUtilities.isR4BVer(v)) { if (VersionUtilities.isR4BVer(v)) {
return new TerminologyClientR4(checkEndsWith("/r4", url), userAgent); return new TerminologyClientR4(id, checkEndsWith("/r4", url), userAgent);
} }
if (VersionUtilities.isR5Plus(v)) { if (VersionUtilities.isR5Plus(v)) {
return new TerminologyClientR5(checkEndsWith("/r4", url), userAgent); // r4 for now, since the terminology is currently the same return new TerminologyClientR5(id, checkEndsWith("/r4", url), userAgent); // r4 for now, since the terminology is currently the same
} }
throw new Error("The version " + v + " is not currently supported"); throw new Error("The version " + v + " is not currently supported");
} }

View File

@ -54,6 +54,7 @@ import org.hl7.fhir.utilities.Utilities;
public class TerminologyClientR2 implements TerminologyClient { public class TerminologyClientR2 implements TerminologyClient {
private final FHIRToolingClient client; // todo: use the R2 client private final FHIRToolingClient client; // todo: use the R2 client
private String id;
public EnumSet<FhirPublication> supportableVersions() { public EnumSet<FhirPublication> supportableVersions() {
return EnumSet.of(FhirPublication.DSTU2); return EnumSet.of(FhirPublication.DSTU2);
@ -81,8 +82,14 @@ public class TerminologyClientR2 implements TerminologyClient {
return FhirPublication.DSTU2; return FhirPublication.DSTU2;
} }
public TerminologyClientR2(String address, String userAgent) throws URISyntaxException { public TerminologyClientR2(String id, String address, String userAgent) throws URISyntaxException {
client = new FHIRToolingClient(address, userAgent); client = new FHIRToolingClient(address, userAgent);
this.id = id;
}
@Override
public String getId() {
return id;
} }
@Override @Override

View File

@ -55,18 +55,25 @@ public class TerminologyClientR3 implements TerminologyClient {
private final FHIRToolingClient client; // todo: use the R2 client private final FHIRToolingClient client; // todo: use the R2 client
private ClientHeaders clientHeaders; private ClientHeaders clientHeaders;
private String id;
public TerminologyClientR3(String address, String userAgent) throws URISyntaxException { public TerminologyClientR3(String id, String address, String userAgent) throws URISyntaxException {
client = new FHIRToolingClient(address, userAgent); client = new FHIRToolingClient(address, userAgent);
setClientHeaders(new ClientHeaders()); setClientHeaders(new ClientHeaders());
this.id = id;
} }
public TerminologyClientR3(String address, String userAgent, ClientHeaders clientHeaders) throws URISyntaxException { @Override
public String getId() {
return id;
}
public TerminologyClientR3(String id, String address, String userAgent, ClientHeaders clientHeaders) throws URISyntaxException {
client = new FHIRToolingClient(address, userAgent); client = new FHIRToolingClient(address, userAgent);
setClientHeaders(clientHeaders); setClientHeaders(clientHeaders);
this.id = id;
} }
public EnumSet<FhirPublication> supportableVersions() { public EnumSet<FhirPublication> supportableVersions() {
return client.supportableVersions(); return client.supportableVersions();
} }

View File

@ -38,7 +38,9 @@ import java.util.HashMap;
import org.hl7.fhir.convertors.conv40_50.resources40_50.TerminologyCapabilities40_50; import org.hl7.fhir.convertors.conv40_50.resources40_50.TerminologyCapabilities40_50;
import org.hl7.fhir.convertors.factory.VersionConvertorFactory_40_50; import org.hl7.fhir.convertors.factory.VersionConvertorFactory_40_50;
import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.r4.model.OperationOutcome;
import org.hl7.fhir.r4.model.Resource; import org.hl7.fhir.r4.model.Resource;
import org.hl7.fhir.r4.utils.client.EFhirClientException;
import org.hl7.fhir.r4.utils.client.FHIRToolingClient; import org.hl7.fhir.r4.utils.client.FHIRToolingClient;
import org.hl7.fhir.r5.model.Bundle; import org.hl7.fhir.r5.model.Bundle;
import org.hl7.fhir.r5.model.CanonicalResource; import org.hl7.fhir.r5.model.CanonicalResource;
@ -56,17 +58,25 @@ public class TerminologyClientR4 implements TerminologyClient {
private final FHIRToolingClient client; // todo: use the R2 client private final FHIRToolingClient client; // todo: use the R2 client
private ClientHeaders clientHeaders; private ClientHeaders clientHeaders;
private String id;
public TerminologyClientR4(String address, String userAgent) throws URISyntaxException { public TerminologyClientR4(String id, String address, String userAgent) throws URISyntaxException {
this.client = new FHIRToolingClient(address, userAgent); this.client = new FHIRToolingClient(address, userAgent);
setClientHeaders(new ClientHeaders()); setClientHeaders(new ClientHeaders());
} }
public TerminologyClientR4(String address, String userAgent, ClientHeaders clientHeaders) throws URISyntaxException { public TerminologyClientR4(String id, String address, String userAgent, ClientHeaders clientHeaders) throws URISyntaxException {
this.client = new FHIRToolingClient(address, userAgent); this.client = new FHIRToolingClient(address, userAgent);
setClientHeaders(clientHeaders); setClientHeaders(clientHeaders);
this.id = id;
} }
@Override
public String getId() {
return id;
}
public EnumSet<FhirPublication> supportableVersions() { public EnumSet<FhirPublication> supportableVersions() {
// todo // todo
@ -103,8 +113,14 @@ public class TerminologyClientR4 implements TerminologyClient {
if (params == null) { if (params == null) {
params = new HashMap<>(); params = new HashMap<>();
} }
vs2 = client.expandValueset(vs2, p2, params); // todo: second parameter try {
return (ValueSet) VersionConvertorFactory_40_50.convertResource(vs2); vs2 = client.expandValueset(vs2, p2, params); // todo: second parameter
return (ValueSet) VersionConvertorFactory_40_50.convertResource(vs2);
} catch (org.hl7.fhir.r4.utils.client.EFhirClientException e) {
throw new org.hl7.fhir.r5.utils.client.EFhirClientException(e.getMessage(),
(org.hl7.fhir.r5.model.OperationOutcome) VersionConvertorFactory_40_50.convertResource(e.getServerErrors().get(0)));
}
} }
@Override @Override

View File

@ -54,18 +54,25 @@ public class TerminologyClientR5 implements TerminologyClient {
private final FHIRToolingClient client; private final FHIRToolingClient client;
private ClientHeaders clientHeaders; private ClientHeaders clientHeaders;
private String id;
public TerminologyClientR5(String address, String userAgent) throws URISyntaxException { public TerminologyClientR5(String id, String address, String userAgent) throws URISyntaxException {
this.client = new FHIRToolingClient(address, userAgent); this.client = new FHIRToolingClient(address, userAgent);
setClientHeaders(new ClientHeaders()); setClientHeaders(new ClientHeaders());
this.id = id;
} }
public TerminologyClientR5(String address, String userAgent, ClientHeaders clientHeaders) throws URISyntaxException { @Override
public String getId() {
return id;
}
public TerminologyClientR5(String id, String address, String userAgent, ClientHeaders clientHeaders) throws URISyntaxException {
this.client = new FHIRToolingClient(address, userAgent); this.client = new FHIRToolingClient(address, userAgent);
setClientHeaders(clientHeaders); setClientHeaders(clientHeaders);
this.id = id;
} }
public EnumSet<FhirPublication> supportableVersions() { public EnumSet<FhirPublication> supportableVersions() {
// todo // todo
return EnumSet.range(FhirPublication.STU3, FhirPublication.R5); return EnumSet.range(FhirPublication.STU3, FhirPublication.R5);

View File

@ -52,14 +52,14 @@ public class TerminologyClientFactoryTest {
@ParameterizedTest @ParameterizedTest
@MethodSource("data") @MethodSource("data")
public void testMakeClient(String url, FhirPublication fhirPublication, String expectedAddress) throws URISyntaxException { public void testMakeClient(String url, FhirPublication fhirPublication, String expectedAddress) throws URISyntaxException {
TerminologyClient terminologyClient = TerminologyClientFactory.makeClient(url, "dummyUserAgent", fhirPublication); TerminologyClient terminologyClient = TerminologyClientFactory.makeClient("id", url, "dummyUserAgent", fhirPublication);
assertEquals(expectedAddress, terminologyClient.getAddress()); assertEquals(expectedAddress, terminologyClient.getAddress());
} }
@Test @Test
public void testMakeClientDstu1Fails() throws URISyntaxException { public void testMakeClientDstu1Fails() throws URISyntaxException {
assertThrows(Error.class, () -> { assertThrows(Error.class, () -> {
TerminologyClient terminologyClient = TerminologyClientFactory.makeClient("urldoesnotmatter", "dummyUserAgent", FhirPublication.DSTU1); TerminologyClient terminologyClient = TerminologyClientFactory.makeClient("id", "urldoesnotmatter", "dummyUserAgent", FhirPublication.DSTU1);
} }
); );
} }
@ -67,7 +67,7 @@ public class TerminologyClientFactoryTest {
@Test @Test
public void testMakeClientNullFails() throws URISyntaxException { public void testMakeClientNullFails() throws URISyntaxException {
assertThrows(Error.class, () -> { assertThrows(Error.class, () -> {
TerminologyClient terminologyClient = TerminologyClientFactory.makeClient("urldoesnotmatter", "dummyUserAgent", FhirPublication.NULL); TerminologyClient terminologyClient = TerminologyClientFactory.makeClient("id", "urldoesnotmatter", "dummyUserAgent", FhirPublication.NULL);
} }
); );
} }

View File

@ -155,7 +155,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
if (result == null) { if (result == null) {
warnings.add(0, context.formatMessage(I18nConstants.UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl())); warnings.add(0, context.formatMessage(I18nConstants.UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl()));
} else if (!result) { } else if (!result) {
errors.add(0, context.formatMessage(I18nConstants.NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl())); errors.add(0, context.formatMessagePlural(code.getCoding().size(), I18nConstants.NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl()));
} }
} }
if (errors.size() > 0) { if (errors.size() > 0) {
@ -349,9 +349,9 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
ConceptDefinitionComponent cc = cs.hasUserData("tx.cs.special") ? ((SpecialCodeSystem) cs.getUserData("tx.cs.special")).findConcept(code) : findCodeInConcept(cs.getConcept(), code.getCode()); ConceptDefinitionComponent cc = cs.hasUserData("tx.cs.special") ? ((SpecialCodeSystem) cs.getUserData("tx.cs.special")).findConcept(code) : findCodeInConcept(cs.getConcept(), code.getCode());
if (cc == null) { if (cc == null) {
if (cs.getContent() == CodeSystemContentMode.FRAGMENT) { if (cs.getContent() == CodeSystemContentMode.FRAGMENT) {
return new ValidationResult(IssueSeverity.WARNING, context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_FRAGMENT, gen(code), cs.getUrl())); return new ValidationResult(IssueSeverity.WARNING, context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_FRAGMENT, code, cs.getUrl()));
} else { } else {
return new ValidationResult(IssueSeverity.ERROR, context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_, gen(code), cs.getUrl())); return new ValidationResult(IssueSeverity.ERROR, context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_, code, cs.getUrl()));
} }
} }
if (code.getDisplay() == null) { if (code.getDisplay() == null) {

View File

@ -80,9 +80,9 @@ public class R5ExtensionsLoader {
} }
public void load() throws FHIRException, IOException { public void load() throws FHIRException, IOException {
pckCore = pcm.loadPackage("hl7.fhir.r5.core", "current"); pckCore = pcm.loadPackage("hl7.fhir.r5.core", "5.0.0");
loadDetails(pckCore); loadDetails(pckCore);
pckExt = pcm.loadPackage("hl7.fhir.uv.extensions", "current"); pckExt = pcm.loadPackage("hl7.fhir.uv.extensions", "1.0.0");
loadDetails(pckExt); loadDetails(pckExt);
} }

View File

@ -81,6 +81,7 @@ import org.hl7.fhir.r5.model.NamingSystem.NamingSystemIdentifierType;
import org.hl7.fhir.r5.model.NamingSystem.NamingSystemUniqueIdComponent; import org.hl7.fhir.r5.model.NamingSystem.NamingSystemUniqueIdComponent;
import org.hl7.fhir.r5.model.OperationDefinition; import org.hl7.fhir.r5.model.OperationDefinition;
import org.hl7.fhir.r5.model.OperationOutcome; import org.hl7.fhir.r5.model.OperationOutcome;
import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent;
import org.hl7.fhir.r5.model.PackageInformation; import org.hl7.fhir.r5.model.PackageInformation;
import org.hl7.fhir.r5.model.Parameters; import org.hl7.fhir.r5.model.Parameters;
import org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent; import org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent;
@ -111,6 +112,7 @@ import org.hl7.fhir.r5.renderers.OperationOutcomeRenderer;
import org.hl7.fhir.r5.terminologies.CodeSystemUtilities; import org.hl7.fhir.r5.terminologies.CodeSystemUtilities;
import org.hl7.fhir.r5.terminologies.TerminologyClient; import org.hl7.fhir.r5.terminologies.TerminologyClient;
import org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple; import org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple;
import org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.VSCheckerException;
import org.hl7.fhir.r5.terminologies.ValueSetExpander.TerminologyServiceErrorClass; import org.hl7.fhir.r5.terminologies.ValueSetExpander.TerminologyServiceErrorClass;
import org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcome; import org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcome;
import org.hl7.fhir.r5.terminologies.ValueSetExpanderSimple; import org.hl7.fhir.r5.terminologies.ValueSetExpanderSimple;
@ -706,7 +708,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
noTerminologyServer = true; noTerminologyServer = true;
logger.logMessage("==============!! Running without terminology server !! =============="); logger.logMessage("==============!! Running without terminology server !! ==============");
if (txClient!=null) { if (txClient!=null) {
logger.logMessage("txServer = "+txClient.getAddress()); logger.logMessage("txServer = "+txClient.getId());
logger.logMessage("Error = "+e.getMessage()+""); logger.logMessage("Error = "+e.getMessage()+"");
} }
logger.logMessage("====================================================================="); logger.logMessage("=====================================================================");
@ -918,7 +920,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
public ValidationResult validateCode(ValidationOptions options, String system, String version, String code, String display, ValueSet vs) { public ValidationResult validateCode(ValidationOptions options, String system, String version, String code, String display, ValueSet vs) {
assert options != null; assert options != null;
Coding c = new Coding(system, version, code, display); Coding c = new Coding(system, version, code, display);
return validateCode(options, c, vs); return validateCode(options, "code", c, vs);
} }
@Override @Override
@ -951,7 +953,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
if (!t.hasResult()) { if (!t.hasResult()) {
try { try {
ValueSetCheckerSimple vsc = constructValueSetCheckerSimple(options, vs); ValueSetCheckerSimple vsc = constructValueSetCheckerSimple(options, vs);
ValidationResult res = vsc.validateCode(t.getCoding()); ValidationResult res = vsc.validateCode("Coding", t.getCoding());
if (txCache != null) { if (txCache != null) {
txCache.cacheValidation(t.getCacheToken(), res, TerminologyCache.TRANSIENT); txCache.cacheValidation(t.getCacheToken(), res, TerminologyCache.TRANSIENT);
} }
@ -966,11 +968,11 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
if (!t.hasResult()) { if (!t.hasResult()) {
String codeKey = t.getCoding().hasVersion() ? t.getCoding().getSystem()+"|"+t.getCoding().getVersion() : t.getCoding().getSystem(); String codeKey = t.getCoding().hasVersion() ? t.getCoding().getSystem()+"|"+t.getCoding().getVersion() : t.getCoding().getSystem();
if (!options.isUseServer()) { if (!options.isUseServer()) {
t.setResult(new ValidationResult(IssueSeverity.WARNING,formatMessage(I18nConstants.UNABLE_TO_VALIDATE_CODE_WITHOUT_USING_SERVER), TerminologyServiceErrorClass.BLOCKED_BY_OPTIONS)); t.setResult(new ValidationResult(IssueSeverity.WARNING,formatMessage(I18nConstants.UNABLE_TO_VALIDATE_CODE_WITHOUT_USING_SERVER), TerminologyServiceErrorClass.BLOCKED_BY_OPTIONS, null));
} else if (unsupportedCodeSystems.contains(codeKey)) { } else if (unsupportedCodeSystems.contains(codeKey)) {
t.setResult(new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.TERMINOLOGY_TX_SYSTEM_NOTKNOWN, t.getCoding().getSystem()), TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED)); t.setResult(new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.TERMINOLOGY_TX_SYSTEM_NOTKNOWN, t.getCoding().getSystem()), TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED, null));
} else if (noTerminologyServer) { } else if (noTerminologyServer) {
t.setResult(new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.ERROR_VALIDATING_CODE_RUNNING_WITHOUT_TERMINOLOGY_SERVICES), TerminologyServiceErrorClass.NOSERVICE)); t.setResult(new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.ERROR_VALIDATING_CODE_RUNNING_WITHOUT_TERMINOLOGY_SERVICES), TerminologyServiceErrorClass.NOSERVICE, null));
} }
} }
} }
@ -1015,7 +1017,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
txCache.cacheValidation(t.getCacheToken(), t.getResult(), TerminologyCache.PERMANENT); txCache.cacheValidation(t.getCacheToken(), t.getResult(), TerminologyCache.PERMANENT);
} }
} else { } else {
t.setResult(new ValidationResult(IssueSeverity.ERROR, getResponseText(r.getResource())).setTxLink(txLog == null ? null : txLog.getLastId())); t.setResult(new ValidationResult(IssueSeverity.ERROR, getResponseText(r.getResource()), null).setTxLink(txLog == null ? null : txLog.getLastId()));
} }
} }
} }
@ -1031,7 +1033,12 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
@Override @Override
public ValidationResult validateCode(ValidationOptions options, Coding code, ValueSet vs) { public ValidationResult validateCode(ValidationOptions options, Coding code, ValueSet vs) {
ValidationContextCarrier ctxt = new ValidationContextCarrier(); ValidationContextCarrier ctxt = new ValidationContextCarrier();
return validateCode(options, code, vs, ctxt); return validateCode(options, "Coding", code, vs, ctxt);
}
public ValidationResult validateCode(ValidationOptions options, String path, Coding code, ValueSet vs) {
ValidationContextCarrier ctxt = new ValidationContextCarrier();
return validateCode(options, path, code, vs, ctxt);
} }
private final String getCodeKey(Coding code) { private final String getCodeKey(Coding code) {
@ -1040,6 +1047,10 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
@Override @Override
public ValidationResult validateCode(final ValidationOptions optionsArg, final Coding code, final ValueSet vs, final ValidationContextCarrier ctxt) { public ValidationResult validateCode(final ValidationOptions optionsArg, final Coding code, final ValueSet vs, final ValidationContextCarrier ctxt) {
return validateCode(optionsArg, "Coding", code, vs, ctxt);
}
public ValidationResult validateCode(final ValidationOptions optionsArg, String path, final Coding code, final ValueSet vs, final ValidationContextCarrier ctxt) {
ValidationOptions options = optionsArg != null ? optionsArg : ValidationOptions.defaults(); ValidationOptions options = optionsArg != null ? optionsArg : ValidationOptions.defaults();
@ -1057,37 +1068,42 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
return res; return res;
} }
List<OperationOutcomeIssueComponent> issues = new ArrayList<>();
String localError = null; String localError = null;
if (options.isUseClient()) { if (options.isUseClient()) {
// ok, first we try to validate locally // ok, first we try to validate locally
try { try {
ValueSetCheckerSimple vsc = constructValueSetCheckerSimple(options, vs, ctxt); ValueSetCheckerSimple vsc = constructValueSetCheckerSimple(options, vs, ctxt);
if (!vsc.isServerSide(code.getSystem())) { if (!vsc.isServerSide(code.getSystem())) {
res = vsc.validateCode(code); res = vsc.validateCode(path, code);
if (txCache != null) { if (txCache != null) {
txCache.cacheValidation(cacheToken, res, TerminologyCache.TRANSIENT); txCache.cacheValidation(cacheToken, res, TerminologyCache.TRANSIENT);
} }
return res; return res;
} }
} catch (VSCheckerException e) {
localError = e.getMessage();
issues.addAll(e.getIssues());
} catch (Exception e) { } catch (Exception e) {
localError = e.getMessage(); localError = e.getMessage();
} }
} }
if (localError != null && txClient == null) { if (localError != null && txClient == null) {
return new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.UNABLE_TO_VALIDATE_LOCALLY, localError), TerminologyServiceErrorClass.BLOCKED_BY_OPTIONS); return new ValidationResult(IssueSeverity.ERROR, localError, TerminologyServiceErrorClass.UNKNOWN, issues);
} }
if (!options.isUseServer()) { if (!options.isUseServer()) {
return new ValidationResult(IssueSeverity.WARNING,formatMessage(I18nConstants.UNABLE_TO_VALIDATE_CODE_WITHOUT_USING_SERVER, localError), TerminologyServiceErrorClass.BLOCKED_BY_OPTIONS); return new ValidationResult(IssueSeverity.WARNING,formatMessage(I18nConstants.UNABLE_TO_VALIDATE_CODE_WITHOUT_USING_SERVER, localError), TerminologyServiceErrorClass.BLOCKED_BY_OPTIONS, issues);
} }
String codeKey = getCodeKey(code); String codeKey = getCodeKey(code);
if (unsupportedCodeSystems.contains(codeKey)) { if (unsupportedCodeSystems.contains(codeKey)) {
return new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.TERMINOLOGY_TX_SYSTEM_NOTKNOWN, code.getSystem()), TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED); return new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.TERMINOLOGY_TX_SYSTEM_NOTKNOWN, code.getSystem()), TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED, issues);
} }
// if that failed, we try to validate on the server // if that failed, we try to validate on the server
if (noTerminologyServer) { if (noTerminologyServer) {
return new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.ERROR_VALIDATING_CODE_RUNNING_WITHOUT_TERMINOLOGY_SERVICES), TerminologyServiceErrorClass.NOSERVICE); return new ValidationResult(IssueSeverity.ERROR,formatMessage(I18nConstants.ERROR_VALIDATING_CODE_RUNNING_WITHOUT_TERMINOLOGY_SERVICES), TerminologyServiceErrorClass.NOSERVICE, issues);
} }
String csumm = txCache != null ? txCache.summary(code) : null; String csumm = txCache != null ? txCache.summary(code) : null;
if (txCache != null) { if (txCache != null) {
@ -1099,7 +1115,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
Parameters pIn = constructParameters(options, code); Parameters pIn = constructParameters(options, code);
res = validateOnServer(vs, pIn, options); res = validateOnServer(vs, pIn, options);
} catch (Exception e) { } catch (Exception e) {
res = new ValidationResult(IssueSeverity.ERROR, e.getMessage() == null ? e.getClass().getName() : e.getMessage()).setTxLink(txLog == null ? null : txLog.getLastId()).setErrorClass(TerminologyServiceErrorClass.SERVER_ERROR); res = new ValidationResult(IssueSeverity.ERROR, e.getMessage() == null ? e.getClass().getName() : e.getMessage(), null).setTxLink(txLog == null ? null : txLog.getLastId()).setErrorClass(TerminologyServiceErrorClass.SERVER_ERROR);
} }
if (!res.isOk() && localError != null) { if (!res.isOk() && localError != null) {
res.setDiagnostics("Local Error: "+localError.trim()+". Server Error: "+res.getMessage()); res.setDiagnostics("Local Error: "+localError.trim()+". Server Error: "+res.getMessage());
@ -1200,31 +1216,31 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
// ok, first we try to validate locally // ok, first we try to validate locally
try { try {
ValueSetCheckerSimple vsc = constructValueSetCheckerSimple(options, vs); ValueSetCheckerSimple vsc = constructValueSetCheckerSimple(options, vs);
res = vsc.validateCode(code); res = vsc.validateCode("CodeableConcept", code);
txCache.cacheValidation(cacheToken, res, TerminologyCache.TRANSIENT); txCache.cacheValidation(cacheToken, res, TerminologyCache.TRANSIENT);
return res; return res;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
if (e instanceof NoTerminologyServiceException) { if (e instanceof NoTerminologyServiceException) {
return new ValidationResult(IssueSeverity.ERROR, "No Terminology Service", TerminologyServiceErrorClass.NOSERVICE); return new ValidationResult(IssueSeverity.ERROR, "No Terminology Service", TerminologyServiceErrorClass.NOSERVICE, null);
} }
} }
} }
if (!options.isUseServer()) { if (!options.isUseServer()) {
return new ValidationResult(IssueSeverity.WARNING, "Unable to validate code without using server", TerminologyServiceErrorClass.BLOCKED_BY_OPTIONS); return new ValidationResult(IssueSeverity.WARNING, "Unable to validate code without using server", TerminologyServiceErrorClass.BLOCKED_BY_OPTIONS, null);
} }
// if that failed, we try to validate on the server // if that failed, we try to validate on the server
if (noTerminologyServer) { if (noTerminologyServer) {
return new ValidationResult(IssueSeverity.ERROR, "Error validating code: running without terminology services", TerminologyServiceErrorClass.NOSERVICE); return new ValidationResult(IssueSeverity.ERROR, "Error validating code: running without terminology services", TerminologyServiceErrorClass.NOSERVICE, null);
} }
txLog("$validate "+txCache.summary(code)+" for "+ txCache.summary(vs)); txLog("$validate "+txCache.summary(code)+" for "+ txCache.summary(vs));
try { try {
Parameters pIn = constructParameters(options, code); Parameters pIn = constructParameters(options, code);
res = validateOnServer(vs, pIn, options); res = validateOnServer(vs, pIn, options);
} catch (Exception e) { } catch (Exception e) {
res = new ValidationResult(IssueSeverity.ERROR, e.getMessage() == null ? e.getClass().getName() : e.getMessage()).setTxLink(txLog == null ? null : txLog.getLastId()); res = new ValidationResult(IssueSeverity.ERROR, e.getMessage() == null ? e.getClass().getName() : e.getMessage(), null).setTxLink(txLog == null ? null : txLog.getLastId());
} }
txCache.cacheValidation(cacheToken, res, TerminologyCache.PERMANENT); txCache.cacheValidation(cacheToken, res, TerminologyCache.PERMANENT);
return res; return res;
@ -1354,9 +1370,9 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
} }
} }
if (!ok) { if (!ok) {
return new ValidationResult(IssueSeverity.ERROR, message+" (from "+txClient.getAddress()+")", err).setTxLink(txLog.getLastId()); return new ValidationResult(IssueSeverity.ERROR, message+" (from "+txClient.getId()+")", err, null).setTxLink(txLog.getLastId());
} else if (message != null && !message.equals("No Message returned")) { } else if (message != null && !message.equals("No Message returned")) {
return new ValidationResult(IssueSeverity.WARNING, message+" (from "+txClient.getAddress()+")", system, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display).setTxLink(txLog.getLastId()); return new ValidationResult(IssueSeverity.WARNING, message+" (from "+txClient.getId()+")", system, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display, null).setTxLink(txLog.getLastId());
} else if (display != null) { } else if (display != null) {
return new ValidationResult(system, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display).setTxLink(txLog.getLastId()); return new ValidationResult(system, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display).setTxLink(txLog.getLastId());
} else { } else {

View File

@ -1,6 +1,7 @@
package org.hl7.fhir.r5.context; package org.hl7.fhir.r5.context;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;
import java.util.HashSet; import java.util.HashSet;
@ -404,5 +405,15 @@ public class ContextUtilities implements ProfileKnowledgeProvider {
return res; return res;
} }
public List<String> fetchCodeSystemVersions(String system) {
List<String> res = new ArrayList<>();
for (CodeSystem cs : context.fetchResourcesByType(CodeSystem.class)) {
if (system.equals(cs.getUrl()) && cs.hasVersion()) {
res.add(cs.getVersion());
}
}
return res;
}
} }

View File

@ -3,6 +3,7 @@ package org.hl7.fhir.r5.context;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.Date; import java.util.Date;
@ -58,6 +59,7 @@ import org.hl7.fhir.r5.model.CodeableConcept;
import org.hl7.fhir.r5.model.Coding; import org.hl7.fhir.r5.model.Coding;
import org.hl7.fhir.r5.model.ConceptMap; import org.hl7.fhir.r5.model.ConceptMap;
import org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent; import org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent;
import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent;
import org.hl7.fhir.r5.model.NamingSystem; import org.hl7.fhir.r5.model.NamingSystem;
import org.hl7.fhir.r5.model.PackageInformation; import org.hl7.fhir.r5.model.PackageInformation;
import org.hl7.fhir.r5.model.Parameters; import org.hl7.fhir.r5.model.Parameters;
@ -118,6 +120,7 @@ public interface IWorkerContext {
private TerminologyServiceErrorClass errorClass; private TerminologyServiceErrorClass errorClass;
private String txLink; private String txLink;
private String diagnostics; private String diagnostics;
private List<OperationOutcomeIssueComponent> issues = new ArrayList<>();
@Override @Override
public String toString() { public String toString() {
@ -125,9 +128,12 @@ public interface IWorkerContext {
+ errorClass + ", txLink=" + txLink + "]"; + errorClass + ", txLink=" + txLink + "]";
} }
public ValidationResult(IssueSeverity severity, String message) { public ValidationResult(IssueSeverity severity, String message, List<OperationOutcomeIssueComponent> issues) {
this.severity = severity; this.severity = severity;
this.message = message; this.message = message;
if (issues != null) {
this.issues.addAll(issues);
}
} }
public ValidationResult(String system, ConceptDefinitionComponent definition, String preferredDisplay) { public ValidationResult(String system, ConceptDefinitionComponent definition, String preferredDisplay) {
@ -136,18 +142,24 @@ public interface IWorkerContext {
this.preferredDisplay = preferredDisplay; this.preferredDisplay = preferredDisplay;
} }
public ValidationResult(IssueSeverity severity, String message, String system, ConceptDefinitionComponent definition, String preferredDisplay) { public ValidationResult(IssueSeverity severity, String message, String system, ConceptDefinitionComponent definition, String preferredDisplay, List<OperationOutcomeIssueComponent> issues) {
this.severity = severity; this.severity = severity;
this.message = message; this.message = message;
this.system = system; this.system = system;
this.definition = definition; this.definition = definition;
this.preferredDisplay = preferredDisplay; this.preferredDisplay = preferredDisplay;
if (issues != null) {
this.issues.addAll(issues);
}
} }
public ValidationResult(IssueSeverity severity, String message, TerminologyServiceErrorClass errorClass) { public ValidationResult(IssueSeverity severity, String message, TerminologyServiceErrorClass errorClass, List<OperationOutcomeIssueComponent> issues) {
this.severity = severity; this.severity = severity;
this.message = message; this.message = message;
this.errorClass = errorClass; this.errorClass = errorClass;
if (issues != null) {
this.issues.addAll(issues);
}
} }
public boolean isOk() { public boolean isOk() {
@ -166,6 +178,14 @@ public interface IWorkerContext {
} }
} }
public void setDisplay(String display) {
this.preferredDisplay = display;
}
public void setSystem(String system) {
this.system = system;
}
public String getCode() { public String getCode() {
return definition == null ? null : definition.getCode(); return definition == null ? null : definition.getCode();
} }
@ -174,6 +194,10 @@ public interface IWorkerContext {
return definition == null ? null : definition.getDefinition(); return definition == null ? null : definition.getDefinition();
} }
public void setDefinition(ConceptDefinitionComponent definition) {
this.definition = definition;
}
public ConceptDefinitionComponent asConceptDefinition() { public ConceptDefinitionComponent asConceptDefinition() {
return definition; return definition;
} }
@ -237,6 +261,12 @@ public interface IWorkerContext {
return null; return null;
} }
} }
public List<OperationOutcomeIssueComponent> getIssues() {
return issues;
}
} }
public class CodingValidationRequest { public class CodingValidationRequest {

View File

@ -603,9 +603,9 @@ public class TerminologyCache {
String code = loadJS(o.get("code")); String code = loadJS(o.get("code"));
String system = loadJS(o.get("system")); String system = loadJS(o.get("system"));
String definition = loadJS(o.get("definition")); String definition = loadJS(o.get("definition"));
t = loadJS(o.get("class")); t = loadJS(o.get("class"));
TerminologyServiceErrorClass errorClass = t == null ? null : TerminologyServiceErrorClass.valueOf(t) ; TerminologyServiceErrorClass errorClass = t == null ? null : TerminologyServiceErrorClass.valueOf(t) ;
ce.v = new ValidationResult(severity, error, system, new ConceptDefinitionComponent().setDisplay(display).setDefinition(definition).setCode(code), display).setErrorClass(errorClass); ce.v = new ValidationResult(severity, error, system, new ConceptDefinitionComponent().setDisplay(display).setDefinition(definition).setCode(code), display, null).setErrorClass(errorClass);
} }
return ce; return ce;
} }

View File

@ -47,6 +47,7 @@ public interface TerminologyClient {
EnumSet<FhirPublication> getAllowedVersions(); EnumSet<FhirPublication> getAllowedVersions();
FhirPublication getActualVersion(); FhirPublication getActualVersion();
String getId();
String getAddress(); String getAddress();
String getServerVersion(); String getServerVersion();
TerminologyCapabilities getTerminologyCapabilities() throws FHIRException; TerminologyCapabilities getTerminologyCapabilities() throws FHIRException;

View File

@ -3,6 +3,9 @@ package org.hl7.fhir.r5.terminologies;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity;
import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent;
/* /*
Copyright (c) 2011+, HL7, Inc. Copyright (c) 2011+, HL7, Inc.
All rights reserved. All rights reserved.
@ -37,20 +40,41 @@ import java.util.List;
import org.hl7.fhir.r5.terminologies.ValueSetExpander.ETooCostly; import org.hl7.fhir.r5.terminologies.ValueSetExpander.ETooCostly;
import org.hl7.fhir.r5.terminologies.ValueSetExpander.TerminologyServiceErrorClass; import org.hl7.fhir.r5.terminologies.ValueSetExpander.TerminologyServiceErrorClass;
import org.hl7.fhir.r5.utils.EOperationOutcome; import org.hl7.fhir.r5.utils.EOperationOutcome;
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
public interface ValueSetChecker { public interface ValueSetChecker {
public static class ValidationProcessInfo { public static class ValidationProcessInfo {
private TerminologyServiceErrorClass err; private TerminologyServiceErrorClass err;
private List<String> warnings = new ArrayList<>(); private List<OperationOutcomeIssueComponent> issues = new ArrayList<>();
public TerminologyServiceErrorClass getErr() { public TerminologyServiceErrorClass getErr() {
return err; return err;
} }
public void setErr(TerminologyServiceErrorClass err) { public void setErr(TerminologyServiceErrorClass err) {
this.err = err; this.err = err;
} }
public List<String> getWarnings() {
return warnings; public List<OperationOutcomeIssueComponent> getIssues() {
return issues;
}
public void addIssue(List<OperationOutcomeIssueComponent> issues) {
issues.addAll(issues);
}
public boolean hasErrors() {
for (OperationOutcomeIssueComponent issue : issues) {
if (issue.getSeverity() == IssueSeverity.FATAL || issue.getSeverity() == IssueSeverity.ERROR) {
return true;
}
}
return false;
}
public String summary() {
CommaSeparatedStringBuilder b = new CommaSeparatedStringBuilder("; ");
for (OperationOutcomeIssueComponent issue : issues) {
b.append(issue.getDetails().getText());
}
return b.toString();
} }
} }
Boolean codeInValueSet(String system, String version, String code, ValidationProcessInfo info) throws ETooCostly, EOperationOutcome, Exception; Boolean codeInValueSet(String system, String version, String code, ValidationProcessInfo info) throws ETooCostly, EOperationOutcome, Exception;

View File

@ -42,16 +42,20 @@ import java.util.Set;
import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.exceptions.NoTerminologyServiceException; import org.hl7.fhir.exceptions.NoTerminologyServiceException;
import org.hl7.fhir.r5.context.ContextUtilities;
import org.hl7.fhir.r5.context.IWorkerContext; import org.hl7.fhir.r5.context.IWorkerContext;
import org.hl7.fhir.r5.context.IWorkerContext.ValidationResult; import org.hl7.fhir.r5.context.IWorkerContext.ValidationResult;
import org.hl7.fhir.r5.model.CanonicalType; import org.hl7.fhir.r5.model.CanonicalType;
import org.hl7.fhir.r5.model.CodeSystem; import org.hl7.fhir.r5.model.CodeSystem;
import org.hl7.fhir.r5.model.Enumerations.CodeSystemContentMode; import org.hl7.fhir.r5.model.Enumerations.CodeSystemContentMode;
import org.hl7.fhir.r5.model.Enumerations.FilterOperator;
import org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent; import org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionComponent;
import org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionDesignationComponent; import org.hl7.fhir.r5.model.CodeSystem.ConceptDefinitionDesignationComponent;
import org.hl7.fhir.r5.model.CodeableConcept; import org.hl7.fhir.r5.model.CodeableConcept;
import org.hl7.fhir.r5.model.Coding; import org.hl7.fhir.r5.model.Coding;
import org.hl7.fhir.r5.model.Enumerations.PublicationStatus; import org.hl7.fhir.r5.model.Enumerations.PublicationStatus;
import org.hl7.fhir.r5.model.OperationOutcome.IssueType;
import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent;
import org.hl7.fhir.r5.model.PackageInformation; import org.hl7.fhir.r5.model.PackageInformation;
import org.hl7.fhir.r5.model.UriType; import org.hl7.fhir.r5.model.UriType;
import org.hl7.fhir.r5.model.ValueSet; import org.hl7.fhir.r5.model.ValueSet;
@ -74,8 +78,26 @@ import org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity;
import org.hl7.fhir.utilities.validation.ValidationOptions; import org.hl7.fhir.utilities.validation.ValidationOptions;
import org.hl7.fhir.utilities.validation.ValidationOptions.ValueSetMode; import org.hl7.fhir.utilities.validation.ValidationOptions.ValueSetMode;
import com.google.j2objc.annotations.ReflectionSupport.Level;
public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChecker { public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChecker {
public static class VSCheckerException extends FHIRException {
private List<OperationOutcomeIssueComponent> issues;
public VSCheckerException(String message, List<OperationOutcomeIssueComponent> issues) {
super(message);
this.issues = issues;
}
public List<OperationOutcomeIssueComponent> getIssues() {
return issues;
}
private static final long serialVersionUID = -5889505119633054187L;
}
public class ConceptReferencePair { public class ConceptReferencePair {
private ValueSet valueset; private ValueSet valueset;
@ -113,7 +135,8 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
public ValueSetCheckerSimple(ValidationOptions options, ValueSet source, IWorkerContext context, ValidationContextCarrier ctxt) { public ValueSetCheckerSimple(ValidationOptions options, ValueSet source, IWorkerContext context, ValidationContextCarrier ctxt) {
this.valueset = source; this.valueset = source;
this.context = context; this.context = context;
this.options = options; this.options = options.copy();
this.options.setEnglishOk(true);
this.localContext = ctxt; this.localContext = ctxt;
analyseValueSet(); analyseValueSet();
} }
@ -149,30 +172,37 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
} }
public ValidationResult validateCode(CodeableConcept code) throws FHIRException { public ValidationResult validateCode(CodeableConcept code) throws FHIRException {
return validateCode("CodeableConcept", code);
}
public ValidationResult validateCode(String path, CodeableConcept code) throws FHIRException {
// first, we validate the codings themselves // first, we validate the codings themselves
List<String> errors = new ArrayList<String>();
ValidationProcessInfo info = new ValidationProcessInfo(); ValidationProcessInfo info = new ValidationProcessInfo();
if (options.getValueSetMode() != ValueSetMode.CHECK_MEMERSHIP_ONLY) { if (options.getValueSetMode() != ValueSetMode.CHECK_MEMERSHIP_ONLY) {
int i = 0;
for (Coding c : code.getCoding()) { for (Coding c : code.getCoding()) {
if (!c.hasSystem()) { if (!c.hasSystem()) {
info.getWarnings().add(context.formatMessage(I18nConstants.CODING_HAS_NO_SYSTEM__CANNOT_VALIDATE)); info.addIssue(makeIssue(IssueSeverity.WARNING, IssueType.UNKNOWN, path, context.formatMessage(I18nConstants.CODING_HAS_NO_SYSTEM__CANNOT_VALIDATE)));
} }
CodeSystem cs = resolveCodeSystem(c.getSystem(), c.getVersion()); CodeSystem cs = resolveCodeSystem(c.getSystem(), c.getVersion());
ValidationResult res = null; ValidationResult res = null;
if (cs == null || cs.getContent() != CodeSystemContentMode.COMPLETE) { if (cs == null || cs.getContent() != CodeSystemContentMode.COMPLETE) {
if (context.isNoTerminologyServer()) { if (context.isNoTerminologyServer()) {
res = new ValidationResult(IssueSeverity.ERROR, context.formatMessage(I18nConstants.UKNOWN_CODESYSTEM, c.getSystem(), c.getVersion())); if (c.hasVersion()) {
String msg = context.formatMessage(I18nConstants.UNKNOWN_CODESYSTEM_VERSION, c.getSystem(), c.getVersion() , resolveCodeSystemVersions(c.getSystem()).toString());
res = new ValidationResult(IssueSeverity.ERROR, msg, makeIssue(IssueSeverity.ERROR, IssueType.NOTFOUND, path+".coding["+i+"].system", msg));
} else {
String msg = context.formatMessage(I18nConstants.UNKNOWN_CODESYSTEM, c.getSystem(), c.getVersion());
res = new ValidationResult(IssueSeverity.ERROR, msg, makeIssue(IssueSeverity.ERROR, IssueType.NOTFOUND, path+".coding["+i+"].system", msg));
}
} else { } else {
res = context.validateCode(options.withNoClient(), c, null); res = context.validateCode(options.withNoClient(), c, null);
} }
} else { } else {
res = validateCode(c, cs); res = validateCode(path+".coding["+i+"]", c, cs);
}
if (!res.isOk()) {
errors.add(res.getMessage());
} else if (res.getMessage() != null) {
info.getWarnings().add(res.getMessage());
} }
info.getIssues().addAll(res.getIssues());
i++;
} }
} }
Coding foundCoding = null; Coding foundCoding = null;
@ -188,22 +218,48 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
} }
} }
if (result == null) { if (result == null) {
info.getWarnings().add(0, context.formatMessage(I18nConstants.UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl())); String msg = context.formatMessage(I18nConstants.UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl());
info.getIssues().addAll(makeIssue(IssueSeverity.WARNING, IssueType.INVALID, path, msg));
} else if (!result) { } else if (!result) {
errors.add(0, context.formatMessage(I18nConstants.NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl())); String msg = context.formatMessagePlural(code.getCoding().size(), I18nConstants.NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl());
info.getIssues().addAll(makeIssue(IssueSeverity.ERROR, IssueType.INVALID, path, msg));
} }
} }
if (errors.size() > 0) { if (info.hasErrors()) {
return new ValidationResult(IssueSeverity.ERROR, errors.toString()); ValidationResult res = new ValidationResult(IssueSeverity.ERROR, info.summary(), info.getIssues());
} else if (info.getWarnings().size() > 0) { if (foundCoding != null) {
return new ValidationResult(IssueSeverity.WARNING, info.getWarnings().toString()); ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode());
cd.setDisplay(lookupDisplay(foundCoding));
res.setDefinition(cd);
res.setSystem(foundCoding.getSystem());
res.setDisplay(cd.getDisplay());
}
return res;
} else if (foundCoding == null) {
return new ValidationResult(IssueSeverity.ERROR, "Internal Error that should not happen", makeIssue(IssueSeverity.FATAL, IssueType.EXCEPTION, path, "Internal Error that should not happen"));
} else if (info.getIssues().size() > 0) {
String disp = lookupDisplay(foundCoding);
ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode());
cd.setDisplay(disp);
return new ValidationResult(IssueSeverity.WARNING, info.summary(), foundCoding.getSystem(), cd, disp, info.getIssues());
} else { } else {
ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode()); ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode());
cd.setDisplay(foundCoding.getDisplay()); cd.setDisplay(lookupDisplay(foundCoding));
return new ValidationResult(foundCoding.getSystem(), cd, getPreferredDisplay(cd, null)); return new ValidationResult(foundCoding.getSystem(), cd, getPreferredDisplay(cd, null));
} }
} }
private String lookupDisplay(Coding c) {
CodeSystem cs = resolveCodeSystem(c.getSystem(), c.getVersion());
if (cs != null) {
ConceptDefinitionComponent cd = CodeSystemUtilities.getCode(cs, c.getCode());
if (cd != null) {
return getPreferredDisplay(cd, cs);
}
}
return null;
}
public CodeSystem resolveCodeSystem(String system, String version) { public CodeSystem resolveCodeSystem(String system, String version) {
for (CodeSystem t : localSystems) { for (CodeSystem t : localSystems) {
if (t.getUrl().equals(system) && versionsMatch(version, t.getVersion())) { if (t.getUrl().equals(system) && versionsMatch(version, t.getVersion())) {
@ -217,11 +273,50 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
return cs; return cs;
} }
public List<String> resolveCodeSystemVersions(String system) {
List<String> res = new ArrayList<>();
for (CodeSystem t : localSystems) {
if (t.getUrl().equals(system) && t.hasVersion()) {
res.add(t.getVersion());
}
}
res.addAll(new ContextUtilities(context).fetchCodeSystemVersions(system));
return res;
}
private boolean versionsMatch(String versionTest, String versionActual) { private boolean versionsMatch(String versionTest, String versionActual) {
return versionTest == null && VersionUtilities.versionsMatch(versionTest, versionActual); return versionTest == null && VersionUtilities.versionsMatch(versionTest, versionActual);
} }
private List<OperationOutcomeIssueComponent> makeIssue(IssueSeverity level, IssueType type, String location, String message) {
OperationOutcomeIssueComponent result = new OperationOutcomeIssueComponent();
switch (level) {
case ERROR:
result.setSeverity(org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity.ERROR);
break;
case FATAL:
result.setSeverity(org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity.FATAL);
break;
case INFORMATION:
result.setSeverity(org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity.INFORMATION);
break;
case WARNING:
result.setSeverity(org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity.WARNING);
break;
}
result.setCode(type);
result.addLocation(location);
result.getDetails().setText(message);
ArrayList<OperationOutcomeIssueComponent> list = new ArrayList<>();
list.add(result);
return list;
}
public ValidationResult validateCode(Coding code) throws FHIRException { public ValidationResult validateCode(Coding code) throws FHIRException {
return validateCode("Coding", code);
}
public ValidationResult validateCode(String path, Coding code) throws FHIRException {
String warningMessage = null; String warningMessage = null;
// first, we validate the concept itself // first, we validate the concept itself
@ -237,9 +332,13 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
if (problems.size() == 0) { if (problems.size() == 0) {
throw new Error("Unable to resolve systems but no reason why"); // this is an error in the java code throw new Error("Unable to resolve systems but no reason why"); // this is an error in the java code
} else if (problems.size() == 1) { } else if (problems.size() == 1) {
return new ValidationResult(IssueSeverity.ERROR, problems.get(0)); return new ValidationResult(IssueSeverity.ERROR, problems.get(0), makeIssue(IssueSeverity.ERROR, IssueType.UNKNOWN, path, problems.get(0)));
} else { } else {
return new ValidationResult(IssueSeverity.ERROR, problems.toString()); ValidationResult vr = new ValidationResult(IssueSeverity.ERROR, problems.toString(), null);
for (String s : problems) {
vr.getIssues().addAll(makeIssue(IssueSeverity.ERROR, IssueType.UNKNOWN, path, s));
}
return vr;
} }
} }
} }
@ -254,20 +353,26 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
CodeSystem cs = resolveCodeSystem(system, code.getVersion()); CodeSystem cs = resolveCodeSystem(system, code.getVersion());
if (cs == null) { if (cs == null) {
if (code.getVersion() == null) { if (code.getVersion() == null) {
warningMessage = context.formatMessage(I18nConstants.UKNOWN_CODESYSTEM, system); warningMessage = context.formatMessage(I18nConstants.UNKNOWN_CODESYSTEM, system);
} else { } else {
warningMessage = context.formatMessage(I18nConstants.UKNOWN_CODESYSTEM_VERSION, system, code.getVersion()); warningMessage = context.formatMessage(I18nConstants.UNKNOWN_CODESYSTEM_VERSION, system, code.getVersion(), resolveCodeSystemVersions(system).toString());
} }
if (!inExpansion) { if (!inExpansion) {
if (valueset != null && valueset.hasExpansion()) { if (valueset != null && valueset.hasExpansion()) {
return new ValidationResult(IssueSeverity.ERROR, context.formatMessage(I18nConstants.CODESYSTEM_CS_UNK_EXPANSION, valueset.getUrl(), code.getCode().toString(), code.getSystem())); String msg = context.formatMessage(I18nConstants.CODESYSTEM_CS_UNK_EXPANSION, valueset.getUrl(), code.getCode().toString(), code.getSystem());
return new ValidationResult(IssueSeverity.ERROR, msg, makeIssue(IssueSeverity.ERROR, IssueType.NOTFOUND, path, msg));
} else { } else {
throw new FHIRException(warningMessage); List<OperationOutcomeIssueComponent> issues = new ArrayList<>();
issues.addAll(makeIssue(IssueSeverity.ERROR, IssueType.NOTFOUND, path+".system", warningMessage));
String msg = context.formatMessagePlural(1, I18nConstants.NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl());
issues.addAll(makeIssue(IssueSeverity.ERROR, IssueType.INVALID, path, msg));
throw new VSCheckerException(warningMessage+"; "+msg, issues);
} }
} }
} }
if (cs != null && cs.hasSupplements()) { if (cs != null && cs.hasSupplements()) {
return new ValidationResult(IssueSeverity.ERROR, context.formatMessage(I18nConstants.CODESYSTEM_CS_NO_SUPPLEMENT, cs.getUrl())); String msg = context.formatMessage(I18nConstants.CODESYSTEM_CS_NO_SUPPLEMENT, cs.getUrl());
return new ValidationResult(IssueSeverity.ERROR, msg, makeIssue(IssueSeverity.ERROR, IssueType.NOTFOUND, path, msg));
} }
if (cs!=null && cs.getContent() != CodeSystemContentMode.COMPLETE) { if (cs!=null && cs.getContent() != CodeSystemContentMode.COMPLETE) {
warningMessage = "Resolved system "+system+(cs.hasVersion() ? " (v"+cs.getVersion()+")" : "")+", but the definition is not complete"; warningMessage = "Resolved system "+system+(cs.hasVersion() ? " (v"+cs.getVersion()+")" : "")+", but the definition is not complete";
@ -291,7 +396,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
// we can't validate that here. // we can't validate that here.
throw new FHIRException("Unable to evaluate based on empty code system"); throw new FHIRException("Unable to evaluate based on empty code system");
} }
res = validateCode(code, cs); res = validateCode(path, code, cs);
} else if (cs == null && valueset.hasExpansion() && inExpansion) { } else if (cs == null && valueset.hasExpansion() && inExpansion) {
// we just take the value set as face value then // we just take the value set as face value then
res = new ValidationResult(system, new ConceptDefinitionComponent().setCode(code.getCode()).setDisplay(code.getDisplay()), code.getDisplay()); res = new ValidationResult(system, new ConceptDefinitionComponent().setCode(code.getCode()).setDisplay(code.getDisplay()), code.getDisplay());
@ -313,27 +418,41 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
Boolean ok = codeInValueSet(system, code.getVersion(), code.getCode(), info); Boolean ok = codeInValueSet(system, code.getVersion(), code.getCode(), info);
if (ok == null || !ok) { if (ok == null || !ok) {
if (res == null) { if (res == null) {
res = new ValidationResult((IssueSeverity) null, null); res = new ValidationResult((IssueSeverity) null, null, info.getIssues());
} }
if (info.getErr() != null) { if (info.getErr() != null) {
res.setErrorClass(info.getErr()); res.setErrorClass(info.getErr());
} }
if (ok == null) { if (ok == null) {
res.setMessage("Unable to check whether code is in value set "+valueset.getUrl()+": "+info.getWarnings()).setSeverity(IssueSeverity.WARNING); res.setMessage("Unable to check whether code is in value set "+valueset.getUrl()+": "+info.summary()).setSeverity(IssueSeverity.WARNING);
res.getIssues().addAll(makeIssue(IssueSeverity.WARNING, IssueType.EXCEPTION, path, res.getMessage()));
} else if (!inExpansion && !inInclude) { } else if (!inExpansion && !inInclude) {
if (!info.getWarnings().isEmpty()) { if (!info.getIssues().isEmpty()) {
res.setMessage("Not in value set "+valueset.getUrl()+": "+info.getWarnings()).setSeverity(IssueSeverity.ERROR); res.setMessage("Not in value set "+valueset.getUrl()+": "+info.summary()).setSeverity(IssueSeverity.ERROR);
res.getIssues().addAll(makeIssue(IssueSeverity.ERROR, IssueType.INVALID, path, res.getMessage()));
} else { } else {
res.setMessage("Not in value set "+valueset.getUrl()).setSeverity(IssueSeverity.ERROR); String msg = context.formatMessagePlural(1, I18nConstants.NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl());
res.setMessage(msg).setSeverity(IssueSeverity.ERROR);
res.getIssues().addAll(makeIssue(IssueSeverity.ERROR, IssueType.INVALID, path, msg));
res.setDefinition(null);
res.setSystem(null);
res.setDisplay(null);
} }
} else if (warningMessage!=null) { } else if (warningMessage!=null) {
res = new ValidationResult(IssueSeverity.WARNING, context.formatMessage(I18nConstants.CODE_FOUND_IN_EXPANSION_HOWEVER_, warningMessage)); String msg = context.formatMessage(I18nConstants.CODE_FOUND_IN_EXPANSION_HOWEVER_, warningMessage);
res = new ValidationResult(IssueSeverity.WARNING, msg, makeIssue(IssueSeverity.WARNING, IssueType.EXCEPTION, path, msg));
} else if (inExpansion) { } else if (inExpansion) {
res.setMessage("Code found in expansion, however: " + res.getMessage()); res.setMessage("Code found in expansion, however: " + res.getMessage());
res.getIssues().addAll(makeIssue(IssueSeverity.WARNING, IssueType.EXCEPTION, path, res.getMessage()));
} else if (inInclude) { } else if (inInclude) {
res.setMessage("Code found in include, however: " + res.getMessage()); res.setMessage("Code found in include, however: " + res.getMessage());
res.getIssues().addAll(makeIssue(IssueSeverity.WARNING, IssueType.EXCEPTION, path, res.getMessage()));
} }
} }
} else if ((res != null && !res.isOk())) {
String msg = context.formatMessagePlural(1, I18nConstants.NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_, valueset.getUrl());
res.setMessage(res.getMessage()+"; "+msg);
res.getIssues().addAll(makeIssue(IssueSeverity.ERROR, IssueType.INVALID, path, msg));
} }
} }
return res; return res;
@ -435,13 +554,15 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
return false; return false;
} }
private ValidationResult validateCode(Coding code, CodeSystem cs) { private ValidationResult validateCode(String path, Coding code, CodeSystem cs) {
ConceptDefinitionComponent cc = cs.hasUserData("tx.cs.special") ? ((SpecialCodeSystem) cs.getUserData("tx.cs.special")).findConcept(code) : findCodeInConcept(cs.getConcept(), code.getCode()); ConceptDefinitionComponent cc = cs.hasUserData("tx.cs.special") ? ((SpecialCodeSystem) cs.getUserData("tx.cs.special")).findConcept(code) : findCodeInConcept(cs.getConcept(), code.getCode());
if (cc == null) { if (cc == null) {
if (cs.getContent() == CodeSystemContentMode.FRAGMENT) { if (cs.getContent() == CodeSystemContentMode.FRAGMENT) {
return new ValidationResult(IssueSeverity.WARNING, context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_FRAGMENT, gen(code), cs.getUrl())); String msg = context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_FRAGMENT, code.getCode(), cs.getUrl());
return new ValidationResult(IssueSeverity.WARNING, msg, makeIssue(IssueSeverity.ERROR, IssueType.INVALID, path+".code", msg));
} else { } else {
return new ValidationResult(IssueSeverity.ERROR, context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_, gen(code), cs.getUrl())); String msg = context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_, code.getCode(), cs.getUrl());
return new ValidationResult(IssueSeverity.ERROR, msg, makeIssue(IssueSeverity.ERROR, IssueType.INVALID, path+".code", msg));
} }
} }
if (code.getDisplay() == null) { if (code.getDisplay() == null) {
@ -482,7 +603,8 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
} }
} }
} }
return new ValidationResult(IssueSeverity.WARNING, context.formatMessagePlural(b.count(), I18nConstants.DISPLAY_NAME_FOR__SHOULD_BE_ONE_OF__INSTEAD_OF, code.getSystem(), code.getCode(), b.toString(), code.getDisplay()), code.getSystem(), cc, getPreferredDisplay(cc, cs)); String msg = context.formatMessagePlural(b.count(), I18nConstants.DISPLAY_NAME_FOR__SHOULD_BE_ONE_OF__INSTEAD_OF, code.getSystem(), code.getCode(), b.toString(), code.getDisplay());
return new ValidationResult(IssueSeverity.WARNING, msg, code.getSystem(), cc, getPreferredDisplay(cc, cs), makeIssue(IssueSeverity.WARNING, IssueType.INVALID, path+".display", msg));
} }
private boolean isOkLanguage(String language) { private boolean isOkLanguage(String language) {
@ -492,7 +614,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
if (options.getLanguages().contains(language)) { if (options.getLanguages().contains(language)) {
return true; return true;
} }
if (language == null && (options.getLanguages().contains("en") || options.getLanguages().contains("en-US"))) { if (language == null && (options.getLanguages().contains("en") || options.getLanguages().contains("en-US") || options.isEnglishOk())) {
return true; return true;
} }
return false; return false;
@ -731,6 +853,9 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
@Override @Override
public Boolean codeInValueSet(String system, String version, String code, ValidationProcessInfo info) throws FHIRException { public Boolean codeInValueSet(String system, String version, String code, ValidationProcessInfo info) throws FHIRException {
return codeInValueSet("code", system, version, code, info);
}
public Boolean codeInValueSet(String path, String system, String version, String code, ValidationProcessInfo info) throws FHIRException {
if (valueset == null) { if (valueset == null) {
return false; return false;
} }
@ -741,7 +866,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
} else if (valueset.hasCompose()) { } else if (valueset.hasCompose()) {
int i = 0; int i = 0;
for (ConceptSetComponent vsi : valueset.getCompose().getInclude()) { for (ConceptSetComponent vsi : valueset.getCompose().getInclude()) {
Boolean ok = inComponent(vsi, i, system, version, code, valueset.getCompose().getInclude().size() == 1, info); Boolean ok = inComponent(path, vsi, i, system, version, code, valueset.getCompose().getInclude().size() == 1, info);
i++; i++;
if (ok == null && result == false) { if (ok == null && result == false) {
result = null; result = null;
@ -752,7 +877,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
} }
i = valueset.getCompose().getInclude().size(); i = valueset.getCompose().getInclude().size();
for (ConceptSetComponent vsi : valueset.getCompose().getExclude()) { for (ConceptSetComponent vsi : valueset.getCompose().getExclude()) {
Boolean nok = inComponent(vsi, i, system, version, code, valueset.getCompose().getInclude().size() == 1, info); Boolean nok = inComponent(path, vsi, i, system, version, code, valueset.getCompose().getInclude().size() == 1, info);
i++; i++;
if (nok == null && result == false) { if (nok == null && result == false) {
result = null; result = null;
@ -765,7 +890,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
return result; return result;
} }
private Boolean inComponent(ConceptSetComponent vsi, int vsiIndex, String system, String version, String code, boolean only, ValidationProcessInfo info) throws FHIRException { private Boolean inComponent(String path, ConceptSetComponent vsi, int vsiIndex, String system, String version, String code, boolean only, ValidationProcessInfo info) throws FHIRException {
boolean ok = true; boolean ok = true;
if (vsi.hasValueSet()) { if (vsi.hasValueSet()) {
@ -813,7 +938,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
if (res.getErrorClass() == TerminologyServiceErrorClass.UNKNOWN || res.getErrorClass() == TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED || res.getErrorClass() == TerminologyServiceErrorClass.VALUESET_UNSUPPORTED) { if (res.getErrorClass() == TerminologyServiceErrorClass.UNKNOWN || res.getErrorClass() == TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED || res.getErrorClass() == TerminologyServiceErrorClass.VALUESET_UNSUPPORTED) {
if (info != null && res.getErrorClass() == TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED) { if (info != null && res.getErrorClass() == TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED) {
// server didn't know the code system either - we'll take it face value // server didn't know the code system either - we'll take it face value
info.getWarnings().add(context.formatMessage(I18nConstants.TERMINOLOGY_TX_SYSTEM_NOTKNOWN, system)); info.addIssue(makeIssue(IssueSeverity.WARNING, IssueType.UNKNOWN, path, context.formatMessage(I18nConstants.TERMINOLOGY_TX_SYSTEM_NOTKNOWN, system)));
for (ConceptReferenceComponent cc : vsi.getConcept()) { for (ConceptReferenceComponent cc : vsi.getConcept()) {
if (cc.getCode().equals(code)) { if (cc.getCode().equals(code)) {
return true; return true;
@ -821,7 +946,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
} }
info.setErr(TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED); info.setErr(TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED);
} }
return null; return false;
} }
if (res.getErrorClass() == TerminologyServiceErrorClass.NOSERVICE) { if (res.getErrorClass() == TerminologyServiceErrorClass.NOSERVICE) {
throw new NoTerminologyServiceException(); throw new NoTerminologyServiceException();
@ -864,12 +989,18 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe
private boolean codeInFilter(CodeSystem cs, String system, ConceptSetFilterComponent f, String code) throws FHIRException { private boolean codeInFilter(CodeSystem cs, String system, ConceptSetFilterComponent f, String code) throws FHIRException {
if ("concept".equals(f.getProperty())) if ("concept".equals(f.getProperty()))
return codeInConceptFilter(cs, f, code); return codeInConceptFilter(cs, f, code);
else if ("code".equals(f.getProperty()) && f.getOp() == FilterOperator.REGEX)
return codeInRegexFilter(cs, f, code);
else { else {
System.out.println("todo: handle filters with property = "+f.getProperty()); System.out.println("todo: handle filters with property = "+f.getProperty()+" "+f.getOp().toCode());
throw new FHIRException(context.formatMessage(I18nConstants.UNABLE_TO_HANDLE_SYSTEM__FILTER_WITH_PROPERTY__, cs.getUrl(), f.getProperty())); throw new FHIRException(context.formatMessage(I18nConstants.UNABLE_TO_HANDLE_SYSTEM__FILTER_WITH_PROPERTY__, cs.getUrl(), f.getProperty(), f.getOp().toCode()));
} }
} }
private boolean codeInRegexFilter(CodeSystem cs, ConceptSetFilterComponent f, String code) {
return code.matches(f.getValue());
}
private boolean codeInConceptFilter(CodeSystem cs, ConceptSetFilterComponent f, String code) throws FHIRException { private boolean codeInConceptFilter(CodeSystem cs, ConceptSetFilterComponent f, String code) throws FHIRException {
switch (f.getOp()) { switch (f.getOp()) {
case ISA: return codeInConceptIsAFilter(cs, f, code, false); case ISA: return codeInConceptIsAFilter(cs, f, code, false);

View File

@ -41,7 +41,7 @@ import org.hl7.fhir.r5.model.ValueSet;
public interface ValueSetExpander { public interface ValueSetExpander {
public enum TerminologyServiceErrorClass { public enum TerminologyServiceErrorClass {
UNKNOWN, NOSERVICE, SERVER_ERROR, VALUESET_UNSUPPORTED, CODESYSTEM_UNSUPPORTED, BLOCKED_BY_OPTIONS, INTERNAL_ERROR, BUSINESS_RULE; UNKNOWN, NOSERVICE, SERVER_ERROR, VALUESET_UNSUPPORTED, CODESYSTEM_UNSUPPORTED, BLOCKED_BY_OPTIONS, INTERNAL_ERROR, BUSINESS_RULE, TOO_COSTLY;
public boolean isInfrastructure() { public boolean isInfrastructure() {
return this == NOSERVICE || this == SERVER_ERROR || this == VALUESET_UNSUPPORTED; return this == NOSERVICE || this == SERVER_ERROR || this == VALUESET_UNSUPPORTED;

View File

@ -114,14 +114,20 @@ import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionComponent;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionContainsComponent; import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionContainsComponent;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionParameterComponent; import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionParameterComponent;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionPropertyComponent; import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionPropertyComponent;
import org.hl7.fhir.r5.terminologies.ValueSetExpanderSimple.EFinished;
import org.hl7.fhir.r5.terminologies.providers.CodeSystemProviderExtension; import org.hl7.fhir.r5.terminologies.providers.CodeSystemProviderExtension;
import org.hl7.fhir.r5.utils.ToolingExtensions; import org.hl7.fhir.r5.utils.ToolingExtensions;
import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.utilities.i18n.I18nConstants;
import com.google.errorprone.annotations.NoAllocation; import com.google.errorprone.annotations.NoAllocation;
public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetExpander { public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetExpander {
public class EFinished extends FHIRException {
}
public interface IConceptFilter { public interface IConceptFilter {
boolean includeConcept(CodeSystem cs, ConceptDefinitionComponent def); boolean includeConcept(CodeSystem cs, ConceptDefinitionComponent def);
@ -206,7 +212,9 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
private Set<String> excludeKeys = new HashSet<String>(); private Set<String> excludeKeys = new HashSet<String>();
private Set<String> excludeSystems = new HashSet<String>(); private Set<String> excludeSystems = new HashSet<String>();
private ValueSet focus; private ValueSet focus;
private int maxExpansionSize = 500; private int maxExpansionSize = 1000;
private int offset;
private int count;
private List<String> allErrors = new ArrayList<>(); private List<String> allErrors = new ArrayList<>();
private List<String> requiredSupplements = new ArrayList<>(); private List<String> requiredSupplements = new ArrayList<>();
@ -230,7 +238,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
private ValueSetExpansionContainsComponent addCode(String system, String code, String display, String dispLang, ValueSetExpansionContainsComponent parent, List<ConceptDefinitionDesignationComponent> designations, Parameters expParams, private ValueSetExpansionContainsComponent addCode(String system, String code, String display, String dispLang, ValueSetExpansionContainsComponent parent, List<ConceptDefinitionDesignationComponent> designations, Parameters expParams,
boolean isAbstract, boolean inactive, String definition, List<ValueSet> filters, boolean noInactive, boolean deprecated, List<ValueSetExpansionPropertyComponent> vsProp, boolean isAbstract, boolean inactive, String definition, List<ValueSet> filters, boolean noInactive, boolean deprecated, List<ValueSetExpansionPropertyComponent> vsProp,
List<ConceptPropertyComponent> csProps, List<org.hl7.fhir.r5.model.ValueSet.ConceptPropertyComponent> expProps, List<Extension> csExtList, List<Extension> vsExtList) { List<ConceptPropertyComponent> csProps, List<org.hl7.fhir.r5.model.ValueSet.ConceptPropertyComponent> expProps, List<Extension> csExtList, List<Extension> vsExtList) throws ETooCostly {
if (filters != null && !filters.isEmpty() && !filterContainsCode(filters, system, code)) if (filters != null && !filters.isEmpty() && !filterContainsCode(filters, system, code))
return null; return null;
@ -286,6 +294,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
// display and designations // display and designations
String srcLang = dispLang; String srcLang = dispLang;
String dstLang = focus.getLanguage(); String dstLang = focus.getLanguage();
boolean usedDisplay = false; boolean usedDisplay = false;
ConceptDefinitionDesignationComponent tu = expParams.hasParameter("displayLanguage") ? getMatchingLang(designations, expParams.getParameterString("displayLanguage")) : null; ConceptDefinitionDesignationComponent tu = expParams.hasParameter("displayLanguage") ? getMatchingLang(designations, expParams.getParameterString("displayLanguage")) : null;
if (tu != null) { if (tu != null) {
@ -313,6 +322,11 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
if (t.getUse() != null) { if (t.getUse() != null) {
d.setUse(t.getUse()); d.setUse(t.getUse());
} }
for (Extension ext : t.getExtension()) {
if (Utilities.existsInList(ext.getUrl(), "http://hl7.org/fhir/StructureDefinition/coding-sctdescid")) {
d.addExtension(ext);
}
}
} }
} }
} }
@ -344,6 +358,13 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
codes.add(n); codes.add(n);
map.put(s, n); map.put(s, n);
total++; total++;
if (total > maxExpansionSize) {
if (offset+count > 0 && total > offset+count) {
total = -1;
throw new EFinished();
}
throw failCostly(context.formatMessage(I18nConstants.VALUESET_TOO_COSTLY, focus.getUrl(), ">" + Integer.toString(maxExpansionSize)));
}
} }
if (canBeHeirarchy && parent != null) { if (canBeHeirarchy && parent != null) {
parent.getContains().add(n); parent.getContains().add(n);
@ -380,7 +401,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
return null; return null;
} }
private void addCodeAndDescendents(ValueSetExpansionContainsComponent focus, ValueSetExpansionContainsComponent parent, Parameters expParams, List<ValueSet> filters, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps, ValueSet vsSrc) throws FHIRException { private void addCodeAndDescendents(ValueSetExpansionContainsComponent focus, ValueSetExpansionContainsComponent parent, Parameters expParams, List<ValueSet> filters, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps, ValueSet vsSrc) throws FHIRException, ETooCostly {
focus.checkNoModifiers("Expansion.contains", "expanding"); focus.checkNoModifiers("Expansion.contains", "expanding");
ValueSetExpansionContainsComponent np = addCode(focus.getSystem(), focus.getCode(), focus.getDisplay(), vsSrc.getLanguage(), parent, ValueSetExpansionContainsComponent np = addCode(focus.getSystem(), focus.getCode(), focus.getDisplay(), vsSrc.getLanguage(), parent,
convert(focus.getDesignation()), expParams, focus.getAbstract(), focus.getInactive(), focus.getExtensionString(ToolingExtensions.EXT_DEFINITION), filters, noInactive, false, vsProps, null, focus.getProperty(), null, focus.getExtension()); convert(focus.getDesignation()), expParams, focus.getAbstract(), focus.getInactive(), focus.getExtensionString(ToolingExtensions.EXT_DEFINITION), filters, noInactive, false, vsProps, null, focus.getProperty(), null, focus.getExtension());
@ -401,7 +422,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
} }
private void addCodeAndDescendents(CodeSystem cs, String system, ConceptDefinitionComponent def, ValueSetExpansionContainsComponent parent, Parameters expParams, List<ValueSet> filters, private void addCodeAndDescendents(CodeSystem cs, String system, ConceptDefinitionComponent def, ValueSetExpansionContainsComponent parent, Parameters expParams, List<ValueSet> filters,
ConceptDefinitionComponent exclusion, IConceptFilter filterFunc, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps) throws FHIRException { ConceptDefinitionComponent exclusion, IConceptFilter filterFunc, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps) throws FHIRException, ETooCostly {
def.checkNoModifiers("Code in Code System", "expanding"); def.checkNoModifiers("Code in Code System", "expanding");
if (exclusion != null) { if (exclusion != null) {
if (exclusion.getCode().equals(def.getCode())) if (exclusion.getCode().equals(def.getCode()))
@ -428,7 +449,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
private void addCodes(ValueSetExpansionComponent expand, List<ValueSetExpansionParameterComponent> params, Parameters expParams, List<ValueSet> filters, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps, ValueSet vsSrc) throws ETooCostly, FHIRException { private void addCodes(ValueSetExpansionComponent expand, List<ValueSetExpansionParameterComponent> params, Parameters expParams, List<ValueSet> filters, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps, ValueSet vsSrc) throws ETooCostly, FHIRException {
if (expand != null) { if (expand != null) {
if (expand.getContains().size() > maxExpansionSize) if (expand.getContains().size() > maxExpansionSize)
throw failCostly("Too many codes to display (>" + Integer.toString(expand.getContains().size()) + ")"); throw failCostly(context.formatMessage(I18nConstants.VALUESET_TOO_COSTLY, vsSrc.getUrl(), ">" + Integer.toString(expand.getContains().size())));
for (ValueSetExpansionParameterComponent p : expand.getParameter()) { for (ValueSetExpansionParameterComponent p : expand.getParameter()) {
if (!existsInParams(params, p.getName(), p.getValue())) if (!existsInParams(params, p.getName(), p.getValue()))
params.add(p); params.add(p);
@ -503,6 +524,8 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
// well, we couldn't expand, so we'll return an interface to a checker that can check membership of the set // well, we couldn't expand, so we'll return an interface to a checker that can check membership of the set
// that might fail too, but it might not, later. // that might fail too, but it might not, later.
return new ValueSetExpansionOutcome(e.getMessage(), TerminologyServiceErrorClass.INTERNAL_ERROR, allErrors); return new ValueSetExpansionOutcome(e.getMessage(), TerminologyServiceErrorClass.INTERNAL_ERROR, allErrors);
} catch (ETooCostly e) {
return new ValueSetExpansionOutcome(e.getMessage(), TerminologyServiceErrorClass.TOO_COSTLY, allErrors);
} catch (Exception e) { } catch (Exception e) {
// well, we couldn't expand, so we'll return an interface to a checker that can check membership of the set // well, we couldn't expand, so we'll return an interface to a checker that can check membership of the set
// that might fail too, but it might not, later. // that might fail too, but it might not, later.
@ -523,9 +546,24 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
focus.getExpansion().setTimestampElement(DateTimeType.now()); focus.getExpansion().setTimestampElement(DateTimeType.now());
focus.getExpansion().setIdentifier(Factory.createUUID()); focus.getExpansion().setIdentifier(Factory.createUUID());
for (ParametersParameterComponent p : expParams.getParameter()) { for (ParametersParameterComponent p : expParams.getParameter()) {
if (Utilities.existsInList(p.getName(), "includeDesignations", "excludeNested", "activeOnly")) { if (Utilities.existsInList(p.getName(), "includeDesignations", "excludeNested", "activeOnly", "offset", "count")) {
focus.getExpansion().addParameter().setName(p.getName()).setValue(p.getValue()); focus.getExpansion().addParameter().setName(p.getName()).setValue(p.getValue());
} }
if ("displayLanguage".equals(p.getName()) && (!expParams.hasLanguage() || !expParams.getLanguage().equals(p.getValue().primitiveValue()))) {
focus.getExpansion().addParameter().setName(p.getName()).setValue(p.getValue());
}
if ("offset".equals(p.getName()) && p.hasValueIntegerType()) {
offset = p.getValueIntegerType().getValue();
if (offset < 0) {
offset = 0;
}
}
if ("count".equals(p.getName()) && p.hasValueIntegerType()) {
count = p.getValueIntegerType().getValue();
if (count < 0) {
count = 0;
}
}
} }
for (Extension s : focus.getExtensionsByUrl(ExtensionConstants.EXT_VSSUPPLEMENT)) { for (Extension s : focus.getExtensionsByUrl(ExtensionConstants.EXT_VSSUPPLEMENT)) {
requiredSupplements.add(s.getValue().primitiveValue()); requiredSupplements.add(s.getValue().primitiveValue());
@ -533,10 +571,15 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
if (expParams.hasLanguage()) { if (expParams.hasLanguage()) {
focus.setLanguage(expParams.getLanguage()); focus.setLanguage(expParams.getLanguage());
} }
if (source.hasCompose()) { try {
ExtensionsUtils.stripExtensions(focus.getCompose()); if (source.hasCompose()) {
handleCompose(source.getCompose(), focus.getExpansion(), expParams, source.getUrl(), focus.getExpansion().getExtension(), source); ExtensionsUtils.stripExtensions(focus.getCompose());
handleCompose(source.getCompose(), focus.getExpansion(), expParams, source.getUrl(), focus.getExpansion().getExtension(), source);
}
} catch (EFinished e) {
// nothing - we intended to trap this here
} }
if (canBeHeirarchy) { if (canBeHeirarchy) {
@ -544,15 +587,24 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
focus.getExpansion().getContains().add(c); focus.getExpansion().getContains().add(c);
} }
} else { } else {
int i = 0;
int cc = 0;
for (ValueSetExpansionContainsComponent c : codes) { for (ValueSetExpansionContainsComponent c : codes) {
if (map.containsKey(key(c)) && (includeAbstract || !c.getAbstract())) { // we may have added abstract codes earlier while we still thought it might be heirarchical, but later we gave up, so now ignore them if (map.containsKey(key(c)) && (includeAbstract || !c.getAbstract())) { // we may have added abstract codes earlier while we still thought it might be heirarchical, but later we gave up, so now ignore them
focus.getExpansion().getContains().add(c); if (offset == 0 || i >= offset) {
c.getContains().clear(); // make sure any heirarchy is wiped focus.getExpansion().getContains().add(c);
c.getContains().clear(); // make sure any heirarchy is wiped
cc++;
if (cc == count) {
break;
}
}
i++;
} }
} }
} }
if (total > 0) { if (total >= 0) {
focus.getExpansion().setTotal(total); focus.getExpansion().setTotal(total);
} }
if (!requiredSupplements.isEmpty()) { if (!requiredSupplements.isEmpty()) {
@ -586,7 +638,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
// Exclude comes first because we build up a map of things to exclude // Exclude comes first because we build up a map of things to exclude
for (ConceptSetComponent inc : compose.getExclude()) for (ConceptSetComponent inc : compose.getExclude())
excludeCodes(inc, exp.getParameter(), ctxt); excludeCodes(inc, exp.getParameter(), ctxt);
canBeHeirarchy = !expParams.getParameterBool("excludeNested") && excludeKeys.isEmpty() && excludeSystems.isEmpty(); canBeHeirarchy = !expParams.getParameterBool("excludeNested") && excludeKeys.isEmpty() && excludeSystems.isEmpty() && offset+count == 0;
includeAbstract = !expParams.getParameterBool("excludeNotForUI"); includeAbstract = !expParams.getParameterBool("excludeNotForUI");
boolean first = true; boolean first = true;
for (ConceptSetComponent inc : compose.getInclude()) { for (ConceptSetComponent inc : compose.getInclude()) {
@ -693,7 +745,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
} }
} }
private void copyImportContains(List<ValueSetExpansionContainsComponent> list, ValueSetExpansionContainsComponent parent, Parameters expParams, List<ValueSet> filter, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps, ValueSet vsSrc) throws FHIRException { private void copyImportContains(List<ValueSetExpansionContainsComponent> list, ValueSetExpansionContainsComponent parent, Parameters expParams, List<ValueSet> filter, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps, ValueSet vsSrc) throws FHIRException, ETooCostly {
for (ValueSetExpansionContainsComponent c : list) { for (ValueSetExpansionContainsComponent c : list) {
c.checkNoModifiers("Imported Expansion in Code System", "expanding"); c.checkNoModifiers("Imported Expansion in Code System", "expanding");
ValueSetExpansionContainsComponent np = addCode(c.getSystem(), c.getCode(), c.getDisplay(), vsSrc.getLanguage(), parent, null, expParams, c.getAbstract(), c.getInactive(), c.getExtensionString(ToolingExtensions.EXT_DEFINITION), ValueSetExpansionContainsComponent np = addCode(c.getSystem(), c.getCode(), c.getDisplay(), vsSrc.getLanguage(), parent, null, expParams, c.getAbstract(), c.getInactive(), c.getExtensionString(ToolingExtensions.EXT_DEFINITION),
@ -731,7 +783,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
} }
} }
private void doServerIncludeCodes(ConceptSetComponent inc, boolean heirarchical, ValueSetExpansionComponent exp, List<ValueSet> imports, Parameters expParams, List<Extension> extensions, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps) throws FHIRException, CodeSystemProviderExtension { private void doServerIncludeCodes(ConceptSetComponent inc, boolean heirarchical, ValueSetExpansionComponent exp, List<ValueSet> imports, Parameters expParams, List<Extension> extensions, boolean noInactive, List<ValueSetExpansionPropertyComponent> vsProps) throws FHIRException, CodeSystemProviderExtension, ETooCostly {
CodeSystemProvider csp = CodeSystemProvider.factory(inc.getSystem()); CodeSystemProvider csp = CodeSystemProvider.factory(inc.getSystem());
if (csp != null) { if (csp != null) {
csp.includeCodes(inc, heirarchical, exp, imports, expParams, extensions, noInactive, vsProps); csp.includeCodes(inc, heirarchical, exp, imports, expParams, extensions, noInactive, vsProps);
@ -766,7 +818,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
} }
public void doInternalIncludeCodes(ConceptSetComponent inc, ValueSetExpansionComponent exp, Parameters expParams, List<ValueSet> imports, CodeSystem cs, boolean noInactive, Resource vsSrc) throws NoTerminologyServiceException, TerminologyServiceException, FHIRException { public void doInternalIncludeCodes(ConceptSetComponent inc, ValueSetExpansionComponent exp, Parameters expParams, List<ValueSet> imports, CodeSystem cs, boolean noInactive, Resource vsSrc) throws NoTerminologyServiceException, TerminologyServiceException, FHIRException, ETooCostly {
if (cs == null) { if (cs == null) {
if (context.isNoTerminologyServer()) if (context.isNoTerminologyServer())
throw failTSE("Unable to find code system " + inc.getSystem().toString()); throw failTSE("Unable to find code system " + inc.getSystem().toString());
@ -869,7 +921,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
for (ConceptDefinitionComponent def : cs.getConcept()) { for (ConceptDefinitionComponent def : cs.getConcept()) {
addCodeAndDescendents(cs, inc.getSystem(), def, null, expParams, imports, null, new PropertyFilter(fc, getPropertyDefinition(cs, fc.getProperty())), noInactive, exp.getProperty()); addCodeAndDescendents(cs, inc.getSystem(), def, null, expParams, imports, null, new PropertyFilter(fc, getPropertyDefinition(cs, fc.getProperty())), noInactive, exp.getProperty());
} }
} else if ("regex".equals(fc.getProperty()) && fc.getOp() == FilterOperator.EQUAL) { } else if ("code".equals(fc.getProperty()) && fc.getOp() == FilterOperator.REGEX) {
for (ConceptDefinitionComponent def : cs.getConcept()) { for (ConceptDefinitionComponent def : cs.getConcept()) {
addCodeAndDescendents(cs, inc.getSystem(), def, null, expParams, imports, null, new RegexFilter(fc.getValue()), noInactive, exp.getProperty()); addCodeAndDescendents(cs, inc.getSystem(), def, null, expParams, imports, null, new RegexFilter(fc.getValue()), noInactive, exp.getProperty());
} }
@ -932,6 +984,8 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx
c.setLanguage(t.getLanguage()); c.setLanguage(t.getLanguage());
c.setUse(t.getUse()); c.setUse(t.getUse());
c.setValue(t.getValue()); c.setValue(t.getValue());
c.getExtension().addAll(t.getExtension());
res.add(c);
} }
return res; return res;
} }

View File

@ -150,7 +150,7 @@ public class SimpleWorkerContextTests {
assertEquals(expectedValidationResult, actualValidationResult); assertEquals(expectedValidationResult, actualValidationResult);
Mockito.verify(valueSetCheckerSimple, times(0)).validateCode(coding); Mockito.verify(valueSetCheckerSimple, times(0)).validateCode("Coding", coding);
Mockito.verify(terminologyCache).getValidation(cacheToken); Mockito.verify(terminologyCache).getValidation(cacheToken);
Mockito.verify(terminologyCache, times(0)).cacheValidation(any(), any(), anyBoolean()); Mockito.verify(terminologyCache, times(0)).cacheValidation(any(), any(), anyBoolean());
} }
@ -172,7 +172,7 @@ public class SimpleWorkerContextTests {
assertEquals(expectedValidationResult, actualValidationResult); assertEquals(expectedValidationResult, actualValidationResult);
Mockito.verify(valueSetCheckerSimple).validateCode(coding); Mockito.verify(valueSetCheckerSimple).validateCode("Coding", coding);
Mockito.verify(terminologyCache).getValidation(cacheToken); Mockito.verify(terminologyCache).getValidation(cacheToken);
Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult,false); Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult,false);
} }
@ -194,7 +194,7 @@ public class SimpleWorkerContextTests {
assertEquals(expectedValidationResult, actualValidationResult); assertEquals(expectedValidationResult, actualValidationResult);
Mockito.verify(valueSetCheckerSimple, times(0)).validateCode(coding); Mockito.verify(valueSetCheckerSimple, times(0)).validateCode("Coding", coding);
Mockito.verify(terminologyCache).getValidation(cacheToken); Mockito.verify(terminologyCache).getValidation(cacheToken);
Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult,true); Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult,true);
} }
@ -210,7 +210,7 @@ public class SimpleWorkerContextTests {
IWorkerContext.ValidationResult actualValidationResult = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet); IWorkerContext.ValidationResult actualValidationResult = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet);
assertEquals(expectedValidationResult, actualValidationResult); assertEquals(expectedValidationResult, actualValidationResult);
Mockito.verify(valueSetCheckerSimple, times(0)).validateCode(codeableConcept); Mockito.verify(valueSetCheckerSimple, times(0)).validateCode("CodeableConcept", codeableConcept);
Mockito.verify(terminologyCache).getValidation(cacheToken); Mockito.verify(terminologyCache).getValidation(cacheToken);
Mockito.verify(terminologyCache, times(0)).cacheValidation(any(), any(), anyBoolean()); Mockito.verify(terminologyCache, times(0)).cacheValidation(any(), any(), anyBoolean());
} }
@ -228,7 +228,7 @@ public class SimpleWorkerContextTests {
IWorkerContext.ValidationResult validationResultB = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet); IWorkerContext.ValidationResult validationResultB = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet);
assertEquals(expectedValidationResult, validationResultB); assertEquals(expectedValidationResult, validationResultB);
Mockito.verify(valueSetCheckerSimple).validateCode(codeableConcept); Mockito.verify(valueSetCheckerSimple).validateCode("CodeableConcept", codeableConcept);
Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult, false); Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult, false);
Mockito.verify(context, times(0)).validateOnServer(any(), any(), any()); Mockito.verify(context, times(0)).validateOnServer(any(), any(), any());
} }
@ -251,7 +251,7 @@ public class SimpleWorkerContextTests {
assertEquals(expectedValidationResult, validationResultB); assertEquals(expectedValidationResult, validationResultB);
Mockito.verify(valueSetCheckerSimple, times(0)).validateCode(codeableConcept); Mockito.verify(valueSetCheckerSimple, times(0)).validateCode("CodeableConcept", codeableConcept);
Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult, true); Mockito.verify(terminologyCache).cacheValidation(cacheToken, expectedValidationResult, true);
Mockito.verify(context).validateOnServer(valueSet, pIn, validationOptions); Mockito.verify(context).validateOnServer(valueSet, pIn, validationOptions);
} }

View File

@ -117,12 +117,12 @@ public class TerminologyCacheTests implements ResourceLoaderTests {
terminologyCacheA.cacheTerminologyCapabilities(terminologyCapabilities); terminologyCacheA.cacheTerminologyCapabilities(terminologyCapabilities);
terminologyCacheA.cacheCapabilityStatement(capabilityStatement); terminologyCacheA.cacheCapabilityStatement(capabilityStatement);
IWorkerContext.ValidationResult codingResultA = new IWorkerContext.ValidationResult(ValidationMessage.IssueSeverity.INFORMATION, "dummyInfo"); IWorkerContext.ValidationResult codingResultA = new IWorkerContext.ValidationResult(ValidationMessage.IssueSeverity.INFORMATION, "dummyInfo", null);
TerminologyCache.CacheToken codingTokenA = terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, TerminologyCache.CacheToken codingTokenA = terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions,
coding, valueSet); coding, valueSet);
terminologyCacheA.cacheValidation(codingTokenA, codingResultA, true); terminologyCacheA.cacheValidation(codingTokenA, codingResultA, true);
IWorkerContext.ValidationResult codeableConceptResultA = new IWorkerContext.ValidationResult(ValidationMessage.IssueSeverity.INFORMATION, "dummyInfo"); IWorkerContext.ValidationResult codeableConceptResultA = new IWorkerContext.ValidationResult(ValidationMessage.IssueSeverity.INFORMATION, "dummyInfo", null);
TerminologyCache.CacheToken codeableConceptTokenA = terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, TerminologyCache.CacheToken codeableConceptTokenA = terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions,
concept, valueSet); concept, valueSet);
terminologyCacheA.cacheValidation(codeableConceptTokenA, codeableConceptResultA, true); terminologyCacheA.cacheValidation(codeableConceptTokenA, codeableConceptResultA, true);

View File

@ -21,6 +21,7 @@ import org.hl7.fhir.r5.model.Resource;
import org.hl7.fhir.r5.model.TerminologyCapabilities; import org.hl7.fhir.r5.model.TerminologyCapabilities;
import org.hl7.fhir.r5.utils.client.network.Client; import org.hl7.fhir.r5.utils.client.network.Client;
import org.hl7.fhir.r5.utils.client.network.ResourceRequest; import org.hl7.fhir.r5.utils.client.network.ResourceRequest;
import org.hl7.fhir.utilities.Servers;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
@ -37,7 +38,7 @@ import static org.mockito.Mockito.times;
class FHIRToolingClientTest { class FHIRToolingClientTest {
String TX_ADDR = "http://tx.fhir.org"; String TX_ADDR = Servers.TX_SERVER_DEV;
Header h1 = new Header("header1", "value1"); Header h1 = new Header("header1", "value1");
Header h2 = new Header("header2", "value2"); Header h2 = new Header("header2", "value2");

View File

@ -9,7 +9,7 @@
"valueSet": { "valueSet": {
"resourceType": "ValueSet" "resourceType": "ValueSet"
}, },
"lang": "null", "langs": "[]",
"useServer": "true", "useServer": "true",
"useClient": "true", "useClient": "true",
"guessSystem": "true", "guessSystem": "true",

View File

@ -11,7 +11,7 @@
"valueSet": { "valueSet": {
"resourceType": "ValueSet" "resourceType": "ValueSet"
}, },
"lang": "null", "langs": "[]",
"useServer": "true", "useServer": "true",
"useClient": "true", "useClient": "true",
"guessSystem": "true", "guessSystem": "true",

View File

@ -1 +1 @@
{"code":{"code":"dummyCode"},"valueSet":{"resourceType":"ValueSet"},"lang":"null","useServer":"true","useClient":"true","guessSystem":"true","valueSetMode":"ALL_CHECKS","versionFlexible":"false"} {"code":{"code":"dummyCode"},"valueSet":{"resourceType":"ValueSet"},"langs":"[]","useServer":"true","useClient":"true","guessSystem":"true","valueSetMode":"ALL_CHECKS","versionFlexible":"false"}

View File

@ -1 +1 @@
{"code":{"system":"dummySystem","version":"dummyVersion","code":"dummyCode"},"valueSet":{"resourceType":"ValueSet"},"lang":"null","useServer":"true","useClient":"true","guessSystem":"true","valueSetMode":"ALL_CHECKS","versionFlexible":"false"} {"code":{"system":"dummySystem","version":"dummyVersion","code":"dummyCode"},"valueSet":{"resourceType":"ValueSet"},"langs":"[]","useServer":"true","useClient":"true","guessSystem":"true","valueSetMode":"ALL_CHECKS","versionFlexible":"false"}

View File

@ -1,11 +0,0 @@
-------------------------------------------------------------------------------------
{"code" : {
"system" : "urn:iso:std:iso:3166",
"code" : "BE"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: {
"severity" : "error",
"error" : "Local Error: Resolved system urn:iso:std:iso:3166 (v1.0.0), but the definition is not complete. Server Error: Attempt to use Terminology server when no Terminology server is available",
"class" : "SERVER_ERROR"
}
-------------------------------------------------------------------------------------

View File

@ -1,24 +0,0 @@
-------------------------------------------------------------------------------------
{"hierarchical" : false, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"inactive" : true,
"include" : [{
"system" : "urn:iso:std:iso:4217"
}]
}
}}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/currencies", "version": "5.0.0-ballot"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/currencies", "version": "5.0.0-snapshot3"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------

View File

@ -1,14 +1,4 @@
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "urn:ietf:bcp:47",
"code" : "fr-CA"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: {
"severity" : "error",
"error" : "Attempt to use Terminology server when no Terminology server is available",
"class" : "SERVER_ERROR"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "valueSet" :{ {"hierarchical" : false, "valueSet" :{
"resourceType" : "ValueSet", "resourceType" : "ValueSet",
"compose" : { "compose" : {
@ -22,18 +12,3 @@ e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null" "error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0-snapshot3"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0-draft-final"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------

View File

@ -44,47 +44,3 @@ e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null" "error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"hierarchical" : false, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "http://loinc.org",
"concept" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-label",
"valueString" : "A."
}],
"code" : "LA20752-4",
"display" : "Within 24 hours"
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-label",
"valueString" : "B."
}],
"code" : "LA20753-2",
"display" : "After 24 hours but before 3 days"
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-label",
"valueString" : "C."
}],
"code" : "LA20754-0",
"display" : "Three days or later"
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-label",
"valueString" : "D."
}],
"code" : "LA4489-6",
"display" : "Unknown"
}]
}]
}
}}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------

View File

@ -12,23 +12,3 @@ e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null" "error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0-ballot"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0-snapshot3"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0-draft-final"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------

View File

@ -1,31 +0,0 @@
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://hl7.org/fhir/tools/CodeSystem/obligation",
"code" : "will-send"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: {
"severity" : "error",
"error" : "Local Error: Unable to resolve system http://hl7.org/fhir/tools/CodeSystem/obligation. Server Error: Attempt to use Terminology server when no Terminology server is available",
"class" : "SERVER_ERROR"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://hl7.org/fhir/tools/CodeSystem/obligation",
"code" : "display"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: {
"severity" : "error",
"error" : "Local Error: Unable to resolve system http://hl7.org/fhir/tools/CodeSystem/obligation. Server Error: Attempt to use Terminology server when no Terminology server is available",
"class" : "SERVER_ERROR"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://hl7.org/fhir/tools/CodeSystem/obligation",
"code" : "preserve"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: {
"severity" : "error",
"error" : "Local Error: Unable to resolve system http://hl7.org/fhir/tools/CodeSystem/obligation. Server Error: Attempt to use Terminology server when no Terminology server is available",
"class" : "SERVER_ERROR"
}
-------------------------------------------------------------------------------------

View File

@ -96,46 +96,3 @@ e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null" "error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "5.0.0-ballot"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"inactive" : true,
"include" : [{
"system" : "http://unitsofmeasure.org"
}]
}
}}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "5.0.0-ballot"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "5.0.0-snapshot3"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "5.0.0-snapshot3"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "5.0.0-draft-final"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "5.0.0"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------

View File

@ -0,0 +1,10 @@
package org.hl7.fhir.utilities;
public class Servers {
public static final String TX_SERVER_PROD = "http://tx.fhir.org";
public static final String TX_SERVER_DEV = "http://tx-dev.fhir.org";
public static final String TX_SERVER_LOCAL = "http://local.fhir.org";
}

View File

@ -260,7 +260,7 @@ public class I18nConstants {
public static final String NAMED_ITEMS_ARE_OUT_OF_ORDER_IN_THE_SLICE = "Named_items_are_out_of_order_in_the_slice"; public static final String NAMED_ITEMS_ARE_OUT_OF_ORDER_IN_THE_SLICE = "Named_items_are_out_of_order_in_the_slice";
public static final String NEEDS_A_SNAPSHOT = "needs_a_snapshot"; public static final String NEEDS_A_SNAPSHOT = "needs_a_snapshot";
public static final String NODE_TYPE__IS_NOT_ALLOWED = "Node_type__is_not_allowed"; public static final String NODE_TYPE__IS_NOT_ALLOWED = "Node_type__is_not_allowed";
public static final String NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_ = "None_of_the_provided_codes_are_in_the_value_set_"; public static final String NONE_OF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_ = "None_of_the_provided_codes_are_in_the_value_set";
public static final String UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_ = "UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_"; public static final String UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_ = "UNABLE_TO_CHECK_IF_THE_PROVIDED_CODES_ARE_IN_THE_VALUE_SET_";
public static final String NOT_DONE_YET = "Not_done_yet"; public static final String NOT_DONE_YET = "Not_done_yet";
public static final String NOT_DONE_YET_CANT_FETCH_ = "not_done_yet_cant_fetch_"; public static final String NOT_DONE_YET_CANT_FETCH_ = "not_done_yet_cant_fetch_";
@ -855,8 +855,9 @@ public class I18nConstants {
public static final String CONCEPTMAP_GROUP_TARGET_INCOMPLETE = "CONCEPTMAP_GROUP_TARGET_INCOMPLETE"; public static final String CONCEPTMAP_GROUP_TARGET_INCOMPLETE = "CONCEPTMAP_GROUP_TARGET_INCOMPLETE";
public static final String UNABLE_TO_RESOLVE_SYSTEM_SYSTEM_IS_INDETERMINATE = "UNABLE_TO_RESOLVE_SYSTEM_SYSTEM_IS_INDETERMINATE"; public static final String UNABLE_TO_RESOLVE_SYSTEM_SYSTEM_IS_INDETERMINATE = "UNABLE_TO_RESOLVE_SYSTEM_SYSTEM_IS_INDETERMINATE";
public static final String SD_NO_TYPE_CODE_ON_CODE = "SD_NO_TYPE_CODE_ON_CODE"; public static final String SD_NO_TYPE_CODE_ON_CODE = "SD_NO_TYPE_CODE_ON_CODE";
public static final String UKNOWN_CODESYSTEM = "UKNOWN_CODESYSTEM"; public static final String UNKNOWN_CODESYSTEM = "UNKNOWN_CODESYSTEM";
public static final String UKNOWN_CODESYSTEM_VERSION = "UKNOWN_CODESYSTEM_VERSION"; public static final String UNKNOWN_CODESYSTEM_VERSION = "UNKNOWN_CODESYSTEM_VERSION";
public static final String VALUESET_TOO_COSTLY = "VALUESET_TOO_COSTLY";
} }

View File

@ -462,15 +462,16 @@ Version_mismatch_The_context_has_version__loaded_and_the_new_content_being_loade
Error_reading__from_package__ = Error reading {0} from package {1}#{2}: {3} Error_reading__from_package__ = Error reading {0} from package {1}#{2}: {3}
Error_parsing_ = Error parsing {0}:{1} Error_parsing_ = Error parsing {0}:{1}
Unable_to_connect_to_terminology_server_Use_parameter_tx_na_tun_run_without_using_terminology_services_to_validate_LOINC_SNOMED_ICDX_etc_Error__ = Unable to connect to terminology server. Use parameter ''-tx n/a'' to run without using terminology services to validate LOINC, SNOMED, ICD-X etc. Error = {0} Unable_to_connect_to_terminology_server_Use_parameter_tx_na_tun_run_without_using_terminology_services_to_validate_LOINC_SNOMED_ICDX_etc_Error__ = Unable to connect to terminology server. Use parameter ''-tx n/a'' to run without using terminology services to validate LOINC, SNOMED, ICD-X etc. Error = {0}
Display_Name_for__should_be_one_of__instead_of_one = Display Name for {1}#{2} should be ''{3}'', not ''{4}'' Display_Name_for__should_be_one_of__instead_of_one = Wrong Display Name ''{4}'' for {1}#{2} - should be ''{3}'',
Display_Name_for__should_be_one_of__instead_of_other = Display Name for {1}#{2} should be one of {0} choices from ''{3}'', not ''{4}'' Display_Name_for__should_be_one_of__instead_of_other = Wrong Display Name ''{4}'' for {1}#{2} - should be one of {0} choices: ''{3}''
Unknown_Code__in_ = Unknown Code {0} in {1} Unknown_Code__in_ = Unknown Code ''{0}'' in the system ''{1}''
UNKNOWN_CODE__IN_FRAGMENT = Unknown Code {0} in {1} - note that the code system is labelled as a fragment, so the code may be valid in some other fragment UNKNOWN_CODE__IN_FRAGMENT = Unknown Code ''{0}'' in the system ''{1}'' - note that the code system is labeled as a fragment, so the code may be valid in some other fragment
Code_found_in_expansion_however_ = Code found in expansion, however: {0} Code_found_in_expansion_however_ = Code found in expansion, however: {0}
None_of_the_provided_codes_are_in_the_value_set_ = None of the provided codes are in the value set {0} None_of_the_provided_codes_are_in_the_value_set_one = The provided code is not in the value set ''{1}''
None_of_the_provided_codes_are_in_the_value_set_other = None of the provided codes are in the value set ''{1}''
Coding_has_no_system__cannot_validate = Coding has no system - cannot validate Coding_has_no_system__cannot_validate = Coding has no system - cannot validate
Unable_to_handle_system__concept_filter_with_op__ = Unable to handle system {0} concept filter with op = {1} Unable_to_handle_system__concept_filter_with_op__ = Unable to handle system {0} concept filter with op = {1}
Unable_to_handle_system__filter_with_property__ = Unable to handle system {0} filter with property = {1} Unable_to_handle_system__filter_with_property__ = Unable to handle system {0} filter with property = {1}, op = {2}
Unable_to_resolve_system__value_set_has_include_with_no_system = Unable to resolve system - value set {0} include #{1} has no system Unable_to_resolve_system__value_set_has_include_with_no_system = Unable to resolve system - value set {0} include #{1} has no system
UNABLE_TO_RESOLVE_SYSTEM_SYSTEM_IS_INDETERMINATE = The code system {1} referred to from value set {0} has a grammar, and the code might be valid in it UNABLE_TO_RESOLVE_SYSTEM_SYSTEM_IS_INDETERMINATE = The code system {1} referred to from value set {0} has a grammar, and the code might be valid in it
Unable_to_resolve_system__value_set_has_include_with_unknown_system = Unable to resolve system - value set {0} include #{1} has system {2} which is unknown, and the server return error {3} Unable_to_resolve_system__value_set_has_include_with_unknown_system = Unable to resolve system - value set {0} include #{1} has system {2} which is unknown, and the server return error {3}
@ -905,6 +906,9 @@ SM_DEPENDENT_PARAM_TYPE_MISMATCH_DUPLICATE = The group {0} has alr
CONCEPTMAP_GROUP_SOURCE_INCOMPLETE = Source Code System {0} doesn''t have all content (content = {1}), so the source codes cannot be checked CONCEPTMAP_GROUP_SOURCE_INCOMPLETE = Source Code System {0} doesn''t have all content (content = {1}), so the source codes cannot be checked
CONCEPTMAP_GROUP_TARGET_INCOMPLETE = Target Code System {0} doesn''t have all content (content = {1}), so the source codes cannot be checked CONCEPTMAP_GROUP_TARGET_INCOMPLETE = Target Code System {0} doesn''t have all content (content = {1}), so the source codes cannot be checked
SD_NO_TYPE_CODE_ON_CODE = Snapshot for {1} element {0} has type.code without a value SD_NO_TYPE_CODE_ON_CODE = Snapshot for {1} element {0} has type.code without a value
UKNOWN_CODESYSTEM = The CodeSystem {0} is unknown UNKNOWN_CODESYSTEM = The CodeSystem {0} is unknown
UKNOWN_CODESYSTEM_VERSION = The CodeSystem {0} version {1} is unknown UNKNOWN_CODESYSTEM_VERSION = The CodeSystem {0} version {1} is unknown. ValidVersions: {2}
UNABLE_TO_INFER_CODESYSTEM = The System URI could not be determined for the code {0} in the ValueSet {1}
VALUESET_TOO_COSTLY = The value set {0} has too many codes to display ({1})

View File

@ -503,7 +503,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
return "n/a: No Terminology Server"; return "n/a: No Terminology Server";
} else { } else {
try { try {
return context.connectToTSServer(TerminologyClientFactory.makeClient(url, context.getUserAgent(), version), log); return context.connectToTSServer(TerminologyClientFactory.makeClient("Tx-Server", url, context.getUserAgent(), version), log);
} catch (Exception e) { } catch (Exception e) {
if (context.isCanRunWithoutTerminology()) { if (context.isCanRunWithoutTerminology()) {
return "n/a: Running without Terminology Server (error: " + e.getMessage() + ")"; return "n/a: Running without Terminology Server (error: " + e.getMessage() + ")";

View File

@ -9,6 +9,7 @@ import java.util.Objects;
import org.hl7.fhir.r5.terminologies.JurisdictionUtilities; import org.hl7.fhir.r5.terminologies.JurisdictionUtilities;
import org.hl7.fhir.r5.utils.validation.BundleValidationRule; import org.hl7.fhir.r5.utils.validation.BundleValidationRule;
import org.hl7.fhir.utilities.Servers;
import org.hl7.fhir.utilities.VersionUtilities; import org.hl7.fhir.utilities.VersionUtilities;
import org.hl7.fhir.validation.cli.utils.EngineMode; import org.hl7.fhir.validation.cli.utils.EngineMode;
import org.hl7.fhir.validation.cli.utils.QuestionnaireMode; import org.hl7.fhir.validation.cli.utils.QuestionnaireMode;
@ -61,7 +62,7 @@ public class CliContext {
@JsonProperty("htmlOutput") @JsonProperty("htmlOutput")
private String htmlOutput = null; private String htmlOutput = null;
@JsonProperty("txServer") @JsonProperty("txServer")
private String txServer = "http://tx.fhir.org"; private String txServer = Servers.TX_SERVER_PROD;
@JsonProperty("sv") @JsonProperty("sv")
private String sv = null; private String sv = null;
@JsonProperty("txLog") @JsonProperty("txLog")

View File

@ -259,7 +259,7 @@ public class StandAloneValidatorFetcher implements IValidatorResourceFetcher, IV
String root = getRoot(p, url); String root = getRoot(p, url);
if (root != null) { if (root != null) {
TerminologyClient c; TerminologyClient c;
c = TerminologyClientFactory.makeClient(root, "fhir/validator", context.getVersion()); c = TerminologyClientFactory.makeClient("source", root, "fhir/validator", context.getVersion());
return c.read(p[p.length - 2], p[p.length - 1]); return c.read(p[p.length - 2], p[p.length - 1]);
} else { } else {
throw new FHIRException("The URL '" + url + "' is not known to the FHIR validator, and has not been provided as part of the setup / parameters"); throw new FHIRException("The URL '" + url + "' is not known to the FHIR validator, and has not been provided as part of the setup / parameters");

View File

@ -2,14 +2,13 @@ package org.hl7.fhir.validation.cli.utils;
import org.hl7.fhir.r5.model.Constants; import org.hl7.fhir.r5.model.Constants;
import org.hl7.fhir.utilities.FhirPublication; import org.hl7.fhir.utilities.FhirPublication;
import org.hl7.fhir.utilities.Servers;
import org.hl7.fhir.utilities.TimeTracker; import org.hl7.fhir.utilities.TimeTracker;
import org.hl7.fhir.utilities.VersionUtilities; import org.hl7.fhir.utilities.VersionUtilities;
import org.hl7.fhir.validation.ValidationEngine; import org.hl7.fhir.validation.ValidationEngine;
public class Common { public class Common {
public static final String DEFAULT_TX_SERVER = "http://tx.fhir.org";
public static String getVersion(String[] args) { public static String getVersion(String[] args) {
String v = Params.getParam(args, "-version"); String v = Params.getParam(args, "-version");
if (v == null) { if (v == null) {
@ -76,7 +75,7 @@ public class Common {
* Default validation engine will point to "http://tx.fhir.org" terminology server. * Default validation engine will point to "http://tx.fhir.org" terminology server.
*/ */
public static ValidationEngine getValidationEngine(String version, String definitions, String txLog, TimeTracker tt) throws Exception { public static ValidationEngine getValidationEngine(String version, String definitions, String txLog, TimeTracker tt) throws Exception {
return getValidationEngine(version, DEFAULT_TX_SERVER, definitions, txLog, tt); return getValidationEngine(version, Servers.TX_SERVER_PROD, definitions, txLog, tt);
} }
public static ValidationEngine getValidationEngine(String version, String txServer, String definitions, String txLog, TimeTracker tt) throws Exception { public static ValidationEngine getValidationEngine(String version, String txServer, String definitions, String txLog, TimeTracker tt) throws Exception {

View File

@ -6340,6 +6340,9 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
public void setValidationLanguage(String validationLanguage) { public void setValidationLanguage(String validationLanguage) {
this.validationLanguage = validationLanguage; this.validationLanguage = validationLanguage;
if (this.validationLanguage == null) {
this.validationLanguage = "en";
}
} }
public boolean isDebug() { public boolean isDebug() {

View File

@ -203,6 +203,9 @@ public class ValueSetValidator extends BaseValidator {
} else { } else {
boolean ok = vv.isOk(); boolean ok = vv.isOk();
warning(errors, NO_RULE_DATE, IssueType.BUSINESSRULE, stack.getLiteralPath(), ok, I18nConstants.VALUESET_INCLUDE_INVALID_CONCEPT_CODE, system, code); warning(errors, NO_RULE_DATE, IssueType.BUSINESSRULE, stack.getLiteralPath(), ok, I18nConstants.VALUESET_INCLUDE_INVALID_CONCEPT_CODE, system, code);
if (vv.getMessage() != null) {
hint(errors, NO_RULE_DATE, IssueType.BUSINESSRULE, stack.getLiteralPath(), false, vv.getMessage());
}
} }
} else { } else {
ValidationResult vv = context.validateCode(ValidationOptions.defaults(), new Coding(system, code, null).setVersion(version), null); ValidationResult vv = context.validateCode(ValidationOptions.defaults(), new Coding(system, code, null).setVersion(version), null);

View File

@ -7,6 +7,7 @@ import java.io.IOException;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections;
import java.util.List; import java.util.List;
import org.hl7.fhir.convertors.txClient.TerminologyClientFactory; import org.hl7.fhir.convertors.txClient.TerminologyClientFactory;
@ -16,17 +17,18 @@ import org.hl7.fhir.exceptions.FHIRFormatError;
import org.hl7.fhir.r5.formats.IParser.OutputStyle; import org.hl7.fhir.r5.formats.IParser.OutputStyle;
import org.hl7.fhir.r5.model.Parameters; import org.hl7.fhir.r5.model.Parameters;
import org.hl7.fhir.r5.model.Resource; import org.hl7.fhir.r5.model.Resource;
import org.hl7.fhir.r5.model.OperationOutcome;
import org.hl7.fhir.r5.model.ValueSet; import org.hl7.fhir.r5.model.ValueSet;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionContainsComponent;
import org.hl7.fhir.r5.terminologies.TerminologyClient; import org.hl7.fhir.r5.terminologies.TerminologyClient;
import org.hl7.fhir.r5.test.utils.CompareUtilities; import org.hl7.fhir.r5.test.utils.CompareUtilities;
import org.hl7.fhir.r5.utils.client.EFhirClientException;
import org.hl7.fhir.utilities.FhirPublication; import org.hl7.fhir.utilities.FhirPublication;
import org.hl7.fhir.utilities.TextFile; import org.hl7.fhir.utilities.TextFile;
import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.utilities.json.JsonException; import org.hl7.fhir.utilities.json.JsonException;
import org.hl7.fhir.utilities.json.model.JsonObject; import org.hl7.fhir.utilities.json.model.JsonObject;
import org.hl7.fhir.utilities.json.parser.JsonParser; import org.hl7.fhir.utilities.json.parser.JsonParser;
import org.hl7.fhir.validation.special.TxTester.ITxTesterLoader;
import org.hl7.fhir.validation.special.TxTester.InternalLoader;
public class TxTester { public class TxTester {
@ -86,7 +88,7 @@ public class TxTester {
private TerminologyClient connectToServer() throws URISyntaxException { private TerminologyClient connectToServer() throws URISyntaxException {
System.out.println("Connect to "+server); System.out.println("Connect to "+server);
return TerminologyClientFactory.makeClient(server, "Tools/Java", FhirPublication.R4); return TerminologyClientFactory.makeClient("Test-Server", server, "Tools/Java", FhirPublication.R4);
} }
@ -161,8 +163,17 @@ public class TxTester {
for (Resource r : setup) { for (Resource r : setup) {
p.addParameter().setName("tx-resource").setResource(r); p.addParameter().setName("tx-resource").setResource(r);
} }
ValueSet vs = tx.expandValueset(null, p, null); String vsj;
String vsj = new org.hl7.fhir.r5.formats.JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(vs); try {
ValueSet vs = tx.expandValueset(null, p, null);
vs.setText(null);
TxTesterSorters.sortValueSet(vs);
vsj = new org.hl7.fhir.r5.formats.JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(vs);
} catch (EFhirClientException e) {
OperationOutcome oo = e.getServerErrors().get(0);
oo.setText(null);
vsj = new org.hl7.fhir.r5.formats.JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(oo);
}
String diff = CompareUtilities.checkJsonSrcIsSame(resp, vsj); String diff = CompareUtilities.checkJsonSrcIsSame(resp, vsj);
if (diff != null) { if (diff != null) {
Utilities.createDirectory(Utilities.getDirectoryForFile(fp)); Utilities.createDirectory(Utilities.getDirectoryForFile(fp));
@ -171,11 +182,29 @@ public class TxTester {
return diff; return diff;
} }
private String validate(TerminologyClient tx, List<Resource> setup, Resource req, String resp, String fp) { private String validate(TerminologyClient tx, List<Resource> setup, Parameters p, String resp, String fp) throws IOException {
// TODO Auto-generated method stub for (Resource r : setup) {
return "not done yet"; p.addParameter().setName("tx-resource").setResource(r);
}
String pj;
try {
Parameters po = tx.validateVS(p);
TxTesterSorters.sortParameters(po);
pj = new org.hl7.fhir.r5.formats.JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(po);
} catch (EFhirClientException e) {
OperationOutcome oo = e.getServerErrors().get(0);
oo.setText(null);
pj = new org.hl7.fhir.r5.formats.JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(oo);
}
String diff = CompareUtilities.checkJsonSrcIsSame(resp, pj);
if (diff != null) {
Utilities.createDirectory(Utilities.getDirectoryForFile(fp));
TextFile.stringToFile(pj, fp);
}
return diff;
} }
private List<Resource> loadSetupResources(JsonObject suite) throws FHIRFormatError, FileNotFoundException, IOException { private List<Resource> loadSetupResources(JsonObject suite) throws FHIRFormatError, FileNotFoundException, IOException {
List<Resource> res = new ArrayList<>(); List<Resource> res = new ArrayList<>();
for (String s : suite.getStrings("setup")) { for (String s : suite.getStrings("setup")) {

View File

@ -0,0 +1,121 @@
package org.hl7.fhir.validation.special;
import java.util.Collections;
import java.util.Comparator;
import org.hl7.fhir.r5.model.Extension;
import org.hl7.fhir.r5.model.Parameters;
import org.hl7.fhir.r5.model.ValueSet;
import org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent;
import org.hl7.fhir.r5.model.ValueSet.ConceptPropertyComponent;
import org.hl7.fhir.r5.model.ValueSet.ConceptReferenceDesignationComponent;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionContainsComponent;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionParameterComponent;
import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionPropertyComponent;
public class TxTesterSorters {
public static void sortParameters(Parameters po) {
Collections.sort(po.getParameter(), new TxTesterSorters.ParameterSorter());
}
public static void sortValueSet(ValueSet vs) {
Collections.sort(vs.getExtension(), new TxTesterSorters.ExtensionSorter());
if (vs.hasExpansion()) {
Collections.sort(vs.getExpansion().getParameter(), new TxTesterSorters.ExpParameterSorter());
Collections.sort(vs.getExpansion().getProperty(), new TxTesterSorters.PropertyDefnSorter());
Collections.sort(vs.getExpansion().getExtension(), new TxTesterSorters.ExtensionSorter());
for (ValueSetExpansionContainsComponent cc : vs.getExpansion().getContains()) {
sortContainsFeatures(cc);
}
}
}
public static void sortContainsFeatures(ValueSetExpansionContainsComponent cc) {
Collections.sort(cc.getExtension(), new TxTesterSorters.ExtensionSorter());
Collections.sort(cc.getDesignation(), new TxTesterSorters.DesignationSorter());
Collections.sort(cc.getProperty(), new TxTesterSorters.PropertyValueSorter());
for (ValueSetExpansionContainsComponent c : cc.getContains()) {
sortContainsFeatures(c);
}
}
public static class DesignationSorter implements Comparator<ConceptReferenceDesignationComponent> {
@Override
public int compare(ConceptReferenceDesignationComponent o1, ConceptReferenceDesignationComponent o2) {
if (o1.hasLanguage() && o2.hasLanguage()) {
return o1.getLanguage().compareTo(o2.getLanguage());
} else {
return o1.getValue().compareTo(o2.getValue());
}
}
}
public static class PropertyDefnSorter implements Comparator<ValueSetExpansionPropertyComponent> {
@Override
public int compare(ValueSetExpansionPropertyComponent o1, ValueSetExpansionPropertyComponent o2) {
int i = o1.getUri().compareTo(o2.getUri());
if (i == 0) {
return o1.getCode().compareTo(o2.getCode());
} else {
return i;
}
}
}
public static class ExtensionSorter implements Comparator<Extension> {
@Override
public int compare(Extension o1, Extension o2) {
Collections.sort(o1.getExtension(), new ExtensionSorter());
Collections.sort(o2.getExtension(), new ExtensionSorter());
return o1.getUrl().compareTo(o2.getUrl());
}
}
public static class PropertyValueSorter implements Comparator<ConceptPropertyComponent> {
@Override
public int compare(ConceptPropertyComponent o1, ConceptPropertyComponent o2) {
return o1.getCode().compareTo(o2.getCode());
}
}
public static class ExpParameterSorter implements Comparator<ValueSetExpansionParameterComponent> {
@Override
public int compare(ValueSetExpansionParameterComponent o1, ValueSetExpansionParameterComponent o2) {
Collections.sort(o1.getExtension(), new ExtensionSorter());
Collections.sort(o2.getExtension(), new ExtensionSorter());
return o1.getName().compareTo(o2.getName());
}
}
public static class ParameterSorter implements Comparator<ParametersParameterComponent> {
@Override
public int compare(ParametersParameterComponent o1, ParametersParameterComponent o2) {
Collections.sort(o1.getExtension(), new ExtensionSorter());
Collections.sort(o2.getExtension(), new ExtensionSorter());
Collections.sort(o1.getPart(), new ParameterSorter());
Collections.sort(o2.getPart(), new ParameterSorter());
return o1.getName().compareTo(o2.getName());
}
}
}

View File

@ -46,6 +46,7 @@ import org.hl7.fhir.r5.model.Resource;
import org.hl7.fhir.r5.model.StructureDefinition; import org.hl7.fhir.r5.model.StructureDefinition;
import org.hl7.fhir.r5.model.ValueSet; import org.hl7.fhir.r5.model.ValueSet;
import org.hl7.fhir.r5.test.utils.TestingUtilities; import org.hl7.fhir.r5.test.utils.TestingUtilities;
import org.hl7.fhir.utilities.Servers;
import org.hl7.fhir.utilities.TextFile; import org.hl7.fhir.utilities.TextFile;
import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.utilities.VersionUtilities; import org.hl7.fhir.utilities.VersionUtilities;
@ -93,7 +94,7 @@ public class ComparisonTests {
private static IWorkerContext context; private static IWorkerContext context;
private JsonObject content; private JsonObject content;
private static final String DEF_TX = "http://tx.fhir.org"; private static final String DEF_TX = Servers.TX_SERVER_DEV;
private static final String HEADER = "<html><link href=\"http://hl7.org/fhir/fhir.css\" rel=\"stylesheet\"/><body>"; private static final String HEADER = "<html><link href=\"http://hl7.org/fhir/fhir.css\" rel=\"stylesheet\"/><body>";
private static final String BREAK = "<hr/>"; private static final String BREAK = "<hr/>";
private static final String FOOTER = "</body></html>"; private static final String FOOTER = "</body></html>";

View File

@ -44,6 +44,7 @@ import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.utilities.json.model.JsonObject; import org.hl7.fhir.utilities.json.model.JsonObject;
import org.hl7.fhir.utilities.validation.ValidationOptions; import org.hl7.fhir.utilities.validation.ValidationOptions;
import org.hl7.fhir.validation.ValidationEngine; import org.hl7.fhir.validation.ValidationEngine;
import org.hl7.fhir.validation.special.TxTesterSorters;
import org.hl7.fhir.validation.tests.ValidationEngineTests; import org.hl7.fhir.validation.tests.ValidationEngineTests;
import org.hl7.fhir.validation.tests.utilities.TestUtilities; import org.hl7.fhir.validation.tests.utilities.TestUtilities;
import org.junit.AfterClass; import org.junit.AfterClass;
@ -133,7 +134,7 @@ public class TerminologyServiceTests {
if (setup.test.asString("operation").equals("expand")) { if (setup.test.asString("operation").equals("expand")) {
expand(engine, req, resp, fp); expand(engine, req, resp, fp);
} else if (setup.test.asString("operation").equals("validate-code")) { } else if (setup.test.asString("operation").equals("validate-code")) {
validate(engine, req, resp, fp); validate(engine, setup.test.asString("name"), req, resp, fp);
} else { } else {
Assertions.fail("Unknown Operation "+setup.test.asString("operation")); Assertions.fail("Unknown Operation "+setup.test.asString("operation"));
} }
@ -152,6 +153,7 @@ public class TerminologyServiceTests {
if (!p.hasParameter("excludeNested")) { if (!p.hasParameter("excludeNested")) {
removeParameter(vse.getValueset(), "excludeNested"); removeParameter(vse.getValueset(), "excludeNested");
} }
TxTesterSorters.sortValueSet(vse.getValueset());
String vsj = new JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(vse.getValueset()); String vsj = new JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(vse.getValueset());
String diff = CompareUtilities.checkJsonSrcIsSame(resp, vsj); String diff = CompareUtilities.checkJsonSrcIsSame(resp, vsj);
if (diff != null) { if (diff != null) {
@ -183,6 +185,9 @@ public class TerminologyServiceTests {
case SERVER_ERROR: case SERVER_ERROR:
e.setCode(IssueType.EXCEPTION); e.setCode(IssueType.EXCEPTION);
break; break;
case TOO_COSTLY:
e.setCode(IssueType.TOOCOSTLY);
break;
case UNKNOWN: case UNKNOWN:
e.setCode(IssueType.UNKNOWN); e.setCode(IssueType.UNKNOWN);
break; break;
@ -212,13 +217,16 @@ public class TerminologyServiceTests {
} }
} }
private void validate(ValidationEngine engine, Resource req, String resp, String fp) throws JsonSyntaxException, FileNotFoundException, IOException { private void validate(ValidationEngine engine, String name, Resource req, String resp, String fp) throws JsonSyntaxException, FileNotFoundException, IOException {
org.hl7.fhir.r5.model.Parameters p = (org.hl7.fhir.r5.model.Parameters) req; org.hl7.fhir.r5.model.Parameters p = (org.hl7.fhir.r5.model.Parameters) req;
ValueSet vs = engine.getContext().fetchResource(ValueSet.class, p.getParameterValue("url").primitiveValue()); ValueSet vs = engine.getContext().fetchResource(ValueSet.class, p.getParameterValue("url").primitiveValue());
ValidationOptions options = new ValidationOptions(); ValidationOptions options = new ValidationOptions();
if (p.hasParameter("displayLanguage")) { if (p.hasParameter("displayLanguage")) {
options = options.withLanguage(p.getParameterString("displayLanguage")); options = options.withLanguage(p.getParameterString("displayLanguage"));
} }
if (p.hasParameter("valueSetMode") && "CHECK_MEMBERSHIP_ONLY".equals(p.getParameterString("valueSetMode"))) {
options = options.withCheckValueSetOnly();
}
ValidationResult vm; ValidationResult vm;
if (p.hasParameter("code")) { if (p.hasParameter("code")) {
vm = engine.getContext().validateCode(options.withGuessSystem(), p.getParameterString("system"), p.getParameterString("version"), p.getParameterString("code"), p.getParameterString("display"), vs); vm = engine.getContext().validateCode(options.withGuessSystem(), p.getParameterString("system"), p.getParameterString("version"), p.getParameterString("code"), p.getParameterString("display"), vs);
@ -229,13 +237,15 @@ public class TerminologyServiceTests {
CodeableConcept cc = (CodeableConcept) p.getParameterValue("codeableConcept"); CodeableConcept cc = (CodeableConcept) p.getParameterValue("codeableConcept");
vm = engine.getContext().validateCode(options, cc, vs); vm = engine.getContext().validateCode(options, cc, vs);
} else { } else {
vm = null; throw new Error("validate not done yet for this steup");
Assertions.fail("validate not done yet");
} }
org.hl7.fhir.r5.model.Parameters res = new org.hl7.fhir.r5.model.Parameters(); org.hl7.fhir.r5.model.Parameters res = new org.hl7.fhir.r5.model.Parameters();
if (vm.getSystem() != null) { if (vm.getSystem() != null) {
res.addParameter("system", vm.getSystem()); res.addParameter("system", vm.getSystem());
} }
if (vm.getCode() != null) {
res.addParameter("code", vm.getCode());
}
if (vm.getSeverity() == org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity.ERROR) { if (vm.getSeverity() == org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity.ERROR) {
res.addParameter("result", false); res.addParameter("result", false);
} else { } else {
@ -247,12 +257,19 @@ public class TerminologyServiceTests {
if (vm.getDisplay() != null) { if (vm.getDisplay() != null) {
res.addParameter("display", vm.getDisplay()); res.addParameter("display", vm.getDisplay());
} }
if (vm.getIssues().size() > 0) {
OperationOutcome oo = new OperationOutcome();
oo.getIssue().addAll(vm.getIssues());
res.addParameter().setName("issues").setResource(oo);
}
TxTesterSorters.sortParameters(res);
String pj = new JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(res); String pj = new JsonParser().setOutputStyle(OutputStyle.PRETTY).composeString(res);
String diff = CompareUtilities.checkJsonSrcIsSame(resp, pj); String diff = CompareUtilities.checkJsonSrcIsSame(resp, pj);
if (diff != null) { if (diff != null) {
Utilities.createDirectory(Utilities.getDirectoryForFile(fp)); Utilities.createDirectory(Utilities.getDirectoryForFile(fp));
TextFile.stringToFile(pj, fp); TextFile.stringToFile(pj, fp);
System.out.println("Test "+name+"failed: "+diff);
} }
Assertions.assertTrue(diff == null, diff); Assertions.assertTrue(diff == null, diff);
} }

View File

@ -25,6 +25,7 @@ import org.hl7.fhir.r5.test.utils.CompareUtilities;
import org.hl7.fhir.r5.test.utils.TestingUtilities; import org.hl7.fhir.r5.test.utils.TestingUtilities;
import org.hl7.fhir.r5.utils.validation.IResourceValidator; import org.hl7.fhir.r5.utils.validation.IResourceValidator;
import org.hl7.fhir.utilities.FhirPublication; import org.hl7.fhir.utilities.FhirPublication;
import org.hl7.fhir.utilities.Servers;
import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.utilities.validation.ValidationMessage; import org.hl7.fhir.utilities.validation.ValidationMessage;
import org.hl7.fhir.validation.instance.InstanceValidator; import org.hl7.fhir.validation.instance.InstanceValidator;
@ -46,7 +47,7 @@ public class ResourceValidationTests {
TestingUtilities.injectCorePackageLoader(); TestingUtilities.injectCorePackageLoader();
if (val == null) { if (val == null) {
ctxt = TestingUtilities.getSharedWorkerContext(); ctxt = TestingUtilities.getSharedWorkerContext();
engine = TestUtilities.getValidationEngine("hl7.fhir.r5.core#5.0.0", ValidationEngineTests.DEF_TX, null, FhirPublication.R5, true, "5.0.0"); engine = TestUtilities.getValidationEngine("hl7.fhir.r5.core#5.0.0", Servers.TX_SERVER_DEV, null, FhirPublication.R5, true, "5.0.0");
val = engine.getValidator(null); val = engine.getValidator(null);
val.setDebug(false); val.setDebug(false);
} }

View File

@ -2,6 +2,8 @@ package org.hl7.fhir.validation.tests;
import org.hl7.fhir.r5.elementmodel.Manager.FhirFormat; import org.hl7.fhir.r5.elementmodel.Manager.FhirFormat;
import org.hl7.fhir.r5.test.utils.TestingUtilities; import org.hl7.fhir.r5.test.utils.TestingUtilities;
import org.hl7.fhir.utilities.Servers;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.validation.NativeHostServices; import org.hl7.fhir.validation.NativeHostServices;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
@ -18,7 +20,7 @@ public class NativeHostServiceTester {
NativeHostServices svc = new NativeHostServices(); NativeHostServices svc = new NativeHostServices();
svc.init("hl7.fhir.r4.core#4.0.1"); svc.init("hl7.fhir.r4.core#4.0.1");
svc.connectToTxSvc("http://tx.fhir.org/r4", null, getTerminologyCacheDirectory("nativeHost").toString()); svc.connectToTxSvc(Utilities.path(Servers.TX_SERVER_DEV, "r4"), null, getTerminologyCacheDirectory("nativeHost").toString());
msg("base: "+svc.status()); msg("base: "+svc.status());
svc.seeResource(TestingUtilities.loadTestResourceBytes("validator", "misc", "ValueSet-dicm-2-AnatomicModifier.json"), FhirFormat.JSON); svc.seeResource(TestingUtilities.loadTestResourceBytes("validator", "misc", "ValueSet-dicm-2-AnatomicModifier.json"), FhirFormat.JSON);

View File

@ -5,8 +5,6 @@ import org.junit.jupiter.api.Test;
public class ProfileComparisonTests { public class ProfileComparisonTests {
private static final String DEF_TX = "http://tx.fhir.org";
@Test @Test
public void testCurrentComparison() throws Exception { public void testCurrentComparison() throws Exception {
// if (!TestUtilities.silent) // if (!TestUtilities.silent)

View File

@ -4,6 +4,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.hl7.fhir.utilities.FhirPublication; import org.hl7.fhir.utilities.FhirPublication;
import org.hl7.fhir.utilities.Servers;
import org.hl7.fhir.utilities.tests.CacheVerificationLogger; import org.hl7.fhir.utilities.tests.CacheVerificationLogger;
import org.hl7.fhir.r5.elementmodel.Manager.FhirFormat; import org.hl7.fhir.r5.elementmodel.Manager.FhirFormat;
import org.hl7.fhir.r5.model.OperationOutcome; import org.hl7.fhir.r5.model.OperationOutcome;
@ -20,8 +21,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
public class ValidationEngineTests { public class ValidationEngineTests {
// public static final String DEF_TX = "http://tx.fhir.org"; private static final String DEF_TX = Servers.TX_SERVER_DEV;
public static final String DEF_TX = "http://local.fhir.org"; // private static final String DEF_TX = Servers.TX_SERVER_LOCAL;
public static boolean inbuild; public static boolean inbuild;

View File

@ -405,12 +405,12 @@ public class ValidationTests implements IEvaluationContext, IValidatorResourceFe
private ValidationEngine buildVersionEngine(String ver, String txLog) throws Exception { private ValidationEngine buildVersionEngine(String ver, String txLog) throws Exception {
switch (ver) { switch (ver) {
case "1.0": return TestUtilities.getValidationEngine("hl7.fhir.r2.core#1.0.2", ValidationEngineTests.DEF_TX, txLog, FhirPublication.DSTU2, true, "1.0.2"); case "1.0": return TestUtilities.getValidationEngine("hl7.fhir.r2.core#1.0.2", Servers.TX_SERVER_PROD, txLog, FhirPublication.DSTU2, true, "1.0.2");
case "1.4": return TestUtilities.getValidationEngine("hl7.fhir.r2b.core#1.4.0", ValidationEngineTests.DEF_TX, txLog, FhirPublication.DSTU2016May, true, "1.4.0"); case "1.4": return TestUtilities.getValidationEngine("hl7.fhir.r2b.core#1.4.0", Servers.TX_SERVER_PROD, txLog, FhirPublication.DSTU2016May, true, "1.4.0");
case "3.0": return TestUtilities.getValidationEngine("hl7.fhir.r3.core#3.0.2", ValidationEngineTests.DEF_TX, txLog, FhirPublication.STU3, true, "3.0.2"); case "3.0": return TestUtilities.getValidationEngine("hl7.fhir.r3.core#3.0.2", Servers.TX_SERVER_PROD, txLog, FhirPublication.STU3, true, "3.0.2");
case "4.0": return TestUtilities.getValidationEngine("hl7.fhir.r4.core#4.0.1", ValidationEngineTests.DEF_TX, txLog, FhirPublication.R4, true, "4.0.1"); case "4.0": return TestUtilities.getValidationEngine("hl7.fhir.r4.core#4.0.1", Servers.TX_SERVER_PROD, txLog, FhirPublication.R4, true, "4.0.1");
case "4.3": return TestUtilities.getValidationEngine("hl7.fhir.r4b.core#4.3.0", ValidationEngineTests.DEF_TX, txLog, FhirPublication.R4B, true, "4.3.0"); case "4.3": return TestUtilities.getValidationEngine("hl7.fhir.r4b.core#4.3.0", Servers.TX_SERVER_PROD, txLog, FhirPublication.R4B, true, "4.3.0");
case "5.0": return TestUtilities.getValidationEngine("hl7.fhir.r5.core#5.0.0", ValidationEngineTests.DEF_TX, txLog, FhirPublication.R5, true, "5.0.0"); case "5.0": return TestUtilities.getValidationEngine("hl7.fhir.r5.core#5.0.0", Servers.TX_SERVER_PROD, txLog, FhirPublication.R5, true, "5.0.0");
} }
throw new Exception("unknown version " + version); throw new Exception("unknown version " + version);
} }

View File

@ -1,5 +1,13 @@
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/event-timing", "version": "5.0.0-ballot"}#### {"hierarchical" : false, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"inactive" : true,
"include" : [{
"system" : "urn:ietf:bcp:47"
}]
}
}}####
e: { e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null" "error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
} }

View File

@ -4,7 +4,7 @@
"compose" : { "compose" : {
"inactive" : true, "inactive" : true,
"include" : [{ "include" : [{
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical" "system" : "urn:ietf:bcp:13"
}] }]
} }
}}#### }}####
@ -12,8 +12,3 @@ e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null" "error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"hierarchical" : false, "url": "http://hl7.org/fhir/ValueSet/condition-clinical", "version": "5.0.0-ballot"}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------

View File

@ -0,0 +1,98 @@
-------------------------------------------------------------------------------------
{"hierarchical" : false, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"inactive" : true,
"include" : [{
"system" : "http://unitsofmeasure.org",
"concept" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
"valueString" : "second"
}],
"code" : "s",
"display" : "second",
"designation" : [{
"language" : "zh",
"value" : "秒"
}]
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
"valueString" : "minute"
}],
"code" : "min",
"display" : "minute",
"designation" : [{
"language" : "zh",
"value" : "分钟"
}]
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
"valueString" : "hour"
}],
"code" : "h",
"display" : "hour",
"designation" : [{
"language" : "zh",
"value" : "小时"
}]
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
"valueString" : "day"
}],
"code" : "d",
"display" : "day",
"designation" : [{
"language" : "zh",
"value" : "天"
}]
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
"valueString" : "week"
}],
"code" : "wk",
"display" : "week",
"designation" : [{
"language" : "zh",
"value" : "星期"
}]
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
"valueString" : "month - Normal practice is to use the 'mo' code as a calendar month when calculating the next occurrence."
}],
"code" : "mo",
"display" : "month",
"designation" : [{
"language" : "zh",
"value" : "月"
}]
},
{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
"valueString" : "year"
}],
"code" : "a",
"display" : "year",
"designation" : [{
"language" : "zh",
"value" : "年"
}]
}]
}]
}
}}####
e: {
"error" : "Cannot invoke \"org.hl7.fhir.r5.terminologies.TerminologyClient.expandValueset(org.hl7.fhir.r5.model.ValueSet, org.hl7.fhir.r5.model.Parameters, java.util.Map)\" because \"this.txClient\" is null"
}
-------------------------------------------------------------------------------------

View File

@ -16,7 +16,7 @@
"version" : "1.0.2-2.0.14", "version" : "1.0.2-2.0.14",
"name" : "FHIR Reference Server Conformance Statement", "name" : "FHIR Reference Server Conformance Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:21:29.955Z", "date" : "2023-04-14T06:49:56.234Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -3,7 +3,7 @@
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "3141-9", "code" : "3141-9",
"display" : "Weight Measured" "display" : "Weight Measured"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Body weight Measured", "display" : "Body weight Measured",
"code" : "3141-9", "code" : "3141-9",

View File

@ -3,7 +3,7 @@
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "27113001", "code" : "27113001",
"display" : "Body weight" "display" : "Body weight"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Body weight", "display" : "Body weight",
"code" : "27113001", "code" : "27113001",

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "[lb_av]" "code" : "[lb_av]"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "[lb_av]", "display" : "[lb_av]",
"code" : "[lb_av]", "code" : "[lb_av]",

View File

@ -16,7 +16,7 @@
"version" : "3.0.2-2.0.14", "version" : "3.0.2-2.0.14",
"name" : "FHIR Reference Server Conformance Statement", "name" : "FHIR Reference Server Conformance Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:21:48.467Z", "date" : "2023-04-14T06:49:59.279Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -16,7 +16,7 @@
"version" : "3.0.2-2.0.14", "version" : "3.0.2-2.0.14",
"name" : "FHIR Reference Server Conformance Statement", "name" : "FHIR Reference Server Conformance Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:21:50.678Z", "date" : "2023-04-14T06:50:01.715Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -10,9 +10,9 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "d" "code" : "d"
}, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "", "display" : "day",
"code" : "d", "code" : "d",
"system" : "http://unitsofmeasure.org" "system" : "http://unitsofmeasure.org"
} }
@ -26,7 +26,7 @@ v: {
"system" : "urn:ietf:bcp:13" "system" : "urn:ietf:bcp:13"
}] }]
} }
}, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "image/jpg", "display" : "image/jpg",
"code" : "image/jpg", "code" : "image/jpg",
@ -42,7 +42,7 @@ v: {
"system" : "urn:ietf:bcp:13" "system" : "urn:ietf:bcp:13"
}] }]
} }
}, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "application/pdf", "display" : "application/pdf",
"code" : "application/pdf", "code" : "application/pdf",
@ -51,7 +51,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "de-CH" "code" : "de-CH"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "German (Switzerland)", "display" : "German (Switzerland)",
"code" : "de-CH", "code" : "de-CH",
@ -62,7 +62,7 @@ v: {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "US", "code" : "US",
"display" : "United States of America" "display" : "United States of America"
}, "url": "http://hl7.org/fhir/ValueSet/jurisdiction", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/jurisdiction", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "United States of America", "display" : "United States of America",
"code" : "US", "code" : "US",

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "NL" "code" : "NL"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Netherlands", "display" : "Netherlands",
"code" : "NL", "code" : "NL",
@ -13,7 +13,7 @@ v: {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "NL", "code" : "NL",
"display" : "Netherlands" "display" : "Netherlands"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Netherlands", "display" : "Netherlands",
"code" : "NL", "code" : "NL",
@ -44,7 +44,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "NL" "code" : "NL"
}, "url": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.2--20171231000000--0", "version": "2017-12-31T00:00:00", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.2--20171231000000--0", "version": "2017-12-31T00:00:00", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Netherlands", "display" : "Netherlands",
"code" : "NL", "code" : "NL",
@ -55,7 +55,7 @@ v: {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "NL", "code" : "NL",
"display" : "Netherlands" "display" : "Netherlands"
}, "url": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.2--20171231000000", "version": "2017-12-31T00:00:00", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.2--20171231000000", "version": "2017-12-31T00:00:00", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Netherlands", "display" : "Netherlands",
"code" : "NL", "code" : "NL",
@ -65,7 +65,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "US" "code" : "US"
}, "url": "http://hl7.org/fhir/ValueSet/jurisdiction--0", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/jurisdiction--0", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "United States of America", "display" : "United States of America",
"code" : "US", "code" : "US",
@ -75,7 +75,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "US" "code" : "US"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "United States of America", "display" : "United States of America",
"code" : "US", "code" : "US",

View File

@ -10,10 +10,41 @@ v: {
"system" : "http://loinc.org" "system" : "http://loinc.org"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "19935-6"
}, "url": "http://phr.kanta.fi/ValueSet/fiphr-vs-vitalsigns--0", "version": "0.03", "langs":"[fi]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: {
"display" : "Maximum expiratory gas flow Respiratory system airway by Peak flow meter",
"code" : "19935-6",
"system" : "http://loinc.org"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "19935-6",
"display" : "Maximum expiratory gas flow Respiratory system airway by Peak flow meter"
}, "url": "http://phr.kanta.fi/ValueSet/fiphr-vs-vitalsigns", "version": "0.03", "langs":"[fi]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: {
"display" : "Maximum expiratory gas flow Respiratory system airway by Peak flow meter",
"code" : "19935-6",
"system" : "http://loinc.org"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "19935-6"
}, "valueSet" :null, "langs":"[fi]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Maximum expiratory gas flow Respiratory system airway by Peak flow meter",
"code" : "19935-6",
"system" : "http://loinc.org"
}
-------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "28655-9" "code" : "28655-9"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Attending Discharge summary", "display" : "Attending Discharge summary",
"code" : "28655-9", "code" : "28655-9",
@ -23,7 +54,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "28655-9" "code" : "28655-9"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Attending Discharge summary", "display" : "Attending Discharge summary",
"code" : "28655-9", "code" : "28655-9",
@ -33,7 +64,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "28655-9" "code" : "28655-9"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Attending Discharge summary", "display" : "Attending Discharge summary",
"code" : "28655-9", "code" : "28655-9",
@ -44,7 +75,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "29299-5", "code" : "29299-5",
"display" : "Reason for visit Narrative" "display" : "Reason for visit Narrative"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Reason for visit Narrative", "display" : "Reason for visit Narrative",
"code" : "29299-5", "code" : "29299-5",
@ -55,7 +86,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "10183-2", "code" : "10183-2",
"display" : "Hospital discharge medications Narrative" "display" : "Hospital discharge medications Narrative"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Hospital discharge medications Narrative", "display" : "Hospital discharge medications Narrative",
"code" : "10183-2", "code" : "10183-2",
@ -66,7 +97,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "48765-2", "code" : "48765-2",
"display" : "Allergies and adverse reactions Document" "display" : "Allergies and adverse reactions Document"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Allergies and adverse reactions Document", "display" : "Allergies and adverse reactions Document",
"code" : "48765-2", "code" : "48765-2",
@ -76,7 +107,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "46241-6" "code" : "46241-6"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Hospital admission diagnosis Narrative - Reported", "display" : "Hospital admission diagnosis Narrative - Reported",
"code" : "46241-6", "code" : "46241-6",
@ -86,7 +117,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "18842-5" "code" : "18842-5"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Discharge summary", "display" : "Discharge summary",
"code" : "18842-5", "code" : "18842-5",
@ -97,7 +128,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "18842-5", "code" : "18842-5",
"display" : "Discharge Summary" "display" : "Discharge Summary"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "3.0.2", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "3.0.2", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Discharge summary", "display" : "Discharge summary",
"code" : "18842-5", "code" : "18842-5",
@ -107,7 +138,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "18842-5" "code" : "18842-5"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Discharge summary", "display" : "Discharge summary",
"code" : "18842-5", "code" : "18842-5",
@ -118,20 +149,20 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "48765-2", "code" : "48765-2",
"display" : "Allergies" "display" : "Allergies"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Allergies and adverse reactions Document", "display" : "Allergies and adverse reactions Document",
"code" : "48765-2", "code" : "48765-2",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Allergies\" is not a valid display for the code {http://loinc.org}48765-2 - should be one of ['Allergies and adverse reactions Document', 'Allergies &or adverse reactions Doc', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 变态反应与不良反应 文档.其他' (zh-CN), '杂项类文档' (zh-CN), '其他文档 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 杂项' (zh-CN), '杂项类' (zh-CN), '杂项试验 过敏反应' (zh-CN), '过敏' (zh-CN), 'Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)' (it-IT), 'Документ Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://local.fhir.org/r3)" "error" : "Wrong Display Name 'Allergies' for http://loinc.org#48765-2 - should be one of 28 choices: 'Allergies and adverse reactions Document, \"Allergies &or adverse reactions Doc\", \"临床文档型\" (zh-CN), \"临床文档\" (zh-CN), \"文档\" (zh-CN), \"文书\" (zh-CN), \"医疗文书\" (zh-CN), \"临床医疗文书 医疗服务对象\" (zh-CN), \"客户\" (zh-CN), \"病人\" (zh-CN), \"病患\" (zh-CN), \"病号\" (zh-CN), \"超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。\" (zh-CN), \"发现物\" (zh-CN), \"所见\" (zh-CN), \"结果\" (zh-CN), \"结论 变态反应与不良反应 文档.其他\" (zh-CN), \"杂项类文档\" (zh-CN), \"其他文档 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 杂项\" (zh-CN), \"杂项类\" (zh-CN), \"杂项试验 过敏反应\" (zh-CN), \"过敏\" (zh-CN), \"Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)\" (it-IT), \"Документ Точка во времени\" (ru-RU), \"Момент\" (ru-RU)' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8648-8", "code" : "8648-8",
"display" : "Hospital course Narrative" "display" : "Hospital course Narrative"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Hospital course Narrative", "display" : "Hospital course Narrative",
"code" : "8648-8", "code" : "8648-8",
@ -142,7 +173,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "78375-3", "code" : "78375-3",
"display" : "Discharge diagnosis Narrative" "display" : "Discharge diagnosis Narrative"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Discharge diagnosis Narrative", "display" : "Discharge diagnosis Narrative",
"code" : "78375-3", "code" : "78375-3",
@ -153,7 +184,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "75311-1", "code" : "75311-1",
"display" : "Discharge medications Narrative" "display" : "Discharge medications Narrative"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Discharge medications Narrative", "display" : "Discharge medications Narrative",
"code" : "75311-1", "code" : "75311-1",
@ -164,7 +195,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "42347-5", "code" : "42347-5",
"display" : "Admission diagnosis (narrative)" "display" : "Admission diagnosis (narrative)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Admission diagnosis (narrative)", "display" : "Admission diagnosis (narrative)",
"code" : "42347-5", "code" : "42347-5",
@ -175,7 +206,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "42346-7", "code" : "42346-7",
"display" : "Medications on admission (narrative)" "display" : "Medications on admission (narrative)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Medications on admission (narrative)", "display" : "Medications on admission (narrative)",
"code" : "42346-7", "code" : "42346-7",
@ -186,7 +217,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "42344-2", "code" : "42344-2",
"display" : "Discharge diet (narrative)" "display" : "Discharge diet (narrative)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Discharge diet (narrative)", "display" : "Discharge diet (narrative)",
"code" : "42344-2", "code" : "42344-2",
@ -197,7 +228,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "10164-2", "code" : "10164-2",
"display" : "History of Present illness Narrative" "display" : "History of Present illness Narrative"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "History of Present illness Narrative", "display" : "History of Present illness Narrative",
"code" : "10164-2", "code" : "10164-2",
@ -208,20 +239,20 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "18776-5", "code" : "18776-5",
"display" : "Plan of care" "display" : "Plan of care"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Plan of care note", "display" : "Plan of care note",
"code" : "18776-5", "code" : "18776-5",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Plan of care\" is not a valid display for the code {http://loinc.org}18776-5 - should be one of ['Plan of care note', 'Plan of care note', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 事件发生的地方' (zh-CN), '场景' (zh-CN), '环境' (zh-CN), '背景 医疗服务(照护服务、护理服务、护理、照护、医疗照护、诊疗、诊疗服务、照顾、看护)计划(方案)记录 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 文档本体' (zh-CN), '临床文档本体' (zh-CN), '文档本体' (zh-CN), '文书本体' (zh-CN), '医疗文书本体' (zh-CN), '临床医疗文书本体 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 未加明确说明的角色 笔记' (zh-CN), '按语' (zh-CN), '注释' (zh-CN), '说明' (zh-CN), '票据' (zh-CN), '单据' (zh-CN), '证明书' (zh-CN), 'Documentazione dell''ontologia Osservazione Piano di cura Punto nel tempo (episodio) Ruolo non specificato' (it-IT)] (from http://local.fhir.org/r3)" "error" : "Wrong Display Name 'Plan of care' for http://loinc.org#18776-5 - should be one of 30 choices: 'Plan of care note, \"Plan of care note\", \"临床文档型\" (zh-CN), \"临床文档\" (zh-CN), \"文档\" (zh-CN), \"文书\" (zh-CN), \"医疗文书\" (zh-CN), \"临床医疗文书 事件发生的地方\" (zh-CN), \"场景\" (zh-CN), \"环境\" (zh-CN), \"背景 医疗服务(照护服务、护理服务、护理、照护、医疗照护、诊疗、诊疗服务、照顾、看护)计划(方案)记录 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。\" (zh-CN), \"发现物\" (zh-CN), \"所见\" (zh-CN), \"结果\" (zh-CN), \"结论 文档本体\" (zh-CN), \"临床文档本体\" (zh-CN), \"文档本体\" (zh-CN), \"文书本体\" (zh-CN), \"医疗文书本体\" (zh-CN), \"临床医疗文书本体 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 未加明确说明的角色 笔记\" (zh-CN), \"按语\" (zh-CN), \"注释\" (zh-CN), \"说明\" (zh-CN), \"票据\" (zh-CN), \"单据\" (zh-CN), \"证明书\" (zh-CN), \"Documentazione dell'ontologia Osservazione Piano di cura Punto nel tempo (episodio) Ruolo non specificato\" (it-IT)' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "47420-5", "code" : "47420-5",
"display" : "Functional status assessment note" "display" : "Functional status assessment note"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Functional status assessment note", "display" : "Functional status assessment note",
"code" : "47420-5", "code" : "47420-5",
@ -232,7 +263,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "47519-4", "code" : "47519-4",
"display" : "History of Procedures Document" "display" : "History of Procedures Document"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "History of Procedures Document", "display" : "History of Procedures Document",
"code" : "47519-4", "code" : "47519-4",
@ -243,33 +274,33 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "10187-3", "code" : "10187-3",
"display" : "Review of systems Narrative Reporte" "display" : "Review of systems Narrative Reporte"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Review of systems Narrative - Reported", "display" : "Review of systems Narrative - Reported",
"code" : "10187-3", "code" : "10187-3",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Review of systems Narrative Reporte\" is not a valid display for the code {http://loinc.org}10187-3 - should be one of ['Review of systems Narrative - Reported', 'Review of systems', '', '医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 历史纪录与体格检查 历史纪录与体格检查.历史记录' (zh-CN), '历史纪录与体格检查.历史记录类' (zh-CN), '历史纪录与体格检查.历史记录类别' (zh-CN), '历史纪录与体格检查.病史' (zh-CN), '历史纪录与体格检查.病史类' (zh-CN), '历史纪录与体格检查.病史类别' (zh-CN), '历史纪录与体格检查.病史记录' (zh-CN), '历史纪录与体格检查.病史记录类' (zh-CN), '历史纪录与体格检查.病史记录类别' (zh-CN), '历史纪录与体格检查小节.历史记录' (zh-CN), '历史纪录与体格检查小节.历史记录类' (zh-CN), '历史纪录与体格检查小节.历史记录类别' (zh-CN), '历史纪录与体格检查小节.病史' (zh-CN), '历史纪录与体格检查小节.病史类' (zh-CN), '历史纪录与体格检查小节.病史类别 历史纪录与体格检查小节 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 叙述' (zh-CN), '叙述性文字' (zh-CN), '报告' (zh-CN), '报告型' (zh-CN), '文字叙述' (zh-CN), '文本叙述型' (zh-CN), '文本描述' (zh-CN), '文本描述型 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 病史与体格检查 系统回顾' (zh-CN), '系统审核' (zh-CN), 'Anamnesi Osservazione paziente Punto nel tempo (episodio)' (it-IT), 'Анамнестические сведения' (ru-RU), 'Сообщенная третьим лицом информация Описательный Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://local.fhir.org/r3)" "error" : "Wrong Display Name 'Review of systems Narrative Reporte' for http://loinc.org#10187-3 - should be one of 41 choices: 'Review of systems Narrative - Reported, \"Review of systems\", \"医疗服务对象\" (zh-CN), \"客户\" (zh-CN), \"病人\" (zh-CN), \"病患\" (zh-CN), \"病号\" (zh-CN), \"超系统 - 病人 历史纪录与体格检查 历史纪录与体格检查.历史记录\" (zh-CN), \"历史纪录与体格检查.历史记录类\" (zh-CN), \"历史纪录与体格检查.历史记录类别\" (zh-CN), \"历史纪录与体格检查.病史\" (zh-CN), \"历史纪录与体格检查.病史类\" (zh-CN), \"历史纪录与体格检查.病史类别\" (zh-CN), \"历史纪录与体格检查.病史记录\" (zh-CN), \"历史纪录与体格检查.病史记录类\" (zh-CN), \"历史纪录与体格检查.病史记录类别\" (zh-CN), \"历史纪录与体格检查小节.历史记录\" (zh-CN), \"历史纪录与体格检查小节.历史记录类\" (zh-CN), \"历史纪录与体格检查小节.历史记录类别\" (zh-CN), \"历史纪录与体格检查小节.病史\" (zh-CN), \"历史纪录与体格检查小节.病史类\" (zh-CN), \"历史纪录与体格检查小节.病史类别 历史纪录与体格检查小节 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。\" (zh-CN), \"发现物\" (zh-CN), \"所见\" (zh-CN), \"结果\" (zh-CN), \"结论 叙述\" (zh-CN), \"叙述性文字\" (zh-CN), \"报告\" (zh-CN), \"报告型\" (zh-CN), \"文字叙述\" (zh-CN), \"文本叙述型\" (zh-CN), \"文本描述\" (zh-CN), \"文本描述型 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 病史与体格检查 系统回顾\" (zh-CN), \"系统审核\" (zh-CN), \"Anamnesi Osservazione paziente Punto nel tempo (episodio)\" (it-IT), \"Анамнестические сведения\" (ru-RU), \"Сообщенная третьим лицом информация Описательный Точка во времени\" (ru-RU), \"Момент\" (ru-RU)' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "87504-7", "code" : "87504-7",
"display" : "Administrative information" "display" : "Administrative information"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "LCDS v4.00 - Administrative information - discharge [CMS Assessment]", "display" : "LCDS v4.00 - Administrative information - discharge [CMS Assessment]",
"code" : "87504-7", "code" : "87504-7",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Administrative information\" is not a valid display for the code {http://loinc.org}87504-7 - should be one of ['LCDS v4.00 - Administrative information - discharge [CMS Assessment]', ''] (from http://local.fhir.org/r3)" "error" : "Wrong Display Name 'Administrative information' for http://loinc.org#87504-7 - should be 'LCDS v4.00 - Administrative information - discharge [CMS Assessment]', (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "2069-3", "code" : "2069-3",
"display" : "Chloride [Moles/volume] in Blood" "display" : "Chloride [Moles/volume] in Blood"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Chloride [Moles/volume] in Blood", "display" : "Chloride [Moles/volume] in Blood",
"code" : "2069-3", "code" : "2069-3",

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "66493003" "code" : "66493003"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Product containing theophylline (medicinal product)", "display" : "Product containing theophylline (medicinal product)",
"code" : "66493003", "code" : "66493003",
@ -13,7 +13,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "394899003", "code" : "394899003",
"display" : "oral administration of treatment" "display" : "oral administration of treatment"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Oral administration of treatment", "display" : "Oral administration of treatment",
"code" : "394899003", "code" : "394899003",
@ -24,33 +24,33 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "118246004", "code" : "118246004",
"display" : "Laboratory test finding (finding)" "display" : "Laboratory test finding (finding)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Laboratory test finding", "display" : "Laboratory test finding",
"code" : "118246004", "code" : "118246004",
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Laboratory test finding (finding)\" is not a valid display for the code {http://snomed.info/sct}118246004 - should be one of ['Laboratory test finding', 'Laboratory test observations', 'Laboratory test result', 'Laboratory test finding (navigational concept)'] (from http://local.fhir.org/r3)" "error" : "Wrong Display Name 'Laboratory test finding (finding)' for http://snomed.info/sct#118246004 - should be one of 4 choices: 'Laboratory test finding, \"Laboratory test observations\", \"Laboratory test result\", \"Laboratory test finding (navigational concept)\"' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "275711006", "code" : "275711006",
"display" : "Chemistry" "display" : "Chemistry"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Serum chemistry test", "display" : "Serum chemistry test",
"code" : "275711006", "code" : "275711006",
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Chemistry\" is not a valid display for the code {http://snomed.info/sct}275711006 - should be one of ['Serum chemistry test', 'Serum chemistry test (procedure)'] (from http://local.fhir.org/r3)" "error" : "Wrong Display Name 'Chemistry' for http://snomed.info/sct#275711006 - should be one of 2 choices: 'Serum chemistry test, \"Serum chemistry test (procedure)\"' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "281302008", "code" : "281302008",
"display" : "Above reference range" "display" : "Above reference range"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Above reference range", "display" : "Above reference range",
"code" : "281302008", "code" : "281302008",
@ -61,7 +61,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "419891008", "code" : "419891008",
"display" : "Record artifact (record artifact)" "display" : "Record artifact (record artifact)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Record artifact (record artifact)", "display" : "Record artifact (record artifact)",
"code" : "419891008", "code" : "419891008",
@ -72,7 +72,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "371525003", "code" : "371525003",
"display" : "Clinical procedure report (record artifact)" "display" : "Clinical procedure report (record artifact)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Clinical procedure report", "display" : "Clinical procedure report",
"code" : "371525003", "code" : "371525003",
@ -83,7 +83,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "17621005", "code" : "17621005",
"display" : "Normal (qualifier value)" "display" : "Normal (qualifier value)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Normal", "display" : "Normal",
"code" : "17621005", "code" : "17621005",
@ -94,7 +94,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "722172003", "code" : "722172003",
"display" : "Military health institution (environment)" "display" : "Military health institution (environment)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Military health institution (environment)", "display" : "Military health institution (environment)",
"code" : "722172003", "code" : "722172003",
@ -105,7 +105,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "394609007", "code" : "394609007",
"display" : "General surgery (qualifier value)" "display" : "General surgery (qualifier value)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "General surgery (qualifier value)", "display" : "General surgery (qualifier value)",
"code" : "394609007", "code" : "394609007",
@ -116,7 +116,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "71388002", "code" : "71388002",
"display" : "Procedure (procedure)" "display" : "Procedure (procedure)"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Procedure", "display" : "Procedure",
"code" : "71388002", "code" : "71388002",
@ -127,157 +127,172 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "823681000000100", "code" : "823681000000100",
"display" : "Outpatient letter" "display" : "Outpatient letter"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 823681000000100 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"823681000000100\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#823681000000100) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 823681000000100 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '823681000000100' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "886921000000105", "code" : "886921000000105",
"display" : "Allergies and adverse reactions" "display" : "Allergies and adverse reactions"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 886921000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"886921000000105\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#886921000000105) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 886921000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '886921000000105' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "1077881000000105", "code" : "1077881000000105",
"display" : "Attendance details" "display" : "Attendance details"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 1077881000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"1077881000000105\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#1077881000000105) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 1077881000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '1077881000000105' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "887181000000106", "code" : "887181000000106",
"display" : "Clinical summary" "display" : "Clinical summary"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 887181000000106 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"887181000000106\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#887181000000106) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 887181000000106 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '887181000000106' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "887161000000102", "code" : "887161000000102",
"display" : "Diagnoses" "display" : "Diagnoses"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 887161000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"887161000000102\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#887161000000102) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 887161000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '887161000000102' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "1052891000000108", "code" : "1052891000000108",
"display" : "Referrer details" "display" : "Referrer details"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 1052891000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"1052891000000108\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#1052891000000108) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 1052891000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '1052891000000108' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "715851000000102", "code" : "715851000000102",
"display" : "Examination findings" "display" : "Examination findings"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 715851000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"715851000000102\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#715851000000102) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 715851000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '715851000000102' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "717121000000105", "code" : "717121000000105",
"display" : "History" "display" : "History"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 717121000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"717121000000105\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#717121000000105) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 717121000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '717121000000105' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "933361000000108", "code" : "933361000000108",
"display" : "Medications and medical devices" "display" : "Medications and medical devices"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 933361000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"933361000000108\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#933361000000108) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 933361000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '933361000000108' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "887171000000109", "code" : "887171000000109",
"display" : "Procedures" "display" : "Procedures"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 887171000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"887171000000109\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#887171000000109) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 887171000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '887171000000109' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "887201000000105", "code" : "887201000000105",
"display" : "Plan and requested actions" "display" : "Plan and requested actions"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 887201000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"887201000000105\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#887201000000105) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 887201000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '887201000000105' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "1052951000000105", "code" : "1052951000000105",
"display" : "Information and advice given" "display" : "Information and advice given"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 1052951000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"1052951000000105\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#1052951000000105) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 1052951000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '1052951000000105' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "886731000000109", "code" : "886731000000109",
"display" : "Patient demographics" "display" : "Patient demographics"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 886731000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"886731000000109\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#886731000000109) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 886731000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '886731000000109' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "887231000000104", "code" : "887231000000104",
"display" : "Person completing record" "display" : "Person completing record"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 887231000000104 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"887231000000104\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#887231000000104) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 887231000000104 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '887231000000104' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "9290701000001101", "code" : "9290701000001101",
"display" : "Optrex" "display" : "Optrex"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 9290701000001101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"9290701000001101\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#9290701000001101) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 9290701000001101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '9290701000001101' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "443938003", "code" : "443938003",
"display" : "Procedure carried out on subject" "display" : "Procedure carried out on subject"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Procedure carried out on subject (situation)", "display" : "Procedure carried out on subject (situation)",
"code" : "443938003", "code" : "443938003",
@ -288,7 +303,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "17621005", "code" : "17621005",
"display" : "Normal" "display" : "Normal"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Normal", "display" : "Normal",
"code" : "17621005", "code" : "17621005",
@ -298,7 +313,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "27171005" "code" : "27171005"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Urinalysis", "display" : "Urinalysis",
"code" : "27171005", "code" : "27171005",
@ -335,9 +350,10 @@ v: {
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "11181000146103" "code" : "11181000146103"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Unable to find code 11181000146103 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); The code \"11181000146103\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#11181000146103) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Unable to find code 11181000146103 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220731); Unknown Code '11181000146103' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -15,22 +15,24 @@ v: {
}, "valueSet" :null, "langs":"[fi]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[fi]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Error processing Unit: '21612-7': Expected \"/\" or \".\" at character 6; The code \"21612-7\" is not valid in the system http://unitsofmeasure.org; The code provided (http://unitsofmeasure.org#21612-7) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Error processing Unit: '21612-7': Expected \"/\" or \".\" at character 6; Unknown Code '21612-7' in the system 'http://unitsofmeasure.org'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "tbl" "code" : "tbl"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Error processing Unit: 'tbl': The unit \"tbl\" is unknown at character 1; The code \"tbl\" is not valid in the system http://unitsofmeasure.org; The code provided (http://unitsofmeasure.org#tbl) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r3)" "error" : "Error processing Unit: 'tbl': The unit \"tbl\" is unknown at character 1; Unknown Code 'tbl' in the system 'http://unitsofmeasure.org'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "mmol/L" "code" : "mmol/L"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mmol/L", "display" : "mmol/L",
"code" : "mmol/L", "code" : "mmol/L",

View File

@ -12,7 +12,7 @@
"version" : "4.0.1-2.0.14", "version" : "4.0.1-2.0.14",
"name" : "FHIR Reference Server Conformance Statement", "name" : "FHIR Reference Server Conformance Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:22:14.545Z", "date" : "2023-04-14T06:50:08.334Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -5,7 +5,7 @@
"version" : "1.0.0", "version" : "1.0.0",
"name" : "FHIR Reference Server Teminology Capability Statement", "name" : "FHIR Reference Server Teminology Capability Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:22:14.553Z", "date" : "2023-04-14T06:50:08.361Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "application/octet-stream" "code" : "application/octet-stream"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "application/octet-stream", "display" : "application/octet-stream",
"code" : "application/octet-stream", "code" : "application/octet-stream",
@ -12,14 +12,14 @@ v: {
"code" : "de-CH" "code" : "de-CH"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Deutsch (Schweiz)", "display" : "German (Switzerland)",
"code" : "de-CH", "code" : "de-CH",
"system" : "urn:ietf:bcp:47" "system" : "urn:ietf:bcp:47"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "application/pdf" "code" : "application/pdf"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "application/pdf", "display" : "application/pdf",
"code" : "application/pdf", "code" : "application/pdf",
@ -30,18 +30,18 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "59284-0", "code" : "59284-0",
"display" : "Patient Authorization Signature" "display" : "Patient Authorization Signature"
}, "url": "http://hl7.org/fhir/ValueSet/consent-category", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/consent-category", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Consent Document", "display" : "Consent Document",
"code" : "59284-0", "code" : "59284-0",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Patient Authorization Signature\" is not a valid display for the code {http://loinc.org}59284-0 - should be one of ['Consent Document', 'Consent', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 事件发生的地方' (zh-CN), '场景' (zh-CN), '环境' (zh-CN), '背景 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 同意书' (zh-CN), '知情同意' (zh-CN), '知情同意书 文档本体' (zh-CN), '临床文档本体' (zh-CN), '文档本体' (zh-CN), '文书本体' (zh-CN), '医疗文书本体' (zh-CN), '临床医疗文书本体 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间' (zh-CN), 'Documentazione dell''ontologia Osservazione Punto nel tempo (episodio)' (it-IT)] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'Patient Authorization Signature' for http://loinc.org#59284-0 - should be one of 29 choices: 'Consent Document, \"Consent\", \"临床文档型\" (zh-CN), \"临床文档\" (zh-CN), \"文档\" (zh-CN), \"文书\" (zh-CN), \"医疗文书\" (zh-CN), \"临床医疗文书 事件发生的地方\" (zh-CN), \"场景\" (zh-CN), \"环境\" (zh-CN), \"背景 医疗服务对象\" (zh-CN), \"客户\" (zh-CN), \"病人\" (zh-CN), \"超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。\" (zh-CN), \"发现物\" (zh-CN), \"所见\" (zh-CN), \"结果\" (zh-CN), \"结论 同意书\" (zh-CN), \"知情同意\" (zh-CN), \"知情同意书 文档本体\" (zh-CN), \"临床文档本体\" (zh-CN), \"文档本体\" (zh-CN), \"文书本体\" (zh-CN), \"医疗文书本体\" (zh-CN), \"临床医疗文书本体 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间\" (zh-CN), \"Documentazione dell'ontologia Osservazione Punto nel tempo (episodio)\" (it-IT)' (from null)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "image/*" "code" : "image/*"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "image/*", "display" : "image/*",
"code" : "image/*", "code" : "image/*",
@ -50,9 +50,9 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "d" "code" : "d"
}, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "", "display" : "day",
"code" : "d", "code" : "d",
"system" : "http://unitsofmeasure.org" "system" : "http://unitsofmeasure.org"
} }
@ -68,7 +68,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "image/jpg" "code" : "image/jpg"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "image/jpg", "display" : "image/jpg",
"code" : "image/jpg", "code" : "image/jpg",
@ -77,7 +77,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "min" "code" : "min"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "min", "display" : "min",
"code" : "min", "code" : "min",
@ -86,7 +86,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "mmol/L" "code" : "mmol/L"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mmol/L", "display" : "mmol/L",
"code" : "mmol/L", "code" : "mmol/L",
@ -95,7 +95,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "%" "code" : "%"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "%", "display" : "%",
"code" : "%", "code" : "%",
@ -104,7 +104,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg" "code" : "kg"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "kg", "display" : "kg",
"code" : "kg", "code" : "kg",
@ -113,15 +113,16 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "cm" "code" : "cm"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#cm) is not valid in the value set 'BodyWeightUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "cm" "code" : "cm"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "cm", "display" : "cm",
"code" : "cm", "code" : "cm",
@ -130,17 +131,18 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg/m2" "code" : "kg/m2"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#kg/m2) is not valid in the value set 'BodyWeightUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "112144000", "code" : "112144000",
"display" : "Blood group A (finding)" "display" : "Blood group A (finding)"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Blood group A", "display" : "Blood group A",
"code" : "112144000", "code" : "112144000",
@ -149,23 +151,25 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg" "code" : "kg"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#kg) is not valid in the value set 'BodyLengthUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg/m2" "code" : "kg/m2"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#kg/m2) is not valid in the value set 'BodyLengthUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "wk" "code" : "wk"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "wk", "display" : "wk",
"code" : "wk", "code" : "wk",
@ -176,7 +180,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "722446000", "code" : "722446000",
"display" : "Allergy record (record artifact)" "display" : "Allergy record (record artifact)"
}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode", "version": "2.0.4", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Allergy record (record artifact)", "display" : "Allergy record (record artifact)",
"code" : "722446000", "code" : "722446000",
@ -187,7 +191,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "371531000", "code" : "371531000",
"display" : "Report of clinical encounter (record artifact)" "display" : "Report of clinical encounter (record artifact)"
}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode", "version": "2.0.4", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Encounter report", "display" : "Encounter report",
"code" : "371531000", "code" : "371531000",
@ -198,7 +202,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "4241000179101", "code" : "4241000179101",
"display" : "Laboratory report (record artifact)" "display" : "Laboratory report (record artifact)"
}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode", "version": "2.0.4", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Laboratory report (record artifact)", "display" : "Laboratory report (record artifact)",
"code" : "4241000179101", "code" : "4241000179101",
@ -209,7 +213,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "422735006", "code" : "422735006",
"display" : "Summary clinical document (record artifact)" "display" : "Summary clinical document (record artifact)"
}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode", "version": "2.0.4", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Summary clinical document (record artifact)", "display" : "Summary clinical document (record artifact)",
"code" : "422735006", "code" : "422735006",
@ -218,103 +222,115 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "min" "code" : "min"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#min) is not valid in the value set 'BodyWeightUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "min" "code" : "min"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#min) is not valid in the value set 'BodyLengthUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "min" "code" : "min"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#min) is not valid in the value set 'MNITimeOfGestation' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "mmol/L" "code" : "mmol/L"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#mmol/L) is not valid in the value set 'BodyWeightUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "mmol/L" "code" : "mmol/L"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#mmol/L) is not valid in the value set 'BodyLengthUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "mmol/L" "code" : "mmol/L"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#mmol/L) is not valid in the value set 'MNITimeOfGestation' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "%" "code" : "%"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#%) is not valid in the value set 'BodyWeightUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "%" "code" : "%"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#%) is not valid in the value set 'BodyLengthUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "%" "code" : "%"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#%) is not valid in the value set 'MNITimeOfGestation' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "wk" "code" : "wk"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodyweight", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#wk) is not valid in the value set 'BodyWeightUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "wk" "code" : "wk"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-bodylength", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#wk) is not valid in the value set 'BodyLengthUnits' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg" "code" : "kg"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#kg) is not valid in the value set 'MNITimeOfGestation' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg" "code" : "kg"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "kg", "display" : "kg",
"code" : "kg", "code" : "kg",
@ -323,15 +339,16 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "cm" "code" : "cm"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#cm) is not valid in the value set 'MNITimeOfGestation' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "cm" "code" : "cm"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "cm", "display" : "cm",
"code" : "cm", "code" : "cm",
@ -340,15 +357,16 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg/m2" "code" : "kg/m2"
}, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#kg/m2) is not valid in the value set 'MNITimeOfGestation' (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "kg/m2" "code" : "kg/m2"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "kg/m2", "display" : "kg/m2",
"code" : "kg/m2", "code" : "kg/m2",
@ -357,7 +375,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "wk" "code" : "wk"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-units", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "wk", "display" : "wk",
"code" : "wk", "code" : "wk",
@ -366,7 +384,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "json" "code" : "json"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "json", "display" : "json",
"code" : "json", "code" : "json",
@ -375,7 +393,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "xml" "code" : "xml"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "xml", "display" : "xml",
"code" : "xml", "code" : "xml",
@ -384,7 +402,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "application/fhir+json" "code" : "application/fhir+json"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "application/fhir+json", "display" : "application/fhir+json",
"code" : "application/fhir+json", "code" : "application/fhir+json",
@ -393,16 +411,40 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "text/plain" "code" : "text/plain"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "text/plain", "display" : "text/plain",
"code" : "text/plain", "code" : "text/plain",
"system" : "urn:ietf:bcp:13" "system" : "urn:ietf:bcp:13"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "371532007",
"display" : "Progress note"
}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode", "version": "2.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: {
"display" : "Progress report",
"code" : "371532007",
"system" : "http://snomed.info/sct",
"severity" : "warning",
"error" : "Wrong Display Name 'Progress note' for http://snomed.info/sct#371532007 - should be one of 3 choices: 'Progress report, \"Report of subsequent visit\", \"Progress report (record artifact)\"' (from null)"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "371525003",
"display" : "Clinical procedure report"
}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: {
"display" : "Clinical procedure report",
"code" : "371525003",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "text/css" "code" : "text/css"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "text/css", "display" : "text/css",
"code" : "text/css", "code" : "text/css",
@ -411,7 +453,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "de-CH" "code" : "de-CH"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "German (Switzerland)", "display" : "German (Switzerland)",
"code" : "de-CH", "code" : "de-CH",
@ -422,7 +464,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "34133-9", "code" : "34133-9",
"display" : "Summary of episode note" "display" : "Summary of episode note"
}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", "version": "3.1.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", "version": "3.1.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Summary of episode note", "display" : "Summary of episode note",
"code" : "34133-9", "code" : "34133-9",
@ -431,7 +473,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "en-US" "code" : "en-US"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "English (United States)", "display" : "English (United States)",
"code" : "en-US", "code" : "en-US",
@ -440,7 +482,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "application/xml" "code" : "application/xml"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "application/xml", "display" : "application/xml",
"code" : "application/xml", "code" : "application/xml",
@ -449,7 +491,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "text/xml" "code" : "text/xml"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "text/xml", "display" : "text/xml",
"code" : "text/xml", "code" : "text/xml",
@ -460,7 +502,7 @@ v: {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "US", "code" : "US",
"display" : "United States of America" "display" : "United States of America"
}, "url": "http://hl7.org/fhir/ValueSet/jurisdiction", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/jurisdiction", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "United States of America", "display" : "United States of America",
"code" : "US", "code" : "US",
@ -469,7 +511,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "text/cql.identifier" "code" : "text/cql.identifier"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "text/cql.identifier", "display" : "text/cql.identifier",
"code" : "text/cql.identifier", "code" : "text/cql.identifier",
@ -502,7 +544,7 @@ v: {
}] }]
}] }]
} }
}, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"display" : "Not at all", "display" : "Not at all",
"code" : "Not-at-all", "code" : "Not-at-all",
@ -535,7 +577,7 @@ v: {
}] }]
}] }]
} }
}, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"display" : "Several days", "display" : "Several days",
"code" : "Several-days", "code" : "Several-days",
@ -568,7 +610,7 @@ v: {
}] }]
}] }]
} }
}, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"display" : "More than half the days", "display" : "More than half the days",
"code" : "More than half the days", "code" : "More than half the days",
@ -601,7 +643,7 @@ v: {
}] }]
}] }]
} }
}, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"display" : "Nearly every day", "display" : "Nearly every day",
"code" : "Nearly every day", "code" : "Nearly every day",
@ -648,9 +690,9 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "wk" "code" : "wk"
}, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "星期", "display" : "week",
"code" : "wk", "code" : "wk",
"system" : "http://unitsofmeasure.org" "system" : "http://unitsofmeasure.org"
} }
@ -658,7 +700,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "US" "code" : "US"
}, "url": "http://hl7.org/fhir/ValueSet/jurisdiction", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/jurisdiction", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "United States of America", "display" : "United States of America",
"code" : "US", "code" : "US",
@ -667,9 +709,10 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "[%payloadFormat%]" "code" : "[%payloadFormat%]"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code \"[%payloadFormat%]\" is not valid in the system urn:ietf:bcp:13; The code provided (urn:ietf:bcp:13#[%payloadFormat%]) is not valid in the value set 'Mime Types' (from http://local.fhir.org/r4)" "error" : "Unknown Code '[%payloadFormat%]' in the system 'urn:ietf:bcp:13'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/mimetypes' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical", "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "active" "code" : "active"
}, "url": "http://hl7.org/fhir/ValueSet/condition-clinical--0", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/condition-clinical--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Active", "display" : "Active",
"code" : "active", "code" : "active",
@ -11,10 +11,10 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical", "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"version" : "4.0.1", "version" : "0.5.0",
"code" : "active", "code" : "active",
"display" : "Active" "display" : "Active"
}, "url": "http://hl7.org/fhir/ValueSet/condition-clinical", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/condition-clinical", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Active", "display" : "Active",
"code" : "active", "code" : "active",
@ -23,12 +23,12 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical", "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"version" : "4.0.1", "version" : "0.5.0",
"code" : "active" "code" : "active"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "display" : "Active",
"error" : "Version '4.0.1' of the code system 'http://terminology.hl7.org/CodeSystem/condition-clinical' is not known (encountered paired with code = 'active'). ValidVersions = [0.5.0]; The code provided (http://terminology.hl7.org/CodeSystem/condition-clinical#active) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r4)", "code" : "active",
"class" : "CODESYSTEM_UNSUPPORTED" "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
"system" : "http://hl7.org/fhir/sid/cvx", "system" : "http://hl7.org/fhir/sid/cvx",
"code" : "207", "code" : "207",
"display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose" "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose", "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose",
"code" : "207", "code" : "207",
@ -14,19 +14,19 @@ v: {
"system" : "http://hl7.org/fhir/sid/cvx", "system" : "http://hl7.org/fhir/sid/cvx",
"code" : "207", "code" : "207",
"display" : "X SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose" "display" : "X SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose", "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose",
"code" : "207", "code" : "207",
"system" : "http://hl7.org/fhir/sid/cvx", "system" : "http://hl7.org/fhir/sid/cvx",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"X SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose\" is not a valid display for the code {http://hl7.org/fhir/sid/cvx}207 - should be one of ['SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose', 'COVID-19, mRNA, LNP-S, PF, 100 mcg/0.5 mL dose' (en)] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'X SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose' for http://hl7.org/fhir/sid/cvx#207 - should be one of 2 choices: 'SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose, \"COVID-19, mRNA, LNP-S, PF, 100 mcg/0.5 mL dose\" (en/SNOMED CT#900000000000013009 \"Synonym\")' (from null)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://hl7.org/fhir/sid/cvx", "system" : "http://hl7.org/fhir/sid/cvx",
"code" : "208" "code" : "208"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 30 mcg/0.3mL dose", "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 30 mcg/0.3mL dose",
"code" : "208", "code" : "208",
@ -36,7 +36,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://hl7.org/fhir/sid/cvx", "system" : "http://hl7.org/fhir/sid/cvx",
"code" : "208" "code" : "208"
}, "url": "http://hl7.org/fhir/uv/shc-vaccination/ValueSet/vaccine-cvx", "version": "0.6.2", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/uv/shc-vaccination/ValueSet/vaccine-cvx", "version": "0.6.2", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 30 mcg/0.3mL dose", "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 30 mcg/0.3mL dose",
"code" : "208", "code" : "208",
@ -46,9 +46,10 @@ v: {
{"code" : { {"code" : {
"system" : "http://hl7.org/fhir/sid/cvx", "system" : "http://hl7.org/fhir/sid/cvx",
"code" : "209" "code" : "209"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code \"209\" is not valid in the system http://hl7.org/fhir/sid/cvx; The code provided (http://hl7.org/fhir/sid/cvx#209) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r4)" "error" : "Unknown Code '209' in the system 'http://hl7.org/fhir/sid/cvx'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
"system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode", "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode",
"code" : "urn:ihe:iti:xds:2017:mimeTypeSufficient", "code" : "urn:ihe:iti:xds:2017:mimeTypeSufficient",
"display" : "MimeType sufficient" "display" : "MimeType sufficient"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mimeType Sufficient", "display" : "mimeType Sufficient",
"code" : "urn:ihe:iti:xds:2017:mimeTypeSufficient", "code" : "urn:ihe:iti:xds:2017:mimeTypeSufficient",

View File

@ -3,19 +3,19 @@
"system" : "http://nucc.org/provider-taxonomy", "system" : "http://nucc.org/provider-taxonomy",
"code" : "208D00000X", "code" : "208D00000X",
"display" : "General Practice" "display" : "General Practice"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "General Practice Physician", "display" : "General Practice Physician",
"code" : "208D00000X", "code" : "208D00000X",
"system" : "http://nucc.org/provider-taxonomy", "system" : "http://nucc.org/provider-taxonomy",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"General Practice\" is not a valid display for the code {http://nucc.org/provider-taxonomy}208D00000X - should be one of ['General Practice Physician'] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'General Practice' for http://nucc.org/provider-taxonomy#208D00000X - should be 'General Practice Physician', (from null)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://nucc.org/provider-taxonomy", "system" : "http://nucc.org/provider-taxonomy",
"code" : "208D00000X" "code" : "208D00000X"
}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role--0", "version": "4.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "General Practice Physician", "display" : "General Practice Physician",
"code" : "208D00000X", "code" : "208D00000X",
@ -26,19 +26,19 @@ v: {
"system" : "http://nucc.org/provider-taxonomy", "system" : "http://nucc.org/provider-taxonomy",
"code" : "208D00000X", "code" : "208D00000X",
"display" : "General Practice" "display" : "General Practice"
}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", "version": "4.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "General Practice Physician", "display" : "General Practice Physician",
"code" : "208D00000X", "code" : "208D00000X",
"system" : "http://nucc.org/provider-taxonomy", "system" : "http://nucc.org/provider-taxonomy",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"General Practice\" is not a valid display for the code {http://nucc.org/provider-taxonomy}208D00000X - should be one of ['General Practice Physician'] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'General Practice' for http://nucc.org/provider-taxonomy#208D00000X - should be 'General Practice Physician', (from null)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://nucc.org/provider-taxonomy", "system" : "http://nucc.org/provider-taxonomy",
"code" : "208D00000X" "code" : "208D00000X"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "General Practice Physician", "display" : "General Practice Physician",
"code" : "208D00000X", "code" : "208D00000X",

View File

@ -5,7 +5,7 @@
}, "valueSet" :null, "langs":"[en, en-US]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "valueSet" :null, "langs":"[en, en-US]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code system 'http://something/something' is not known (encountered paired with code = 'something'); The code provided (http://something/something#something) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r4)", "error" : "The CodeSystem http://something/something is unknown; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)",
"class" : "CODESYSTEM_UNSUPPORTED" "class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
"system" : "http://standardterms.edqm.eu", "system" : "http://standardterms.edqm.eu",
"code" : "20049000", "code" : "20049000",
"display" : "Nasal use" "display" : "Nasal use"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Nasal use", "display" : "Nasal use",
"code" : "20049000", "code" : "20049000",

View File

@ -2,40 +2,40 @@
{"code" : { {"code" : {
"system" : "http://varnomen.hgvs.org", "system" : "http://varnomen.hgvs.org",
"code" : "NC_000019.8:g.1171707G>A" "code" : "NC_000019.8:g.1171707G>A"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Error from server: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])",
"class" : "SERVER_ERROR" "class" : "SERVER_ERROR"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://varnomen.hgvs.org", "system" : "http://varnomen.hgvs.org",
"code" : "NC_000019.8:g.1171707G>A" "code" : "NC_000019.8:g.1171707G>A"
}, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgvs-vs--0", "version": "1.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgvs-vs--0", "version": "1.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Error from server: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])",
"class" : "SERVER_ERROR" "class" : "SERVER_ERROR"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://varnomen.hgvs.org", "system" : "http://varnomen.hgvs.org",
"code" : "NC_000019.8:g.1171707G>AXXX" "code" : "NC_000019.8:g.1171707G>AXXX"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Error from server: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])",
"class" : "SERVER_ERROR" "class" : "SERVER_ERROR"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://varnomen.hgvs.org", "system" : "http://varnomen.hgvs.org",
"code" : "NC_000019.8:g.1171707G>AXXX" "code" : "NC_000019.8:g.1171707G>AXXX"
}, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgvs-vs--0", "version": "1.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgvs-vs--0", "version": "1.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Error from server: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])",
"class" : "SERVER_ERROR" "class" : "SERVER_ERROR"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -2,10 +2,10 @@
{"code" : { {"code" : {
"system" : "http://www.genenames.org/geneId", "system" : "http://www.genenames.org/geneId",
"code" : "HGNC:11389" "code" : "HGNC:11389"
}, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgnc-vs--0", "version": "1.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgnc-vs--0", "version": "1.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code system \"http://www.genenames.org/geneId\" in the include in \"http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgnc-vs--0\" is not known; The code system 'http://www.genenames.org/geneId' is not known (encountered paired with code = 'HGNC:11389'); The code provided (http://www.genenames.org/geneId#HGNC:11389) is not valid (from http://local.fhir.org/r4)", "error" : "The CodeSystem http://www.genenames.org/geneId is unknown; The provided code is not in the value set 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgnc-vs--0' (from null)",
"class" : "CODESYSTEM_UNSUPPORTED" "class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -2,10 +2,10 @@
{"code" : { {"code" : {
"system" : "http://www.ncbi.nlm.nih.gov/clinvar", "system" : "http://www.ncbi.nlm.nih.gov/clinvar",
"code" : "619728" "code" : "619728"
}, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-clinvar-vs--0", "version": "1.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/us/mcode/ValueSet/mcode-clinvar-vs--0", "version": "1.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code system \"http://www.ncbi.nlm.nih.gov/clinvar\" in the include in \"http://hl7.org/fhir/us/mcode/ValueSet/mcode-clinvar-vs--0\" is not known; The code system 'http://www.ncbi.nlm.nih.gov/clinvar' is not known (encountered paired with code = '619728'); The code provided (http://www.ncbi.nlm.nih.gov/clinvar#619728) is not valid (from http://local.fhir.org/r4)", "error" : "The CodeSystem http://www.ncbi.nlm.nih.gov/clinvar is unknown; The provided code is not in the value set 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-clinvar-vs--0' (from null)",
"class" : "CODESYSTEM_UNSUPPORTED" "class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats", "system" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats",
"code" : "COVAST" "code" : "COVAST"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "COVID-19 Vaccine AstraZeneca", "display" : "COVID-19 Vaccine AstraZeneca",
"code" : "COVAST", "code" : "COVAST",

View File

@ -2,9 +2,10 @@
{"code" : { {"code" : {
"system" : "http://hl7.org/fhir/sid/icd-10-cm", "system" : "http://hl7.org/fhir/sid/icd-10-cm",
"code" : "E10.3211+TT1.2" "code" : "E10.3211+TT1.2"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code \"E10.3211+TT1.2\" is not valid in the system http://hl7.org/fhir/sid/icd-10-cm; The code provided (http://hl7.org/fhir/sid/icd-10-cm#E10.3211+TT1.2) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r4)" "error" : "Unknown Code 'E10.3211+TT1.2' in the system 'http://hl7.org/fhir/sid/icd-10-cm'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
"system" : "http://hl7.org/fhir/sid/icd-10", "system" : "http://hl7.org/fhir/sid/icd-10",
"code" : "C18.0", "code" : "C18.0",
"display" : "Malignant neoplasm: Caecum" "display" : "Malignant neoplasm: Caecum"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Caecum", "display" : "Caecum",
"code" : "C18.0", "code" : "C18.0",
@ -14,12 +14,12 @@ v: {
"system" : "http://hl7.org/fhir/sid/icd-10", "system" : "http://hl7.org/fhir/sid/icd-10",
"code" : "C12", "code" : "C12",
"display" : "Malignant neoplasm of pyriform sinus" "display" : "Malignant neoplasm of pyriform sinus"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Malignant neoplasm of piriform sinus", "display" : "Malignant neoplasm of piriform sinus",
"code" : "C12", "code" : "C12",
"system" : "http://hl7.org/fhir/sid/icd-10", "system" : "http://hl7.org/fhir/sid/icd-10",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Malignant neoplasm of pyriform sinus\" is not a valid display for the code {http://hl7.org/fhir/sid/icd-10}C12 - should be one of ['Malignant neoplasm of piriform sinus'] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'Malignant neoplasm of pyriform sinus' for http://hl7.org/fhir/sid/icd-10#C12 - should be 'Malignant neoplasm of piriform sinus', (from null)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "http://hl7.org/fhir/sid/icd-9-cm", "system" : "http://hl7.org/fhir/sid/icd-9-cm",
"code" : "99.00" "code" : "99.00"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Perioperative autologous transfusion of whole blood or blood components", "display" : "Perioperative autologous transfusion of whole blood or blood components",
"code" : "99.00", "code" : "99.00",

View File

@ -3,7 +3,7 @@
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "NO", "code" : "NO",
"display" : "Norway" "display" : "Norway"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Norway", "display" : "Norway",
"code" : "NO", "code" : "NO",
@ -13,7 +13,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "US" "code" : "US"
}, "url": "http://hl7.org/fhir/ValueSet/jurisdiction--0", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/jurisdiction--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "United States of America", "display" : "United States of America",
"code" : "US", "code" : "US",
@ -23,7 +23,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "US" "code" : "US"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "United States of America", "display" : "United States of America",
"code" : "US", "code" : "US",
@ -33,7 +33,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:iso:std:iso:3166", "system" : "urn:iso:std:iso:3166",
"code" : "NO" "code" : "NO"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Norway", "display" : "Norway",
"code" : "NO", "code" : "NO",

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "de-CH" "code" : "de-CH"
}, "url": "http://hl7.org/fhir/ValueSet/languages--0", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "German (Switzerland)", "display" : "German (Switzerland)",
"code" : "de-CH", "code" : "de-CH",
@ -13,7 +13,7 @@ v: {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "de-CH", "code" : "de-CH",
"display" : "German (Region=Switzerland)" "display" : "German (Region=Switzerland)"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "German (Region=Switzerland)", "display" : "German (Region=Switzerland)",
"code" : "de-CH", "code" : "de-CH",
@ -23,7 +23,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "de-CH" "code" : "de-CH"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "German (Region=Switzerland)", "display" : "German (Region=Switzerland)",
"code" : "de-CH", "code" : "de-CH",
@ -33,7 +33,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "fr" "code" : "fr"
}, "url": "http://hl7.org/fhir/ValueSet/languages--0", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "French", "display" : "French",
"code" : "fr", "code" : "fr",
@ -44,7 +44,7 @@ v: {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "fr", "code" : "fr",
"display" : "French" "display" : "French"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "French", "display" : "French",
"code" : "fr", "code" : "fr",
@ -54,7 +54,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "fr" "code" : "fr"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "French", "display" : "French",
"code" : "fr", "code" : "fr",
@ -64,7 +64,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "en" "code" : "en"
}, "url": "http://hl7.org/fhir/ValueSet/languages--0", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "English", "display" : "English",
"code" : "en", "code" : "en",
@ -75,7 +75,7 @@ v: {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "en", "code" : "en",
"display" : "English" "display" : "English"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "English", "display" : "English",
"code" : "en", "code" : "en",
@ -85,7 +85,7 @@ v: {
{"code" : { {"code" : {
"system" : "urn:ietf:bcp:47", "system" : "urn:ietf:bcp:47",
"code" : "en" "code" : "en"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "English", "display" : "English",
"code" : "en", "code" : "en",

View File

@ -1,12 +0,0 @@
-------------------------------------------------------------------------------------
{"code" : {
"coding" : [{
"code" : "model-definition"
}]
}, "url": "http://hl7.org/fhir/ValueSet/library-type", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}####
v: {
"severity" : "error",
"error" : "The code system '' is not known (encountered paired with code = 'model-definition'); The code provided (#model-definition) is not valid in the value set 'LibraryType' (from http://local.fhir.org/r4)",
"class" : "CODESYSTEM_UNSUPPORTED"
}
-------------------------------------------------------------------------------------

View File

@ -1,36 +0,0 @@
-------------------------------------------------------------------------------------
{"code" : {
"coding" : [{
"code" : "numerator",
"display" : "Numerator"
}]
}, "url": "http://hl7.org/fhir/ValueSet/measure-population", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}####
v: {
"severity" : "error",
"error" : "The code system '' is not known (encountered paired with code = 'numerator'); The code provided (#numerator) is not valid in the value set 'MeasurePopulationType' (from http://local.fhir.org/r4)",
"class" : "CODESYSTEM_UNSUPPORTED"
}
-------------------------------------------------------------------------------------
{"code" : {
"coding" : [{
"code" : "denominator",
"display" : "Denominator"
}]
}, "url": "http://hl7.org/fhir/ValueSet/measure-population", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}####
v: {
"severity" : "error",
"error" : "The code system '' is not known (encountered paired with code = 'denominator'); The code provided (#denominator) is not valid in the value set 'MeasurePopulationType' (from http://local.fhir.org/r4)",
"class" : "CODESYSTEM_UNSUPPORTED"
}
-------------------------------------------------------------------------------------
{"code" : {
"coding" : [{
"code" : "initial-population"
}]
}, "url": "http://hl7.org/fhir/ValueSet/measure-population", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}####
v: {
"severity" : "error",
"error" : "The code system '' is not known (encountered paired with code = 'initial-population'); The code provided (#initial-population) is not valid in the value set 'MeasurePopulationType' (from http://local.fhir.org/r4)",
"class" : "CODESYSTEM_UNSUPPORTED"
}
-------------------------------------------------------------------------------------

View File

@ -1,25 +0,0 @@
-------------------------------------------------------------------------------------
{"code" : {
"coding" : [{
"code" : "continuous-variable",
"display" : "Continuous Variable"
}]
}, "url": "http://hl7.org/fhir/ValueSet/measure-scoring", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}####
v: {
"severity" : "error",
"error" : "The code system '' is not known (encountered paired with code = 'continuous-variable'); The code provided (#continuous-variable) is not valid in the value set 'MeasureScoring' (from http://local.fhir.org/r4)",
"class" : "CODESYSTEM_UNSUPPORTED"
}
-------------------------------------------------------------------------------------
{"code" : {
"coding" : [{
"code" : "proportion",
"display" : "Proportion"
}]
}, "url": "http://hl7.org/fhir/ValueSet/measure-scoring", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}####
v: {
"severity" : "error",
"error" : "The code system '' is not known (encountered paired with code = 'proportion'); The code provided (#proportion) is not valid in the value set 'MeasureScoring' (from http://local.fhir.org/r4)",
"class" : "CODESYSTEM_UNSUPPORTED"
}
-------------------------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "1000990", "code" : "1000990",
"display" : "oxymetazoline hydrochloride 0.5 MG/ML Nasal Spray" "display" : "oxymetazoline hydrochloride 0.5 MG/ML Nasal Spray"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "oxymetazoline hydrochloride 0.5 MG/ML Nasal Spray", "display" : "oxymetazoline hydrochloride 0.5 MG/ML Nasal Spray",
"code" : "1000990", "code" : "1000990",
@ -14,7 +14,7 @@ v: {
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "1010603", "code" : "1010603",
"display" : "Suboxone 2 MG / 0.5 MG Sublingual Film" "display" : "Suboxone 2 MG / 0.5 MG Sublingual Film"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film [Suboxone]", "display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film [Suboxone]",
"code" : "1010603", "code" : "1010603",
@ -25,7 +25,7 @@ v: {
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "1298088", "code" : "1298088",
"display" : "Flurazepam Hydrochloride 15 MG Oral Capsule" "display" : "Flurazepam Hydrochloride 15 MG Oral Capsule"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "flurazepam hydrochloride 15 MG Oral Capsule", "display" : "flurazepam hydrochloride 15 MG Oral Capsule",
"code" : "1298088", "code" : "1298088",
@ -36,7 +36,7 @@ v: {
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "1010600", "code" : "1010600",
"display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film" "display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film", "display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film",
"code" : "1010600", "code" : "1010600",
@ -46,7 +46,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "1591957" "code" : "1591957"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Mircera", "display" : "Mircera",
"code" : "1591957", "code" : "1591957",

View File

@ -2,7 +2,7 @@
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "%" "code" : "%"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "%", "display" : "%",
"code" : "%", "code" : "%",
@ -12,17 +12,37 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "L/min" "code" : "L/min"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "L/min", "display" : "L/min",
"code" : "L/min", "code" : "L/min",
"system" : "http://unitsofmeasure.org" "system" : "http://unitsofmeasure.org"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unitsofmeasure.org",
"code" : "%"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: {
"display" : "percent",
"code" : "%",
"system" : "http://unitsofmeasure.org"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unitsofmeasure.org",
"code" : "L/min"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: {
"severity" : "error",
"error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-vitals-common--0' (from null)",
"class" : "UNKNOWN"
}
-------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "cm" "code" : "cm"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "cm", "display" : "cm",
"code" : "cm", "code" : "cm",
@ -32,16 +52,17 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "cm" "code" : "cm"
}, "url": "https://bb/ValueSet/BBDemographicAgeUnit--0", "version": "20190731", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "https://bb/ValueSet/BBDemographicAgeUnit--0", "version": "20190731", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#cm) is not valid (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'https://bb/ValueSet/BBDemographicAgeUnit--0' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "min" "code" : "min"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "min", "display" : "min",
"code" : "min", "code" : "min",
@ -51,7 +72,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "mmol/L" "code" : "mmol/L"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mmol/L", "display" : "mmol/L",
"code" : "mmol/L", "code" : "mmol/L",
@ -61,7 +82,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "kg" "code" : "kg"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "kg", "display" : "kg",
"code" : "kg", "code" : "kg",
@ -71,7 +92,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "kg/m2" "code" : "kg/m2"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "kg/m2", "display" : "kg/m2",
"code" : "kg/m2", "code" : "kg/m2",
@ -81,7 +102,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "mm[Hg]" "code" : "mm[Hg]"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mm[Hg]", "display" : "mm[Hg]",
"code" : "mm[Hg]", "code" : "mm[Hg]",
@ -91,7 +112,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "wk" "code" : "wk"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "wk", "display" : "wk",
"code" : "wk", "code" : "wk",
@ -101,7 +122,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "mm[Hg]" "code" : "mm[Hg]"
}, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "millimeter of mercury", "display" : "millimeter of mercury",
"code" : "mm[Hg]", "code" : "mm[Hg]",
@ -111,7 +132,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "{capsule}" "code" : "{capsule}"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "{capsule}", "display" : "{capsule}",
"code" : "{capsule}", "code" : "{capsule}",
@ -121,7 +142,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "{patch}" "code" : "{patch}"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "{patch}", "display" : "{patch}",
"code" : "{patch}", "code" : "{patch}",
@ -131,7 +152,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "m" "code" : "m"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "m", "display" : "m",
"code" : "m", "code" : "m",
@ -141,16 +162,17 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "m" "code" : "m"
}, "url": "http://hl7.org/fhir/ValueSet/age-units--0", "version": "4.0.1", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/age-units--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://unitsofmeasure.org#m) is not valid (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/age-units--0' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "/min" "code" : "/min"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "/min", "display" : "/min",
"code" : "/min", "code" : "/min",
@ -160,7 +182,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "mg" "code" : "mg"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mg", "display" : "mg",
"code" : "mg", "code" : "mg",
@ -170,7 +192,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "mm" "code" : "mm"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mm", "display" : "mm",
"code" : "mm", "code" : "mm",
@ -180,7 +202,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "Cel" "code" : "Cel"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Cel", "display" : "Cel",
"code" : "Cel", "code" : "Cel",
@ -190,7 +212,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "g" "code" : "g"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "g", "display" : "g",
"code" : "g", "code" : "g",
@ -200,7 +222,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "mm[Hg]{hg}" "code" : "mm[Hg]{hg}"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "mm[Hg]{hg}", "display" : "mm[Hg]{hg}",
"code" : "mm[Hg]{hg}", "code" : "mm[Hg]{hg}",
@ -210,16 +232,17 @@ v: {
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "fmm[Hg]" "code" : "fmm[Hg]"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Error processing Unit: 'fmm[Hg]': The unit \"fmm[Hg]\" is unknown at character 1; The code \"fmm[Hg]\" is not valid in the system http://unitsofmeasure.org; The code provided (http://unitsofmeasure.org#fmm[Hg]) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r4)" "error" : "Error processing Unit: 'fmm[Hg]': The unit \"fmm[Hg]\" is unknown at character 1; Unknown Code 'fmm[Hg]' in the system 'http://unitsofmeasure.org'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"code" : "J/C" "code" : "J/C"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "J/C", "display" : "J/C",
"code" : "J/C", "code" : "J/C",

View File

@ -12,7 +12,7 @@
"version" : "4.0.1-2.0.14", "version" : "4.0.1-2.0.14",
"name" : "FHIR Reference Server Conformance Statement", "name" : "FHIR Reference Server Conformance Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:25:30.692Z", "date" : "2023-04-14T06:53:16.794Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -5,7 +5,7 @@
"version" : "1.0.0", "version" : "1.0.0",
"name" : "FHIR Reference Server Teminology Capability Statement", "name" : "FHIR Reference Server Teminology Capability Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:25:30.716Z", "date" : "2023-04-14T06:53:16.803Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -12,7 +12,7 @@
"version" : "4.0.1-2.0.14", "version" : "4.0.1-2.0.14",
"name" : "FHIR Reference Server Conformance Statement", "name" : "FHIR Reference Server Conformance Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:25:35.820Z", "date" : "2023-04-14T06:53:21.010Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -5,7 +5,7 @@
"version" : "1.0.0", "version" : "1.0.0",
"name" : "FHIR Reference Server Teminology Capability Statement", "name" : "FHIR Reference Server Teminology Capability Statement",
"status" : "active", "status" : "active",
"date" : "2023-04-05T12:25:35.840Z", "date" : "2023-04-14T06:53:21.026Z",
"contact" : [{ "contact" : [{
"telecom" : [{ "telecom" : [{
"system" : "other", "system" : "other",

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "text/plain" "code" : "text/plain"
}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "text/plain", "display" : "text/plain",
"code" : "text/plain", "code" : "text/plain",
@ -12,7 +12,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "271649006", "code" : "271649006",
"display" : "Systolic blood pressure" "display" : "Systolic blood pressure"
}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Systolic blood pressure", "display" : "Systolic blood pressure",
"code" : "271649006", "code" : "271649006",
@ -39,7 +39,7 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"code" : "en" "code" : "en"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "English", "display" : "English",
"code" : "en", "code" : "en",

View File

@ -3,7 +3,7 @@
"system" : "http://hl7.org/fhir/animal-species", "system" : "http://hl7.org/fhir/animal-species",
"code" : "canislf", "code" : "canislf",
"display" : "Dog" "display" : "Dog"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Dog", "display" : "Dog",
"code" : "canislf", "code" : "canislf",

View File

@ -3,12 +3,12 @@
"system" : "http://www.whocc.no/atc", "system" : "http://www.whocc.no/atc",
"code" : "N02AA", "code" : "N02AA",
"display" : "Barbiturates and derivatives" "display" : "Barbiturates and derivatives"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Natural opium alkaloids", "display" : "Natural opium alkaloids",
"code" : "N02AA", "code" : "N02AA",
"system" : "http://www.whocc.no/atc", "system" : "http://www.whocc.no/atc",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Barbiturates and derivatives\" is not a valid display for the code {http://www.whocc.no/atc}N02AA - should be one of ['Natural opium alkaloids'] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'Barbiturates and derivatives' for http://www.whocc.no/atc#N02AA - should be 'Natural opium alkaloids', (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "85354-9", "code" : "85354-9",
"display" : "Blood pressure panel with all children optional" "display" : "Blood pressure panel with all children optional"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Blood pressure panel with all children optional", "display" : "Blood pressure panel with all children optional",
"code" : "85354-9", "code" : "85354-9",
@ -14,7 +14,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8480-6", "code" : "8480-6",
"display" : "Systolic blood pressure" "display" : "Systolic blood pressure"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Systolic blood pressure", "display" : "Systolic blood pressure",
"code" : "8480-6", "code" : "8480-6",
@ -25,7 +25,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8462-4", "code" : "8462-4",
"display" : "Diastolic blood pressure" "display" : "Diastolic blood pressure"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Diastolic blood pressure", "display" : "Diastolic blood pressure",
"code" : "8462-4", "code" : "8462-4",
@ -35,7 +35,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "85354-9" "code" : "85354-9"
}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Blood pressure panel with all children optional", "display" : "Blood pressure panel with all children optional",
"code" : "85354-9", "code" : "85354-9",
@ -46,7 +46,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "85354-9", "code" : "85354-9",
"display" : "Blood pressure panel with all children optional" "display" : "Blood pressure panel with all children optional"
}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Blood pressure panel with all children optional", "display" : "Blood pressure panel with all children optional",
"code" : "85354-9", "code" : "85354-9",
@ -56,7 +56,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "85354-9" "code" : "85354-9"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Blood pressure panel with all children optional", "display" : "Blood pressure panel with all children optional",
"code" : "85354-9", "code" : "85354-9",
@ -66,7 +66,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8480-6" "code" : "8480-6"
}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Systolic blood pressure", "display" : "Systolic blood pressure",
"code" : "8480-6", "code" : "8480-6",
@ -77,7 +77,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8480-6", "code" : "8480-6",
"display" : "Systolic blood pressure" "display" : "Systolic blood pressure"
}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Systolic blood pressure", "display" : "Systolic blood pressure",
"code" : "8480-6", "code" : "8480-6",
@ -87,7 +87,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8480-6" "code" : "8480-6"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Systolic blood pressure", "display" : "Systolic blood pressure",
"code" : "8480-6", "code" : "8480-6",
@ -97,7 +97,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8462-4" "code" : "8462-4"
}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Diastolic blood pressure", "display" : "Diastolic blood pressure",
"code" : "8462-4", "code" : "8462-4",
@ -108,7 +108,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8462-4", "code" : "8462-4",
"display" : "Diastolic blood pressure" "display" : "Diastolic blood pressure"
}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Diastolic blood pressure", "display" : "Diastolic blood pressure",
"code" : "8462-4", "code" : "8462-4",
@ -118,7 +118,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "8462-4" "code" : "8462-4"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Diastolic blood pressure", "display" : "Diastolic blood pressure",
"code" : "8462-4", "code" : "8462-4",
@ -128,7 +128,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "56445-0" "code" : "56445-0"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Medication summary Document", "display" : "Medication summary Document",
"code" : "56445-0", "code" : "56445-0",
@ -140,7 +140,7 @@ v: {
"version" : "2.73", "version" : "2.73",
"code" : "56445-0", "code" : "56445-0",
"display" : "Medication summary Doc" "display" : "Medication summary Doc"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Medication summary Document", "display" : "Medication summary Document",
"code" : "56445-0", "code" : "56445-0",
@ -151,7 +151,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.73", "version" : "2.73",
"code" : "56445-0" "code" : "56445-0"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Medication summary Document", "display" : "Medication summary Document",
"code" : "56445-0", "code" : "56445-0",
@ -163,19 +163,19 @@ v: {
"version" : "2.73", "version" : "2.73",
"code" : "48765-2", "code" : "48765-2",
"display" : "Allergies and adverse reactions" "display" : "Allergies and adverse reactions"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Allergies and adverse reactions Document", "display" : "Allergies and adverse reactions Document",
"code" : "48765-2", "code" : "48765-2",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Allergies and adverse reactions\" is not a valid display for the code {http://loinc.org}48765-2 - should be one of ['Allergies and adverse reactions Document', 'Allergies &or adverse reactions Doc', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 变态反应与不良反应 文档.其他' (zh-CN), '杂项类文档' (zh-CN), '其他文档 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 杂项' (zh-CN), '杂项类' (zh-CN), '杂项试验 过敏反应' (zh-CN), '过敏' (zh-CN), 'Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)' (it-IT), 'Документ Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'Allergies and adverse reactions' for http://loinc.org#48765-2 - should be one of 28 choices: 'Allergies and adverse reactions Document, \"Allergies &or adverse reactions Doc\", \"临床文档型\" (zh-CN), \"临床文档\" (zh-CN), \"文档\" (zh-CN), \"文书\" (zh-CN), \"医疗文书\" (zh-CN), \"临床医疗文书 医疗服务对象\" (zh-CN), \"客户\" (zh-CN), \"病人\" (zh-CN), \"病患\" (zh-CN), \"病号\" (zh-CN), \"超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。\" (zh-CN), \"发现物\" (zh-CN), \"所见\" (zh-CN), \"结果\" (zh-CN), \"结论 变态反应与不良反应 文档.其他\" (zh-CN), \"杂项类文档\" (zh-CN), \"其他文档 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 杂项\" (zh-CN), \"杂项类\" (zh-CN), \"杂项试验 过敏反应\" (zh-CN), \"过敏\" (zh-CN), \"Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)\" (it-IT), \"Документ Точка во времени\" (ru-RU), \"Момент\" (ru-RU)' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "56445-0" "code" : "56445-0"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true"}####
v: { v: {
"display" : "Medication summary Document", "display" : "Medication summary Document",
"code" : "56445-0", "code" : "56445-0",
@ -187,7 +187,7 @@ v: {
"version" : "current", "version" : "current",
"code" : "56445-0", "code" : "56445-0",
"display" : "Medication summary Doc" "display" : "Medication summary Doc"
}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true"}#### }, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true"}####
v: { v: {
"display" : "Medication summary Document", "display" : "Medication summary Document",
"code" : "56445-0", "code" : "56445-0",
@ -198,7 +198,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "current", "version" : "current",
"code" : "56445-0" "code" : "56445-0"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"display" : "Medication summary Document", "display" : "Medication summary Document",
"code" : "56445-0", "code" : "56445-0",
@ -210,13 +210,13 @@ v: {
"version" : "current", "version" : "current",
"code" : "48765-2", "code" : "48765-2",
"display" : "Allergies and adverse reactions" "display" : "Allergies and adverse reactions"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"display" : "Allergies and adverse reactions Document", "display" : "Allergies and adverse reactions Document",
"code" : "48765-2", "code" : "48765-2",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Allergies and adverse reactions\" is not a valid display for the code {http://loinc.org}48765-2 - should be one of ['Allergies and adverse reactions Document', 'Allergies &or adverse reactions Doc', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 变态反应与不良反应 文档.其他' (zh-CN), '杂项类文档' (zh-CN), '其他文档 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 杂项' (zh-CN), '杂项类' (zh-CN), '杂项试验 过敏反应' (zh-CN), '过敏' (zh-CN), 'Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)' (it-IT), 'Документ Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'Allergies and adverse reactions' for http://loinc.org#48765-2 - should be one of 28 choices: 'Allergies and adverse reactions Document, \"Allergies &or adverse reactions Doc\", \"临床文档型\" (zh-CN), \"临床文档\" (zh-CN), \"文档\" (zh-CN), \"文书\" (zh-CN), \"医疗文书\" (zh-CN), \"临床医疗文书 医疗服务对象\" (zh-CN), \"客户\" (zh-CN), \"病人\" (zh-CN), \"病患\" (zh-CN), \"病号\" (zh-CN), \"超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。\" (zh-CN), \"发现物\" (zh-CN), \"所见\" (zh-CN), \"结果\" (zh-CN), \"结论 变态反应与不良反应 文档.其他\" (zh-CN), \"杂项类文档\" (zh-CN), \"其他文档 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 杂项\" (zh-CN), \"杂项类\" (zh-CN), \"杂项试验 过敏反应\" (zh-CN), \"过敏\" (zh-CN), \"Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)\" (it-IT), \"Документ Точка во времени\" (ru-RU), \"Момент\" (ru-RU)' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
@ -227,9 +227,7 @@ v: {
v: { v: {
"display" : "Inhaled oxygen flow rate", "display" : "Inhaled oxygen flow rate",
"code" : "3151-8", "code" : "3151-8",
"system" : "http://loinc.org", "system" : "http://loinc.org"
"severity" : "warning",
"error" : "The display \"ingeademde O2\" is not a valid display for the code {http://loinc.org}3151-8 - should be one of ['Inhaled oxygen flow rate', 'Inhaled O2 flow rate', '', 'O2' (zh-CN), 'tO2' (zh-CN), '总氧' (zh-CN), '氧气 体积速率(单位时间)' (zh-CN), '单位时间内体积的变化速率' (zh-CN), '流量 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 吸入气' (zh-CN), '吸入气体' (zh-CN), '吸入的空气 所吸入的氧' (zh-CN), '已吸入的氧气 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 气 气体类 空气' (zh-CN), 'Inhaled O2' (pt-BR), 'vRate' (pt-BR), 'Volume rate' (pt-BR), 'Flow' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'IhG' (pt-BR), 'Inhaled Gas' (pt-BR), 'Inspired' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'Gases' (pt-BR), 'Clinico Gas inalati Punto nel tempo (episodio) Tasso di Volume' (it-IT), 'Количественный Объемная скорость Точка во времени' (ru-RU), 'Момент' (ru-RU), 'ingeademde O2' (nl-NL), 'O2-Zufuhr' (de-AT)] (from http://local.fhir.org/r4)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
@ -238,7 +236,7 @@ v: {
"display" : "ingeademde O2" "display" : "ingeademde O2"
}, "valueSet" :null, "langs":"[nl-NL]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[nl-NL]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "ingeademde O2", "display" : "Inhaled oxygen flow rate",
"code" : "3151-8", "code" : "3151-8",
"system" : "http://loinc.org" "system" : "http://loinc.org"
} }
@ -247,20 +245,20 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "35200-5", "code" : "35200-5",
"display" : "Cholesterol [Moles/volume] in Serum or Plasma" "display" : "Cholesterol [Moles/volume] in Serum or Plasma"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma", "display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma",
"code" : "35200-5", "code" : "35200-5",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Cholesterol [Moles/volume] in Serum or Plasma\" is not a valid display for the code {http://loinc.org}35200-5 - should be one of ['Cholesterol [Mass or Moles/volume] in Serum or Plasma', 'Cholest SerPl-msCnc', '', '化学' (zh-CN), '化学检验项目' (zh-CN), '化学检验项目类' (zh-CN), '化学类' (zh-CN), '化学试验' (zh-CN), '非刺激耐受型化学检验项目' (zh-CN), '非刺激耐受型化学检验项目类' (zh-CN), '非刺激耐受型化学试验' (zh-CN), '非刺激耐受型化学试验类 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 总胆固醇' (zh-CN), '胆固醇总计' (zh-CN), '胆甾醇' (zh-CN), '脂类' (zh-CN), '脂质 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血清或血浆 质量或摩尔浓度' (zh-CN), '质量或摩尔浓度(单位体积)' (zh-CN), '质量或物质的量浓度(单位体积)' (zh-CN), 'Juhuslik Kvantitatiivne Plasma Seerum Seerum või plasma' (et-EE), 'Cholest' (pt-BR), 'Chol' (pt-BR), 'Choles' (pt-BR), 'Lipid' (pt-BR), 'Cholesterol total' (pt-BR), 'Cholesterols' (pt-BR), 'Level' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'SerPl' (pt-BR), 'SerPlas' (pt-BR), 'SerP' (pt-BR), 'Serum' (pt-BR), 'SR' (pt-BR), 'Plasma' (pt-BR), 'Pl' (pt-BR), 'Plsm' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'Chemistry' (pt-BR), 'Chimica Concentrazione Sostanza o Massa Plasma Punto nel tempo (episodio) Siero Siero o Plasma' (it-IT), 'Количественный Массовая или Молярная Концентрация Плазма Сыворотка Сыворотка или Плазма Точка во времени' (ru-RU), 'Момент Холестерин' (ru-RU)] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'Cholesterol [Moles/volume] in Serum or Plasma' for http://loinc.org#35200-5 - should be one of 50 choices: 'Cholesterol [Mass or Moles/volume] in Serum or Plasma, \"Cholest SerPl-msCnc\", \"化学\" (zh-CN), \"化学检验项目\" (zh-CN), \"化学检验项目类\" (zh-CN), \"化学类\" (zh-CN), \"化学试验\" (zh-CN), \"非刺激耐受型化学检验项目\" (zh-CN), \"非刺激耐受型化学检验项目类\" (zh-CN), \"非刺激耐受型化学试验\" (zh-CN), \"非刺激耐受型化学试验类 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 总胆固醇\" (zh-CN), \"胆固醇总计\" (zh-CN), \"胆甾醇\" (zh-CN), \"脂类\" (zh-CN), \"脂质 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 血清或血浆 质量或摩尔浓度\" (zh-CN), \"质量或摩尔浓度(单位体积)\" (zh-CN), \"质量或物质的量浓度(单位体积)\" (zh-CN), \"Juhuslik Kvantitatiivne Plasma Seerum Seerum või plasma\" (et-EE), \"Cholest\" (pt-BR), \"Chol\" (pt-BR), \"Choles\" (pt-BR), \"Lipid\" (pt-BR), \"Cholesterol total\" (pt-BR), \"Cholesterols\" (pt-BR), \"Level\" (pt-BR), \"Point in time\" (pt-BR), \"Random\" (pt-BR), \"SerPl\" (pt-BR), \"SerPlas\" (pt-BR), \"SerP\" (pt-BR), \"Serum\" (pt-BR), \"SR\" (pt-BR), \"Plasma\" (pt-BR), \"Pl\" (pt-BR), \"Plsm\" (pt-BR), \"Quantitative\" (pt-BR), \"QNT\" (pt-BR), \"Quant\" (pt-BR), \"Quan\" (pt-BR), \"Chemistry\" (pt-BR), \"Chimica Concentrazione Sostanza o Massa Plasma Punto nel tempo (episodio) Siero Siero o Plasma\" (it-IT), \"Количественный Массовая или Молярная Концентрация Плазма Сыворотка Сыворотка или Плазма Точка во времени\" (ru-RU), \"Момент Холестерин\" (ru-RU)' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "13457-7", "code" : "13457-7",
"display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation" "display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation", "display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation",
"code" : "13457-7", "code" : "13457-7",
@ -271,7 +269,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "29463-7", "code" : "29463-7",
"display" : "Body Weight" "display" : "Body Weight"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Body weight", "display" : "Body weight",
"code" : "29463-7", "code" : "29463-7",
@ -282,7 +280,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "29463-7", "code" : "29463-7",
"display" : "Body Weight" "display" : "Body Weight"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Body weight", "display" : "Body weight",
"code" : "29463-7", "code" : "29463-7",
@ -293,7 +291,7 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "35200-5", "code" : "35200-5",
"display" : "Cholest SerPl-msCnc" "display" : "Cholest SerPl-msCnc"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma", "display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma",
"code" : "35200-5", "code" : "35200-5",
@ -304,12 +302,12 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"code" : "35217-9", "code" : "35217-9",
"display" : "Triglyceride [Moles/volume] in Serum or Plasma" "display" : "Triglyceride [Moles/volume] in Serum or Plasma"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Triglyceride [Mass or Moles/volume] in Serum or Plasma", "display" : "Triglyceride [Mass or Moles/volume] in Serum or Plasma",
"code" : "35217-9", "code" : "35217-9",
"system" : "http://loinc.org", "system" : "http://loinc.org",
"severity" : "warning", "severity" : "warning",
"error" : "The display \"Triglyceride [Moles/volume] in Serum or Plasma\" is not a valid display for the code {http://loinc.org}35217-9 - should be one of ['Triglyceride [Mass or Moles/volume] in Serum or Plasma', 'Trigl SerPl-msCnc', '', 'TG' (zh-CN), 'Trigly' (zh-CN), '甘油三脂' (zh-CN), '甘油三酸酯' (zh-CN), '三酸甘油酯' (zh-CN), '甘油三酸脂' (zh-CN), '三酸甘油脂 化学' (zh-CN), '化学检验项目' (zh-CN), '化学检验项目类' (zh-CN), '化学类' (zh-CN), '化学试验' (zh-CN), '非刺激耐受型化学检验项目' (zh-CN), '非刺激耐受型化学检验项目类' (zh-CN), '非刺激耐受型化学试验' (zh-CN), '非刺激耐受型化学试验类 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血清或血浆 质量或摩尔浓度' (zh-CN), '质量或摩尔浓度(单位体积)' (zh-CN), '质量或物质的量浓度(单位体积)' (zh-CN), 'Juhuslik Kvantitatiivne Plasma Seerum Seerum või plasma' (et-EE), 'Trigl' (pt-BR), 'Triglycrides' (pt-BR), 'Trig' (pt-BR), 'Triglycerides' (pt-BR), 'Level' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'SerPl' (pt-BR), 'SerPlas' (pt-BR), 'SerP' (pt-BR), 'Serum' (pt-BR), 'SR' (pt-BR), 'Plasma' (pt-BR), 'Pl' (pt-BR), 'Plsm' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'Chemistry' (pt-BR), 'Chimica Concentrazione Sostanza o Massa Plasma Punto nel tempo (episodio) Siero Siero o Plasma' (it-IT), 'Количественный Массовая или Молярная Концентрация Плазма Сыворотка Сыворотка или Плазма Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://local.fhir.org/r4)" "error" : "Wrong Display Name 'Triglyceride [Moles/volume] in Serum or Plasma' for http://loinc.org#35217-9 - should be one of 50 choices: 'Triglyceride [Mass or Moles/volume] in Serum or Plasma, \"Trigl SerPl-msCnc\", \"TG\" (zh-CN), \"Trigly\" (zh-CN), \"甘油三脂\" (zh-CN), \"甘油三酸酯\" (zh-CN), \"三酸甘油酯\" (zh-CN), \"甘油三酸脂\" (zh-CN), \"三酸甘油脂 化学\" (zh-CN), \"化学检验项目\" (zh-CN), \"化学检验项目类\" (zh-CN), \"化学类\" (zh-CN), \"化学试验\" (zh-CN), \"非刺激耐受型化学检验项目\" (zh-CN), \"非刺激耐受型化学检验项目类\" (zh-CN), \"非刺激耐受型化学试验\" (zh-CN), \"非刺激耐受型化学试验类 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 血清或血浆 质量或摩尔浓度\" (zh-CN), \"质量或摩尔浓度(单位体积)\" (zh-CN), \"质量或物质的量浓度(单位体积)\" (zh-CN), \"Juhuslik Kvantitatiivne Plasma Seerum Seerum või plasma\" (et-EE), \"Trigl\" (pt-BR), \"Triglycrides\" (pt-BR), \"Trig\" (pt-BR), \"Triglycerides\" (pt-BR), \"Level\" (pt-BR), \"Point in time\" (pt-BR), \"Random\" (pt-BR), \"SerPl\" (pt-BR), \"SerPlas\" (pt-BR), \"SerP\" (pt-BR), \"Serum\" (pt-BR), \"SR\" (pt-BR), \"Plasma\" (pt-BR), \"Pl\" (pt-BR), \"Plsm\" (pt-BR), \"Quantitative\" (pt-BR), \"QNT\" (pt-BR), \"Quant\" (pt-BR), \"Quan\" (pt-BR), \"Chemistry\" (pt-BR), \"Chimica Concentrazione Sostanza o Massa Plasma Punto nel tempo (episodio) Siero Siero o Plasma\" (it-IT), \"Количественный Массовая или Молярная Концентрация Плазма Сыворотка Сыворотка или Плазма Точка во времени\" (ru-RU), \"Момент\" (ru-RU)' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "1049640", "code" : "1049640",
"display" : "Acetaminophen 325 MG / Oxycodone Hydrochloride 5 MG Oral Tablet [Percocet]" "display" : "Acetaminophen 325 MG / Oxycodone Hydrochloride 5 MG Oral Tablet [Percocet]"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "acetaminophen 325 MG / oxycodone hydrochloride 5 MG Oral Tablet [Percocet]", "display" : "acetaminophen 325 MG / oxycodone hydrochloride 5 MG Oral Tablet [Percocet]",
"code" : "1049640", "code" : "1049640",

View File

@ -3,7 +3,7 @@
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "368209003", "code" : "368209003",
"display" : "Right arm" "display" : "Right arm"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Right upper arm", "display" : "Right upper arm",
"code" : "368209003", "code" : "368209003",
@ -14,7 +14,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "271649006", "code" : "271649006",
"display" : "Systolic blood pressure" "display" : "Systolic blood pressure"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Systolic blood pressure", "display" : "Systolic blood pressure",
"code" : "271649006", "code" : "271649006",
@ -24,7 +24,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "271649006" "code" : "271649006"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Systolic blood pressure", "display" : "Systolic blood pressure",
"code" : "271649006", "code" : "271649006",
@ -36,11 +36,11 @@ v: {
"version" : "http://snomed.info/sct/731000124108/version/20210201", "version" : "http://snomed.info/sct/731000124108/version/20210201",
"code" : "132037003", "code" : "132037003",
"display" : "Pineywoods pig breed" "display" : "Pineywoods pig breed"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "Version 'http://snomed.info/sct/731000124108/version/20210201' of the code system 'http://snomed.info/sct' is not known (encountered paired with code = '132037003'). ValidVersions = [http://snomed.info/sct/11000146104/version/20220930,http://snomed.info/sct/11000172109/version/20221115,http://snomed.info/sct/20611000087101/version/20220930,http://snomed.info/sct/32506021000036107/version/20220731,http://snomed.info/sct/45991000052106/version/20210531,http://snomed.info/sct/554471000005108/version/20210930,http://snomed.info/sct/731000124108/version/20220901,http://snomed.info/sct/900000000000207008/version/20190731,http://snomed.info/sct/900000000000207008/version/20200731,http://snomed.info/sct/900000000000207008/version/20210731,http://snomed.info/sct/900000000000207008/version/20220731]; The code provided (http://snomed.info/sct#132037003) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r4)", "error" : "The CodeSystem http://snomed.info/sct version http://snomed.info/sct/731000124108/version/20210201 is unknown. ValidVersions: [http://snomed.info/sct/11000146104/version/20220930,http://snomed.info/sct/11000172109/version/20221115,http://snomed.info/sct/20611000087101/version/20220930,http://snomed.info/sct/32506021000036107/version/20220731,http://snomed.info/sct/45991000052106/version/20210531,http://snomed.info/sct/554471000005108/version/20210930,http://snomed.info/sct/731000124108/version/20220901,http://snomed.info/sct/900000000000207008/version/20190731,http://snomed.info/sct/900000000000207008/version/20200731,http://snomed.info/sct/900000000000207008/version/20210731,http://snomed.info/sct/900000000000207008/version/20220731]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)",
"class" : "CODESYSTEM_UNSUPPORTED" "class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
@ -48,7 +48,7 @@ v: {
"version" : "http://snomed.info/sct/731000124108/version/20210201", "version" : "http://snomed.info/sct/731000124108/version/20210201",
"code" : "132037003", "code" : "132037003",
"display" : "Pineywoods pig breed" "display" : "Pineywoods pig breed"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}####
v: { v: {
"display" : "Pineywoods pig", "display" : "Pineywoods pig",
"code" : "132037003", "code" : "132037003",
@ -57,21 +57,23 @@ v: {
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"version" : "http://snomed.info/sct/11000172109/version/20220315", "version" : "http://snomed.info/sct/11000172109/version/20221115",
"code" : "132037003", "code" : "132037003",
"display" : "Pineywoods pig breed. Not." "display" : "Pineywoods pig breed. Not."
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "display" : "Pineywoods pig",
"error" : "Version 'http://snomed.info/sct/11000172109/version/20220315' of the code system 'http://snomed.info/sct' is not known (encountered paired with code = '132037003'). ValidVersions = [http://snomed.info/sct/11000146104/version/20220930,http://snomed.info/sct/11000172109/version/20221115,http://snomed.info/sct/20611000087101/version/20220930,http://snomed.info/sct/32506021000036107/version/20220731,http://snomed.info/sct/45991000052106/version/20210531,http://snomed.info/sct/554471000005108/version/20210930,http://snomed.info/sct/731000124108/version/20220901,http://snomed.info/sct/900000000000207008/version/20190731,http://snomed.info/sct/900000000000207008/version/20200731,http://snomed.info/sct/900000000000207008/version/20210731,http://snomed.info/sct/900000000000207008/version/20220731]; The code provided (http://snomed.info/sct#132037003) is not valid in the value set 'All codes known to the system' (from http://local.fhir.org/r4)", "code" : "132037003",
"class" : "CODESYSTEM_UNSUPPORTED" "system" : "http://snomed.info/sct",
"severity" : "warning",
"error" : "Wrong Display Name 'Pineywoods pig breed. Not.' for http://snomed.info/sct#132037003 - should be one of 3 choices: 'Pineywoods pig, \"Pineywoods pig breed (organism)\", \"Pineywoods pig breed\"' (from Tx-Server)"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "109006", "code" : "109006",
"display" : "Anxiety disorder of childhood OR adolescence" "display" : "Anxiety disorder of childhood OR adolescence"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Anxiety disorder of childhood OR adolescence", "display" : "Anxiety disorder of childhood OR adolescence",
"code" : "109006", "code" : "109006",
@ -81,7 +83,7 @@ v: {
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "109006" "code" : "109006"
}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"display" : "Anxiety disorder of childhood OR adolescence", "display" : "Anxiety disorder of childhood OR adolescence",
"code" : "109006", "code" : "109006",
@ -92,7 +94,7 @@ v: {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "109006", "code" : "109006",
"display" : "Anxiety disorder of childhood OR adolescence" "display" : "Anxiety disorder of childhood OR adolescence"
}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/clinical-findings", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}####
v: { v: {
"display" : "Anxiety disorder of childhood OR adolescence", "display" : "Anxiety disorder of childhood OR adolescence",
"code" : "109006", "code" : "109006",
@ -102,18 +104,117 @@ v: {
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "109006" "code" : "109006"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Anxiety disorder of childhood OR adolescence", "display" : "Anxiety disorder of childhood OR adolescence",
"code" : "109006", "code" : "109006",
"system" : "http://snomed.info/sct" "system" : "http://snomed.info/sct"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "85600001",
"display" : "Triacylglycerol"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Triacylglycerol",
"code" : "85600001",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "58108001",
"display" : "Golden retriever"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Golden retriever",
"code" : "58108001",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "122555007",
"display" : "Venous blood specimen"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Venous blood specimen",
"code" : "122555007",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "263678003",
"display" : "At rest"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "At rest",
"code" : "263678003",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "119364003",
"display" : "Serum specimen"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Serum specimen",
"code" : "119364003",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "61088005",
"display" : "plastic"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Plastic",
"code" : "61088005",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "702281005",
"display" : "Evacuated blood collection tube, thrombin/clot activator/gel separator"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Evacuated blood collection tube, thrombin/clot activator/gel separator",
"code" : "702281005",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "119361006",
"display" : "Plasma specimen"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Plasma specimen",
"code" : "119361006",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "32039001",
"display" : "glass"
}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Glass",
"code" : "32039001",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "106004", "code" : "106004",
"display" : "Posterior carpal region" "display" : "Posterior carpal region"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Posterior carpal region", "display" : "Posterior carpal region",
"code" : "106004", "code" : "106004",
@ -123,17 +224,18 @@ v: {
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "106004" "code" : "106004"
}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "5.0.0", "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### }, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}####
v: { v: {
"severity" : "error", "severity" : "error",
"error" : "The code provided (http://snomed.info/sct#106004) is not valid (from http://local.fhir.org/r4)" "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/clinical-findings--0' (from Tx-Server)",
"class" : "UNKNOWN"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : { {"code" : {
"system" : "http://snomed.info/sct", "system" : "http://snomed.info/sct",
"code" : "106004", "code" : "106004",
"display" : "Posterior carpal region" "display" : "Posterior carpal region"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Posterior carpal region", "display" : "Posterior carpal region",
"code" : "106004", "code" : "106004",
@ -150,109 +252,10 @@ v: {
"system" : "http://snomed.info/sct" "system" : "http://snomed.info/sct"
}] }]
} }
}, "langs":"[null]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### }, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: { v: {
"display" : "Posterior carpal region", "display" : "Posterior carpal region",
"code" : "106004", "code" : "106004",
"system" : "http://snomed.info/sct" "system" : "http://snomed.info/sct"
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "85600001",
"display" : "Triacylglycerol"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Triacylglycerol",
"code" : "85600001",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "58108001",
"display" : "Golden retriever"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Golden retriever",
"code" : "58108001",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "122555007",
"display" : "Venous blood specimen"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Venous blood specimen",
"code" : "122555007",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "263678003",
"display" : "At rest"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "At rest",
"code" : "263678003",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "119364003",
"display" : "Serum specimen"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Serum specimen",
"code" : "119364003",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "61088005",
"display" : "plastic"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Plastic",
"code" : "61088005",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "702281005",
"display" : "Evacuated blood collection tube, thrombin/clot activator/gel separator"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Evacuated blood collection tube, thrombin/clot activator/gel separator",
"code" : "702281005",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "119361006",
"display" : "Plasma specimen"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Plasma specimen",
"code" : "119361006",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "32039001",
"display" : "glass"
}, "valueSet" :null, "langs":"[null]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}####
v: {
"display" : "Glass",
"code" : "32039001",
"system" : "http://snomed.info/sct"
}
-------------------------------------------------------------------------------------

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