From 410f08e6d6f0897e86cc62c27e2f11b403f2a00a Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 2 May 2023 16:58:54 +1000 Subject: [PATCH 01/16] terminology fixes - add expParams to cache key, fix up parameter types, report version --- .../fhir/r5/context/BaseWorkerContext.java | 19 +- .../hl7/fhir/r5/context/IWorkerContext.java | 11 +- .../hl7/fhir/r5/context/TerminologyCache.java | 102 +- .../fhir/r5/renderers/ValueSetRenderer.java | 15 +- .../terminologies/ValueSetCheckerSimple.java | 159 +- .../terminologies/ValueSetExpanderSimple.java | 36 +- .../fhir/r5/terminologies/ValueSetWorker.java | 2 + .../fhir/r5/test/utils/CompareUtilities.java | 65 +- .../r5/context/SimpleWorkerContextTests.java | 12 +- .../r5/context/TerminologyCacheTests.java | 29 +- .../tests/TerminologyServiceTests.java | 8 + .../txCache/org.hl7.fhir.r5/lang.cache | 14 - .../txCache/org.hl7.fhir.r5/loinc.cache | 46 - .../txCache/org.hl7.fhir.r5/mimetypes.cache | 14 - .../txCache/org.hl7.fhir.r5/ucum.cache | 98 - .../1.0.2/.capabilityStatement.cache | 6 +- .../org.hl7.fhir.validation/1.0.2/loinc.cache | 20 +- .../1.0.2/snomed.cache | 20 +- .../org.hl7.fhir.validation/1.0.2/ucum.cache | 19 +- .../1.4.0/.capabilityStatement.cache | 6 +- .../1.4.0/all-systems.cache | 10 +- .../3.0.2/.capabilityStatement.cache | 6 +- .../3.0.2/all-systems.cache | 59 +- .../3.0.2/iso3166.cache | 147 +- .../org.hl7.fhir.validation/3.0.2/loinc.cache | 361 +++- .../3.0.2/snomed.cache | 340 ++- .../org.hl7.fhir.validation/3.0.2/ucum.cache | 52 +- .../4.0.1/.capabilityStatement.cache | 6 +- .../4.0.1/.terminologyCapabilities.cache | 4 +- .../4.0.1/all-systems.cache | 642 ++++-- .../4.0.1/condition-clinical.cache | 28 +- .../org.hl7.fhir.validation/4.0.1/cvx.cache | 51 +- ...ormatcode.fhir_CodeSystem_formatcode.cache | 11 +- .../http___nucc.org_provider-taxonomy.cache | 41 +- .../4.0.1/http___something_something.cache | 10 +- .../4.0.1/http___standardterms.edqm.eu.cache | 11 +- .../4.0.1/http___varnomen.hgvs.org.cache | 32 +- .../http___www.genenames.org_geneId.cache | 10 +- .../http___www.ncbi.nlm.nih.gov_clinvar.cache | 10 +- ...ls_enablers_air-vaccine-code-formats.cache | 11 +- .../4.0.1/icd-10-cm.cache | 10 +- .../4.0.1/icd-10.cache | 22 +- .../4.0.1/icd-9-cm.cache | 11 +- .../4.0.1/iso3166.cache | 41 +- .../org.hl7.fhir.validation/4.0.1/lang.cache | 72 +- .../org.hl7.fhir.validation/4.0.1/loinc.cache | 1848 +++++++++++++---- .../4.0.1/rxnorm.cache | 55 +- .../4.0.1/snomed.cache | 1348 +++++++++--- .../org.hl7.fhir.validation/4.0.1/ucum.cache | 295 ++- .../4.0.1/uvsdcCodeSystemCSPHQ9.cache | 44 +- .../4.3.0/.capabilityStatement.cache | 6 +- .../4.3.0/.terminologyCapabilities.cache | 4 +- .../5.0.0/.capabilityStatement.cache | 14 +- .../5.0.0/.terminologyCapabilities.cache | 154 +- .../5.0.0/all-systems.cache | 72 +- .../5.0.0/animal-species.cache | 11 +- .../5.0.0/http___www.whocc.no_atc.cache | 9 +- .../org.hl7.fhir.validation/5.0.0/lang.cache | 31 - .../org.hl7.fhir.validation/5.0.0/loinc.cache | 433 ++-- .../org.hl7.fhir.validation/5.0.0/ndc.cache | 12 - .../5.0.0/rxnorm.cache | 11 +- .../5.0.0/snomed.cache | 448 ++-- .../org.hl7.fhir.validation/5.0.0/ucum.cache | 103 +- .../5.0.0/v2-0136.cache | 11 - .../5.0.0/v2-0360_2.7.cache | 12 - pom.xml | 2 +- 66 files changed, 5463 insertions(+), 2159 deletions(-) delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache delete mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java index 9d7d7c1fc..5d6da6394 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java @@ -940,7 +940,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte // 2nd pass: What can we do internally // 3rd pass: hit the server for (CodingValidationRequest t : codes) { - t.setCacheToken(txCache != null ? txCache.generateValidationToken(options, t.getCoding(), vs) : null); + t.setCacheToken(txCache != null ? txCache.generateValidationToken(options, t.getCoding(), vs, expParameters) : null); if (t.getCoding().hasSystem()) { codeSystemsUsed.add(t.getCoding().getSystem()); } @@ -1058,7 +1058,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte codeSystemsUsed.add(code.getSystem()); } - final CacheToken cacheToken = txCache != null ? txCache.generateValidationToken(options, code, vs) : null; + final CacheToken cacheToken = txCache != null ? txCache.generateValidationToken(options, code, vs, expParameters) : null; ValidationResult res = null; if (txCache != null) { res = txCache.getValidation(cacheToken); @@ -1135,11 +1135,11 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte } protected ValueSetCheckerSimple constructValueSetCheckerSimple( ValidationOptions options, ValueSet vs, ValidationContextCarrier ctxt) { - return new ValueSetCheckerSimple(options, vs, this, ctxt); + return new ValueSetCheckerSimple(options, vs, this, ctxt, expParameters, txcaps); } protected ValueSetCheckerSimple constructValueSetCheckerSimple( ValidationOptions options, ValueSet vs) { - return new ValueSetCheckerSimple(options, vs, this); + return new ValueSetCheckerSimple(options, vs, this, expParameters, txcaps); } protected Parameters constructParameters(ValueSet vs, boolean hierarchical) { @@ -1204,7 +1204,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte @Override public ValidationResult validateCode(ValidationOptions options, CodeableConcept code, ValueSet vs) { - CacheToken cacheToken = txCache.generateValidationToken(options, code, vs); + CacheToken cacheToken = txCache.generateValidationToken(options, code, vs, expParameters); ValidationResult res = txCache.getValidation(cacheToken); if (res != null) { return res; @@ -1342,6 +1342,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte String display = null; String system = null; String code = null; + String version = null; TerminologyServiceErrorClass err = TerminologyServiceErrorClass.UNKNOWN; for (ParametersParameterComponent p : pOut.getParameter()) { if (p.hasValue()) { @@ -1353,6 +1354,8 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte display = p.getValue().primitiveValue(); } else if (p.getName().equals("system")) { system = ((PrimitiveType) p.getValue()).asStringValue(); + } else if (p.getName().equals("version")) { + version = ((PrimitiveType) p.getValue()).asStringValue(); } else if (p.getName().equals("code")) { code = ((PrimitiveType) p.getValue()).asStringValue(); } else if (p.getName().equals("cause")) { @@ -1375,11 +1378,11 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte if (!ok) { return new ValidationResult(IssueSeverity.ERROR, message+" (from "+txClient.getId()+")", err, null).setTxLink(txLog.getLastId()); } else if (message != null && !message.equals("No Message returned")) { - return new ValidationResult(IssueSeverity.WARNING, message+" (from "+txClient.getId()+")", system, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display, null).setTxLink(txLog.getLastId()); + return new ValidationResult(IssueSeverity.WARNING, message+" (from "+txClient.getId()+")", system, version, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display, null).setTxLink(txLog.getLastId()); } else if (display != null) { - return new ValidationResult(system, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display).setTxLink(txLog.getLastId()); + return new ValidationResult(system, version, new ConceptDefinitionComponent().setDisplay(display).setCode(code), display).setTxLink(txLog.getLastId()); } else { - return new ValidationResult(system, new ConceptDefinitionComponent().setCode(code), null).setTxLink(txLog.getLastId()); + return new ValidationResult(system, version, new ConceptDefinitionComponent().setCode(code), null).setTxLink(txLog.getLastId()); } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java index f72ab31ad..f44fe35ca 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java @@ -115,6 +115,7 @@ public interface IWorkerContext { private ConceptDefinitionComponent definition; private String preferredDisplay; private String system; + private String version; private IssueSeverity severity; private String message; private TerminologyServiceErrorClass errorClass; @@ -136,16 +137,18 @@ public interface IWorkerContext { } } - public ValidationResult(String system, ConceptDefinitionComponent definition, String preferredDisplay) { + public ValidationResult(String system, String version, ConceptDefinitionComponent definition, String preferredDisplay) { this.system = system; + this.version = version; this.definition = definition; this.preferredDisplay = preferredDisplay; } - public ValidationResult(IssueSeverity severity, String message, String system, ConceptDefinitionComponent definition, String preferredDisplay, List issues) { + public ValidationResult(IssueSeverity severity, String message, String system, String version, ConceptDefinitionComponent definition, String preferredDisplay, List issues) { this.severity = severity; this.message = message; this.system = system; + this.version = version; this.definition = definition; this.preferredDisplay = preferredDisplay; if (issues != null) { @@ -170,6 +173,10 @@ public interface IWorkerContext { return system; } + public String getVersion() { + return version; + } + public String getDisplay() { if (preferredDisplay != null) { return preferredDisplay; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java index cacc11f2c..b9cae5243 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java @@ -223,7 +223,7 @@ public class TerminologyCache { public void cacheCapabilityStatement(CapabilityStatement capabilityStatement) { if (noCaching) { return; - } + } this.capabilityStatementCache = capabilityStatement; save(capabilityStatementCache, CAPABILITY_STATEMENT_TITLE); } @@ -250,34 +250,32 @@ public class TerminologyCache { caches.clear(); } - public CacheToken generateValidationToken(ValidationOptions options, Coding code, ValueSet vs) { - CacheToken ct = new CacheToken(); - if (code.hasSystem()) { - ct.setName(code.getSystem()); - ct.hasVersion = code.hasVersion(); - } - else - ct.name = NAME_FOR_NO_SYSTEM; - nameCacheToken(vs, ct); - JsonParser json = new JsonParser(); - json.setOutputStyle(OutputStyle.PRETTY); - if (vs != null && vs.hasUrl() && vs.hasVersion()) { - try { + public CacheToken generateValidationToken(ValidationOptions options, Coding code, ValueSet vs, Parameters expParameters) { + try { + CacheToken ct = new CacheToken(); + if (code.hasSystem()) { + ct.setName(code.getSystem()); + ct.hasVersion = code.hasVersion(); + } + else + ct.name = NAME_FOR_NO_SYSTEM; + nameCacheToken(vs, ct); + JsonParser json = new JsonParser(); + json.setOutputStyle(OutputStyle.PRETTY); + String expJS = json.composeString(expParameters); + + if (vs != null && vs.hasUrl() && vs.hasVersion()) { ct.request = "{\"code\" : "+json.composeString(code, "codeableConcept")+", \"url\": \""+Utilities.escapeJson(vs.getUrl()) - +"\", \"version\": \""+Utilities.escapeJson(vs.getVersion())+"\""+(options == null ? "" : ", "+options.toJson())+"}\r\n"; - } catch (IOException e) { - throw new Error(e); - } - } else { - ValueSet vsc = getVSEssense(vs); - try { - ct.request = "{\"code\" : "+json.composeString(code, "code")+", \"valueSet\" :"+(vsc == null ? "null" : extracted(json, vsc))+(options == null ? "" : ", "+options.toJson())+"}"; - } catch (IOException e) { - throw new Error(e); + +"\", \"version\": \""+Utilities.escapeJson(vs.getVersion())+"\""+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}\r\n"; + } else { + ValueSet vsc = getVSEssense(vs); + ct.request = "{\"code\" : "+json.composeString(code, "code")+", \"valueSet\" :"+(vsc == null ? "null" : extracted(json, vsc))+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}"; } + ct.key = String.valueOf(hashJson(ct.request)); + return ct; + } catch (IOException e) { + throw new Error(e); } - ct.key = String.valueOf(hashJson(ct.request)); - return ct; } public String extracted(JsonParser json, ValueSet vsc) throws IOException { @@ -290,34 +288,31 @@ public class TerminologyCache { return s; } - public CacheToken generateValidationToken(ValidationOptions options, CodeableConcept code, ValueSet vs) { - CacheToken ct = new CacheToken(); - for (Coding c : code.getCoding()) { - if (c.hasSystem()) { - ct.setName(c.getSystem()); - ct.hasVersion = c.hasVersion(); + public CacheToken generateValidationToken(ValidationOptions options, CodeableConcept code, ValueSet vs, Parameters expParameters) { + try { + CacheToken ct = new CacheToken(); + for (Coding c : code.getCoding()) { + if (c.hasSystem()) { + ct.setName(c.getSystem()); + ct.hasVersion = c.hasVersion(); + } } - } - nameCacheToken(vs, ct); - JsonParser json = new JsonParser(); - json.setOutputStyle(OutputStyle.PRETTY); - if (vs != null && vs.hasUrl() && vs.hasVersion()) { - try { + nameCacheToken(vs, ct); + JsonParser json = new JsonParser(); + json.setOutputStyle(OutputStyle.PRETTY); + String expJS = json.composeString(expParameters); + if (vs != null && vs.hasUrl() && vs.hasVersion()) { ct.request = "{\"code\" : "+json.composeString(code, "codeableConcept")+", \"url\": \""+Utilities.escapeJson(vs.getUrl())+ - "\", \"version\": \""+Utilities.escapeJson(vs.getVersion())+"\""+(options == null ? "" : ", "+options.toJson())+"+}\r\n"; - } catch (IOException e) { - throw new Error(e); - } - } else { - ValueSet vsc = getVSEssense(vs); - try { - ct.request = "{\"code\" : "+json.composeString(code, "codeableConcept")+", \"valueSet\" :"+extracted(json, vsc)+(options == null ? "" : ", "+options.toJson())+"}"; - } catch (IOException e) { - throw new Error(e); + "\", \"version\": \""+Utilities.escapeJson(vs.getVersion())+"\""+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}\r\n"; + } else { + ValueSet vsc = getVSEssense(vs); + ct.request = "{\"code\" : "+json.composeString(code, "codeableConcept")+", \"valueSet\" :"+extracted(json, vsc)+(options == null ? "" : ", "+options.toJson())+", \"profile\": "+expJS+"}"; } + ct.key = String.valueOf(hashJson(ct.request)); + return ct; + } catch (IOException e) { + throw new Error(e); } - ct.key = String.valueOf(hashJson(ct.request)); - return ct; } public ValueSet getVSEssense(ValueSet vs) { @@ -530,6 +525,10 @@ public class TerminologyCache { if (first) first = false; else sw.write(",\r\n"); sw.write(" \"system\" : \""+Utilities.escapeJson(ce.v.getSystem()).trim()+"\""); } + if (ce.v.getVersion() != null) { + if (first) first = false; else sw.write(",\r\n"); + sw.write(" \"version\" : \""+Utilities.escapeJson(ce.v.getVersion()).trim()+"\""); + } if (ce.v.getSeverity() != null) { if (first) first = false; else sw.write(",\r\n"); sw.write(" \"severity\" : "+"\""+ce.v.getSeverity().toCode().trim()+"\""+""); @@ -602,10 +601,11 @@ public class TerminologyCache { String display = loadJS(o.get("display")); String code = loadJS(o.get("code")); String system = loadJS(o.get("system")); + String version = loadJS(o.get("version")); String definition = loadJS(o.get("definition")); t = loadJS(o.get("class")); TerminologyServiceErrorClass errorClass = t == null ? null : TerminologyServiceErrorClass.valueOf(t) ; - ce.v = new ValidationResult(severity, error, system, new ConceptDefinitionComponent().setDisplay(display).setDefinition(definition).setCode(code), display, null).setErrorClass(errorClass); + ce.v = new ValidationResult(severity, error, system, version, new ConceptDefinitionComponent().setDisplay(display).setDefinition(definition).setCode(code), display, null).setErrorClass(errorClass); } return ce; } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java index d2104aded..ffe542bc6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java @@ -315,7 +315,7 @@ public class ValueSetRenderer extends TerminologyRenderer { for (ValueSetExpansionParameterComponent p : expansion.getParameter()) { if (p.getName().equals(mode)) { String[] parts = ((PrimitiveType) p.getValue()).asStringValue().split("\\|"); - if (parts.length == 2) + if (parts.length == 2 && !Utilities.noString(parts[0])) versions.put(parts[0], parts[1]); } } @@ -441,7 +441,7 @@ public class ValueSetRenderer extends TerminologyRenderer { for (ValueSetExpansionParameterComponent p : expansion.getParameter()) { if (p.getName().equals("version")) { String[] parts = ((PrimitiveType) p.getValue()).asStringValue().split("\\|"); - if (parts.length == 2) + if (parts.length == 2 && !Utilities.noString(parts[0])) versions.put(parts[0], parts[1]); } } @@ -492,6 +492,17 @@ public class ValueSetRenderer extends TerminologyRenderer { } else { x.tx("Loinc v"+v); } + } else if (Utilities.noString(v)) { + CanonicalResource cr = (CanonicalResource) getContext().getWorker().fetchResource(Resource.class, u, source); + if (cr != null) { + if (cr.hasWebPath()) { + x.ah(cr.getWebPath()).tx(cr.present()+" (no version) ("+cr.fhirType()+")"); + } else { + x.tx(describeSystem(u)+" (no version) ("+cr.fhirType()+")"); + } + } else { + x.tx(describeSystem(u)+" (no version)"); + } } else { CanonicalResource cr = (CanonicalResource) getContext().getWorker().fetchResource(Resource.class, u+"|"+v, source); if (cr != null) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java index 73272baab..a5e22dcde 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java @@ -57,6 +57,11 @@ 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.Parameters; +import org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent; +import org.hl7.fhir.r5.model.TerminologyCapabilities.TerminologyCapabilitiesCodeSystemComponent; +import org.hl7.fhir.r5.model.TerminologyCapabilities; +import org.hl7.fhir.r5.model.Transport.ParameterComponent; import org.hl7.fhir.r5.model.UriType; import org.hl7.fhir.r5.model.ValueSet; import org.hl7.fhir.r5.model.ValueSet.ConceptReferenceComponent; @@ -65,6 +70,7 @@ import org.hl7.fhir.r5.model.ValueSet.ConceptSetComponent; import org.hl7.fhir.r5.model.ValueSet.ConceptSetFilterComponent; import org.hl7.fhir.r5.model.ValueSet.ValueSetExpansionContainsComponent; import org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.ConceptReferencePair; +import org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.VersionInfo; import org.hl7.fhir.r5.terminologies.ValueSetExpander.TerminologyServiceErrorClass; import org.hl7.fhir.r5.terminologies.ValueSetExpander.ValueSetExpansionOutcome; import org.hl7.fhir.r5.utils.ToolingExtensions; @@ -82,6 +88,68 @@ import com.google.j2objc.annotations.ReflectionSupport.Level; public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChecker { + public class VersionInfo { + private String expansionVersion; + private String composeVersion; + + public String getExpansionVersion() { + return expansionVersion; + } + + public void setExpansionVersion(String expansionVersion) { + this.expansionVersion = expansionVersion; + } + + public String getComposeVersion() { + return composeVersion; + } + + public void setComposeVersion(String composeVersion) { + this.composeVersion = composeVersion; + } + + public String getVersion(String system, String version) { + String fixedVersion = getVersionParameter("force-system-version", system); + if (fixedVersion != null) { + return fixedVersion; + } + String checkVersion = getVersionParameter("check-system-version", system); + if (version != null) { + if (checkVersion != null && !version.equals(checkVersion)) { + throw new FHIRException("Attempt to use version "+version+" of "+system+", when the expansion parameters limit the use to "+checkVersion); + } + return version; + } + if (expansionVersion != null) { + if (checkVersion != null && !expansionVersion.equals(checkVersion)) { + throw new FHIRException("Attempt to use version "+expansionVersion+" of "+system+", when the expansion parameters limit the use to "+checkVersion); + } + return expansionVersion; + } + if (composeVersion != null) { + if (checkVersion != null && !composeVersion.equals(checkVersion)) { + throw new FHIRException("Attempt to use version "+composeVersion+" of "+system+", when the expansion parameters limit the use to "+checkVersion); + } + return composeVersion; + } + return getVersionParameter("system-version", system); + } + + private String getVersionParameter(String name, String system) { + if (expansionProfile != null) { + for (ParametersParameterComponent pc : expansionProfile.getParameter()) { + if (name.equals(pc.getName()) && pc.hasValue()) { + String v = pc.getValue().primitiveValue(); + if (v != null && v.startsWith(system+"|")) { + return v.substring(system.length()+1); + } + } + } + } + return null; + } + + } public static class VSCheckerException extends FHIRException { private List issues; @@ -125,19 +193,25 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe private ValidationOptions options; private ValidationContextCarrier localContext; private List localSystems = new ArrayList<>(); + private Parameters expansionProfile; + private TerminologyCapabilities txCaps; - public ValueSetCheckerSimple(ValidationOptions options, ValueSet source, IWorkerContext context) { + public ValueSetCheckerSimple(ValidationOptions options, ValueSet source, IWorkerContext context, Parameters expansionProfile, TerminologyCapabilities txCaps) { this.valueset = source; this.context = context; this.options = options; + this.expansionProfile = expansionProfile; + this.txCaps = txCaps; } - public ValueSetCheckerSimple(ValidationOptions options, ValueSet source, IWorkerContext context, ValidationContextCarrier ctxt) { + public ValueSetCheckerSimple(ValidationOptions options, ValueSet source, IWorkerContext context, ValidationContextCarrier ctxt, Parameters expansionProfile, TerminologyCapabilities txCaps) { this.valueset = source; this.context = context; this.options = options.copy(); this.options.setEnglishOk(true); this.localContext = ctxt; + this.expansionProfile = expansionProfile; + this.txCaps = txCaps; analyseValueSet(); } @@ -244,11 +318,11 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe 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()); + return new ValidationResult(IssueSeverity.WARNING, info.summary(), foundCoding.getSystem(), foundCoding.getVersion(), cd, disp, info.getIssues()); } else { ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode()); cd.setDisplay(lookupDisplay(foundCoding)); - return new ValidationResult(foundCoding.getSystem(), cd, getPreferredDisplay(cd, null)); + return new ValidationResult(foundCoding.getSystem(), foundCoding.getVersion(), cd, getPreferredDisplay(cd, null)); } } @@ -326,6 +400,8 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe ValidationResult res = null; boolean inExpansion = false; boolean inInclude = false; + VersionInfo vi = new VersionInfo(); + String system = code.hasSystem() ? code.getSystem() : getValueSetSystemOrNull(); if (options.getValueSetMode() != ValueSetMode.CHECK_MEMERSHIP_ONLY) { if (system == null && !code.hasDisplay()) { // dealing with just a plain code (enum) @@ -351,14 +427,15 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe } code.setSystem(system); } - inExpansion = checkExpansion(code); - inInclude = checkInclude(code); - CodeSystem cs = resolveCodeSystem(system, code.getVersion()); + inExpansion = checkExpansion(code, vi); + inInclude = checkInclude(code, vi); + String wv = vi.getVersion(system, code.getVersion()); + CodeSystem cs = resolveCodeSystem(system, wv); if (cs == null) { - if (code.getVersion() == null) { + if (wv == null) { warningMessage = context.formatMessage(I18nConstants.UNKNOWN_CODESYSTEM, system); } else { - warningMessage = context.formatMessage(I18nConstants.UNKNOWN_CODESYSTEM_VERSION, system, code.getVersion(), resolveCodeSystemVersions(system).toString()); + warningMessage = context.formatMessage(I18nConstants.UNKNOWN_CODESYSTEM_VERSION, system, wv, resolveCodeSystemVersions(system).toString()); } if (!inExpansion) { if (valueset != null && valueset.hasExpansion()) { @@ -400,7 +477,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe if (cc != null) { // we'll take it on faith String disp = getPreferredDisplay(cc); - res = new ValidationResult(system, new ConceptDefinitionComponent().setCode(cc.getCode()).setDisplay(disp), disp); + res = new ValidationResult(system, cs.getVersion(), new ConceptDefinitionComponent().setCode(cc.getCode()).setDisplay(disp), disp); res.setMessage("Resolved system "+system+", but the definition is not complete, so assuming value set include is correct"); return res; } @@ -411,23 +488,27 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe res = validateCode(path, code, cs); } else if (cs == null && valueset.hasExpansion() && inExpansion) { // 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, wv, new ConceptDefinitionComponent().setCode(code.getCode()).setDisplay(code.getDisplay()), code.getDisplay()); + if (!preferServerSide(system)) { + res.setMessage("Code System unknown, so assuming value set expansion is correct ("+warningMessage+")"); + } } else { // well, we didn't find a code system - try the expansion? // disabled waiting for discussion throw new FHIRException("No try the server"); } } else { - inExpansion = checkExpansion(code); - inInclude = checkInclude(code); + inExpansion = checkExpansion(code, vi); + inInclude = checkInclude(code, vi); } + String wv = vi.getVersion(system, code.getVersion()); ValidationProcessInfo info = new ValidationProcessInfo(); // then, if we have a value set, we check it's in the value set if (valueset != null && options.getValueSetMode() != ValueSetMode.NO_MEMBERSHIP_CHECK) { if ((res==null || res.isOk())) { - Boolean ok = codeInValueSet(system, code.getVersion(), code.getCode(), info); + Boolean ok = codeInValueSet(system, wv, code.getCode(), info); if (ok == null || !ok) { if (res == null) { res = new ValidationResult((IssueSeverity) null, null, info.getIssues()); @@ -470,7 +551,24 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe return res; } - private boolean checkInclude(Coding code) { + private boolean preferServerSide(String system) { + if (Utilities.existsInList(system, "http://fdasis.nlm.nih.gov", "http://hl7.org/fhir/sid/ndc", "http://loinc.org", "http://snomed.info/sct", "http://unitsofmeasure.org", + "http://unstats.un.org/unsd/methods/m49/m49.htm", "http://varnomen.hgvs.org", "http://www.nlm.nih.gov/research/umls/rxnorm", "https://www.usps.com/", + "urn:ietf:bcp:13","urn:ietf:bcp:47","urn:ietf:rfc:3986", "urn:iso:std:iso:3166","urn:iso:std:iso:4217", "urn:oid:1.2.36.1.2001.1005.17")) { + return true; + } + + if (txCaps != null) { + for (TerminologyCapabilitiesCodeSystemComponent tccs : txCaps.getCodeSystem()) { + if (system.equals(tccs.getUri())) { + return true; + } + } + } + return false; + } + + private boolean checkInclude(Coding code, VersionInfo vi) { if (valueset == null || code.getSystem() == null || code.getCode() == null) { return false; } @@ -487,6 +585,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe if (inc.hasSystem() && inc.getSystem().equals(code.getSystem())) { for (ConceptReferenceComponent cc : inc.getConcept()) { if (cc.hasCode() && cc.getCode().equals(code.getCode())) { + vi.setComposeVersion(inc.getVersion()); return true; } } @@ -534,7 +633,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe ConceptDefinitionComponent ccd = new ConceptDefinitionComponent(); ccd.setCode(containsComponent.getCode()); ccd.setDisplay(containsComponent.getDisplay()); - ValidationResult res = new ValidationResult(code.getSystem(), ccd, getPreferredDisplay(ccd, null)); + ValidationResult res = new ValidationResult(code.getSystem(), code.hasVersion() ? code.getVersion() : containsComponent.getVersion(), ccd, getPreferredDisplay(ccd, null)); return res; } if (containsComponent.hasContains()) { @@ -547,19 +646,20 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe return null; } - private boolean checkExpansion(Coding code) { + private boolean checkExpansion(Coding code, VersionInfo vi) { if (valueset==null || !valueset.hasExpansion()) { return false; } - return checkExpansion(code, valueset.getExpansion().getContains()); + return checkExpansion(code, valueset.getExpansion().getContains(), vi); } - private boolean checkExpansion(Coding code, List contains) { + private boolean checkExpansion(Coding code, List contains, VersionInfo vi) { for (ValueSetExpansionContainsComponent containsComponent: contains) { if (containsComponent.getSystem().equals(code.getSystem()) && containsComponent.getCode().equals(code.getCode())) { + vi.setExpansionVersion(containsComponent.getVersion()); return true; } - if (containsComponent.hasContains() && checkExpansion(code, containsComponent.getContains())) { + if (containsComponent.hasContains() && checkExpansion(code, containsComponent.getContains(), vi)) { return true; } } @@ -578,20 +678,20 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe } } if (code.getDisplay() == null) { - return new ValidationResult(code.getSystem(), cc, getPreferredDisplay(cc, cs)); + return new ValidationResult(code.getSystem(), cs.getVersion(), cc, getPreferredDisplay(cc, cs)); } CommaSeparatedStringBuilder b = new CommaSeparatedStringBuilder(); if (cc.hasDisplay() && isOkLanguage(cs.getLanguage())) { b.append(cc.getDisplay()); if (code.getDisplay().equalsIgnoreCase(cc.getDisplay())) { - return new ValidationResult(code.getSystem(), cc, getPreferredDisplay(cc, cs)); + return new ValidationResult(code.getSystem(), cs.getVersion(), cc, getPreferredDisplay(cc, cs)); } } for (ConceptDefinitionDesignationComponent ds : cc.getDesignation()) { if (isOkLanguage(ds.getLanguage())) { b.append(ds.getValue()); if (code.getDisplay().equalsIgnoreCase(ds.getValue())) { - return new ValidationResult(code.getSystem(), cc, getPreferredDisplay(cc, cs)); + return new ValidationResult(code.getSystem(),cs.getVersion(), cc, getPreferredDisplay(cc, cs)); } } } @@ -602,14 +702,14 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe if (vs.getCc().hasDisplay() && isOkLanguage(vs.getValueset().getLanguage())) { b.append(vs.getCc().getDisplay()); if (code.getDisplay().equalsIgnoreCase(vs.getCc().getDisplay())) { - return new ValidationResult(code.getSystem(), cc, getPreferredDisplay(cc, cs)); + return new ValidationResult(code.getSystem(), cs.getVersion(), cc, getPreferredDisplay(cc, cs)); } } for (ConceptReferenceDesignationComponent ds : vs.getCc().getDesignation()) { if (isOkLanguage(ds.getLanguage())) { b.append(ds.getValue()); if (code.getDisplay().equalsIgnoreCase(ds.getValue())) { - return new ValidationResult(code.getSystem(), cc, getPreferredDisplay(cc, cs)); + return new ValidationResult(code.getSystem(), cs.getVersion(), cc, getPreferredDisplay(cc, cs)); } } } @@ -617,10 +717,10 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe } if (b.count() == 0) { String msg = context.formatMessagePlural(options.getLanguages().size(), I18nConstants.NO_VALID_DISPLAY_FOUND, code.getSystem(), code.getCode(), code.getDisplay(), options.langSummary()); - return new ValidationResult(IssueSeverity.WARNING, msg, code.getSystem(), cc, getPreferredDisplay(cc, cs), makeIssue(IssueSeverity.WARNING, IssueType.INVALID, path+".display", msg)); + return new ValidationResult(IssueSeverity.WARNING, msg, code.getSystem(), cs.getVersion(), cc, getPreferredDisplay(cc, cs), makeIssue(IssueSeverity.WARNING, IssueType.INVALID, path+".display", msg)); } else { String msg = context.formatMessagePlural(b.count(), I18nConstants.DISPLAY_NAME_FOR__SHOULD_BE_ONE_OF__INSTEAD_OF, code.getSystem(), code.getCode(), b.toString(), code.getDisplay(), options.langSummary()); - return new ValidationResult(IssueSeverity.WARNING, msg, code.getSystem(), cc, getPreferredDisplay(cc, cs), makeIssue(IssueSeverity.WARNING, IssueType.INVALID, path+".display", msg)); + return new ValidationResult(IssueSeverity.WARNING, msg, code.getSystem(), cs.getVersion(), cc, getPreferredDisplay(cc, cs), makeIssue(IssueSeverity.WARNING, IssueType.INVALID, path+".display", msg)); } } @@ -877,9 +977,10 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe return false; } Boolean result = false; + VersionInfo vi = new VersionInfo(); if (valueset.hasExpansion()) { - return checkExpansion(new Coding(system, code, null)); + return checkExpansion(new Coding(system, code, null), vi); } else if (valueset.hasCompose()) { int i = 0; for (ConceptSetComponent vsi : valueset.getCompose().getInclude()) { @@ -1069,7 +1170,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe return inner.get(url); } ValueSet vs = context.fetchResource(ValueSet.class, url, valueset); - ValueSetCheckerSimple vsc = new ValueSetCheckerSimple(options, vs, context, localContext); + ValueSetCheckerSimple vsc = new ValueSetCheckerSimple(options, vs, context, localContext, expansionProfile, txCaps); inner.put(url, vsc); return vsc; } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java index a3c0a7e60..6616b4c27 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java @@ -103,7 +103,7 @@ import org.hl7.fhir.r5.model.Parameters; import org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent; import org.hl7.fhir.r5.model.PrimitiveType; import org.hl7.fhir.r5.model.Resource; -import org.hl7.fhir.r5.model.UriType; +import org.hl7.fhir.r5.model.CanonicalType; import org.hl7.fhir.r5.model.ValueSet; import org.hl7.fhir.r5.model.ValueSet.ConceptReferenceComponent; import org.hl7.fhir.r5.model.ValueSet.ConceptReferenceDesignationComponent; @@ -203,6 +203,8 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx return def.getCode().matches(regex); } } + private static final boolean REPORT_VERSION_ANYWAY = false; + private List codes = new ArrayList(); private List roots = new ArrayList(); private Map map = new HashMap(); @@ -685,13 +687,15 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx addErrors(vso.getAllErrors()); throw fail("Unable to expand imported value set "+vs.getUrl()+": " + vso.getError()); } - if (vs.hasVersion()) - if (!existsInParams(exp.getParameter(), "version", new UriType(vs.getUrl() + "|" + vs.getVersion()))) - exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(new UriType(vs.getUrl() + "|" + vs.getVersion()))); + if (vs.hasVersion() || REPORT_VERSION_ANYWAY) { + CanonicalType u = new CanonicalType(vs.getUrl() + (vs.hasVersion() ? "|"+vs.getVersion() : "")); + if (!existsInParams(exp.getParameter(), "version", u)) + exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(u)); + } for (Extension ex : vso.getValueset().getExpansion().getExtension()) { if (ex.getUrl().equals(ToolingExtensions.EXT_EXP_TOOCOSTLY)) { if (ex.getValue() instanceof BooleanType) { - exp.getExtension().add(new Extension(ToolingExtensions.EXT_EXP_TOOCOSTLY).setValue(new UriType(value))); + exp.getExtension().add(new Extension(ToolingExtensions.EXT_EXP_TOOCOSTLY).setValue(new CanonicalType(value))); } else { exp.getExtension().add(ex); } @@ -758,7 +762,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx private void includeCodes(ConceptSetComponent inc, ValueSetExpansionComponent exp, Parameters expParams, boolean heirarchical, boolean noInactive, List extensions, ValueSet valueSet) throws ETooCostly, FileNotFoundException, IOException, FHIRException, CodeSystemProviderExtension { inc.checkNoModifiers("Compose.include", "expanding"); List imports = new ArrayList(); - for (UriType imp : inc.getValueSet()) { + for (CanonicalType imp : inc.getValueSet()) { imports.add(importValueSet(imp.getValue(), exp, expParams, noInactive, valueSet)); } @@ -796,9 +800,10 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx throw failTSE("Unable to expand imported value set: " + vso.getError()); } ValueSet vs = vso.getValueset(); - if (vs.hasVersion()) { - if (!existsInParams(exp.getParameter(), "version", new UriType(vs.getUrl() + "|" + vs.getVersion()))) { - exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(new UriType(vs.getUrl() + "|" + vs.getVersion()))); + if (vs.hasVersion() || REPORT_VERSION_ANYWAY) { + CanonicalType u = new CanonicalType(vs.getUrl() + (vs.hasVersion() ? "|"+vs.getVersion() : "")); + if (!existsInParams(exp.getParameter(), "version", u)) { + exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(u)); } } for (ValueSetExpansionParameterComponent p : vso.getValueset().getExpansion().getParameter()) { @@ -829,10 +834,11 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx cs.checkNoModifiers("Code System", "expanding"); if (cs.getContent() != CodeSystemContentMode.COMPLETE && cs.getContent() != CodeSystemContentMode.FRAGMENT) throw failTSE("Code system " + inc.getSystem().toString() + " is incomplete"); - if (cs.hasVersion()) - if (!existsInParams(exp.getParameter(), "version", new UriType(cs.getUrl() + "|" + cs.getVersion()))) - exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(new UriType(cs.getUrl() + "|" + cs.getVersion()))); - + if (cs.hasVersion() || REPORT_VERSION_ANYWAY) { + CanonicalType u = new CanonicalType(cs.getUrl() + (cs.hasVersion() ? "|"+cs.getVersion() : "")); + if (!existsInParams(exp.getParameter(), "version", u)) + exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(u)); + } if (inc.getConcept().size() == 0 && inc.getFilter().size() == 0) { // special case - add all the code system for (ConceptDefinitionComponent def : cs.getConcept()) { @@ -967,7 +973,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx return; } } - exp.addParameter().setName("fragment").setValue(new UriType(url)); + exp.addParameter().setName("fragment").setValue(new CanonicalType(url)); } private void addExampleWarning(ValueSetExpansionComponent exp, CodeSystem cs) { @@ -977,7 +983,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx return; } } - exp.addParameter().setName("example").setValue(new UriType(url)); + exp.addParameter().setName("example").setValue(new CanonicalType(url)); } private List convertDesignations(List list) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetWorker.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetWorker.java index b0a71987d..1b5ed5cde 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetWorker.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetWorker.java @@ -7,4 +7,6 @@ public class ValueSetWorker { public boolean isServerSide(String url) { return Utilities.existsInList(url, "http://hl7.org/fhir/sid/cvx"); } + + } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java index f991047f6..236b113d4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java @@ -247,7 +247,7 @@ public class CompareUtilities extends BaseTestingUtilities { private static String compareObjects(String path, JsonObject expectedJsonObject, JsonObject actualJsonObject) { for (Map.Entry en : actualJsonObject.entrySet()) { String n = en.getKey(); - if (!n.equals("fhir_comments")) { + if (!n.equals("fhir_comments") && !n.equals("$optional$")) { if (expectedJsonObject.has(n)) { String s = compareNodes(path + '.' + n, expectedJsonObject.get(n), en.getValue()); if (!Utilities.noString(s)) @@ -258,7 +258,7 @@ public class CompareUtilities extends BaseTestingUtilities { } for (Map.Entry en : expectedJsonObject.entrySet()) { String n = en.getKey(); - if (!n.equals("fhir_comments")) { + if (!n.equals("fhir_comments") && !n.equals("$optional$")) { if (!actualJsonObject.has(n)) return "properties differ at " + path + ": missing property " + n; } @@ -294,13 +294,26 @@ public class CompareUtilities extends BaseTestingUtilities { } else if (actualJsonElement instanceof JsonArray) { JsonArray actualArray = (JsonArray) actualJsonElement; JsonArray expectedArray = (JsonArray) expectedJsonElement; + int expectedMin = countExpectedMin(expectedArray); - if (actualArray.size() != expectedArray.size()) + if (actualArray.size() > expectedArray.size() || actualArray.size() < expectedMin) return createNotEqualMessage("array properties count differs at " + path, Integer.toString(expectedArray.size()), Integer.toString(actualArray.size())); - for (int i = 0; i < actualArray.size(); i++) { - String s = compareNodes(path + "[" + Integer.toString(i) + "]", expectedArray.get(i), actualArray.get(i)); - if (!Utilities.noString(s)) + int c = 0; + for (int i = 0; i < expectedArray.size(); i++) { + if (c >= actualArray.size()) { + if (i == expectedArray.size() - 1 && isOptional(expectedArray.get(i))) { + return null; // this is OK + } else { + return "One or more array items did not match at "+path; + } + } + String s = compareNodes(path + "[" + Integer.toString(i) + "]", expectedArray.get(i), actualArray.get(c)); + if (!Utilities.noString(s) && !isOptional(expectedArray.get(i))) { return s; + } + if (Utilities.noString(s)) { + c++; + } } } else if (actualJsonElement instanceof JsonNull) { @@ -309,20 +322,48 @@ public class CompareUtilities extends BaseTestingUtilities { return null; } + private static boolean isOptional(JsonElement e) { + return e.isJsonObject() && e.getAsJsonObject().has("$optional$"); + } + + private static int countExpectedMin(JsonArray array) { + int count = array.size(); + for (JsonElement e : array) { + if (isOptional(e)) { + count--; + } + } + return count; + } + private static boolean matches(String actualJsonString, String expectedJsonString) { if (expectedJsonString.startsWith("$") && expectedJsonString.endsWith("$")) { - switch (expectedJsonString) { - case "$$" : return true; - case "$instant$": return actualJsonString.matches("([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))"); - case "$uuid$": return actualJsonString.matches("urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"); - default: - throw new Error("Unhandled template: "+expectedJsonString); + if (expectedJsonString.startsWith("$choice:")) { + return Utilities.existsInList(actualJsonString, readChoices(expectedJsonString)); + + } else { + switch (expectedJsonString) { + case "$$" : return true; + case "$instant$": return actualJsonString.matches("([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))"); + case "$uuid$": return actualJsonString.matches("urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"); + default: + throw new Error("Unhandled template: "+expectedJsonString); + } } } else { return actualJsonString.equals(expectedJsonString); } } + private static List readChoices(String s) { + List list = new ArrayList<>(); + s = s.substring(8, s.length()-1); + for (String p : s.split("\\|")) { + list.add(p); + } + return list; + } + public static String checkTextIsSame(String expected, String actual) throws JsonSyntaxException, FileNotFoundException, IOException { return checkTextIsSame(expected, actual, true); } diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java index 08e1329db..34f27fa34 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java @@ -141,7 +141,7 @@ public class SimpleWorkerContextTests { ValueSet valueSet = new ValueSet(); Coding coding = new Coding(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, new Parameters()); Mockito.doReturn(expectedValidationResult).when(terminologyCache).getValidation(cacheToken); ValidationContextCarrier ctxt = mock(ValidationContextCarrier.class); @@ -161,7 +161,7 @@ public class SimpleWorkerContextTests { ValueSet valueSet = new ValueSet(); Coding coding = new Coding(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, new Parameters()); Mockito.doReturn(valueSetCheckerSimple).when(context).constructValueSetCheckerSimple(any(), any(), any()); Mockito.doReturn(expectedValidationResult).when(valueSetCheckerSimple).validateCode(eq("Coding"), any(Coding.class)); @@ -184,7 +184,7 @@ public class SimpleWorkerContextTests { ValueSet valueSet = new ValueSet(); Coding coding = new Coding(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, new Parameters()); Mockito.doReturn(pIn).when(context).constructParameters(validationOptions, coding); Mockito.doReturn(expectedValidationResult).when(context).validateOnServer(valueSet, pIn, validationOptions); @@ -204,7 +204,7 @@ public class SimpleWorkerContextTests { CodeableConcept codeableConcept = new CodeableConcept(); ValueSet valueSet = new ValueSet(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet, new Parameters()); Mockito.doReturn(expectedValidationResult).when(terminologyCache).getValidation(cacheToken); IWorkerContext.ValidationResult actualValidationResult = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet); @@ -223,7 +223,7 @@ public class SimpleWorkerContextTests { CodeableConcept codeableConcept = new CodeableConcept(); ValueSet valueSet = new ValueSet(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet, new Parameters()); IWorkerContext.ValidationResult validationResultB = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet); assertEquals(expectedValidationResult, validationResultB); @@ -245,7 +245,7 @@ public class SimpleWorkerContextTests { Mockito.doReturn(expectedValidationResult).when(context).validateOnServer(valueSet, pIn, validationOptions); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, codeableConcept, valueSet); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, codeableConcept, valueSet, new Parameters()); IWorkerContext.ValidationResult validationResultB = context.validateCode(validationOptions, codeableConcept, valueSet); diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/TerminologyCacheTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/TerminologyCacheTests.java index 36724a57e..329d7fd8f 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/TerminologyCacheTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/TerminologyCacheTests.java @@ -25,6 +25,7 @@ import org.hl7.fhir.r5.model.CanonicalResource; import org.hl7.fhir.r5.model.CapabilityStatement; import org.hl7.fhir.r5.model.CodeableConcept; import org.hl7.fhir.r5.model.Coding; +import org.hl7.fhir.r5.model.Parameters; import org.hl7.fhir.r5.model.TerminologyCapabilities; import org.hl7.fhir.r5.model.ValueSet; import org.hl7.fhir.r5.terminologies.ValueSetExpander; @@ -119,12 +120,12 @@ public class TerminologyCacheTests implements ResourceLoaderTests { IWorkerContext.ValidationResult codingResultA = new IWorkerContext.ValidationResult(ValidationMessage.IssueSeverity.INFORMATION, "dummyInfo", null); TerminologyCache.CacheToken codingTokenA = terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet); + coding, valueSet, new Parameters()); terminologyCacheA.cacheValidation(codingTokenA, codingResultA, true); IWorkerContext.ValidationResult codeableConceptResultA = new IWorkerContext.ValidationResult(ValidationMessage.IssueSeverity.INFORMATION, "dummyInfo", null); TerminologyCache.CacheToken codeableConceptTokenA = terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, - concept, valueSet); + concept, valueSet, new Parameters()); terminologyCacheA.cacheValidation(codeableConceptTokenA, codeableConceptResultA, true); TerminologyCache.CacheToken expansionTokenA = terminologyCacheA.generateExpandToken(valueSet, true); @@ -148,10 +149,8 @@ public class TerminologyCacheTests implements ResourceLoaderTests { assertCanonicalResourceEquals(terminologyCapabilities, terminologyCacheB.getTerminologyCapabilities()); assertCanonicalResourceEquals(capabilityStatement, terminologyCacheB.getCapabilityStatement()); - assertValidationResultEquals(codingResultA, terminologyCacheB.getValidation(terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet))); - assertValidationResultEquals(codeableConceptResultA, terminologyCacheB.getValidation(terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, - concept, valueSet))); + assertValidationResultEquals(codingResultA, terminologyCacheB.getValidation( terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, coding, valueSet, new Parameters()))); + assertValidationResultEquals(codeableConceptResultA, terminologyCacheB.getValidation(terminologyCacheA.generateValidationToken(CacheTestUtils.validationOptions, concept, valueSet, new Parameters()))); assertExpansionOutcomeEquals(expansionOutcomeA,terminologyCacheB.getExpansion(terminologyCacheA.generateExpandToken(valueSet, true))); } deleteTempCacheDirectory(tempCacheDirectory); @@ -179,7 +178,7 @@ public class TerminologyCacheTests implements ResourceLoaderTests { Coding coding = new Coding(); coding.setCode("dummyCode"); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet ); + coding, valueSet, new Parameters()); JsonElement actual = jsonParser.parse(cacheToken.getRequest()); JsonElement expected = getJsonFromFile("codingEmptyValueSet.json"); @@ -199,7 +198,7 @@ public class TerminologyCacheTests implements ResourceLoaderTests { coding.setSystem("dummySystem"); coding.setVersion("dummyVersion"); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet ); + coding, valueSet, new Parameters()); JsonElement actual = jsonParser.parse(cacheToken.getRequest()); JsonElement expected = getJsonFromFile("codingEmptyValueSetSystem.json"); @@ -218,7 +217,7 @@ public class TerminologyCacheTests implements ResourceLoaderTests { coding.setCode("dummyCode"); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet); + coding, valueSet, new Parameters()); assertEquals("all-systems", cacheToken.getName()); assertFalse(cacheToken.hasVersion()); } @@ -234,7 +233,7 @@ public class TerminologyCacheTests implements ResourceLoaderTests { coding.setSystem("dummySystem"); coding.setVersion("dummyVersion"); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet); + coding, valueSet, new Parameters()); assertEquals("dummySystem", cacheToken.getName()); assertTrue(cacheToken.hasVersion()); } @@ -249,7 +248,7 @@ public class TerminologyCacheTests implements ResourceLoaderTests { concept.addCoding(new Coding().setCode("dummyCode")); ValueSet valueSet = new ValueSet(); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - concept, valueSet ); + concept, valueSet, new Parameters()); assertNull(cacheToken.getName()); assertEquals(false, cacheToken.hasVersion()); @@ -273,7 +272,7 @@ public class TerminologyCacheTests implements ResourceLoaderTests { ValueSet valueSet = new ValueSet(); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - concept, valueSet); + concept, valueSet, new Parameters()); assertEquals("dummySystem", cacheToken.getName()); assertEquals(true, cacheToken.hasVersion()); @@ -297,7 +296,7 @@ public class TerminologyCacheTests implements ResourceLoaderTests { ValueSet valueSet = new ValueSet(); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - concept, valueSet); + concept, valueSet, new Parameters()); assertNull(cacheToken.getName()); assertFalse(cacheToken.hasVersion()); @@ -482,14 +481,14 @@ public class TerminologyCacheTests implements ResourceLoaderTests { Coding coding = new Coding(); coding.setSystem(system); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet); + coding, valueSet, new Parameters()); assertEquals(expectedName, cacheToken.getName()); } { Coding coding = new Coding(); coding.setSystem(system + "|dummyVersion"); TerminologyCache.CacheToken cacheToken = terminologyCache.generateValidationToken(CacheTestUtils.validationOptions, - coding, valueSet); + coding, valueSet, new Parameters()); assertEquals(expectedName + "_dummyVersion", cacheToken.getName()); } } diff --git a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java index 5e027aaa5..23da0807b 100644 --- a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java +++ b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java @@ -134,6 +134,11 @@ public class TerminologyServiceTests { if (fo.exists()) { fo.delete(); } + if (setup.test.has("profile")) { + engine.getContext().setExpansionProfile((org.hl7.fhir.r5.model.Parameters) loadResource(setup.test.asString("profile"))); + } else { + engine.getContext().setExpansionProfile((org.hl7.fhir.r5.model.Parameters) loadResource("parameters-default.json")); + } if (setup.test.asString("operation").equals("expand")) { expand(engine, req, resp, fp); } else if (setup.test.asString("operation").equals("validate-code")) { @@ -259,6 +264,9 @@ public class TerminologyServiceTests { if (vm.getMessage() != null) { res.addParameter("message", vm.getMessage()); } + if (vm.getVersion() != null) { + res.addParameter("version", vm.getVersion()); + } if (vm.getDisplay() != null) { res.addParameter("display", vm.getDisplay()); } diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache deleted file mode 100644 index 6b251f61b..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache +++ /dev/null @@ -1,14 +0,0 @@ -------------------------------------------------------------------------------------- -{"hierarchical" : false, "valueSet" :{ - "resourceType" : "ValueSet", - "compose" : { - "inactive" : true, - "include" : [{ - "system" : "urn:ietf:bcp:47" - }] - } -}}#### -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" -} -------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache deleted file mode 100644 index 91823f22f..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache +++ /dev/null @@ -1,46 +0,0 @@ -------------------------------------------------------------------------------------- -{"hierarchical" : false, "valueSet" :{ - "resourceType" : "ValueSet", - "compose" : { - "inactive" : true, - "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" -} -------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache deleted file mode 100644 index c8e1d4ded..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache +++ /dev/null @@ -1,14 +0,0 @@ -------------------------------------------------------------------------------------- -{"hierarchical" : false, "valueSet" :{ - "resourceType" : "ValueSet", - "compose" : { - "inactive" : true, - "include" : [{ - "system" : "urn:ietf:bcp:13" - }] - } -}}#### -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" -} -------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache deleted file mode 100644 index 1380054c6..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache +++ /dev/null @@ -1,98 +0,0 @@ -------------------------------------------------------------------------------------- -{"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" -} -------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/.capabilityStatement.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/.capabilityStatement.cache index 5a47be239..73b076bb6 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/.capabilityStatement.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/.capabilityStatement.cache @@ -13,10 +13,10 @@ "valueCode" : "both" }], "url" : "http://localhost/r2/metadata", - "version" : "1.0.2-2.0.14", + "version" : "1.0.2-2.1.0", "name" : "FHIR Reference Server Conformance Statement", "status" : "active", - "date" : "2023-04-24T12:40:21.199Z", + "date" : "2023-05-02T06:09:01.119Z", "contact" : [{ "telecom" : [{ "system" : "other", @@ -27,7 +27,7 @@ "kind" : "instance", "software" : { "name" : "Reference Server", - "version" : "2.0.14", + "version" : "2.1.0", "releaseDate" : "2022-05-13T19:50:55.040Z" }, "implementation" : { diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache index 638a95b1e..91f32bf98 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache @@ -3,21 +3,17 @@ "system" : "http://loinc.org", "code" : "3141-9", "display" : "Weight Measured" -}, "valueSet" :null, "langs":"[en]", "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":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight Measured", "code" : "3141-9", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { "system" : "http://loinc.org", - "code" : "3141-9", - "display" : "Weight Measured" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Body weight Measured", - "code" : "3141-9", - "system" : "http://loinc.org" + "version" : "2.74" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache index b32dead31..f3c53193d 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache @@ -3,21 +3,17 @@ "system" : "http://snomed.info/sct", "code" : "27113001", "display" : "Body weight" -}, "valueSet" :null, "langs":"[en]", "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":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight", "code" : "27113001", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- -{"code" : { "system" : "http://snomed.info/sct", - "code" : "27113001", - "display" : "Body weight" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Body weight", - "code" : "27113001", - "system" : "http://snomed.info/sct" + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache index 2864a6031..393b4aae8 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache @@ -2,20 +2,17 @@ {"code" : { "system" : "http://unitsofmeasure.org", "code" : "[lb_av]" -}, "valueSet" :null, "langs":"[en]", "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":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "[lb_av]", "code" : "[lb_av]", - "system" : "http://unitsofmeasure.org" -} -------------------------------------------------------------------------------------- -{"code" : { "system" : "http://unitsofmeasure.org", - "code" : "[lb_av]" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "[lb_av]", - "code" : "[lb_av]", - "system" : "http://unitsofmeasure.org" + "version" : "2.0.1" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/.capabilityStatement.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/.capabilityStatement.cache index 33fe291a2..11b756931 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/.capabilityStatement.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/.capabilityStatement.cache @@ -13,10 +13,10 @@ "valueCode" : "both" }], "url" : "http://localhost/r3/metadata", - "version" : "3.0.2-2.0.14", + "version" : "3.0.2-2.1.0", "name" : "FHIR Reference Server Conformance Statement", "status" : "active", - "date" : "2023-04-24T12:40:23.206Z", + "date" : "2023-05-02T06:09:03.886Z", "contact" : [{ "telecom" : [{ "system" : "other", @@ -27,7 +27,7 @@ "instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"], "software" : { "name" : "Reference Server", - "version" : "2.0.14", + "version" : "2.1.0", "releaseDate" : "2022-05-13T19:50:55.040Z" }, "implementation" : { diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/all-systems.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/all-systems.cache index 8eec66395..b532ac6a5 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/all-systems.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.4.0/all-systems.cache @@ -1,10 +1,16 @@ ------------------------------------------------------------------------------------- {"code" : { "code" : "Foo" -}, "url": "https://fhir.infoway-inforoute.ca/ValueSet/canadianjurisdiction", "version": "20170626", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "https://fhir.infoway-inforoute.ca/ValueSet/canadianjurisdiction", "version": "20170626", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://canadapost.ca/CodeSystem/ProvinceCodes is unknown; The provided code is not in the value set 'https://fhir.infoway-inforoute.ca/ValueSet/canadianjurisdiction' (from Tx-Server)", + "error" : "The CodeSystem http://canadapost.ca/CodeSystem/ProvinceCodes is unknown; The provided code http://canadapost.ca/CodeSystem/ProvinceCodes#Foo is not in the value set 'https://fhir.infoway-inforoute.ca/ValueSet/canadianjurisdiction' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/.capabilityStatement.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/.capabilityStatement.cache index e94936f11..b1137cedc 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/.capabilityStatement.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/.capabilityStatement.cache @@ -13,10 +13,10 @@ "valueCode" : "both" }], "url" : "http://localhost/r3/metadata", - "version" : "3.0.2-2.0.14", + "version" : "3.0.2-2.1.0", "name" : "FHIR Reference Server Conformance Statement", "status" : "active", - "date" : "2023-04-24T12:40:25.073Z", + "date" : "2023-05-02T06:09:06.190Z", "contact" : [{ "telecom" : [{ "system" : "other", @@ -27,7 +27,7 @@ "instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"], "software" : { "name" : "Reference Server", - "version" : "2.0.14", + "version" : "2.1.0", "releaseDate" : "2022-05-13T19:50:55.040Z" }, "implementation" : { diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/all-systems.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/all-systems.cache index 0ba0f4853..7f601ec5e 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/all-systems.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/all-systems.cache @@ -1,7 +1,13 @@ ------------------------------------------------------------------------------------- {"code" : { "code" : "fi" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "3.0.2", "langs":"[fi]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "3.0.2", "langs":"[fi]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Finnish", "code" : "fi", @@ -10,7 +16,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "d" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "day", "code" : "d", @@ -26,7 +38,13 @@ v: { "system" : "urn:ietf:bcp:13" }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "image/jpg", "code" : "image/jpg", @@ -42,7 +60,13 @@ v: { "system" : "urn:ietf:bcp:13" }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "application/pdf", "code" : "application/pdf", @@ -51,7 +75,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "de-CH" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "3.0.2", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "German (Switzerland)", "code" : "de-CH", @@ -62,16 +92,29 @@ v: { "system" : "urn:iso:std:iso:3166", "code" : "US", "display" : "United States of America" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "United States of America", "code" : "US", - "system" : "urn:iso:std:iso:3166" + "system" : "urn:iso:std:iso:3166", + "version" : "2018" } ------------------------------------------------------------------------------------- {"code" : { "code" : "en" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "3.0.2", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English", "code" : "en", diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/iso3166.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/iso3166.cache index 508fa6877..7bbdeec9c 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/iso3166.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/iso3166.cache @@ -2,7 +2,82 @@ {"code" : { "system" : "urn:iso:std:iso:3166", "code" : "NL" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Netherlands", + "code" : "NL", + "system" : "urn:iso:std:iso:3166", + "version" : "2018" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:iso:std:iso:3166", + "code" : "NL", + "display" : "Netherlands" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Netherlands", + "code" : "NL", + "system" : "urn:iso:std:iso:3166", + "version" : "2018" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:iso:std:iso:3166", + "code" : "NL", + "display" : "Netherlands" +}, "valueSet" :null, "langs":"[]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Netherlands", + "code" : "NL", + "system" : "urn:iso:std:iso:3166", + "version" : "2018" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:iso:std:iso:3166", + "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":"[]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Netherlands", + "code" : "NL", + "system" : "urn:iso:std:iso:3166" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:iso:std:iso:3166", + "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":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Netherlands", "code" : "NL", @@ -13,59 +88,30 @@ v: { "system" : "urn:iso:std:iso:3166", "code" : "NL", "display" : "Netherlands" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Netherlands", "code" : "NL", - "system" : "urn:iso:std:iso:3166" -} -------------------------------------------------------------------------------------- -{"code" : { "system" : "urn:iso:std:iso:3166", - "code" : "NL", - "display" : "Netherlands" -}, "valueSet" :null, "langs":"[]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Netherlands", - "code" : "NL", - "system" : "urn:iso:std:iso:3166" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "urn:iso:std:iso:3166", - "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":"[]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Netherlands", - "code" : "NL", - "system" : "urn:iso:std:iso:3166" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "urn:iso:std:iso:3166", - "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":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### -v: { - "display" : "Netherlands", - "code" : "NL", - "system" : "urn:iso:std:iso:3166" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "urn:iso:std:iso:3166", - "code" : "NL", - "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":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### -v: { - "display" : "Netherlands", - "code" : "NL", - "system" : "urn:iso:std:iso:3166" + "version" : "2018" } ------------------------------------------------------------------------------------- {"code" : { "system" : "urn:iso:std:iso:3166", "code" : "US" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "United States of America", "code" : "US", @@ -75,10 +121,17 @@ v: { {"code" : { "system" : "urn:iso:std:iso:3166", "code" : "US" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "United States of America", "code" : "US", - "system" : "urn:iso:std:iso:3166" + "system" : "urn:iso:std:iso:3166", + "version" : "2018" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache index 4e13a358d..d8e3a5d69 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache @@ -1,72 +1,32 @@ ------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "29463-7", - "display" : "Body Weight" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Body weight", - "code" : "29463-7", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3141-9", - "display" : "Body weight Measured" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Body weight Measured", - "code" : "3141-9", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "19935-6", "display" : "Maximum expiratory gas flow Respiratory system airway by Peak flow meter" -}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### 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" -}, "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" + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "28655-9" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Attending Discharge summary", "code" : "28655-9", @@ -76,70 +36,118 @@ v: { {"code" : { "system" : "http://loinc.org", "code" : "28655-9" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Attending Discharge summary", "code" : "28655-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "28655-9" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Attending Discharge summary", "code" : "28655-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29299-5", "display" : "Reason for visit Narrative" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Reason for visit Narrative", "code" : "29299-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10183-2", "display" : "Hospital discharge medications Narrative" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Hospital discharge medications Narrative", "code" : "10183-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "48765-2", "display" : "Allergies and adverse reactions Document" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergies and adverse reactions Document", "code" : "48765-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "46241-6" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Hospital admission diagnosis Narrative - Reported", "code" : "46241-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "18842-5" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge summary", "code" : "18842-5", @@ -150,32 +158,53 @@ v: { "system" : "http://loinc.org", "code" : "18842-5", "display" : "Discharge Summary" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge summary", "code" : "18842-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "18842-5" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge summary", "code" : "18842-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "48765-2", "display" : "Allergies" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergies and adverse reactions Document", "code" : "48765-2", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", "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)' for the language(s) '--' (from Tx-Server)" } @@ -184,88 +213,144 @@ v: { "system" : "http://loinc.org", "code" : "8648-8", "display" : "Hospital course Narrative" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Hospital course Narrative", "code" : "8648-8", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "78375-3", "display" : "Discharge diagnosis Narrative" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge diagnosis Narrative", "code" : "78375-3", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "75311-1", "display" : "Discharge medications Narrative" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge medications Narrative", "code" : "75311-1", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "42347-5", "display" : "Admission diagnosis (narrative)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Admission diagnosis (narrative)", "code" : "42347-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "42346-7", "display" : "Medications on admission (narrative)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medications on admission (narrative)", "code" : "42346-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "42344-2", "display" : "Discharge diet (narrative)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge diet (narrative)", "code" : "42344-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10164-2", "display" : "History of Present illness Narrative" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "History of Present illness Narrative", "code" : "10164-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "18776-5", "display" : "Plan of care" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Plan of care note", "code" : "18776-5", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", "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)' for the language(s) '--' (from Tx-Server)" } @@ -274,33 +359,54 @@ v: { "system" : "http://loinc.org", "code" : "47420-5", "display" : "Functional status assessment note" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Functional status assessment note", "code" : "47420-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "47519-4", "display" : "History of Procedures Document" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "History of Procedures Document", "code" : "47519-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10187-3", "display" : "Review of systems Narrative Reporte" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Review of systems Narrative - Reported", "code" : "10187-3", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", "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)' for the language(s) '--' (from Tx-Server)" } @@ -309,11 +415,18 @@ v: { "system" : "http://loinc.org", "code" : "87504-7", "display" : "Administrative information" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "LCDS v4.00 - Administrative information - discharge [CMS Assessment]", "code" : "87504-7", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", "error" : "Wrong Display Name 'Administrative information' for http://loinc.org#87504-7 - should be 'LCDS v4.00 - Administrative information - discharge [CMS Assessment]' (for the language(s) '--') (from Tx-Server)" } @@ -322,10 +435,68 @@ v: { "system" : "http://loinc.org", "code" : "2069-3", "display" : "Chloride [Moles/volume] in Blood" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Chloride [Moles/volume] in Blood", "code" : "2069-3", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Maximum expiratory gas flow Respiratory system airway by Peak flow meter", + "code" : "19935-6", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "19935-6" +}, "valueSet" :null, "langs":"[fi]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Maximum expiratory gas flow Respiratory system airway by Peak flow meter", + "code" : "19935-6", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache index be238ea6a..b66f13daf 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache @@ -1,45 +1,55 @@ ------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "27113001", - "display" : "Body weight" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Body weight", - "code" : "27113001", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "66493003" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Product containing theophylline (medicinal product)", "code" : "66493003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "394899003", "display" : "oral administration of treatment" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Oral administration of treatment", "code" : "394899003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "118246004", "display" : "Laboratory test finding (finding)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory test finding", "code" : "118246004", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "severity" : "warning", "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)\"' for the language(s) '--' (from Tx-Server)" } @@ -48,11 +58,18 @@ v: { "system" : "http://snomed.info/sct", "code" : "275711006", "display" : "Chemistry" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Serum chemistry test", "code" : "275711006", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "severity" : "warning", "error" : "Wrong Display Name 'Chemistry' for http://snomed.info/sct#275711006 - should be one of 2 choices: 'Serum chemistry test, \"Serum chemistry test (procedure)\"' for the language(s) '--' (from Tx-Server)" } @@ -61,87 +78,142 @@ v: { "system" : "http://snomed.info/sct", "code" : "281302008", "display" : "Above reference range" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Above reference range", "code" : "281302008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "419891008", "display" : "Record artifact (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Record artifact (record artifact)", "code" : "419891008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "371525003", "display" : "Clinical procedure report (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Clinical procedure report", "code" : "371525003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "17621005", "display" : "Normal (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Normal", "code" : "17621005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "722172003", "display" : "Military health institution (environment)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Military health institution (environment)", "code" : "722172003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "394609007", "display" : "General surgery (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "General surgery (qualifier value)", "code" : "394609007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "71388002", "display" : "Procedure (procedure)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Procedure", "code" : "71388002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "823681000000100", "display" : "Outpatient letter" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 823681000000100 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 823681000000100 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '823681000000100' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#823681000000100 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -149,10 +221,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "886921000000105", "display" : "Allergies and adverse reactions" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 886921000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 886921000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '886921000000105' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#886921000000105 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -160,10 +238,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "1077881000000105", "display" : "Attendance details" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 1077881000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 1077881000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '1077881000000105' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#1077881000000105 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -171,10 +255,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "887181000000106", "display" : "Clinical summary" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 887181000000106 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 887181000000106 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '887181000000106' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#887181000000106 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -182,10 +272,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "887161000000102", "display" : "Diagnoses" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 887161000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 887161000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '887161000000102' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#887161000000102 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -193,10 +289,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "1052891000000108", "display" : "Referrer details" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 1052891000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 1052891000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '1052891000000108' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#1052891000000108 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -204,10 +306,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "715851000000102", "display" : "Examination findings" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 715851000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 715851000000102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '715851000000102' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#715851000000102 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -215,10 +323,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "717121000000105", "display" : "History" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 717121000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 717121000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '717121000000105' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#717121000000105 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -226,10 +340,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "933361000000108", "display" : "Medications and medical devices" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 933361000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 933361000000108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '933361000000108' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#933361000000108 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -237,10 +357,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "887171000000109", "display" : "Procedures" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 887171000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 887171000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '887171000000109' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#887171000000109 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -248,10 +374,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "887201000000105", "display" : "Plan and requested actions" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 887201000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 887201000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '887201000000105' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#887201000000105 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -259,10 +391,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "1052951000000105", "display" : "Information and advice given" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 1052951000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 1052951000000105 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '1052951000000105' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#1052951000000105 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -270,10 +408,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "886731000000109", "display" : "Patient demographics" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 886731000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 886731000000109 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '886731000000109' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#886731000000109 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -281,10 +425,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "887231000000104", "display" : "Person completing record" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 887231000000104 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 887231000000104 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '887231000000104' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#887231000000104 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -292,10 +442,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "9290701000001101", "display" : "Optrex" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 9290701000001101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 9290701000001101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '9290701000001101' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#9290701000001101 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -303,42 +459,70 @@ v: { "system" : "http://snomed.info/sct", "code" : "443938003", "display" : "Procedure carried out on subject" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Procedure carried out on subject (situation)", "code" : "443938003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "17621005", "display" : "Normal" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Normal", "code" : "17621005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "27171005" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Urinalysis", "code" : "27171005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "55011004" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Steady", "code" : "55011004", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { @@ -352,7 +536,13 @@ v: { "code" : "55011004" }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Steady", "code" : "55011004", @@ -362,10 +552,16 @@ v: { {"code" : { "system" : "http://snomed.info/sct", "code" : "11181000146103" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 11181000146103 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); 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)", + "error" : "Unable to find code 11181000146103 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '11181000146103' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#11181000146103 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache index 530d8c0f9..7254a0939 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache @@ -1,51 +1,67 @@ ------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://unitsofmeasure.org", - "code" : "[lb_av]" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "[lb_av]", - "code" : "[lb_av]", - "system" : "http://unitsofmeasure.org" -} -------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "L/min" -}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "L/min", "code" : "L/min", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "21612-7" -}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "error" : "Error processing Unit: '21612-7': Expected \"/\" or \".\" at character 6; Unknown Code '21612-7' in the system 'http://unitsofmeasure.org'; The provided code http://unitsofmeasure.org#21612-7 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "tbl" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "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 http://unitsofmeasure.org#tbl is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mmol/L" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mmol/L", "code" : "mmol/L", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.capabilityStatement.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.capabilityStatement.cache index f510499ec..8c617f30f 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.capabilityStatement.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.capabilityStatement.cache @@ -9,10 +9,10 @@ }] }, "url" : "http://localhost/r4/metadata", - "version" : "4.0.1-2.0.14", + "version" : "4.0.1-2.1.0", "name" : "FHIR Reference Server Conformance Statement", "status" : "active", - "date" : "2023-04-24T12:40:13.869Z", + "date" : "2023-05-02T06:09:13.652Z", "contact" : [{ "telecom" : [{ "system" : "other", @@ -23,7 +23,7 @@ "instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"], "software" : { "name" : "Reference Server", - "version" : "2.0.14", + "version" : "2.1.0", "releaseDate" : "2022-05-13T19:50:55.040Z" }, "implementation" : { diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.terminologyCapabilities.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.terminologyCapabilities.cache index 94340ca07..e853c3d6b 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.terminologyCapabilities.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/.terminologyCapabilities.cache @@ -2,10 +2,10 @@ "resourceType" : "TerminologyCapabilities", "id" : "FhirServer", "url" : "http://localhost/r4/metadata", - "version" : "1.0.0", + "version" : "2.0.0", "name" : "FHIR Reference Server Teminology Capability Statement", "status" : "active", - "date" : "2023-04-24T12:40:14.114Z", + "date" : "2023-05-02T06:09:13.666Z", "contact" : [{ "telecom" : [{ "system" : "other", diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/all-systems.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/all-systems.cache index 4666f7c5d..a71fbcc2f 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/all-systems.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/all-systems.cache @@ -1,7 +1,13 @@ ------------------------------------------------------------------------------------- {"code" : { "code" : "application/octet-stream" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "application/octet-stream", "code" : "application/octet-stream", @@ -10,7 +16,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "German (Switzerland)", "code" : "de-CH", @@ -19,7 +31,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "application/pdf" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "application/pdf", "code" : "application/pdf", @@ -30,18 +48,31 @@ v: { "system" : "http://loinc.org", "code" : "59284-0", "display" : "Patient Authorization Signature" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Consent Document", "code" : "59284-0", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", - "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)' for the language(s) '--' (from null)" + "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)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "code" : "image/*" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "image/*", "code" : "image/*", @@ -50,7 +81,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "d" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "day", "code" : "d", @@ -59,7 +96,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "en-IN" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en-IN]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en-IN]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English (India)", "code" : "en-IN", @@ -68,7 +111,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "image/jpg" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "image/jpg", "code" : "image/jpg", @@ -77,7 +126,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "min" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "min", "code" : "min", @@ -86,7 +141,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "mmol/L" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mmol/L", "code" : "mmol/L", @@ -95,7 +156,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "%" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "%", "code" : "%", @@ -104,7 +171,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "kg" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "kg", "code" : "kg", @@ -113,16 +186,28 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "cm" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)", + "error" : "The provided code http://unitsofmeasure.org#cm is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "cm" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "cm", "code" : "cm", @@ -131,10 +216,16 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "kg/m2" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)", + "error" : "The provided code http://unitsofmeasure.org#kg/m2 is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -142,34 +233,59 @@ v: { "system" : "http://snomed.info/sct", "code" : "112144000", "display" : "Blood group A (finding)" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood group A", "code" : "112144000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "code" : "kg" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)", + "error" : "The provided code http://unitsofmeasure.org#kg is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "kg/m2" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)", + "error" : "The provided code http://unitsofmeasure.org#kg/m2 is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "wk" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "wk", "code" : "wk", @@ -180,157 +296,263 @@ v: { "system" : "http://snomed.info/sct", "code" : "722446000", "display" : "Allergy record (record artifact)" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergy record (record artifact)", "code" : "722446000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "371531000", "display" : "Report of clinical encounter (record artifact)" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Encounter report", "code" : "371531000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "4241000179101", "display" : "Laboratory report (record artifact)" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory report (record artifact)", "code" : "4241000179101", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "422735006", "display" : "Summary clinical document (record artifact)" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary clinical document (record artifact)", "code" : "422735006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "code" : "min" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)", + "error" : "The provided code http://unitsofmeasure.org#min is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "min" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)", + "error" : "The provided code http://unitsofmeasure.org#min is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "min" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)", + "error" : "The provided code http://unitsofmeasure.org#min is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "mmol/L" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)", + "error" : "The provided code http://unitsofmeasure.org#mmol/L is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "mmol/L" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)", + "error" : "The provided code http://unitsofmeasure.org#mmol/L is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "mmol/L" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)", + "error" : "The provided code http://unitsofmeasure.org#mmol/L is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "%" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)", + "error" : "The provided code http://unitsofmeasure.org#% is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "%" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)", + "error" : "The provided code http://unitsofmeasure.org#% is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "%" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)", + "error" : "The provided code http://unitsofmeasure.org#% is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "wk" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from null)", + "error" : "The provided code http://unitsofmeasure.org#wk is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodyweight' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "wk" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from null)", + "error" : "The provided code http://unitsofmeasure.org#wk is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-bodylength' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "kg" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)", + "error" : "The provided code http://unitsofmeasure.org#kg is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "kg" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "kg", "code" : "kg", @@ -339,16 +561,28 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "cm" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)", + "error" : "The provided code http://unitsofmeasure.org#cm is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "cm" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "cm", "code" : "cm", @@ -357,16 +591,28 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "kg/m2" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from null)", + "error" : "The provided code http://unitsofmeasure.org#kg/m2 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-timeOfGestation' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "code" : "kg/m2" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "kg/m2", "code" : "kg/m2", @@ -375,7 +621,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "wk" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "wk", "code" : "wk", @@ -384,7 +636,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "json" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "json", "code" : "json", @@ -393,7 +651,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "xml" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "xml", "code" : "xml", @@ -402,7 +666,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "application/fhir+json" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "application/fhir+json", "code" : "application/fhir+json", @@ -411,40 +681,28 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "text/plain" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "text/plain", "code" : "text/plain", "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)\"' for the language(s) '--' (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" : "text/css" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "text/css", "code" : "text/css", @@ -453,7 +711,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "de-CH" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "German (Switzerland)", "code" : "de-CH", @@ -464,16 +728,29 @@ v: { "system" : "http://loinc.org", "code" : "34133-9", "display" : "Summary of episode note" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary of episode note", "code" : "34133-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "code" : "en-US" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English (United States)", "code" : "en-US", @@ -482,7 +759,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "application/xml" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "application/xml", "code" : "application/xml", @@ -491,7 +774,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "text/xml" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "text/xml", "code" : "text/xml", @@ -502,16 +791,29 @@ v: { "system" : "urn:iso:std:iso:3166", "code" : "US", "display" : "United States of America" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "United States of America", "code" : "US", - "system" : "urn:iso:std:iso:3166" + "system" : "urn:iso:std:iso:3166", + "version" : "2018" } ------------------------------------------------------------------------------------- {"code" : { "code" : "text/cql.identifier" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "text/cql.identifier", "code" : "text/cql.identifier", @@ -544,7 +846,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Not at all", "code" : "Not-at-all", @@ -577,7 +885,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Several days", "code" : "Several-days", @@ -610,7 +924,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "More than half the days", "code" : "More than half the days", @@ -643,7 +963,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Nearly every day", "code" : "Nearly every day", @@ -652,7 +978,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "en-AU" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en-AU]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en-AU]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English (Australia)", "code" : "en-AU", @@ -661,7 +993,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "en" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English", "code" : "en", @@ -670,27 +1008,28 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "en-US" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en-US]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"[en-US]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English (United States)", "code" : "en-US", "system" : "urn:ietf:bcp:47" } ------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "5933001", - "display" : "Clostridioides difficile (organism)" -}, "url": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3194", "version": "20200807", "langs":"[en-US]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Clostridioides difficile (organism)", - "code" : "5933001", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- {"code" : { "code" : "wk" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "week", "code" : "wk", @@ -700,19 +1039,70 @@ v: { {"code" : { "system" : "urn:iso:std:iso:3166", "code" : "US" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "United States of America", "code" : "US", - "system" : "urn:iso:std:iso:3166" + "system" : "urn:iso:std:iso:3166", + "version" : "2018" } ------------------------------------------------------------------------------------- {"code" : { "code" : "[%payloadFormat%]" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "error" : "Unknown Code '[%payloadFormat%]' in the system 'urn:ietf:bcp:13'; The provided code urn:ietf:bcp:13#[%payloadFormat%] is not in the value set 'http://hl7.org/fhir/ValueSet/mimetypes' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- +{"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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Progress report", + "code" : "371532007", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", + "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)\"' for the language(s) '--' (from Tx-Server)" +} +------------------------------------------------------------------------------------- +{"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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Clinical procedure report", + "code" : "371525003", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/condition-clinical.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/condition-clinical.cache index 7532bf121..1c5363fda 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/condition-clinical.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/condition-clinical.cache @@ -2,7 +2,13 @@ {"code" : { "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical", "code" : "active" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Active", "code" : "active", @@ -14,10 +20,16 @@ v: { "version" : "0.5.0", "code" : "active", "display" : "Active" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://terminology.hl7.org/CodeSystem/condition-clinical version 0.5.0 is unknown. ValidVersions: [2.0.0]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/condition-clinical' (from null)", + "error" : "The CodeSystem http://terminology.hl7.org/CodeSystem/condition-clinical version 0.5.0 is unknown. Valid versions: [2.0.0]; The provided code http://terminology.hl7.org/CodeSystem/condition-clinical|0.5.0#active is not in the value set 'http://hl7.org/fhir/ValueSet/condition-clinical' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -25,10 +37,16 @@ v: { "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical", "version" : "0.5.0", "code" : "active" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://terminology.hl7.org/CodeSystem/condition-clinical version 0.5.0 is unknown. ValidVersions: [2.0.0]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "The CodeSystem http://terminology.hl7.org/CodeSystem/condition-clinical version 0.5.0 is unknown. Valid versions: [2.0.0]; The provided code http://terminology.hl7.org/CodeSystem/condition-clinical|0.5.0#active is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/cvx.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/cvx.cache index ecb9d7210..fffb0d7f9 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/cvx.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/cvx.cache @@ -3,40 +3,67 @@ "system" : "http://hl7.org/fhir/sid/cvx", "code" : "207", "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose", "code" : "207", - "system" : "http://hl7.org/fhir/sid/cvx" + "system" : "http://hl7.org/fhir/sid/cvx", + "version" : "20210406" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://hl7.org/fhir/sid/cvx", "code" : "207", "display" : "X SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 100 mcg/0.5mL dose", "code" : "207", "system" : "http://hl7.org/fhir/sid/cvx", + "version" : "20210406", "severity" : "warning", - "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\")' for the language(s) '--' (from null)" + "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\")' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://hl7.org/fhir/sid/cvx", "code" : "208" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 30 mcg/0.3mL dose", "code" : "208", - "system" : "http://hl7.org/fhir/sid/cvx" + "system" : "http://hl7.org/fhir/sid/cvx", + "version" : "20210406" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://hl7.org/fhir/sid/cvx", "code" : "208" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "SARS-COV-2 (COVID-19) vaccine, mRNA, spike protein, LNP, preservative free, 30 mcg/0.3mL dose", "code" : "208", @@ -46,10 +73,16 @@ v: { {"code" : { "system" : "http://hl7.org/fhir/sid/cvx", "code" : "209" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "error" : "Unknown Code '209' in the system 'http://hl7.org/fhir/sid/cvx'; The provided code http://hl7.org/fhir/sid/cvx#209 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___ihe.net_fhir_ihe.formatcode.fhir_CodeSystem_formatcode.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___ihe.net_fhir_ihe.formatcode.fhir_CodeSystem_formatcode.cache index 461b17234..f5874616d 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___ihe.net_fhir_ihe.formatcode.fhir_CodeSystem_formatcode.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___ihe.net_fhir_ihe.formatcode.fhir_CodeSystem_formatcode.cache @@ -3,10 +3,17 @@ "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode", "code" : "urn:ihe:iti:xds:2017:mimeTypeSufficient", "display" : "MimeType sufficient" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mimeType Sufficient", "code" : "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode" + "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode", + "version" : "1.1.0" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___nucc.org_provider-taxonomy.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___nucc.org_provider-taxonomy.cache index ed6831a30..cf852c0a5 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___nucc.org_provider-taxonomy.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___nucc.org_provider-taxonomy.cache @@ -3,19 +3,32 @@ "system" : "http://nucc.org/provider-taxonomy", "code" : "208D00000X", "display" : "General Practice" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "General Practice Physician", "code" : "208D00000X", "system" : "http://nucc.org/provider-taxonomy", + "version" : "22.0", "severity" : "warning", - "error" : "Wrong Display Name 'General Practice' for http://nucc.org/provider-taxonomy#208D00000X - should be 'General Practice Physician' (for the language(s) '--') (from null)" + "error" : "Wrong Display Name 'General Practice' for http://nucc.org/provider-taxonomy#208D00000X - should be 'General Practice Physician' (for the language(s) '--') (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://nucc.org/provider-taxonomy", "code" : "208D00000X" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "General Practice Physician", "code" : "208D00000X", @@ -26,22 +39,36 @@ v: { "system" : "http://nucc.org/provider-taxonomy", "code" : "208D00000X", "display" : "General Practice" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "General Practice Physician", "code" : "208D00000X", "system" : "http://nucc.org/provider-taxonomy", + "version" : "22.0", "severity" : "warning", - "error" : "Wrong Display Name 'General Practice' for http://nucc.org/provider-taxonomy#208D00000X - should be 'General Practice Physician' (for the language(s) '--') (from null)" + "error" : "Wrong Display Name 'General Practice' for http://nucc.org/provider-taxonomy#208D00000X - should be 'General Practice Physician' (for the language(s) '--') (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://nucc.org/provider-taxonomy", "code" : "208D00000X" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "General Practice Physician", "code" : "208D00000X", - "system" : "http://nucc.org/provider-taxonomy" + "system" : "http://nucc.org/provider-taxonomy", + "version" : "22.0" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___something_something.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___something_something.cache index f01abe7f3..42a714037 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___something_something.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___something_something.cache @@ -2,10 +2,16 @@ {"code" : { "system" : "http://something/something", "code" : "something" -}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "error" : "The CodeSystem http://something/something is unknown; The provided code http://something/something#something is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___standardterms.edqm.eu.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___standardterms.edqm.eu.cache index 5fc7a152b..ea0c6f1c3 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___standardterms.edqm.eu.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___standardterms.edqm.eu.cache @@ -3,10 +3,17 @@ "system" : "http://standardterms.edqm.eu", "code" : "20049000", "display" : "Nasal use" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Nasal use", "code" : "20049000", - "system" : "http://standardterms.edqm.eu" + "system" : "http://standardterms.edqm.eu", + "version" : "5 March 2019" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___varnomen.hgvs.org.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___varnomen.hgvs.org.cache index 512f7c173..788ea0795 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___varnomen.hgvs.org.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___varnomen.hgvs.org.cache @@ -2,7 +2,13 @@ {"code" : { "system" : "http://varnomen.hgvs.org", "code" : "NC_000019.8:g.1171707G>A" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", @@ -12,7 +18,13 @@ v: { {"code" : { "system" : "http://varnomen.hgvs.org", "code" : "NC_000019.8:g.1171707G>A" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", @@ -22,7 +34,13 @@ v: { {"code" : { "system" : "http://varnomen.hgvs.org", "code" : "NC_000019.8:g.1171707G>AXXX" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", @@ -32,7 +50,13 @@ v: { {"code" : { "system" : "http://varnomen.hgvs.org", "code" : "NC_000019.8:g.1171707G>AXXX" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", "error" : "Error from server: Error parsing HGVS response: Error parsing JSON source: Unexpected char \"<\" in json stream at Line 0 (path=[])", diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.genenames.org_geneId.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.genenames.org_geneId.cache index e562dbb4f..9cb9f74ef 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.genenames.org_geneId.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.genenames.org_geneId.cache @@ -2,10 +2,16 @@ {"code" : { "system" : "http://www.genenames.org/geneId", "code" : "HGNC:11389" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "error" : "The CodeSystem http://www.genenames.org/geneId is unknown; The provided code http://www.genenames.org/geneId#HGNC:11389 is not in the value set 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-hgnc-vs--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.ncbi.nlm.nih.gov_clinvar.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.ncbi.nlm.nih.gov_clinvar.cache index c4f3b5753..f11b35b4a 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.ncbi.nlm.nih.gov_clinvar.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/http___www.ncbi.nlm.nih.gov_clinvar.cache @@ -2,10 +2,16 @@ {"code" : { "system" : "http://www.ncbi.nlm.nih.gov/clinvar", "code" : "619728" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "error" : "The CodeSystem http://www.ncbi.nlm.nih.gov/clinvar is unknown; The provided code http://www.ncbi.nlm.nih.gov/clinvar#619728 is not in the value set 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-clinvar-vs--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/https___www.humanservices.gov.au_organisations_health-professionals_enablers_air-vaccine-code-formats.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/https___www.humanservices.gov.au_organisations_health-professionals_enablers_air-vaccine-code-formats.cache index 26d627db5..1e530400b 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/https___www.humanservices.gov.au_organisations_health-professionals_enablers_air-vaccine-code-formats.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/https___www.humanservices.gov.au_organisations_health-professionals_enablers_air-vaccine-code-formats.cache @@ -2,10 +2,17 @@ {"code" : { "system" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats", "code" : "COVAST" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "COVID-19 Vaccine AstraZeneca", "code" : "COVAST", - "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", + "version" : "20210222" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10-cm.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10-cm.cache index fa324b273..024093d79 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10-cm.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10-cm.cache @@ -2,10 +2,16 @@ {"code" : { "system" : "http://hl7.org/fhir/sid/icd-10-cm", "code" : "E10.3211+TT1.2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "error" : "Unknown Code 'E10.3211+TT1.2' in the system 'http://hl7.org/fhir/sid/icd-10-cm'; The provided code http://hl7.org/fhir/sid/icd-10-cm#E10.3211+TT1.2 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10.cache index 18ae0a9dc..1efe5a10e 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-10.cache @@ -3,23 +3,37 @@ "system" : "http://hl7.org/fhir/sid/icd-10", "code" : "C18.0", "display" : "Malignant neoplasm: Caecum" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Caecum", "code" : "C18.0", - "system" : "http://hl7.org/fhir/sid/icd-10" + "system" : "http://hl7.org/fhir/sid/icd-10", + "version" : "2019-covid-expanded" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://hl7.org/fhir/sid/icd-10", "code" : "C12", "display" : "Malignant neoplasm of pyriform sinus" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Malignant neoplasm of piriform sinus", "code" : "C12", "system" : "http://hl7.org/fhir/sid/icd-10", + "version" : "2019-covid-expanded", "severity" : "warning", - "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' (for the language(s) '--') (from null)" + "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' (for the language(s) '--') (from Tx-Server)" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache index 367cfd212..82af1686a 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache @@ -2,10 +2,17 @@ {"code" : { "system" : "http://hl7.org/fhir/sid/icd-9-cm", "code" : "99.00" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Perioperative autologous transfusion of whole blood or blood components", "code" : "99.00", - "system" : "http://hl7.org/fhir/sid/icd-9-cm" + "system" : "http://hl7.org/fhir/sid/icd-9-cm", + "version" : "2015" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/iso3166.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/iso3166.cache index a873034e6..bfb33e6b7 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/iso3166.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/iso3166.cache @@ -3,17 +3,30 @@ "system" : "urn:iso:std:iso:3166", "code" : "NO", "display" : "Norway" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Norway", "code" : "NO", - "system" : "urn:iso:std:iso:3166" + "system" : "urn:iso:std:iso:3166", + "version" : "2018" } ------------------------------------------------------------------------------------- {"code" : { "system" : "urn:iso:std:iso:3166", "code" : "US" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "United States of America", "code" : "US", @@ -23,20 +36,34 @@ v: { {"code" : { "system" : "urn:iso:std:iso:3166", "code" : "US" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "United States of America", "code" : "US", - "system" : "urn:iso:std:iso:3166" + "system" : "urn:iso:std:iso:3166", + "version" : "2018" } ------------------------------------------------------------------------------------- {"code" : { "system" : "urn:iso:std:iso:3166", "code" : "NO" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Norway", "code" : "NO", - "system" : "urn:iso:std:iso:3166" + "system" : "urn:iso:std:iso:3166", + "version" : "2018" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/lang.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/lang.cache index cf2224b57..b6c0378de 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/lang.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/lang.cache @@ -2,7 +2,13 @@ {"code" : { "system" : "urn:ietf:bcp:47", "code" : "de-CH" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "German (Switzerland)", "code" : "de-CH", @@ -13,7 +19,13 @@ v: { "system" : "urn:ietf:bcp:47", "code" : "de-CH", "display" : "German (Region=Switzerland)" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "German (Region=Switzerland)", "code" : "de-CH", @@ -23,7 +35,13 @@ v: { {"code" : { "system" : "urn:ietf:bcp:47", "code" : "de-CH" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "German (Region=Switzerland)", "code" : "de-CH", @@ -33,7 +51,13 @@ v: { {"code" : { "system" : "urn:ietf:bcp:47", "code" : "fr" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "French", "code" : "fr", @@ -44,7 +68,13 @@ v: { "system" : "urn:ietf:bcp:47", "code" : "fr", "display" : "French" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "French", "code" : "fr", @@ -54,7 +84,13 @@ v: { {"code" : { "system" : "urn:ietf:bcp:47", "code" : "fr" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "French", "code" : "fr", @@ -64,7 +100,13 @@ v: { {"code" : { "system" : "urn:ietf:bcp:47", "code" : "en" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English", "code" : "en", @@ -75,7 +117,13 @@ v: { "system" : "urn:ietf:bcp:47", "code" : "en", "display" : "English" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English", "code" : "en", @@ -85,7 +133,13 @@ v: { {"code" : { "system" : "urn:ietf:bcp:47", "code" : "en" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English", "code" : "en", diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache index 07fb1fb2d..49c660232 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache @@ -3,202 +3,105 @@ "system" : "http://loinc.org", "code" : "59408-5", "display" : "O2 % BldC Oximetry" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Oxygen saturation in Arterial blood by Pulse oximetry", "code" : "59408-5", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", - "error" : "Wrong Display Name 'O2 % BldC Oximetry' for http://loinc.org#59408-5 - should be one of 25 choices: 'Oxygen saturation in Arterial blood by Pulse oximetry, \"SaO2 % BldA PulseOx\", \"O2 SaO2\" (pl-PL), \"saturacja krwi tlenem\" (pl-PL), \"MFr O2\" (zh-CN), \"tO2\" (zh-CN), \"总氧\" (zh-CN), \"氧气 SaO2 动脉血 动脉血O2饱和度 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 肺部测量指标与呼吸机管理 脉搏血氧测定法\" (zh-CN), \"脉搏血氧定量\" (zh-CN), \"脉搏血氧测定\" (zh-CN), \"脉搏血氧仪 血氧测定法 饱和 饱和状态 饱和程度\" (zh-CN), \"O2-Sättigung\" (de-DE), \"Frazione di massa Gestione ventilazione polmonare Punto nel tempo (episodio) Sangue arterioso\" (it-IT), \"Oksijen doymuşluğu\" (tr-TR), \"Количественный Кровь артериальная Массовая доля Насыщение кислородом Оксигемометрия\" (ru-RU), \"Гемоксиметрия Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"O2 SatO2\" (fr-BE)' for the language(s) '--' (from null)" + "error" : "Wrong Display Name 'O2 % BldC Oximetry' for http://loinc.org#59408-5 - should be one of 26 choices: 'Oxygen saturation in Arterial blood by Pulse oximetry, \"SaO2 % BldA PulseOx\", \"O2 SaO2\" (pl-PL), \"saturacja krwi tlenem\" (pl-PL), \"MFr O2\" (zh-CN), \"tO2\" (zh-CN), \"总氧\" (zh-CN), \"氧气 SaO2 动脉血 动脉血O2饱和度 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 肺部测量指标与呼吸机管理 脉搏血氧测定法\" (zh-CN), \"脉搏血氧定量\" (zh-CN), \"脉搏血氧测定\" (zh-CN), \"脉搏血氧仪 血氧测定法 饱和 饱和状态 饱和程度\" (zh-CN), \"O2-Sättigung\" (de-DE), \"Frazione di massa Gestione ventilazione polmonare Punto nel tempo (episodio) Sangue arterioso\" (it-IT), \"Oksijen doymuşluğu\" (tr-TR), \"Количественный Кровь артериальная Массовая доля Насыщение кислородом Оксигемометрия\" (ru-RU), \"Гемоксиметрия Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"zuurstofsaturatiemeting\" (nl-NL), \"O2 SatO2\" (fr-BE)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "2708-6", "display" : "Oxygen saturation in Arterial blood" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Oxygen saturation in Arterial blood", "code" : "2708-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "3150-0", "display" : "Inhaled Oxygen Concentration" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Inhaled oxygen concentration", "code" : "3150-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "3151-8", "display" : "Flow Rate" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Inhaled oxygen flow rate", "code" : "3151-8", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", - "error" : "Wrong Display Name 'Flow Rate' for http://loinc.org#3151-8 - should be one of 37 choices: '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)' for the language(s) '--' (from null)" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "59408-5" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### -v: { - "display" : "Oxygen saturation in Arterial blood by Pulse oximetry", - "code" : "59408-5", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "2708-6" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "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/us/core/ValueSet/us-core-vital-signs--0' (from null)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "2708-6" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### -v: { - "display" : "Oxygen saturation in Arterial blood", - "code" : "2708-6", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "59408-5", - "display" : "O2 % BldC Oximetry" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### -v: { - "display" : "Oxygen saturation in Arterial blood by Pulse oximetry", - "code" : "59408-5", - "system" : "http://loinc.org", - "severity" : "warning", - "error" : "Wrong Display Name 'O2 % BldC Oximetry' for http://loinc.org#59408-5 - should be one of 25 choices: 'Oxygen saturation in Arterial blood by Pulse oximetry, \"SaO2 % BldA PulseOx\", \"O2 SaO2\" (pl-PL), \"saturacja krwi tlenem\" (pl-PL), \"MFr O2\" (zh-CN), \"tO2\" (zh-CN), \"总氧\" (zh-CN), \"氧气 SaO2 动脉血 动脉血O2饱和度 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 肺部测量指标与呼吸机管理 脉搏血氧测定法\" (zh-CN), \"脉搏血氧定量\" (zh-CN), \"脉搏血氧测定\" (zh-CN), \"脉搏血氧仪 血氧测定法 饱和 饱和状态 饱和程度\" (zh-CN), \"O2-Sättigung\" (de-DE), \"Frazione di massa Gestione ventilazione polmonare Punto nel tempo (episodio) Sangue arterioso\" (it-IT), \"Oksijen doymuşluğu\" (tr-TR), \"Количественный Кровь артериальная Массовая доля Насыщение кислородом Оксигемометрия\" (ru-RU), \"Гемоксиметрия Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"O2 SatO2\" (fr-BE)' for the language(s) '--' (from null)" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "2708-6", - "display" : "Oxygen saturation in Arterial blood" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### -v: { - "display" : "Oxygen saturation in Arterial blood", - "code" : "2708-6", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "59408-5" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Oxygen saturation in Arterial blood by Pulse oximetry", - "code" : "59408-5", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "2708-6" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Oxygen saturation in Arterial blood", - "code" : "2708-6", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3150-0" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### -v: { - "display" : "Inhaled oxygen concentration", - "code" : "3150-0", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3150-0", - "display" : "Inhaled Oxygen Concentration" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### -v: { - "display" : "Inhaled oxygen concentration", - "code" : "3150-0", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3150-0" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Inhaled oxygen concentration", - "code" : "3150-0", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3151-8" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### -v: { - "display" : "Inhaled oxygen flow rate", - "code" : "3151-8", - "system" : "http://loinc.org" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3151-8", - "display" : "Flow Rate" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### -v: { - "display" : "Inhaled oxygen flow rate", - "code" : "3151-8", - "system" : "http://loinc.org", - "severity" : "warning", - "error" : "Wrong Display Name 'Flow Rate' for http://loinc.org#3151-8 - should be one of 37 choices: '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)' for the language(s) '--' (from null)" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3151-8" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Inhaled oxygen flow rate", - "code" : "3151-8", - "system" : "http://loinc.org" + "error" : "Wrong Display Name 'Flow Rate' for http://loinc.org#3151-8 - should be one of 37 choices: '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)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "5792-7" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Glucose [Mass/volume] in Urine by Test strip", "code" : "5792-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "11502-2" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory report", "code" : "11502-2", @@ -208,27 +111,47 @@ v: { {"code" : { "system" : "http://loinc.org", "code" : "11502-2" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory report", "code" : "11502-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "11502-2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory report", "code" : "11502-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "60591-5" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[de-CH]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[de-CH]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient summary Document", "code" : "60591-5", @@ -239,258 +162,425 @@ v: { "system" : "http://loinc.org", "code" : "60591-5", "display" : "Patient summary Document" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient summary Document", "code" : "60591-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "60591-5" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient summary Document", "code" : "60591-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "76437-3", "display" : "Primary insurance" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Primary insurance", "code" : "76437-3", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10160-0", "display" : "History of Medication use Narrative" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "History of Medication use Narrative", "code" : "10160-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "48765-2", "display" : "Allergies and adverse reactions Document" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergies and adverse reactions Document", "code" : "48765-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "11450-4", "display" : "Problem list - Reported" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Problem list - Reported", "code" : "11450-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "47519-4", "display" : "History of Procedures Document" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "History of Procedures Document", "code" : "47519-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "30954-2", "display" : "Relevant diagnostic tests/laboratory data Narrative" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Relevant diagnostic tests/laboratory data Narrative", "code" : "30954-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8716-3", "display" : "Vital signs" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Vital signs", "code" : "8716-3", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29762-2", "display" : "Social history Narrative" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Social history Narrative", "code" : "29762-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10162-6", "display" : "History of pregnancies Narrative" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "History of pregnancies Narrative", "code" : "10162-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "51899-3", "display" : "Details Document" -}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[de-CH]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Details Document", "code" : "51899-3", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "46418-0", "display" : "INR in Capillary blood by Coagulation assay" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "INR in Capillary blood by Coagulation assay", "code" : "46418-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "77140-2", "display" : "Creatinine [Moles/volume] in Serum, Plasma or Blood" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Creatinine [Moles/volume] in Serum, Plasma or Blood", "code" : "77140-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "4535-1", "display" : "Cytotoxic percent reactive Ab [Presence] in Serum by Quick method" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cytotoxic percent reactive Ab [Presence] in Serum by Quick method", "code" : "4535-1", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29463-7", "display" : "Body weight" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight", "code" : "29463-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8302-2", "display" : "Body height" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body height", "code" : "8302-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "39156-5", "display" : "Body mass index (BMI) [Ratio]" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body mass index (BMI) [Ratio]", "code" : "39156-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "85354-9", "display" : "Blood pressure panel with all children optional" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8480-6", "display" : "Systolic blood pressure" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8462-4", "display" : "Diastolic blood pressure" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "883-9", "display" : "ABO group [Type] in Blood" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "ABO group [Type] in Blood", "code" : "883-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "57024-2", "display" : "Health Quality Measure Document" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Health Quality Measure document", "code" : "57024-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "59284-0" -}, "url": "http://hl7.org/fhir/ValueSet/consent-category--2", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/consent-category--2", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient Consent", "code" : "59284-0", @@ -500,17 +590,30 @@ v: { {"code" : { "system" : "http://loinc.org", "code" : "59284-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Consent Document", "code" : "59284-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "46418-0" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "INR in Capillary blood by Coagulation assay", "code" : "46418-0", @@ -521,27 +624,47 @@ v: { "system" : "http://loinc.org", "code" : "46418-0", "display" : "INR in Capillary blood by Coagulation assay" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "INR in Capillary blood by Coagulation assay", "code" : "46418-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "46418-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "INR in Capillary blood by Coagulation assay", "code" : "46418-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "77140-2" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Creatinine [Moles/volume] in Serum, Plasma or Blood", "code" : "77140-2", @@ -552,27 +675,47 @@ v: { "system" : "http://loinc.org", "code" : "77140-2", "display" : "Creatinine [Moles/volume] in Serum, Plasma or Blood" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Creatinine [Moles/volume] in Serum, Plasma or Blood", "code" : "77140-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "77140-2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Creatinine [Moles/volume] in Serum, Plasma or Blood", "code" : "77140-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "4535-1" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cytotoxic percent reactive Ab [Presence] in Serum by Quick method", "code" : "4535-1", @@ -583,27 +726,47 @@ v: { "system" : "http://loinc.org", "code" : "4535-1", "display" : "Cytotoxic percent reactive Ab [Presence] in Serum by Quick method" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cytotoxic percent reactive Ab [Presence] in Serum by Quick method", "code" : "4535-1", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "4535-1" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cytotoxic percent reactive Ab [Presence] in Serum by Quick method", "code" : "4535-1", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29463-7" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight", "code" : "29463-7", @@ -614,27 +777,47 @@ v: { "system" : "http://loinc.org", "code" : "29463-7", "display" : "Body weight" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight", "code" : "29463-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29463-7" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight", "code" : "29463-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8302-2" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body height", "code" : "8302-2", @@ -645,27 +828,47 @@ v: { "system" : "http://loinc.org", "code" : "8302-2", "display" : "Body height" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body height", "code" : "8302-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8302-2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body height", "code" : "8302-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "39156-5" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body mass index (BMI) [Ratio]", "code" : "39156-5", @@ -676,27 +879,47 @@ v: { "system" : "http://loinc.org", "code" : "39156-5", "display" : "Body mass index (BMI) [Ratio]" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body mass index (BMI) [Ratio]", "code" : "39156-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "39156-5" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body mass index (BMI) [Ratio]", "code" : "39156-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "85354-9" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", @@ -707,27 +930,47 @@ v: { "system" : "http://loinc.org", "code" : "85354-9", "display" : "Blood pressure panel with all children optional" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "85354-9" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8480-6" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", @@ -738,27 +981,47 @@ v: { "system" : "http://loinc.org", "code" : "8480-6", "display" : "Systolic blood pressure" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8480-6" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8462-4" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", @@ -769,117 +1032,191 @@ v: { "system" : "http://loinc.org", "code" : "8462-4", "display" : "Diastolic blood pressure" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8462-4" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "883-9" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from null)", + "error" : "The provided code http://loinc.org#883-9 is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "46418-0" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from null)", + "error" : "The provided code http://loinc.org#46418-0 is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "77140-2" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from null)", + "error" : "The provided code http://loinc.org#77140-2 is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "4535-1" -}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from null)", + "error" : "The provided code http://loinc.org#4535-1 is not in the value set 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29463-7" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from null)", + "error" : "The provided code http://loinc.org#29463-7 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8302-2" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from null)", + "error" : "The provided code http://loinc.org#8302-2 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "39156-5" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from null)", + "error" : "The provided code http://loinc.org#39156-5 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "85354-9" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from null)", + "error" : "The provided code http://loinc.org#85354-9 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "883-9" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from null)", + "error" : "The provided code http://loinc.org#883-9 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-laboratory--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "60591-5" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient summary Document", "code" : "60591-5", @@ -890,87 +1227,141 @@ v: { "system" : "http://loinc.org", "code" : "60591-5", "display" : "Patient Summary Document" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient summary Document", "code" : "60591-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "60591-5" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient summary Document", "code" : "60591-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "48765-2", "display" : "Allergies and adverse reactions Document" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergies and adverse reactions Document", "code" : "48765-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10160-0", "display" : "History of Medication use Narrative" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "History of Medication use Narrative", "code" : "10160-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "11450-4", "display" : "Problem list - Reported" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Problem list - Reported", "code" : "11450-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "51726-8", "display" : "NDC labeler code request" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "FDA product label NDC labeler code request", "code" : "51726-8", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", - "error" : "Wrong Display Name 'NDC labeler code request' for http://loinc.org#51726-8 - should be one of 22 choices: 'FDA product label NDC labeler code request, \"FDA label NDC labeler code request\", \"FDA 药品标签 National Drug Code\" (zh-CN), \"NDC\" (zh-CN), \"国家药品验证号\" (zh-CN), \"国家药品代码\" (zh-CN), \"美国国家药品代码\" (zh-CN), \"全国药品代码\" (zh-CN), \"NDC labeler code\" (zh-CN), \"NDC 标识者识别代码\" (zh-CN), \"NDC 厂家号\" (zh-CN), \"NDC 贴签厂商代码请求\" (zh-CN), \"NDC 标签号申请 叙述\" (zh-CN), \"叙述性文字\" (zh-CN), \"报告\" (zh-CN), \"报告型\" (zh-CN), \"文字叙述\" (zh-CN), \"文本叙述型\" (zh-CN), \"文本描述\" (zh-CN), \"文本描述型 监管类文档\" (zh-CN), \"Documentazione normativa Etichetta di prodotto della Food and Drug Administ\" (it-IT), \"Описательный\" (ru-RU)' for the language(s) '--' (from null)" + "error" : "Wrong Display Name 'NDC labeler code request' for http://loinc.org#51726-8 - should be one of 22 choices: 'FDA product label NDC labeler code request, \"FDA label NDC labeler code request\", \"FDA 药品标签 National Drug Code\" (zh-CN), \"NDC\" (zh-CN), \"国家药品验证号\" (zh-CN), \"国家药品代码\" (zh-CN), \"美国国家药品代码\" (zh-CN), \"全国药品代码\" (zh-CN), \"NDC labeler code\" (zh-CN), \"NDC 标识者识别代码\" (zh-CN), \"NDC 厂家号\" (zh-CN), \"NDC 贴签厂商代码请求\" (zh-CN), \"NDC 标签号申请 叙述\" (zh-CN), \"叙述性文字\" (zh-CN), \"报告\" (zh-CN), \"报告型\" (zh-CN), \"文字叙述\" (zh-CN), \"文本叙述型\" (zh-CN), \"文本描述\" (zh-CN), \"文本描述型 监管类文档\" (zh-CN), \"Documentazione normativa Etichetta di prodotto della Food and Drug Administ\" (it-IT), \"Описательный\" (ru-RU)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "X-34133-9", "display" : "SoEN2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unknown Code 'X-34133-9' in the system 'http://loinc.org'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unknown Code 'X-34133-9' in the system 'http://loinc.org'; The provided code http://loinc.org#X-34133-9 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "X-34133-9" -}, "url": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unknown Code 'X-34133-9' in the system 'http://loinc.org'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/c80-doc-typecodes--0' (from null)", + "error" : "Unknown Code 'X-34133-9' in the system 'http://loinc.org'; The provided code http://loinc.org#X-34133-9 is not in the value set 'http://hl7.org/fhir/ValueSet/c80-doc-typecodes--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -978,10 +1369,16 @@ v: { "system" : "http://loinc.org", "code" : "X-34133-9", "display" : "SoEN2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unknown Code 'X-34133-9' in the system 'http://loinc.org'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unknown Code 'X-34133-9' in the system 'http://loinc.org'; The provided code http://loinc.org#X-34133-9 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -989,17 +1386,30 @@ v: { "system" : "http://loinc.org", "code" : "80764-4", "display" : "Pain medicine Plan of care note" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Pain medicine Plan of care note", "code" : "80764-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "56445-0" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medication summary Document", "code" : "56445-0", @@ -1011,10 +1421,16 @@ v: { "version" : "current", "code" : "56445-0", "display" : "Medication summary Doc" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://loinc.org version current is unknown. ValidVersions: [2.73]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/doc-typecodes' (from null)", + "error" : "The CodeSystem http://loinc.org version current is unknown. Valid versions: [2.74]; The provided code http://loinc.org|current#56445-0 is not in the value set 'http://hl7.org/fhir/ValueSet/doc-typecodes' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -1022,10 +1438,16 @@ v: { "system" : "http://loinc.org", "version" : "current", "code" : "56445-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://loinc.org version current is unknown. ValidVersions: [2.73]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "The CodeSystem http://loinc.org version current is unknown. Valid versions: [2.74]; The provided code http://loinc.org|current#56445-0 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -1034,17 +1456,29 @@ v: { "version" : "current", "code" : "48765-2", "display" : "Allergies and adverse reactions" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://loinc.org version current is unknown. ValidVersions: [2.73]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "The CodeSystem http://loinc.org version current is unknown. Valid versions: [2.74]; The provided code http://loinc.org|current#48765-2 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "34133-9" -}, "url": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary of episode note", "code" : "34133-9", @@ -1055,27 +1489,47 @@ v: { "system" : "http://loinc.org", "code" : "34133-9", "display" : "Summary of episode note" -}, "url": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary of episode note", "code" : "34133-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "34133-9" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary of episode note", "code" : "34133-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "34133-9" -}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type--1", "version": "3.1.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type--1", "version": "3.1.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary of episode note", "code" : "34133-9", @@ -1087,17 +1541,29 @@ v: { "version" : "2.73", "code" : "57852-6", "display" : "Problem list Narrative - Reported" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { - "display" : "Problem list Narrative - Reported", - "code" : "57852-6", - "system" : "http://loinc.org" + "severity" : "error", + "error" : "The CodeSystem http://loinc.org version 2.73 is unknown. Valid versions: [2.74]; The provided code http://loinc.org|2.73#57852-6 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", + "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "18842-5" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge summary", "code" : "18842-5", @@ -1108,41 +1574,68 @@ v: { "system" : "http://loinc.org", "code" : "18842-5", "display" : "Discharge Summary" -}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge summary", "code" : "18842-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "18842-5" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discharge summary", "code" : "18842-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29299-5" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Reason for visit Narrative", "code" : "29299-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "�g��", "display" : "8302-2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unknown Code '�g��' in the system 'http://loinc.org'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unknown Code '�g��' in the system 'http://loinc.org'; The provided code http://loinc.org#�g�� is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -1150,191 +1643,316 @@ v: { "system" : "http://loinc.org", "code" : "8867-4", "display" : "Heart rate" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Heart rate", "code" : "8867-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10331-7", "display" : "Rh [Type] in Blood" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Rh [Type] in Blood", "code" : "10331-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "18684-1", "display" : "����" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "First Blood pressure Set", "code" : "18684-1", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", - "error" : "Wrong Display Name '����' for http://loinc.org#18684-1 - should be one of 46 choices: 'First Blood pressure Set, \"ED Health Insurance Portability and Accountability Act of 1996\" (zh-CN), \"HIPAA\" (zh-CN), \"健康保險可攜與責任法\" (zh-CN), \"HIPAA法案\" (zh-CN), \"健康保险可移植性和问责法1996年\" (zh-CN), \"美国健康保险携带和责任法案\" (zh-CN), \"医疗保险便携性和责任法案\" (zh-CN), \"医疗保险便携性与责任法案\" (zh-CN), \"醫療保險可攜性與責任法\" (zh-CN), \"HIPAA 信息附件.急诊\" (zh-CN), \"HIPAA 信息附件.急诊科\" (zh-CN), \"HIPAA 信息附件.急诊科就医\" (zh-CN), \"HIPAA 信息附件.急诊科就诊\" (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), \"就医过程 急诊科 急诊科(DEEDS)变量\" (zh-CN), \"DEEDS 变量\" (zh-CN), \"急诊\" (zh-CN), \"急诊科\" (zh-CN), \"Emergency Department\" (zh-CN), \"ED\" (zh-CN), \"急诊科(急诊科系统代码之数据元素)变量\" (zh-CN), \"急诊科(急诊科系统代码之数据元素)指标\" (zh-CN), \"急诊科(美国CDC急诊科系统代码之数据元素)指标\" (zh-CN), \"急诊科指标 急诊科(Emergency Department,ED) 急诊部 第一个\" (zh-CN), \"第一次\" (zh-CN), \"首个\" (zh-CN), \"首次 血\" (zh-CN), \"全血\" (zh-CN), \"Allegato Allegato di reparto di emergenza (pronto soccorso) Complesso Emergenza (DEEDS - Data Elements for Emergency Dep Incontro\" (it-IT), \"Appuntamento paziente Stabilito\" (it-IT), \"Fissato\" (it-IT), \"Встреча Комплекс\" (ru-RU)' for the language(s) '--' (from null)" + "error" : "Wrong Display Name '����' for http://loinc.org#18684-1 - should be one of 46 choices: 'First Blood pressure Set, \"ED Health Insurance Portability and Accountability Act of 1996\" (zh-CN), \"HIPAA\" (zh-CN), \"健康保險可攜與責任法\" (zh-CN), \"HIPAA法案\" (zh-CN), \"健康保险可移植性和问责法1996年\" (zh-CN), \"美国健康保险携带和责任法案\" (zh-CN), \"医疗保险便携性和责任法案\" (zh-CN), \"医疗保险便携性与责任法案\" (zh-CN), \"醫療保險可攜性與責任法\" (zh-CN), \"HIPAA 信息附件.急诊\" (zh-CN), \"HIPAA 信息附件.急诊科\" (zh-CN), \"HIPAA 信息附件.急诊科就医\" (zh-CN), \"HIPAA 信息附件.急诊科就诊\" (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), \"就医过程 急诊科 急诊科(DEEDS)变量\" (zh-CN), \"DEEDS 变量\" (zh-CN), \"急诊\" (zh-CN), \"急诊科\" (zh-CN), \"Emergency Department\" (zh-CN), \"ED\" (zh-CN), \"急诊科(急诊科系统代码之数据元素)变量\" (zh-CN), \"急诊科(急诊科系统代码之数据元素)指标\" (zh-CN), \"急诊科(美国CDC急诊科系统代码之数据元素)指标\" (zh-CN), \"急诊科指标 急诊科(Emergency Department,ED) 急诊部 第一个\" (zh-CN), \"第一次\" (zh-CN), \"首个\" (zh-CN), \"首次 血\" (zh-CN), \"全血\" (zh-CN), \"Allegato Allegato di reparto di emergenza (pronto soccorso) Complesso Emergenza (DEEDS - Data Elements for Emergency Dep Incontro\" (it-IT), \"Appuntamento paziente Stabilito\" (it-IT), \"Fissato\" (it-IT), \"Встреча Комплекс\" (ru-RU)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8480-6", "display" : "���k������" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", - "error" : "Wrong Display Name '���k������' for http://loinc.org#8480-6 - should be one of 33 choices: 'Systolic blood pressure, \"BP sys\", \"一般血压\" (zh-CN), \"血压.原子型\" (zh-CN), \"血压指标.原子型 压力\" (zh-CN), \"压强 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 血管内收缩期\" (zh-CN), \"血管内心缩期 血管内的\" (zh-CN), \"Pressure\" (pt-BR), \"Point in time\" (pt-BR), \"Random\" (pt-BR), \"Art sys\" (pt-BR), \"Quantitative\" (pt-BR), \"QNT\" (pt-BR), \"Quant\" (pt-BR), \"Quan\" (pt-BR), \"IV\" (pt-BR), \"Intravenous\" (pt-BR), \"BLOOD PRESSURE MEASUREMENTS.ATOM\" (pt-BR), \"BP systolic\" (pt-BR), \"Blood pressure systolic\" (pt-BR), \"Sys BP\" (pt-BR), \"SBP\" (pt-BR), \"Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)\" (it-IT), \"Давление Количественный Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"Blutdruck systolisch\" (de-AT)' for the language(s) '--' (from null)" + "error" : "Wrong Display Name '���k������' for http://loinc.org#8480-6 - should be one of 33 choices: 'Systolic blood pressure, \"BP sys\", \"一般血压\" (zh-CN), \"血压.原子型\" (zh-CN), \"血压指标.原子型 压力\" (zh-CN), \"压强 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 血管内收缩期\" (zh-CN), \"血管内心缩期 血管内的\" (zh-CN), \"Pressure\" (pt-BR), \"Point in time\" (pt-BR), \"Random\" (pt-BR), \"Art sys\" (pt-BR), \"Quantitative\" (pt-BR), \"QNT\" (pt-BR), \"Quant\" (pt-BR), \"Quan\" (pt-BR), \"IV\" (pt-BR), \"Intravenous\" (pt-BR), \"BLOOD PRESSURE MEASUREMENTS.ATOM\" (pt-BR), \"BP systolic\" (pt-BR), \"Blood pressure systolic\" (pt-BR), \"Sys BP\" (pt-BR), \"SBP\" (pt-BR), \"Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)\" (it-IT), \"Давление Количественный Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"Blutdruck systolisch\" (de-AT)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8462-4", "display" : "�g��������" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", - "error" : "Wrong Display Name '�g��������' for http://loinc.org#8462-4 - should be one of 36 choices: 'Diastolic blood pressure, \"BP dias\", \"一般血压\" (zh-CN), \"血压.原子型\" (zh-CN), \"血压指标.原子型 压力\" (zh-CN), \"压强 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 血管内心舒期\" (zh-CN), \"血管内舒张期 血管内的\" (zh-CN), \"Dias\" (pt-BR), \"Diast\" (pt-BR), \"Pressure\" (pt-BR), \"Point in time\" (pt-BR), \"Random\" (pt-BR), \"Art sys\" (pt-BR), \"Quantitative\" (pt-BR), \"QNT\" (pt-BR), \"Quant\" (pt-BR), \"Quan\" (pt-BR), \"IV\" (pt-BR), \"Intravenous\" (pt-BR), \"Diastoli\" (pt-BR), \"BLOOD PRESSURE MEASUREMENTS.ATOM\" (pt-BR), \"Blood pressure diastolic\" (pt-BR), \"BP diastolic\" (pt-BR), \"Dias BP\" (pt-BR), \"DBP\" (pt-BR), \"Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)\" (it-IT), \"Внутрисосудистый диастолический Давление Количественный Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"Blutdruck diastolisch\" (de-AT)' for the language(s) '--' (from null)" + "error" : "Wrong Display Name '�g��������' for http://loinc.org#8462-4 - should be one of 36 choices: 'Diastolic blood pressure, \"BP dias\", \"一般血压\" (zh-CN), \"血压.原子型\" (zh-CN), \"血压指标.原子型 压力\" (zh-CN), \"压强 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 血管内心舒期\" (zh-CN), \"血管内舒张期 血管内的\" (zh-CN), \"Dias\" (pt-BR), \"Diast\" (pt-BR), \"Pressure\" (pt-BR), \"Point in time\" (pt-BR), \"Random\" (pt-BR), \"Art sys\" (pt-BR), \"Quantitative\" (pt-BR), \"QNT\" (pt-BR), \"Quant\" (pt-BR), \"Quan\" (pt-BR), \"IV\" (pt-BR), \"Intravenous\" (pt-BR), \"Diastoli\" (pt-BR), \"BLOOD PRESSURE MEASUREMENTS.ATOM\" (pt-BR), \"Blood pressure diastolic\" (pt-BR), \"BP diastolic\" (pt-BR), \"Dias BP\" (pt-BR), \"DBP\" (pt-BR), \"Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)\" (it-IT), \"Внутрисосудистый диастолический Давление Количественный Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"Blutdruck diastolisch\" (de-AT)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "718-7", "display" : "Hemoglobin [Mass/volume] in Blood" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Hemoglobin [Mass/volume] in Blood", "code" : "718-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "38483-4", "display" : "Creat Bld-mCnc" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Creatinine [Mass/volume] in Blood", "code" : "38483-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "2093-3", "display" : "Cholesterol [Mass/volume] in Serum or Plasma" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cholesterol [Mass/volume] in Serum or Plasma", "code" : "2093-3", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "44261-6", "display" : "Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]", "code" : "44261-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "69548-6" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Genetic variant assessment", "code" : "69548-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA9633-4" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Present", "code" : "LA9633-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA26398-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Sequencing", "code" : "LA26398-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "48018-6" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Gene studied [ID]", "code" : "48018-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "81252-9" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Discrete genetic variant", "code" : "81252-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "81290-9" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Genomic DNA change (gHGVS)", "code" : "81290-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "48002-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Genomic source class [Type]", "code" : "48002-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA6684-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Somatic", "code" : "LA6684-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "69548-6" -}, "url": "http://hl7.org/fhir/ValueSet/observation-codes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-codes--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Genetic variant assessment", "code" : "69548-6", @@ -1344,11 +1962,18 @@ v: { {"code" : { "system" : "http://loinc.org", "code" : "69548-6" -}, "url": "http://hl7.org/fhir/ValueSet/observation-codes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/observation-codes", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Genetic variant assessment", "code" : "69548-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { @@ -1366,7 +1991,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Present", "code" : "LA9633-4", @@ -1388,11 +2019,18 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Present", "code" : "LA9633-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { @@ -1410,7 +2048,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Sequencing", "code" : "LA26398-0", @@ -1432,11 +2076,18 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Sequencing", "code" : "LA26398-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { @@ -1454,7 +2105,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Somatic", "code" : "LA6684-0", @@ -1476,98 +2133,161 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Somatic", "code" : "LA6684-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8310-5" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body temperature", "code" : "8310-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA20271-5", "display" : "Medications" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medications", "code" : "LA20271-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA20278-0", "display" : "Prescription or over-the-counter (including herbal supplements)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Prescription or over-the-counter (including herbal supplements)", "code" : "LA20278-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA20275-6", "display" : "Incorrect action (process failure or error) (e.g., such as administering overdose or incorrect medication)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Incorrect action (process failure or error) (e.g., such as administering overdose or incorrect medication)", "code" : "LA20275-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA20276-4", "display" : "Incorrect patient" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Incorrect patient", "code" : "LA20276-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA20296-2", "display" : "Administering" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Administering", "code" : "LA20296-2", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA32-8", "display" : "No" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "No", "code" : "LA32-8", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA33-6", "display" : "Yes" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Yes", "code" : "LA33-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { @@ -1701,7 +2421,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medications", "code" : "LA20271-5", @@ -1767,7 +2493,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Prescription or over-the-counter (including herbal supplements)", "code" : "LA20278-0", @@ -1813,7 +2545,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Incorrect action (process failure or error) (e.g., such as administering overdose or incorrect medication)", "code" : "LA20275-6", @@ -1891,7 +2629,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Incorrect patient", "code" : "LA20276-4", @@ -1949,7 +2693,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Administering", "code" : "LA20296-2", @@ -1975,7 +2725,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "No", "code" : "LA32-8", @@ -2001,7 +2757,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Yes", "code" : "LA33-6", @@ -2011,21 +2773,35 @@ v: { {"code" : { "system" : "http://loinc.org", "code" : "LA33-6" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Yes", "code" : "LA33-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA32-8" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "No", "code" : "LA32-8", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { @@ -2044,7 +2820,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Yes", "code" : "LA33-6", @@ -2067,7 +2849,13 @@ v: { }] }] } -}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "No", "code" : "LA32-8", @@ -2078,42 +2866,312 @@ v: { "system" : "http://loinc.org", "code" : "88123-5", "display" : "Within the past 12 months the food we bought just didn't last and we didn't have money to get more [U.S. FSS]" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Within the past 12 months the food we bought just didn't last and we didn't have money to get more [U.S. FSS]", "code" : "88123-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "LA28397-0", "display" : "Often true" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Often true", "code" : "LA28397-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "version" : "http://loinc.org", "code" : "test" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://loinc.org version http://loinc.org is unknown. ValidVersions: [2.73]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "The CodeSystem http://loinc.org version http://loinc.org is unknown. Valid versions: [2.74]; The provided code http://loinc.org|http://loinc.org#test is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "10155-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "History of allergies, reported", "code" : "10155-0", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "59408-5" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Oxygen saturation in Arterial blood by Pulse oximetry", + "code" : "59408-5", "system" : "http://loinc.org" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "2708-6" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "severity" : "error", + "error" : "The provided code http://loinc.org#2708-6 is not in the value set 'http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0' (from Tx-Server)", + "class" : "UNKNOWN" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "2708-6" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Oxygen saturation in Arterial blood", + "code" : "2708-6", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "59408-5", + "display" : "O2 % BldC Oximetry" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Oxygen saturation in Arterial blood by Pulse oximetry", + "code" : "59408-5", + "system" : "http://loinc.org", + "version" : "2.74", + "severity" : "warning", + "error" : "Wrong Display Name 'O2 % BldC Oximetry' for http://loinc.org#59408-5 - should be one of 26 choices: 'Oxygen saturation in Arterial blood by Pulse oximetry, \"SaO2 % BldA PulseOx\", \"O2 SaO2\" (pl-PL), \"saturacja krwi tlenem\" (pl-PL), \"MFr O2\" (zh-CN), \"tO2\" (zh-CN), \"总氧\" (zh-CN), \"氧气 SaO2 动脉血 动脉血O2饱和度 可用数量表示的\" (zh-CN), \"定量性\" (zh-CN), \"数值型\" (zh-CN), \"数量型\" (zh-CN), \"连续数值型标尺 时刻\" (zh-CN), \"随机\" (zh-CN), \"随意\" (zh-CN), \"瞬间 肺部测量指标与呼吸机管理 脉搏血氧测定法\" (zh-CN), \"脉搏血氧定量\" (zh-CN), \"脉搏血氧测定\" (zh-CN), \"脉搏血氧仪 血氧测定法 饱和 饱和状态 饱和程度\" (zh-CN), \"O2-Sättigung\" (de-DE), \"Frazione di massa Gestione ventilazione polmonare Punto nel tempo (episodio) Sangue arterioso\" (it-IT), \"Oksijen doymuşluğu\" (tr-TR), \"Количественный Кровь артериальная Массовая доля Насыщение кислородом Оксигемометрия\" (ru-RU), \"Гемоксиметрия Точка во времени\" (ru-RU), \"Момент\" (ru-RU), \"zuurstofsaturatiemeting\" (nl-NL), \"O2 SatO2\" (fr-BE)' for the language(s) '--' (from Tx-Server)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "2708-6", + "display" : "Oxygen saturation in Arterial blood" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Oxygen saturation in Arterial blood", + "code" : "2708-6", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "59408-5" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Oxygen saturation in Arterial blood by Pulse oximetry", + "code" : "59408-5", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "2708-6" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Oxygen saturation in Arterial blood", + "code" : "2708-6", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3150-0" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Inhaled oxygen concentration", + "code" : "3150-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3150-0", + "display" : "Inhaled Oxygen Concentration" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Inhaled oxygen concentration", + "code" : "3150-0", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3150-0" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Inhaled oxygen concentration", + "code" : "3150-0", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3151-8" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs--0", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Inhaled oxygen flow rate", + "code" : "3151-8", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3151-8", + "display" : "Flow Rate" +}, "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", "version": "4.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Inhaled oxygen flow rate", + "code" : "3151-8", + "system" : "http://loinc.org", + "version" : "2.74", + "severity" : "warning", + "error" : "Wrong Display Name 'Flow Rate' for http://loinc.org#3151-8 - should be one of 37 choices: '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)' for the language(s) '--' (from Tx-Server)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3151-8" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Inhaled oxygen flow rate", + "code" : "3151-8", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.74", + "code" : "57852-6", + "display" : "Problem list Narrative - Reported" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Problem list Narrative - Reported", + "code" : "57852-6", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/rxnorm.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/rxnorm.cache index 817523b60..be9f8079c 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/rxnorm.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/rxnorm.cache @@ -3,53 +3,88 @@ "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "1000990", "display" : "oxymetazoline hydrochloride 0.5 MG/ML Nasal Spray" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "oxymetazoline hydrochloride 0.5 MG/ML Nasal Spray", "code" : "1000990", - "system" : "http://www.nlm.nih.gov/research/umls/rxnorm" + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", + "version" : "??" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "1010603", "display" : "Suboxone 2 MG / 0.5 MG Sublingual Film" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film [Suboxone]", "code" : "1010603", - "system" : "http://www.nlm.nih.gov/research/umls/rxnorm" + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", + "version" : "??" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "1298088", "display" : "Flurazepam Hydrochloride 15 MG Oral Capsule" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "flurazepam hydrochloride 15 MG Oral Capsule", "code" : "1298088", - "system" : "http://www.nlm.nih.gov/research/umls/rxnorm" + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", + "version" : "??" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "1010600", "display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "buprenorphine 2 MG / naloxone 0.5 MG Sublingual Film", "code" : "1010600", - "system" : "http://www.nlm.nih.gov/research/umls/rxnorm" + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", + "version" : "??" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "1591957" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Mircera", "code" : "1591957", - "system" : "http://www.nlm.nih.gov/research/umls/rxnorm" + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", + "version" : "??" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache index ca5d6bfaa..f6c711ba0 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache @@ -3,39 +3,66 @@ "system" : "http://snomed.info/sct", "code" : "721912009", "display" : "Medication summary document (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medication summary document (record artifact)", "code" : "721912009", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "91935009", "display" : "Allergy to peanuts" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergy to peanuts", "code" : "91935009", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "3718001", "display" : "Cow's milk" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cow's milk", "code" : "3718001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "255604002" -}, "url": "http://hl7.org/fhir/ValueSet/condition-severity--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/condition-severity--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Mild", "code" : "255604002", @@ -46,38 +73,65 @@ v: { "system" : "http://snomed.info/sct", "code" : "255604002", "display" : "Mild" -}, "url": "http://hl7.org/fhir/ValueSet/condition-severity", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/condition-severity", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Mild", "code" : "255604002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "255604002" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Mild", "code" : "255604002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "409002", "display" : "Food allergy diet" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Food allergy diet", "code" : "409002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "6736007" -}, "url": "http://hl7.org/fhir/ValueSet/condition-severity--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/condition-severity--0", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Moderate", "code" : "6736007", @@ -88,326 +142,535 @@ v: { "system" : "http://snomed.info/sct", "code" : "6736007", "display" : "Moderate" -}, "url": "http://hl7.org/fhir/ValueSet/condition-severity", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/condition-severity", "version": "4.0.1", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Moderate", "code" : "6736007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "6736007" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Moderate", "code" : "6736007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "437009", "display" : "Abnormal composition of urine" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Abnormal composition of urine", "code" : "437009", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "9846003", "display" : "Right kidney" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Right kidney", "code" : "9846003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "189009", "display" : "Excision of lesion of artery" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Excision of lesion of artery", "code" : "189009", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "911003", "display" : "Removal of subarachnoid-ureteral shunt" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Removal of subarachnoid-ureteral shunt", "code" : "911003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "112144000", "display" : "Blood group A (finding)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood group A", "code" : "112144000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "80943009", "display" : "Risk Factor" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Risk factor", "code" : "80943009", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "77176002", "display" : "Smoker" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Smoker", "code" : "77176002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "38341003", "display" : "Hypertensive disorder, systemic arterial (disorder)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "High blood pressure", "code" : "38341003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "1419004", "display" : "Injury of prostate without open wound into abdominal cavity" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Injury of prostate without open wound into abdominal cavity", "code" : "1419004", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "93880001", "display" : "Primary malignant neoplasm of lung (disorder)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Primary malignant neoplasm of lung", "code" : "93880001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "248986005", "display" : "Estimated date of conception" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Estimated date of conception", "code" : "248986005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "161714006", "display" : "Estimated date of delivery" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Estimated date of delivery", "code" : "161714006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "161713000", "display" : "Last menstrual period - First day" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Last menstrual period -1st day", "code" : "161713000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "445872007", "display" : "Length of gestation at time of procedure" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Length of gestation at time of procedure (observable entity)", "code" : "445872007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "722446000", "display" : "Allergy record (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergy record (record artifact)", "code" : "722446000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "371531000", "display" : "Report of clinical encounter (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Encounter report", "code" : "371531000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "4241000179101", "display" : "Laboratory report (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory report (record artifact)", "code" : "4241000179101", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "422735006", "display" : "Summary clinical document (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary clinical document (record artifact)", "code" : "422735006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "440545006", "display" : "Prescription record" -}, "valueSet" :null, "langs":"[en-IN]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[en-IN]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Prescription record (record artifact)", "code" : "440545006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "324252006", "display" : "Azithromycin (as azithromycin dihydrate) 250 mg oral capsule" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Azithromycin (as azithromycin dihydrate) 250 mg oral capsule", "code" : "324252006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "11840006", "display" : "Traveller's Diarrhea (disorder)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Traveler's diarrhea", "code" : "11840006", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "severity" : "warning", - "error" : "Wrong Display Name 'Traveller's Diarrhea (disorder)' for http://snomed.info/sct#11840006 - should be one of 4 choices: 'Traveler's diarrhea, \"Turista\", \"Traveler's diarrhoea\", \"Traveler's diarrhea (disorder)\"' for the language(s) '--' (from null)" + "error" : "Wrong Display Name 'Traveller's Diarrhea (disorder)' for http://snomed.info/sct#11840006 - should be one of 4 choices: 'Traveler's diarrhea, \"Turista\", \"Traveler's diarrhoea\", \"Traveler's diarrhea (disorder)\"' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "21522001", "display" : "Abdominal pain" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Abdominal pain", "code" : "21522001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "311504000", "display" : "With or after food" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "With or after food", "code" : "311504000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "26643006", "display" : "Oral Route" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Oral route", "code" : "26643006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "421521009", "display" : "Swallow" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Swallow - dosing instruction imperative (qualifier value)", "code" : "421521009", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "602001", "display" : "Ross river fever" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Ross river fever", "code" : "602001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "8821006", "display" : "Peroneal artery" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Peroneal artery", "code" : "8821006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "112144000" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood group A (finding)", "code" : "112144000", @@ -417,17 +680,30 @@ v: { {"code" : { "system" : "http://snomed.info/sct", "code" : "112144000" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood group A", "code" : "112144000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "722446000" -}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergy record (record artifact)", "code" : "722446000", @@ -437,17 +713,30 @@ v: { {"code" : { "system" : "http://snomed.info/sct", "code" : "722446000" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergy record (record artifact)", "code" : "722446000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "371531000" -}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Report of clinical encounter (record artifact)", "code" : "371531000", @@ -457,17 +746,30 @@ v: { {"code" : { "system" : "http://snomed.info/sct", "code" : "371531000" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Encounter report", "code" : "371531000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "4241000179101" -}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory report (record artifact)", "code" : "4241000179101", @@ -477,17 +779,30 @@ v: { {"code" : { "system" : "http://snomed.info/sct", "code" : "4241000179101" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Laboratory report (record artifact)", "code" : "4241000179101", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "422735006" -}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary clinical document (record artifact)", "code" : "422735006", @@ -497,30 +812,49 @@ v: { {"code" : { "system" : "http://snomed.info/sct", "code" : "422735006" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Summary clinical document (record artifact)", "code" : "422735006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "77176002" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0' (from null)", + "error" : "The provided code http://snomed.info/sct#77176002 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "38341003" -}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0", "version": "0.5.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0' (from null)", + "error" : "The provided code http://snomed.info/sct#38341003 is not in the value set 'https://mednet.swiss/fhir/ValueSet/mni-obs-bloodGroup--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -529,141 +863,164 @@ v: { "version" : "http://snomed.info/sct/731000124108", "code" : "454281000124100", "display" : "Assessment of risk for opioid abuse (procedure)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Assessment of risk for opioid abuse (procedure)", "code" : "454281000124100", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/731000124108/version/20230301" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "371532007", "display" : "Progress note" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Progress report", "code" : "371532007", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "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)\"' for the language(s) '--' (from null)" + "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)\"' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "371525003", "display" : "Clinical procedure report" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Clinical procedure report", "code" : "371525003", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- -{"code" : { "system" : "http://snomed.info/sct", - "code" : "371532007" -}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode--0", "version": "2.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### -v: { - "display" : "Progress report (record artifact)", - "code" : "371532007", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "371532007" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Progress report", - "code" : "371532007", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "371525003" -}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### -v: { - "display" : "Clinical procedure report (record artifact)", - "code" : "371525003", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "371525003" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### -v: { - "display" : "Clinical procedure report", - "code" : "371525003", - "system" : "http://snomed.info/sct" + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "419891008", "display" : "Record artifact (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Record artifact (record artifact)", "code" : "419891008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "371525003", "display" : "Clinical procedure report (record artifact)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Clinical procedure report", "code" : "371525003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "17621005", "display" : "Normal (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Normal", "code" : "17621005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "722172003", "display" : "Military health institution (environment)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Military health institution (environment)", "code" : "722172003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "394609007", "display" : "General surgery (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "General surgery (qualifier value)", "code" : "394609007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "71388002", "display" : "Procedure (procedure)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Procedure", "code" : "71388002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { @@ -671,17 +1028,30 @@ v: { "version" : "http://snomed.info/sct/11000146104/version/20220930", "code" : "271872005", "display" : "Old age (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Old age", "code" : "271872005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/11000146104/version/20220930" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "271872005" -}, "url": "https://fhir.kbv.de/ValueSet/KBV_VS_Base_Stage_Life--0", "version": "1.2.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "https://fhir.kbv.de/ValueSet/KBV_VS_Base_Stage_Life--0", "version": "1.2.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Old age (qualifier value)", "code" : "271872005", @@ -692,122 +1062,198 @@ v: { "system" : "http://snomed.info/sct", "code" : "410534003", "display" : "Not indicated (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Not indicated (qualifier value)", "code" : "410534003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "10828004", "display" : "Positive (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Positive", "code" : "10828004", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "233588003", "display" : "Continuous hemodiafiltration" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Continuous haemodiafiltration", "code" : "233588003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "324689003", "display" : "Nystatin 100000 unit/mL oral suspension" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Product containing precisely nystatin 100000 unit/1 milliliter conventional release oral suspension (clinical drug)", "code" : "324689003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "442311008", "display" : "Liveborn born in hospital" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Liveborn born in hospital", "code" : "442311008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "840539006", "display" : "COVID-19" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Disease caused by 2019 novel coronavirus", "code" : "840539006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "840535000", "display" : "COVID-19" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Antibody to 2019 novel coronavirus", "code" : "840535000", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "severity" : "warning", - "error" : "Wrong Display Name 'COVID-19' for http://snomed.info/sct#840535000 - should be one of 7 choices: 'Antibody to 2019 novel coronavirus, \"Antibody to 2019-nCoV\", \"Antibody to severe acute respiratory syndrome coronavirus 2 (substance)\", \"Antibody to severe acute respiratory syndrome coronavirus 2\", \"Antibody to SARS-CoV-2\", \"Severe acute respiratory syndrome coronavirus 2 Ab\", \"Severe acute respiratory syndrome coronavirus 2 antibody\"' for the language(s) '--' (from null)" + "error" : "Wrong Display Name 'COVID-19' for http://snomed.info/sct#840535000 - should be one of 7 choices: 'Antibody to 2019 novel coronavirus, \"Antibody to 2019-nCoV\", \"Antibody to severe acute respiratory syndrome coronavirus 2 (substance)\", \"Antibody to severe acute respiratory syndrome coronavirus 2\", \"Antibody to SARS-CoV-2\", \"Severe acute respiratory syndrome coronavirus 2 Ab\", \"Severe acute respiratory syndrome coronavirus 2 antibody\"' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "840535000", "display" : "Antibody to 2019 novel coronavirus" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Antibody to 2019 novel coronavirus", "code" : "840535000", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "32485007", "display" : "Hospital admission (procedure)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Hospital admission", "code" : "32485007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "32713005", "display" : "Cecum structure (body structure)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cecum", "code" : "32713005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "10821000202101", "display" : "Narkose eller dyp sedasjon med anestesistøtte" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 10821000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '10821000202101' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 10821000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '10821000202101' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#10821000202101 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -815,34 +1261,54 @@ v: { "system" : "http://snomed.info/sct", "code" : "446745002", "display" : "Diagnostisk med biopsi" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Colonoscopy and biopsy of colon (procedure)", "code" : "446745002", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "severity" : "warning", - "error" : "Wrong Display Name 'Diagnostisk med biopsi' for http://snomed.info/sct#446745002 - should be one of 2 choices: 'Colonoscopy and biopsy of colon (procedure), \"Colonoscopy and biopsy of colon\"' for the language(s) '--' (from null)" + "error" : "Wrong Display Name 'Diagnostisk med biopsi' for http://snomed.info/sct#446745002 - should be one of 2 choices: 'Colonoscopy and biopsy of colon (procedure), \"Colonoscopy and biopsy of colon\"' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "73761001", "display" : "Colonoscopy (procedure)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Colonoscopy", "code" : "73761001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "8921000202108", "display" : "Primary performing endoscopist (person)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 8921000202108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8921000202108' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 8921000202108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8921000202108' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#8921000202108 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -850,10 +1316,16 @@ v: { "system" : "http://snomed.info/sct", "code" : "8951000202101", "display" : "Main nurse assisting procedure (person)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 8951000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8951000202101' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 8951000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8951000202101' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#8951000202101 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -861,21 +1333,34 @@ v: { "system" : "http://snomed.info/sct", "code" : "300577008", "display" : "Finding of lesion (finding)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Finding of lesion", "code" : "300577008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "10291000202102", "display" : "Lesion size given by largest diameter (observable entity)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 10291000202102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '10291000202102' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 10291000202102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '10291000202102' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#10291000202102 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -883,21 +1368,34 @@ v: { "system" : "http://snomed.info/sct", "code" : "722818007", "display" : "Boston bowel preparation scale (assessment scale)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Boston bowel preparation scale", "code" : "722818007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "8901000202102", "display" : "Boston bowel preparation skala høyre kolon" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 8901000202102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8901000202102' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 8901000202102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8901000202102' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#8901000202102 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -905,21 +1403,34 @@ v: { "system" : "http://snomed.info/sct", "code" : "10291000132101", "display" : "Portion of mucosa of colon segment seen, but other areas of colon segment not well seen due to staining, residual stool and/or opaque liquid (finding)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Portion of mucosa of the colon segment seen, but other areas of the colon segment are not well seen because of staining, residual stool, or opaque liquid, 1", "code" : "10291000132101", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "8911000202100", "display" : "Boston bowel preparation skala kolon transversum" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 8911000202100 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8911000202100' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 8911000202100 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8911000202100' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#8911000202100 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -927,21 +1438,34 @@ v: { "system" : "http://snomed.info/sct", "code" : "10301000132102", "display" : "Minor amount of residual staining, small fragments of stool and/or opaque liquid, but mucosa of colon segment seen well (finding)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Minor amount of residual staining, small fragments of stool and/or opaque liquid, but mucosa of colon segment seen well (finding)", "code" : "10301000132102", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "8891000202103", "display" : "Boston bowel preparation skala venstre kolon" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 8891000202103 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8891000202103' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 8891000202103 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8891000202103' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#8891000202103 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -949,238 +1473,395 @@ v: { "system" : "http://snomed.info/sct", "code" : "10311000132100", "display" : "Entire mucosa of colon segment seen well with no residual staining, small fragments of stool or opaque liquid (finding)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Entire mucosa of colon segment seen well with no residual staining, small fragments of stool or opaque liquid (finding)", "code" : "10311000132100", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "10291000132101" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Portion of mucosa of the colon segment seen, but other areas of the colon segment are not well seen because of staining, residual stool, or opaque liquid, 1", "code" : "10291000132101", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "10301000132102" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Minor amount of residual staining, small fragments of stool and/or opaque liquid, but mucosa of colon segment seen well (finding)", "code" : "10301000132102", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "10311000132100" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Entire mucosa of colon segment seen well with no residual staining, small fragments of stool or opaque liquid (finding)", "code" : "10311000132100", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "246206008" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Number of lesions", "code" : "246206008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "15991000202102", "display" : "Appearance of intestinal lumen" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 15991000202102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '15991000202102' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 15991000202102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '15991000202102' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#15991000202102 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "17621005" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Normal", "code" : "17621005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "712510007", "display" : "Intestinal hemorrhage (disorder)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Intestinal hemorrhage (disorder)", "code" : "712510007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "32485007" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Hospital admission", "code" : "32485007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "32713005" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cecum", "code" : "32713005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "10821000202101" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 10821000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '10821000202101' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 10821000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '10821000202101' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#10821000202101 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "446745002" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Colonoscopy and biopsy of colon (procedure)", "code" : "446745002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "8921000202108" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 8921000202108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8921000202108' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 8921000202108 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8921000202108' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#8921000202108 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "8951000202101" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 8951000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8951000202101' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 8951000202101 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '8951000202101' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#8951000202101 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "712510007" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Intestinal hemorrhage (disorder)", "code" : "712510007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "372756006" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Warfarin (substance)", "code" : "372756006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "387458008" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Aspirin (substance)", "code" : "387458008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "372756006", "display" : "Warfarin (substance)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Warfarin (substance)", "code" : "372756006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "387458008", "display" : "Aspirin (substance)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Aspirin (substance)", "code" : "387458008", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "276885007" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Core body temperature", "code" : "276885007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Golden retriever", "code" : "58108001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "119339001", "display" : "Stool specimen (specimen)" -}, "valueSet" :null, "langs":"[en-US]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[en-US]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Stool specimen", "code" : "119339001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "5933001", "display" : "Clostridioides difficile (organism)" -}, "valueSet" :null, "langs":"[en-US]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "valueSet" :null, "langs":"[en-US]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Clostridium difficile", "code" : "5933001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { @@ -1188,10 +1869,16 @@ v: { "version" : "http://snomed.info/sct/900000000000207008/version/20210331", "code" : "459231000124102", "display" : "Sequential organ failure assessment score (assessment scale)" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The CodeSystem http://snomed.info/sct version http://snomed.info/sct/900000000000207008/version/20210331 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/20230301,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/20230131]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "The CodeSystem http://snomed.info/sct version http://snomed.info/sct/900000000000207008/version/20210331 is unknown. Valid versions: [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/20230301,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/20230131]; The provided code http://snomed.info/sct|http://snomed.info/sct/900000000000207008/version/20210331#459231000124102 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -1200,78 +1887,125 @@ v: { "version" : "http://snomed.info/sct/11000146104/version/20220930", "code" : "36989005", "display" : "Mumps" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Mumps", "code" : "36989005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/11000146104/version/20220930" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "322236009", "display" : "Paracetamol 500mg tablets" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Acetaminophen 500 mg oral tablet", "code" : "322236009", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "severity" : "warning", - "error" : "Wrong Display Name 'Paracetamol 500mg tablets' for http://snomed.info/sct#322236009 - should be one of 3 choices: 'Acetaminophen 500 mg oral tablet, \"Paracetamol 500 mg oral tablet\", \"Product containing precisely paracetamol 500 milligram/1 each conventional release oral tablet (clinical drug)\"' for the language(s) '--' (from null)" + "error" : "Wrong Display Name 'Paracetamol 500mg tablets' for http://snomed.info/sct#322236009 - should be one of 3 choices: 'Acetaminophen 500 mg oral tablet, \"Paracetamol 500 mg oral tablet\", \"Product containing precisely paracetamol 500 milligram/1 each conventional release oral tablet (clinical drug)\"' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "428673006" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Tablet - unit of product usage (qualifier value)", "code" : "428673006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "35901911000001104", "display" : "Amoxicillin 125mg/5ml oral suspension sugar free" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 35901911000001104 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '35901911000001104' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 35901911000001104 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '35901911000001104' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#35901911000001104 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "258773002" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "cm3", "code" : "258773002", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "329652003", "display" : "Ibuprofen 200mg tablets" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Ibuprofen 200 mg oral tablet", "code" : "329652003", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131", "severity" : "warning", - "error" : "Wrong Display Name 'Ibuprofen 200mg tablets' for http://snomed.info/sct#329652003 - should be one of 2 choices: 'Ibuprofen 200 mg oral tablet, \"Product containing precisely ibuprofen 200 milligram/1 each conventional release oral tablet (clinical drug)\"' for the language(s) '--' (from null)" + "error" : "Wrong Display Name 'Ibuprofen 200mg tablets' for http://snomed.info/sct#329652003 - should be one of 2 choices: 'Ibuprofen 200 mg oral tablet, \"Product containing precisely ibuprofen 200 milligram/1 each conventional release oral tablet (clinical drug)\"' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "39695211000001102", "display" : "Aspirin 300mg dispersible tablets" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 39695211000001102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '39695211000001102' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 39695211000001102 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '39695211000001102' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#39695211000001102 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -1279,30 +2013,114 @@ v: { "system" : "http://snomed.info/sct", "code" : "56248011000036107", "display" : "Panadol 500 mg tablet, 50" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 56248011000036107 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '56248011000036107' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 56248011000036107 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '56248011000036107' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#56248011000036107 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "1" -}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 1 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '1' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 1 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '1' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#1 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "2" -}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "Unable to find code 2 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '2' in the system 'http://snomed.info/sct'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from null)", + "error" : "Unable to find code 2 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20230131); Unknown Code '2' in the system 'http://snomed.info/sct'; The provided code http://snomed.info/sct#2 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "371532007" +}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode--0", "version": "2.0.1", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Progress report (record artifact)", + "code" : "371532007", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "371532007" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Progress report", + "code" : "371532007", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "371525003" +}, "url": "http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode--0", "version": "2.0.4", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Clinical procedure report (record artifact)", + "code" : "371525003", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "371525003" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Clinical procedure report", + "code" : "371525003", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache index c7eb4b637..d2ee5bc60 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache @@ -2,127 +2,182 @@ {"code" : { "system" : "http://unitsofmeasure.org", "code" : "%" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "%", "code" : "%", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "L/min" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "L/min", "code" : "L/min", - "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" + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "cm" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "cm", "code" : "cm", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "cm" -}, "url": "https://bb/ValueSet/BBDemographicAgeUnit--0", "version": "20190731", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'https://bb/ValueSet/BBDemographicAgeUnit--0' (from null)", + "error" : "The provided code http://unitsofmeasure.org#cm is not in the value set 'https://bb/ValueSet/BBDemographicAgeUnit--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "min" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "min", "code" : "min", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mmol/L" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mmol/L", "code" : "mmol/L", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "kg" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "kg", "code" : "kg", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "kg/m2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "kg/m2", "code" : "kg/m2", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mm[Hg]" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mm[Hg]", "code" : "mm[Hg]", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "wk" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "wk", "code" : "wk", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mm[Hg]" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "millimeter of mercury", "code" : "mm[Hg]", @@ -132,120 +187,234 @@ v: { {"code" : { "system" : "http://unitsofmeasure.org", "code" : "{capsule}" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "{capsule}", "code" : "{capsule}", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "{patch}" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "{patch}", "code" : "{patch}", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "m" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "m", "code" : "m", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "m" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/age-units--0' (from null)", + "error" : "The provided code http://unitsofmeasure.org#m is not in the value set 'http://hl7.org/fhir/ValueSet/age-units--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "/min" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "/min", "code" : "/min", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mg" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mg", "code" : "mg", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mm" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mm", "code" : "mm", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "Cel" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cel", "code" : "Cel", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "g" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "g", "code" : "g", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mm[Hg]{hg}" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mm[Hg]{hg}", "code" : "mm[Hg]{hg}", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "fmm[Hg]" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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)", + "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 http://unitsofmeasure.org#fmm[Hg] is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "J/C" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "J/C", "code" : "J/C", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- +{"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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "severity" : "error", + "error" : "The provided code http://unitsofmeasure.org#L/min is not in the value set 'http://hl7.org/fhir/ValueSet/ucum-vitals-common--0' (from Tx-Server)", + "class" : "UNKNOWN" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/uvsdcCodeSystemCSPHQ9.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/uvsdcCodeSystemCSPHQ9.cache index f206e9ad8..876cfd1bb 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/uvsdcCodeSystemCSPHQ9.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/uvsdcCodeSystemCSPHQ9.cache @@ -2,40 +2,68 @@ {"code" : { "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", "code" : "Not-at-all" -}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Not at all", "code" : "Not-at-all", - "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9" + "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", + "version" : "3.0.0" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", "code" : "Several-days" -}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Several days", "code" : "Several-days", - "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9" + "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", + "version" : "3.0.0" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", "code" : "More than half the days" -}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "More than half the days", "code" : "More than half the days", - "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9" + "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", + "version" : "3.0.0" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", "code" : "Nearly every day" -}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +}, "valueSet" :null, "langs":"[en-US, en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Nearly every day", "code" : "Nearly every day", - "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9" + "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9", + "version" : "3.0.0" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.capabilityStatement.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.capabilityStatement.cache index 262a742d5..eec3774fe 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.capabilityStatement.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.capabilityStatement.cache @@ -9,10 +9,10 @@ }] }, "url" : "http://localhost/r4/metadata", - "version" : "4.0.1-2.0.14", + "version" : "4.0.1-2.1.0", "name" : "FHIR Reference Server Conformance Statement", "status" : "active", - "date" : "2023-04-24T12:40:18.698Z", + "date" : "2023-05-02T06:12:57.010Z", "contact" : [{ "telecom" : [{ "system" : "other", @@ -23,7 +23,7 @@ "instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"], "software" : { "name" : "Reference Server", - "version" : "2.0.14", + "version" : "2.1.0", "releaseDate" : "2022-05-13T19:50:55.040Z" }, "implementation" : { diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.terminologyCapabilities.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.terminologyCapabilities.cache index 748471556..8c7a9bcdf 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.terminologyCapabilities.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.3.0/.terminologyCapabilities.cache @@ -2,10 +2,10 @@ "resourceType" : "TerminologyCapabilities", "id" : "FhirServer", "url" : "http://localhost/r4/metadata", - "version" : "1.0.0", + "version" : "2.0.0", "name" : "FHIR Reference Server Teminology Capability Statement", "status" : "active", - "date" : "2023-04-24T12:40:18.709Z", + "date" : "2023-05-02T06:12:57.020Z", "contact" : [{ "telecom" : [{ "system" : "other", diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache index ac8ebf6bb..0887d6057 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache @@ -8,11 +8,11 @@ "display" : "Subsetted" }] }, - "url" : "http://tx.fhir.org/r4/metadata", - "version" : "4.0.1-2.0.14", + "url" : "http://localhost/r4/metadata", + "version" : "4.0.1-2.1.0", "name" : "FHIR Reference Server Conformance Statement", "status" : "active", - "date" : "2023-04-24T12:43:23.721Z", + "date" : "2023-05-02T06:13:01.479Z", "contact" : [{ "telecom" : [{ "system" : "other", @@ -23,12 +23,12 @@ "instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"], "software" : { "name" : "Reference Server", - "version" : "2.0.14", + "version" : "2.1.0", "releaseDate" : "2022-05-13T19:50:55.040Z" }, "implementation" : { - "description" : "FHIR Server running at http://tx.fhir.org/r4", - "url" : "http://tx.fhir.org/r4" + "description" : "FHIR Server running at http://localhost/r4", + "url" : "http://localhost/r4" }, "fhirVersion" : "4.0.1", "format" : ["application/fhir+xml", @@ -60,7 +60,7 @@ }, { "name" : "versions", - "definition" : "http://tx.fhir.org/r4/OperationDefinition/fso-versions" + "definition" : "http://localhost/r4/OperationDefinition/fso-versions" }] }] } \ No newline at end of file diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache index ffb5f7af7..72402084b 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache @@ -1,11 +1,11 @@ { "resourceType" : "TerminologyCapabilities", "id" : "FhirServer", - "url" : "http://tx.fhir.org/r4/metadata", - "version" : "1.0.0", + "url" : "http://localhost/r4/metadata", + "version" : "2.0.0", "name" : "FHIR Reference Server Teminology Capability Statement", "status" : "active", - "date" : "2023-04-24T12:43:24.018Z", + "date" : "2023-05-02T06:13:01.490Z", "contact" : [{ "telecom" : [{ "system" : "other", @@ -133,21 +133,27 @@ { "uri" : "http://hl7.org/fhir/code-search-support" }, + { + "uri" : "http://hl7.org/fhir/codesystem-content-mode" + }, + { + "uri" : "http://hl7.org/fhir/codesystem-hierarchy-meaning" + }, { "uri" : "http://hl7.org/fhir/CodeSystem/example" }, - { - "uri" : "http://hl7.org/fhir/CodeSystem/medicationrequest-intent" - }, - { - "uri" : "http://hl7.org/fhir/CodeSystem/medicationrequest-status" - }, { "uri" : "http://hl7.org/fhir/CodeSystem/medication-statement-status" }, { "uri" : "http://hl7.org/fhir/CodeSystem/medication-status" }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/medicationrequest-intent" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/medicationrequest-status" + }, { "uri" : "http://hl7.org/fhir/CodeSystem/status" }, @@ -157,12 +163,6 @@ { "uri" : "http://hl7.org/fhir/CodeSystem/task-code" }, - { - "uri" : "http://hl7.org/fhir/codesystem-content-mode" - }, - { - "uri" : "http://hl7.org/fhir/codesystem-hierarchy-meaning" - }, { "uri" : "http://hl7.org/fhir/compartment-type" }, @@ -175,9 +175,6 @@ { "uri" : "http://hl7.org/fhir/concept-map-equivalence" }, - { - "uri" : "http://hl7.org/fhir/conceptmap-unmapped-mode" - }, { "uri" : "http://hl7.org/fhir/concept-properties" }, @@ -187,6 +184,9 @@ { "uri" : "http://hl7.org/fhir/concept-subsumption-outcome" }, + { + "uri" : "http://hl7.org/fhir/conceptmap-unmapped-mode" + }, { "uri" : "http://hl7.org/fhir/conditional-delete-status" }, @@ -196,15 +196,15 @@ { "uri" : "http://hl7.org/fhir/consent-data-meaning" }, - { - "uri" : "http://hl7.org/fhir/consentperformer" - }, { "uri" : "http://hl7.org/fhir/consent-provision-type" }, { "uri" : "http://hl7.org/fhir/consent-state-codes" }, + { + "uri" : "http://hl7.org/fhir/consentperformer" + }, { "uri" : "http://hl7.org/fhir/constraint-severity" }, @@ -340,9 +340,6 @@ { "uri" : "http://hl7.org/fhir/event-timing" }, - { - "uri" : "http://hl7.org/fhir/examplescenario-actor-type" - }, { "uri" : "http://hl7.org/fhir/ex-claimitemtype" }, @@ -358,6 +355,18 @@ { "uri" : "http://hl7.org/fhir/ex-pharmaservice" }, + { + "uri" : "http://hl7.org/fhir/ex-servicemodifier" + }, + { + "uri" : "http://hl7.org/fhir/ex-serviceproduct" + }, + { + "uri" : "http://hl7.org/fhir/ex-udi" + }, + { + "uri" : "http://hl7.org/fhir/examplescenario-actor-type" + }, { "uri" : "http://hl7.org/fhir/explanationofbenefit-status" }, @@ -367,21 +376,12 @@ { "uri" : "http://hl7.org/fhir/expression-language" }, - { - "uri" : "http://hl7.org/fhir/ex-servicemodifier" - }, - { - "uri" : "http://hl7.org/fhir/ex-serviceproduct" - }, { "uri" : "http://hl7.org/fhir/extension-context-type" }, { "uri" : "http://hl7.org/fhir/extra-activity-type" }, - { - "uri" : "http://hl7.org/fhir/ex-udi" - }, { "uri" : "http://hl7.org/fhir/feeding-device" }, @@ -473,10 +473,10 @@ "uri" : "http://hl7.org/fhir/language-preference-type" }, { - "uri" : "http://hl7.org/fhir/linkage-type" + "uri" : "http://hl7.org/fhir/link-type" }, { - "uri" : "http://hl7.org/fhir/link-type" + "uri" : "http://hl7.org/fhir/linkage-type" }, { "uri" : "http://hl7.org/fhir/list-mode" @@ -521,10 +521,10 @@ "uri" : "http://hl7.org/fhir/message-events" }, { - "uri" : "http://hl7.org/fhir/messageheader-response-request" + "uri" : "http://hl7.org/fhir/message-significance-category" }, { - "uri" : "http://hl7.org/fhir/message-significance-category" + "uri" : "http://hl7.org/fhir/messageheader-response-request" }, { "uri" : "http://hl7.org/fhir/metric-calibration-state" @@ -650,10 +650,10 @@ "uri" : "http://hl7.org/fhir/related-artifact-type" }, { - "uri" : "http://hl7.org/fhir/relationship" + "uri" : "http://hl7.org/fhir/relation-type" }, { - "uri" : "http://hl7.org/fhir/relation-type" + "uri" : "http://hl7.org/fhir/relationship" }, { "uri" : "http://hl7.org/fhir/remittance-outcome" @@ -997,17 +997,17 @@ { "uri" : "http://terminology.hl7.org/CodeSystem/chromosome-human" }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/claimcareteamrole" - }, { "uri" : "http://terminology.hl7.org/CodeSystem/claim-exception" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/claiminformationcategory" + "uri" : "http://terminology.hl7.org/CodeSystem/claim-type" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/claim-type" + "uri" : "http://terminology.hl7.org/CodeSystem/claimcareteamrole" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/claiminformationcategory" }, { "uri" : "http://terminology.hl7.org/CodeSystem/codesystem-altcode-kind" @@ -1066,18 +1066,21 @@ { "uri" : "http://terminology.hl7.org/CodeSystem/container-cap" }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/contractaction" - }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/contractactorrole" - }, { "uri" : "http://terminology.hl7.org/CodeSystem/contract-content-derivative" }, { "uri" : "http://terminology.hl7.org/CodeSystem/contract-data-meaning" }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contract-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contractaction" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contractactorrole" + }, { "uri" : "http://terminology.hl7.org/CodeSystem/contractsignertypecodes" }, @@ -1090,9 +1093,6 @@ { "uri" : "http://terminology.hl7.org/CodeSystem/contracttermtypecodes" }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/contract-type" - }, { "uri" : "http://terminology.hl7.org/CodeSystem/copy-number-event" }, @@ -1103,10 +1103,10 @@ "uri" : "http://terminology.hl7.org/CodeSystem/coverage-copay-type" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/coverageeligibilityresponse-ex-auth-support" + "uri" : "http://terminology.hl7.org/CodeSystem/coverage-selfpay" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/coverage-selfpay" + "uri" : "http://terminology.hl7.org/CodeSystem/coverageeligibilityresponse-ex-auth-support" }, { "uri" : "http://terminology.hl7.org/CodeSystem/data-absent-reason" @@ -1189,12 +1189,6 @@ { "uri" : "http://terminology.hl7.org/CodeSystem/ex-diagnosistype" }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/expansion-parameter-source" - }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/expansion-processing-rule" - }, { "uri" : "http://terminology.hl7.org/CodeSystem/ex-payee-resource-type" }, @@ -1222,15 +1216,21 @@ { "uri" : "http://terminology.hl7.org/CodeSystem/ex-tooth" }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type" - }, { "uri" : "http://terminology.hl7.org/CodeSystem/ex-USCLS" }, { "uri" : "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct" }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/expansion-parameter-source" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/expansion-processing-rule" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type" + }, { "uri" : "http://terminology.hl7.org/CodeSystem/failure-action" }, @@ -1280,10 +1280,10 @@ "uri" : "http://terminology.hl7.org/CodeSystem/hl7-document-format-codes" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" + "uri" : "http://terminology.hl7.org/CodeSystem/hl7-work-group" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/hl7-work-group" + "uri" : "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" }, { "uri" : "http://terminology.hl7.org/CodeSystem/immunization-evaluation-dose-status" @@ -1369,6 +1369,12 @@ { "uri" : "http://terminology.hl7.org/CodeSystem/medication-admin-status" }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medication-statement-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medication-usage-admin-location" + }, { "uri" : "http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function" }, @@ -1396,12 +1402,6 @@ { "uri" : "http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason" }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/medication-statement-category" - }, - { - "uri" : "http://terminology.hl7.org/CodeSystem/medication-usage-admin-location" - }, { "uri" : "http://terminology.hl7.org/CodeSystem/message-reasons-encounter" }, @@ -1451,10 +1451,10 @@ "uri" : "http://terminology.hl7.org/CodeSystem/payment-adjustment-reason" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/paymentstatus" + "uri" : "http://terminology.hl7.org/CodeSystem/payment-type" }, { - "uri" : "http://terminology.hl7.org/CodeSystem/payment-type" + "uri" : "http://terminology.hl7.org/CodeSystem/paymentstatus" }, { "uri" : "http://terminology.hl7.org/CodeSystem/plan-definition-type" @@ -3571,6 +3571,9 @@ { "uri" : "urn:ietf:rfc:3986" }, + { + "uri" : "urn:iso-astm:E1762-95:2013" + }, { "uri" : "urn:iso:std:iso:11073:10101" }, @@ -3583,9 +3586,6 @@ { "uri" : "urn:iso:std:iso:4217" }, - { - "uri" : "urn:iso-astm:E1762-95:2013" - }, { "uri" : "urn:oid:1.2.36.1.2001.1001.101.104.16592" }, diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache index d58bc641f..74852539f 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache @@ -1,36 +1,13 @@ ------------------------------------------------------------------------------------- -{"code" : { - "code" : "fr-CA" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "French (Canada)", - "code" : "fr-CA", - "system" : "urn:ietf:bcp:47" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "439401001", - "display" : "Diagnosis" -}, "url": "http://hl7.org/fhir/ValueSet/condition-category", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/condition-category' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "code" : "d" -}, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "day", - "code" : "d", - "system" : "http://unitsofmeasure.org" -} -------------------------------------------------------------------------------------- {"code" : { "code" : "text/plain" -}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "text/plain", "code" : "text/plain", @@ -41,16 +18,29 @@ v: { "system" : "http://snomed.info/sct", "code" : "271649006", "display" : "Systolic blood pressure" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "271649006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "code" : "nl-NL" -}, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0", "langs":"[nl-NL]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0", "langs":"[nl-NL]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Dutch (Region=Netherlands)", "code" : "nl-NL", @@ -59,7 +49,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "en-AU" -}, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0", "langs":"[en-AU]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0", "langs":"[en-AU]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English (Region=Australia)", "code" : "en-AU", @@ -68,7 +64,13 @@ v: { ------------------------------------------------------------------------------------- {"code" : { "code" : "en" -}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0", "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "English", "code" : "en", diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/animal-species.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/animal-species.cache index 7eac2ec6b..5d5bcfdba 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/animal-species.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/animal-species.cache @@ -3,10 +3,17 @@ "system" : "http://hl7.org/fhir/animal-species", "code" : "canislf", "display" : "Dog" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Dog", "code" : "canislf", - "system" : "http://hl7.org/fhir/animal-species" + "system" : "http://hl7.org/fhir/animal-species", + "version" : "4.0.1" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache index c21446ec1..1896e2d74 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache @@ -3,11 +3,18 @@ "system" : "http://www.whocc.no/atc", "code" : "N02AA", "display" : "Barbiturates and derivatives" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Natural opium alkaloids", "code" : "N02AA", "system" : "http://www.whocc.no/atc", + "version" : "2020-05", "severity" : "warning", "error" : "Wrong Display Name 'Barbiturates and derivatives' for http://www.whocc.no/atc#N02AA - should be 'Natural opium alkaloids' (for the language(s) '--') (from Tx-Server)" } diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache deleted file mode 100644 index 4258330c6..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache +++ /dev/null @@ -1,31 +0,0 @@ -------------------------------------------------------------------------------------- -{"code" : { - "system" : "urn:ietf:bcp:47", - "code" : "fr-CA" -}, "url": "http://hl7.org/fhir/ValueSet/all-languages--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true"}#### -v: { - "display" : "French (Region=Canada)", - "code" : "fr-CA", - "system" : "urn:ietf:bcp:47" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "urn:ietf:bcp:47", - "code" : "fr-CA" -}, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/all-languages' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "urn:ietf:bcp:47", - "code" : "fr-CA" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache index f43297ef8..5ae50448b 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache @@ -1,118 +1,68 @@ ------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "29463-7", - "display" : "Body Weight" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "3141-9", - "display" : "Body weight Measured" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "LA6724-4", - "display" : "Good color all over" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "LA6718-6", - "display" : "At least 100 beats per minute" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "LA6721-0", - "display" : "Grimace and pulling away, cough, or sneeze during suctioning" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "LA6715-2", - "display" : "Active motion " -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "Wrong Display Name 'Active motion ' for http://loinc.org#LA6715-2 - should be 'Active motion' (for the language(s) '--'); The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://loinc.org", - "code" : "LA6727-7", - "display" : "Good, strong cry; normal rate and effort of breathing " -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "Wrong Display Name 'Good, strong cry; normal rate and effort of breathing ' for http://loinc.org#LA6727-7 - should be 'Good, strong cry; normal rate and effort of breathing' (for the language(s) '--'); The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "85354-9", "display" : "Blood pressure panel with all children optional" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8480-6", "display" : "Systolic blood pressure" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8462-4", "display" : "Diastolic blood pressure" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "85354-9" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", @@ -123,27 +73,47 @@ v: { "system" : "http://loinc.org", "code" : "85354-9", "display" : "Blood pressure panel with all children optional" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "85354-9" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Blood pressure panel with all children optional", "code" : "85354-9", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8480-6" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", @@ -154,27 +124,47 @@ v: { "system" : "http://loinc.org", "code" : "8480-6", "display" : "Systolic blood pressure" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8480-6" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "8480-6", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8462-4" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", @@ -185,27 +175,47 @@ v: { "system" : "http://loinc.org", "code" : "8462-4", "display" : "Diastolic blood pressure" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "8462-4" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Diastolic blood pressure", "code" : "8462-4", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "56445-0" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medication summary Document", "code" : "56445-0", @@ -217,22 +227,34 @@ v: { "version" : "2.73", "code" : "56445-0", "display" : "Medication summary Doc" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { - "display" : "Medication summary Document", - "code" : "56445-0", - "system" : "http://loinc.org" + "severity" : "error", + "error" : "The CodeSystem http://loinc.org version 2.73 is unknown. Valid versions: [2.74]; The provided code http://loinc.org|2.73#56445-0 is not in the value set 'http://hl7.org/fhir/ValueSet/doc-typecodes' (from Tx-Server)", + "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "version" : "2.73", "code" : "56445-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { - "display" : "Medication summary Document", - "code" : "56445-0", - "system" : "http://loinc.org" + "severity" : "error", + "error" : "The CodeSystem http://loinc.org version 2.73 is unknown. Valid versions: [2.74]; The provided code http://loinc.org|2.73#56445-0 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", + "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { @@ -240,19 +262,29 @@ v: { "version" : "2.73", "code" : "48765-2", "display" : "Allergies and adverse reactions" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { - "display" : "Allergies and adverse reactions Document", - "code" : "48765-2", - "system" : "http://loinc.org", - "severity" : "warning", - "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)' for the language(s) '--' (from Tx-Server)" + "severity" : "error", + "error" : "The CodeSystem http://loinc.org version 2.73 is unknown. Valid versions: [2.74]; The provided code http://loinc.org|2.73#48765-2 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", + "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "56445-0" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medication summary Document", "code" : "56445-0", @@ -264,22 +296,36 @@ v: { "version" : "current", "code" : "56445-0", "display" : "Medication summary Doc" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medication summary Document", "code" : "56445-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "version" : "current", "code" : "56445-0" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Medication summary Document", "code" : "56445-0", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { @@ -287,11 +333,18 @@ v: { "version" : "current", "code" : "48765-2", "display" : "Allergies and adverse reactions" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Allergies and adverse reactions Document", "code" : "48765-2", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", "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)' for the language(s) '--' (from Tx-Server)" } @@ -300,33 +353,54 @@ v: { "system" : "http://loinc.org", "code" : "3151-8", "display" : "ingeademde O2" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Inhaled oxygen flow rate", "code" : "3151-8", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "3151-8", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Inhaled oxygen flow rate", "code" : "3151-8", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "35200-5", "display" : "Cholesterol [Moles/​volume] in Serum or Plasma" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma", "code" : "35200-5", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", "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)' for the language(s) '--' (from Tx-Server)" } @@ -335,56 +409,149 @@ v: { "system" : "http://loinc.org", "code" : "13457-7", "display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation", "code" : "13457-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29463-7", "display" : "Body Weight" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight", "code" : "29463-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "29463-7", "display" : "Body Weight" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Body weight", "code" : "29463-7", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "35200-5", "display" : "Cholest SerPl-msCnc" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma", "code" : "35200-5", - "system" : "http://loinc.org" + "system" : "http://loinc.org", + "version" : "2.74" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://loinc.org", "code" : "35217-9", "display" : "Triglyceride [Moles/​volume] in Serum or Plasma" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Triglyceride [Mass or Moles/volume] in Serum or Plasma", "code" : "35217-9", "system" : "http://loinc.org", + "version" : "2.74", "severity" : "warning", "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)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.74", + "code" : "56445-0", + "display" : "Medication summary Doc" +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.74", + "code" : "56445-0" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.74", + "code" : "48765-2", + "display" : "Allergies and adverse reactions" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Allergies and adverse reactions Document", + "code" : "48765-2", + "system" : "http://loinc.org", + "version" : "2.74", + "severity" : "warning", + "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)' for the language(s) '--' (from Tx-Server)" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache deleted file mode 100644 index 07a05599d..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache +++ /dev/null @@ -1,12 +0,0 @@ -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://hl7.org/fhir/sid/ndc", - "code" : "2501-813-16", - "display" : "Timoptic 5mg/ml solution" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "Code \"2501-813-16\" not found in NDC; Unknown Code '2501-813-16' in the system 'http://hl7.org/fhir/sid/ndc'; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache index 5c1ea1138..190587308 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache @@ -3,10 +3,17 @@ "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "1049640", "display" : "Acetaminophen 325 MG / Oxycodone Hydrochloride 5 MG Oral Tablet [Percocet]" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "acetaminophen 325 MG / oxycodone hydrochloride 5 MG Oral Tablet [Percocet]", "code" : "1049640", - "system" : "http://www.nlm.nih.gov/research/umls/rxnorm" + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", + "version" : "??" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache index 67aa20295..b07c11202 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache @@ -1,239 +1,55 @@ ------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "27113001", - "display" : "Body weight" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "90655003" -}, "url": "http://hl7.org/fhir/ValueSet/c80-practice-codes--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/c80-practice-codes--0' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "90655003", - "display" : "Geriatrics specialist" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "439401001" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "24484000" -}, "url": "http://hl7.org/fhir/ValueSet/condition-severity--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true"}#### -v: { - "display" : "Severe", - "code" : "24484000", - "system" : "http://snomed.info/sct" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "24484000", - "display" : "Severe" -}, "url": "http://hl7.org/fhir/ValueSet/condition-severity", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/condition-severity' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "24484000" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "39065001", - "display" : "Burn of ear" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "49521004", - "display" : "Left external ear structure" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "443849008", - "display" : "Apgar score at 20 minutes" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "249227004", - "display" : "Apgar color score" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "249223000", - "display" : "Apgar heart rate score" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "249226008", - "display" : "Apgar response to stimulus score" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "249225007", - "display" : "Apgar muscle tone score" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "249224006", - "display" : "Apgar respiratory effort score" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "194828000", - "display" : "Angina (disorder)" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "22298006", - "display" : "Myocardial infarction (disorder)" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "54485002", - "display" : "Ophthalmic route (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://snomed.info/sct", - "code" : "421538008", - "display" : "Instill - dosing instruction imperative (qualifier value)" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "368209003", "display" : "Right arm" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Right upper arm", "code" : "368209003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "271649006", "display" : "Systolic blood pressure" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "271649006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "271649006" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Systolic blood pressure", "code" : "271649006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { @@ -241,10 +57,16 @@ v: { "version" : "http://snomed.info/sct/731000124108/version/20210201", "code" : "132037003", "display" : "Pineywoods pig breed" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "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/20230301,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/20230131]; The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", + "error" : "The CodeSystem http://snomed.info/sct version http://snomed.info/sct/731000124108/version/20210201 is unknown. Valid versions: [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/20230301,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/20230131]; The provided code http://snomed.info/sct|http://snomed.info/sct/731000124108/version/20210201#132037003 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -253,11 +75,18 @@ v: { "version" : "http://snomed.info/sct/731000124108/version/20210201", "code" : "132037003", "display" : "Pineywoods pig breed" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Pineywoods pig", "code" : "132037003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/731000124108/version/20230301" } ------------------------------------------------------------------------------------- {"code" : { @@ -265,11 +94,18 @@ v: { "version" : "http://snomed.info/sct/11000172109/version/20221115", "code" : "132037003", "display" : "Pineywoods pig breed. Not." -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Pineywoods pig", "code" : "132037003", "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/11000172109/version/20221115", "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\"' for the language(s) '--' (from Tx-Server)" } @@ -278,17 +114,30 @@ v: { "system" : "http://snomed.info/sct", "code" : "109006", "display" : "Anxiety disorder of childhood OR adolescence" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Anxiety disorder of childhood OR adolescence", "code" : "109006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "109006" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Anxiety disorder of childhood OR adolescence", "code" : "109006", @@ -299,41 +148,68 @@ v: { "system" : "http://snomed.info/sct", "code" : "109006", "display" : "Anxiety disorder of childhood OR adolescence" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Anxiety disorder of childhood OR adolescence", "code" : "109006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "109006" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Anxiety disorder of childhood OR adolescence", "code" : "109006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "106004", "display" : "Posterior carpal region" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Posterior carpal region", "code" : "106004", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "106004" -}, "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"}#### +}, "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/clinical-findings--0' (from Tx-Server)", + "error" : "The provided code http://snomed.info/sct#106004 is not in the value set 'http://hl7.org/fhir/ValueSet/clinical-findings--0' (from Tx-Server)", "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- @@ -341,11 +217,18 @@ v: { "system" : "http://snomed.info/sct", "code" : "106004", "display" : "Posterior carpal region" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Posterior carpal region", "code" : "106004", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"code" : { @@ -358,7 +241,13 @@ v: { "system" : "http://snomed.info/sct" }] } -}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +}, "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Posterior carpal region", "code" : "106004", @@ -369,98 +258,161 @@ v: { "system" : "http://snomed.info/sct", "code" : "85600001", "display" : "Triacylglycerol" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Triacylglycerol", "code" : "85600001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Golden retriever", "code" : "58108001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Venous blood specimen", "code" : "122555007", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "At rest", "code" : "263678003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Serum specimen", "code" : "119364003", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Plastic", "code" : "61088005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Evacuated blood collection tube, thrombin/clot activator/gel separator", "code" : "702281005", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Plasma specimen", "code" : "119361006", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- {"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"}#### +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Glass", "code" : "32039001", - "system" : "http://snomed.info/sct" + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache index 5146cc509..50ae1710a 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache @@ -1,58 +1,31 @@ ------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://unitsofmeasure.org", - "code" : "[lb_av]" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://unitsofmeasure.org", - "code" : "{score}" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://unitsofmeasure.org", - "code" : "mL" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://unitsofmeasure.org", - "code" : "d" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "severity" : "error", - "error" : "The provided code is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", - "class" : "UNKNOWN" -} -------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mm[Hg]" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mm[Hg]", "code" : "mm[Hg]", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mm[Hg]" -}, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"}#### +}, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "millimeter of mercury", "code" : "mm[Hg]", @@ -62,40 +35,68 @@ v: { {"code" : { "system" : "http://unitsofmeasure.org", "code" : "cm" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "cm", "code" : "cm", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mmol/L" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mmol/L", "code" : "mmol/L", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "mL" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "mL", "code" : "mL", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- {"code" : { "system" : "http://unitsofmeasure.org", "code" : "Cel" -}, "valueSet" :null, "langs":"[en]", "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", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Cel", "code" : "Cel", - "system" : "http://unitsofmeasure.org" + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" } ------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache deleted file mode 100644 index b45544503..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache +++ /dev/null @@ -1,11 +0,0 @@ -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0136", - "code" : "Y" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Yes", - "code" : "Y", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0136" -} -------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache deleted file mode 100644 index d025a5d57..000000000 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache +++ /dev/null @@ -1,12 +0,0 @@ -------------------------------------------------------------------------------------- -{"code" : { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0360|2.7", - "code" : "BS", - "display" : "Bachelor of Science" -}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### -v: { - "display" : "Bachelor of Science", - "code" : "BS", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0360|2.7" -} -------------------------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 2d699ed29..4d1a57fb0 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ 6.4.1 - 1.3.3 + 1.3.4-SNAPSHOT 2.14.0 5.9.2 1.8.2 From 40d73ba2ad6e7485b244e21df6ab5caa056d3382 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 3 May 2023 11:58:49 +1000 Subject: [PATCH 02/16] fix bug accessing canonical resources --- .../org/hl7/fhir/convertors/txClient/TerminologyClientR2.java | 2 +- .../org/hl7/fhir/convertors/txClient/TerminologyClientR3.java | 2 +- .../org/hl7/fhir/convertors/txClient/TerminologyClientR4.java | 2 +- .../org/hl7/fhir/convertors/txClient/TerminologyClientR5.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR2.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR2.java index 212106251..7dc2667a2 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR2.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR2.java @@ -175,7 +175,7 @@ public class TerminologyClientR2 implements TerminologyClient { throw new FHIRException("Unable to fetch resource " + Utilities.pathURL(getAddress(), type, id)); } org.hl7.fhir.r5.model.Resource r5 = VersionConvertorFactory_10_50.convertResource(r2); - if (r5 != null) { + if (r5 == null) { throw new FHIRException("Unable to convert resource " + Utilities.pathURL(getAddress(), type, id) + " to R5 (internal representation)"); } if (!(r5 instanceof CanonicalResource)) { diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java index 3c5f5f8bb..71c4080b4 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR3.java @@ -173,7 +173,7 @@ public class TerminologyClientR3 implements TerminologyClient { throw new FHIRException("Unable to fetch resource " + Utilities.pathURL(getAddress(), type, id)); } org.hl7.fhir.r5.model.Resource r5 = VersionConvertorFactory_30_50.convertResource(r3); - if (r5 != null) { + if (r5 == null) { throw new FHIRException("Unable to convert resource " + Utilities.pathURL(getAddress(), type, id) + " to R5 (internal representation)"); } if (!(r5 instanceof CanonicalResource)) { diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR4.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR4.java index b5f63e10c..3b14b9d27 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR4.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR4.java @@ -189,7 +189,7 @@ public class TerminologyClientR4 implements TerminologyClient { throw new FHIRException("Unable to fetch resource " + Utilities.pathURL(getAddress(), type, id)); } org.hl7.fhir.r5.model.Resource r5 = VersionConvertorFactory_40_50.convertResource(r4); - if (r5 != null) { + if (r5 == null) { throw new FHIRException("Unable to convert resource " + Utilities.pathURL(getAddress(), type, id) + " to R5 (internal representation)"); } if (!(r5 instanceof CanonicalResource)) { diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR5.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR5.java index e8c3c60ec..9a3ae0342 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR5.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/txClient/TerminologyClientR5.java @@ -163,7 +163,7 @@ public class TerminologyClientR5 implements TerminologyClient { throw new FHIRException("Unable to fetch resources of type " + type + " in R5"); } org.hl7.fhir.r5.model.Resource r5 = client.read(t, id); - if (r5 != null) { + if (r5 == null) { throw new FHIRException("Unable to convert resource " + Utilities.pathURL(getAddress(), type, id) + " to R5 (internal representation)"); } if (!(r5 instanceof CanonicalResource)) { From 0b71add74c7c2b86a89102c1b407eceb899c3844 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 3 May 2023 11:59:54 +1000 Subject: [PATCH 03/16] Always report version on validation, and use the correct type for version in expansion parameters --- .../java/org/hl7/fhir/r5/context/IWorkerContext.java | 4 ++++ .../fhir/r5/terminologies/ValueSetCheckerSimple.java | 10 +++++++--- .../fhir/r5/terminologies/ValueSetExpanderSimple.java | 7 ++++--- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java index f44fe35ca..4910acdd2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/IWorkerContext.java @@ -193,6 +193,10 @@ public interface IWorkerContext { this.system = system; } + public void setVersion(String version) { + this.version = version; + } + public String getCode() { return definition == null ? null : definition.getCode(); } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java index a5e22dcde..51f642cad 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java @@ -40,6 +40,7 @@ import java.util.List; import java.util.Map; import java.util.Set; + import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.exceptions.NoTerminologyServiceException; import org.hl7.fhir.r5.context.ContextUtilities; @@ -252,6 +253,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe public ValidationResult validateCode(String path, CodeableConcept code) throws FHIRException { // first, we validate the codings themselves ValidationProcessInfo info = new ValidationProcessInfo(); + if (options.getValueSetMode() != ValueSetMode.CHECK_MEMERSHIP_ONLY) { int i = 0; for (Coding c : code.getCoding()) { @@ -273,6 +275,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe res = context.validateCode(options.withNoClient(), c, null); } } else { + c.setUserData("cs", cs); res = validateCode(path+".coding["+i+"]", c, cs); } info.getIssues().addAll(res.getIssues()); @@ -309,6 +312,7 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe cd.setDisplay(lookupDisplay(foundCoding)); res.setDefinition(cd); res.setSystem(foundCoding.getSystem()); + res.setVersion(foundCoding.hasVersion() ? foundCoding.getVersion() : ((CodeSystem) foundCoding.getUserData("cs")).getVersion()); res.setDisplay(cd.getDisplay()); } return res; @@ -318,11 +322,11 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe String disp = lookupDisplay(foundCoding); ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode()); cd.setDisplay(disp); - return new ValidationResult(IssueSeverity.WARNING, info.summary(), foundCoding.getSystem(), foundCoding.getVersion(), cd, disp, info.getIssues()); + return new ValidationResult(IssueSeverity.WARNING, info.summary(), foundCoding.getSystem(), foundCoding.hasVersion() ? foundCoding.getVersion() : ((CodeSystem) foundCoding.getUserData("cs")).getVersion(), cd, disp, info.getIssues()); } else { ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode()); cd.setDisplay(lookupDisplay(foundCoding)); - return new ValidationResult(foundCoding.getSystem(), foundCoding.getVersion(), cd, getPreferredDisplay(cd, null)); + return new ValidationResult(foundCoding.getSystem(), foundCoding.hasVersion() ? foundCoding.getVersion() : ((CodeSystem) foundCoding.getUserData("cs")).getVersion(), cd, getPreferredDisplay(cd, null)); } } @@ -583,9 +587,9 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe } for (ConceptSetComponent inc : valueset.getCompose().getInclude()) { if (inc.hasSystem() && inc.getSystem().equals(code.getSystem())) { + vi.setComposeVersion(inc.getVersion()); for (ConceptReferenceComponent cc : inc.getConcept()) { if (cc.hasCode() && cc.getCode().equals(code.getCode())) { - vi.setComposeVersion(inc.getVersion()); return true; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java index 6616b4c27..fd1dc90f5 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java @@ -104,6 +104,7 @@ import org.hl7.fhir.r5.model.Parameters.ParametersParameterComponent; import org.hl7.fhir.r5.model.PrimitiveType; import org.hl7.fhir.r5.model.Resource; import org.hl7.fhir.r5.model.CanonicalType; +import org.hl7.fhir.r5.model.UriType; import org.hl7.fhir.r5.model.ValueSet; import org.hl7.fhir.r5.model.ValueSet.ConceptReferenceComponent; import org.hl7.fhir.r5.model.ValueSet.ConceptReferenceDesignationComponent; @@ -688,7 +689,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx throw fail("Unable to expand imported value set "+vs.getUrl()+": " + vso.getError()); } if (vs.hasVersion() || REPORT_VERSION_ANYWAY) { - CanonicalType u = new CanonicalType(vs.getUrl() + (vs.hasVersion() ? "|"+vs.getVersion() : "")); + UriType u = new UriType(vs.getUrl() + (vs.hasVersion() ? "|"+vs.getVersion() : "")); if (!existsInParams(exp.getParameter(), "version", u)) exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(u)); } @@ -801,7 +802,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx } ValueSet vs = vso.getValueset(); if (vs.hasVersion() || REPORT_VERSION_ANYWAY) { - CanonicalType u = new CanonicalType(vs.getUrl() + (vs.hasVersion() ? "|"+vs.getVersion() : "")); + UriType u = new UriType(vs.getUrl() + (vs.hasVersion() ? "|"+vs.getVersion() : "")); if (!existsInParams(exp.getParameter(), "version", u)) { exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(u)); } @@ -835,7 +836,7 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx if (cs.getContent() != CodeSystemContentMode.COMPLETE && cs.getContent() != CodeSystemContentMode.FRAGMENT) throw failTSE("Code system " + inc.getSystem().toString() + " is incomplete"); if (cs.hasVersion() || REPORT_VERSION_ANYWAY) { - CanonicalType u = new CanonicalType(cs.getUrl() + (cs.hasVersion() ? "|"+cs.getVersion() : "")); + UriType u = new UriType(cs.getUrl() + (cs.hasVersion() ? "|"+cs.getVersion() : "")); if (!existsInParams(exp.getParameter(), "version", u)) exp.getParameter().add(new ValueSetExpansionParameterComponent().setName("version").setValue(u)); } From 94fd0ae795cb8c09d91de1b1dbfd268eb750cb6f Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 3 May 2023 17:16:16 +1000 Subject: [PATCH 04/16] more tests fixes --- .../terminologies/ValueSetCheckerSimple.java | 5 ++++- .../terminologies/ValueSetExpanderSimple.java | 6 +++++- .../fhir/r5/test/utils/CompareUtilities.java | 18 +++++++++++++++--- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java index 51f642cad..a324f2ac7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java @@ -260,7 +260,10 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe if (!c.hasSystem()) { info.addIssue(makeIssue(IssueSeverity.WARNING, IssueType.UNKNOWN, path, context.formatMessage(I18nConstants.CODING_HAS_NO_SYSTEM__CANNOT_VALIDATE))); } - CodeSystem cs = resolveCodeSystem(c.getSystem(), c.getVersion()); + VersionInfo vi = new VersionInfo(); + checkExpansion(c, vi); + checkInclude(c, vi); + CodeSystem cs = resolveCodeSystem(c.getSystem(), vi.getVersion(c.getSystem(), c.getVersion())); ValidationResult res = null; if (cs == null || cs.getContent() != CodeSystemContentMode.COMPLETE) { if (context.isNoTerminologyServer()) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java index fd1dc90f5..3bd5bdadd 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetExpanderSimple.java @@ -614,7 +614,11 @@ public class ValueSetExpanderSimple extends ValueSetWorker implements ValueSetEx if (!requiredSupplements.isEmpty()) { return new ValueSetExpansionOutcome("Required supplements not found: "+requiredSupplements.toString(), TerminologyServiceErrorClass.BUSINESS_RULE, allErrors); } - + if (!expParams.hasParameter("includeDefinition") || !expParams.getParameterBool("includeDefinition")) { + focus.setCompose(null); + focus.getExtension().clear(); + focus.setPublisher(null); + } return new ValueSetExpansionOutcome(focus); } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java index 236b113d4..d7f06a032 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/CompareUtilities.java @@ -3,7 +3,7 @@ package org.hl7.fhir.r5.test.utils; import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang3.StringUtils; import org.hl7.fhir.utilities.*; - +import org.hl7.fhir.utilities.json.JsonUtilities; import org.hl7.fhir.utilities.settings.FhirSettings; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -245,9 +245,10 @@ public class CompareUtilities extends BaseTestingUtilities { } private static String compareObjects(String path, JsonObject expectedJsonObject, JsonObject actualJsonObject) { + List optionals = listOptionals(expectedJsonObject); for (Map.Entry en : actualJsonObject.entrySet()) { String n = en.getKey(); - if (!n.equals("fhir_comments") && !n.equals("$optional$")) { + if (!n.equals("fhir_comments")) { if (expectedJsonObject.has(n)) { String s = compareNodes(path + '.' + n, expectedJsonObject.get(n), en.getValue()); if (!Utilities.noString(s)) @@ -258,7 +259,7 @@ public class CompareUtilities extends BaseTestingUtilities { } for (Map.Entry en : expectedJsonObject.entrySet()) { String n = en.getKey(); - if (!n.equals("fhir_comments") && !n.equals("$optional$")) { + if (!n.equals("fhir_comments") && !n.equals("$optional$") && !optionals.contains(n)) { if (!actualJsonObject.has(n)) return "properties differ at " + path + ": missing property " + n; } @@ -266,6 +267,17 @@ public class CompareUtilities extends BaseTestingUtilities { return null; } + private static List listOptionals(JsonObject expectedJsonObject) { + List res = new ArrayList<>(); + if (expectedJsonObject.has("$optional-properties$")) { + res.add("$optional-properties$"); + for (String s : JsonUtilities.strings(expectedJsonObject.getAsJsonArray("$optional-properties$"))) { + res.add(s); + } + } + return res; + } + private static String compareNodes(String path, JsonElement expectedJsonElement, JsonElement actualJsonElement) { if (actualJsonElement.getClass() != expectedJsonElement.getClass()) return createNotEqualMessage("properties differ at " + path, expectedJsonElement.getClass().getName(), actualJsonElement.getClass().getName()); From 806c065fcbdcac1195109c8fcb156dfa5fa35250 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 4 May 2023 10:01:35 +1000 Subject: [PATCH 05/16] fix version return + profile support in testing --- .../terminologies/ValueSetCheckerSimple.java | 14 +++++++++++-- .../validation/ValidationMessage.java | 11 ++++++++++ .../hl7/fhir/validation/special/TxTester.java | 21 ++++++++++++++----- 3 files changed, 39 insertions(+), 7 deletions(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java index a324f2ac7..4da39cdcb 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/terminologies/ValueSetCheckerSimple.java @@ -325,11 +325,21 @@ public class ValueSetCheckerSimple extends ValueSetWorker implements ValueSetChe String disp = lookupDisplay(foundCoding); ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode()); cd.setDisplay(disp); - return new ValidationResult(IssueSeverity.WARNING, info.summary(), foundCoding.getSystem(), foundCoding.hasVersion() ? foundCoding.getVersion() : ((CodeSystem) foundCoding.getUserData("cs")).getVersion(), cd, disp, info.getIssues()); + return new ValidationResult(IssueSeverity.WARNING, info.summary(), foundCoding.getSystem(), getVersion(foundCoding), cd, disp, info.getIssues()); } else { ConceptDefinitionComponent cd = new ConceptDefinitionComponent(foundCoding.getCode()); cd.setDisplay(lookupDisplay(foundCoding)); - return new ValidationResult(foundCoding.getSystem(), foundCoding.hasVersion() ? foundCoding.getVersion() : ((CodeSystem) foundCoding.getUserData("cs")).getVersion(), cd, getPreferredDisplay(cd, null)); + return new ValidationResult(foundCoding.getSystem(), getVersion(foundCoding), cd, getPreferredDisplay(cd, null)); + } + } + + private String getVersion(Coding c) { + if (c.hasVersion()) { + return c.getVersion(); + } else if (c.hasUserData("cs")) { + return ((CodeSystem) c.getUserData("cs")).getVersion(); + } else { + return null; } } diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/validation/ValidationMessage.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/validation/ValidationMessage.java index 304682b0b..2e8178d6e 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/validation/ValidationMessage.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/validation/ValidationMessage.java @@ -522,6 +522,7 @@ public class ValidationMessage implements Comparator, Compara private boolean criticalSignpost; private Date ruleDate; public static final String NO_RULE_DATE = null; + private boolean matched; // internal use counting matching filters /** @@ -841,4 +842,14 @@ public class ValidationMessage implements Comparator, Compara public boolean isError() { return level == IssueSeverity.ERROR || level == IssueSeverity.FATAL; } + + public boolean isMatched() { + return matched; + } + + public void setMatched(boolean matched) { + this.matched = matched; + } + + } \ No newline at end of file diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java index f60897a02..55be38207 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java @@ -165,11 +165,12 @@ public class TxTester { return ok; } - private boolean runTest(JsonObject test, TerminologyClient tx, List setup, String filter, JsonArray output) { + private boolean runTest(JsonObject test, TerminologyClient tx, List setup, String filter, JsonArray output) throws FHIRFormatError, DefinitionException, FileNotFoundException, FHIRException, IOException { JsonObject outputT = new JsonObject(); if (output != null) { output.add(outputT); } + Parameters profile = loadProfile(test); outputT.add("name", test.asString("name")); if (Utilities.noString(filter) || filter.equals("*") || test.asString("name").contains(filter)) { System.out.print(" Test "+test.asString("name")+": "); @@ -186,9 +187,9 @@ public class TxTester { String msg = null; if (test.asString("operation").equals("expand")) { - msg = expand(tx, setup, req, resp, fp); + msg = expand(tx, setup, req, resp, fp, profile); } else if (test.asString("operation").equals("validate-code")) { - msg = validate(tx, setup, req, resp, fp); + msg = validate(tx, setup, req, resp, fp, profile); } else { throw new Exception("Unknown Operation "+test.asString("operation")); } @@ -216,14 +217,23 @@ public class TxTester { } } + private Parameters loadProfile(JsonObject test) throws FHIRFormatError, DefinitionException, FileNotFoundException, FHIRException, IOException { + if (test.has("profile")) { + return (Parameters) loader.loadResource(test.asString("profile")); + } else { + return (Parameters) loader.loadResource("parameters-default.json"); + } + } + private String serverId() throws URISyntaxException { return new URI(server).getHost(); } - private String expand(TerminologyClient tx, List setup, Parameters p, String resp, String fp) throws IOException { + private String expand(TerminologyClient tx, List setup, Parameters p, String resp, String fp, Parameters profile) throws IOException { for (Resource r : setup) { p.addParameter().setName("tx-resource").setResource(r); } + p.getParameter().addAll(profile.getParameter()); String vsj; try { ValueSet vs = tx.expandValueset(null, p, null); @@ -243,10 +253,11 @@ public class TxTester { return diff; } - private String validate(TerminologyClient tx, List setup, Parameters p, String resp, String fp) throws IOException { + private String validate(TerminologyClient tx, List setup, Parameters p, String resp, String fp, Parameters profile) throws IOException { for (Resource r : setup) { p.addParameter().setName("tx-resource").setResource(r); } + p.getParameter().addAll(profile.getParameter()); String pj; try { Parameters po = tx.validateVS(p); From e8de25c1970e397135abcaa76dd95813fb745d2b Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 4 May 2023 10:35:03 +1000 Subject: [PATCH 06/16] fix tests --- .../r5/context/SimpleWorkerContextTests.java | 14 +- .../context/codableConceptEmptyValueSet.json | 5 +- .../codableConceptEmptyValueSetSystem.json | 5 +- .../context/codingEmptyValueSet.json | 18 +- .../context/codingEmptyValueSetSystem.json | 20 +- .../txCache/org.hl7.fhir.r5/lang.cache | 14 + .../txCache/org.hl7.fhir.r5/loinc.cache | 46 +++ .../txCache/org.hl7.fhir.r5/mimetypes.cache | 14 + .../txCache/org.hl7.fhir.r5/ucum.cache | 98 +++++ .../org.hl7.fhir.validation/1.0.2/loinc.cache | 18 + .../1.0.2/snomed.cache | 18 + .../org.hl7.fhir.validation/1.0.2/ucum.cache | 17 + .../org.hl7.fhir.validation/3.0.2/loinc.cache | 36 ++ .../3.0.2/snomed.cache | 18 + .../org.hl7.fhir.validation/3.0.2/ucum.cache | 17 + .../5.0.0/all-systems.cache | 49 +++ .../org.hl7.fhir.validation/5.0.0/lang.cache | 49 +++ .../org.hl7.fhir.validation/5.0.0/loinc.cache | 130 +++++++ .../org.hl7.fhir.validation/5.0.0/ndc.cache | 18 + .../5.0.0/snomed.cache | 337 ++++++++++++++++++ .../org.hl7.fhir.validation/5.0.0/ucum.cache | 68 ++++ .../5.0.0/v2-0136.cache | 18 + .../5.0.0/v2-0360_2.7.cache | 19 + 23 files changed, 1035 insertions(+), 11 deletions(-) create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java index 34f27fa34..e54d2b186 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java @@ -141,7 +141,7 @@ public class SimpleWorkerContextTests { ValueSet valueSet = new ValueSet(); Coding coding = new Coding(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, new Parameters()); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, expParameters); Mockito.doReturn(expectedValidationResult).when(terminologyCache).getValidation(cacheToken); ValidationContextCarrier ctxt = mock(ValidationContextCarrier.class); @@ -161,7 +161,7 @@ public class SimpleWorkerContextTests { ValueSet valueSet = new ValueSet(); Coding coding = new Coding(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, new Parameters()); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, expParameters); Mockito.doReturn(valueSetCheckerSimple).when(context).constructValueSetCheckerSimple(any(), any(), any()); Mockito.doReturn(expectedValidationResult).when(valueSetCheckerSimple).validateCode(eq("Coding"), any(Coding.class)); @@ -184,7 +184,7 @@ public class SimpleWorkerContextTests { ValueSet valueSet = new ValueSet(); Coding coding = new Coding(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, new Parameters()); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, coding, valueSet, expParameters); Mockito.doReturn(pIn).when(context).constructParameters(validationOptions, coding); Mockito.doReturn(expectedValidationResult).when(context).validateOnServer(valueSet, pIn, validationOptions); @@ -204,7 +204,7 @@ public class SimpleWorkerContextTests { CodeableConcept codeableConcept = new CodeableConcept(); ValueSet valueSet = new ValueSet(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet, new Parameters()); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet, expParameters); Mockito.doReturn(expectedValidationResult).when(terminologyCache).getValidation(cacheToken); IWorkerContext.ValidationResult actualValidationResult = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet); @@ -223,7 +223,7 @@ public class SimpleWorkerContextTests { CodeableConcept codeableConcept = new CodeableConcept(); ValueSet valueSet = new ValueSet(); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet, new Parameters()); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(CacheTestUtils.validationOptions, codeableConcept, valueSet, expParameters); IWorkerContext.ValidationResult validationResultB = context.validateCode(CacheTestUtils.validationOptions, codeableConcept, valueSet); assertEquals(expectedValidationResult, validationResultB); @@ -245,7 +245,7 @@ public class SimpleWorkerContextTests { Mockito.doReturn(expectedValidationResult).when(context).validateOnServer(valueSet, pIn, validationOptions); - Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, codeableConcept, valueSet, new Parameters()); + Mockito.doReturn(cacheToken).when(terminologyCache).generateValidationToken(validationOptions, codeableConcept, valueSet, expParameters); IWorkerContext.ValidationResult validationResultB = context.validateCode(validationOptions, codeableConcept, valueSet); @@ -454,4 +454,4 @@ public class SimpleWorkerContextTests { String testFileContent = new String(simpleWorkerContext.getBinaryForKey(testPath), StandardCharsets.UTF_8); assertEquals("dummy file content", testFileContent); } -} +} \ No newline at end of file diff --git a/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSet.json b/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSet.json index aa985647e..fcb955cc0 100644 --- a/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSet.json +++ b/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSet.json @@ -14,5 +14,8 @@ "useClient": "true", "guessSystem": "true", "valueSetMode": "ALL_CHECKS", - "versionFlexible": "false" + "versionFlexible": "false", + "profile":{ + "resourceType":"Parameters" + } } \ No newline at end of file diff --git a/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSetSystem.json b/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSetSystem.json index 770b3853c..a4d0b9e0b 100644 --- a/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSetSystem.json +++ b/org.hl7.fhir.r5/src/test/resources/context/codableConceptEmptyValueSetSystem.json @@ -16,5 +16,8 @@ "useClient": "true", "guessSystem": "true", "valueSetMode": "ALL_CHECKS", - "versionFlexible": "false" + "versionFlexible": "false", + "profile":{ + "resourceType":"Parameters" + } } \ No newline at end of file diff --git a/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSet.json b/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSet.json index dab98a113..681af64eb 100644 --- a/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSet.json +++ b/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSet.json @@ -1 +1,17 @@ -{"code":{"code":"dummyCode"},"valueSet":{"resourceType":"ValueSet"},"langs":"[]","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", + "profile":{ + "resourceType":"Parameters" + } +} \ No newline at end of file diff --git a/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSetSystem.json b/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSetSystem.json index fd31d33d9..49f251f4b 100644 --- a/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSetSystem.json +++ b/org.hl7.fhir.r5/src/test/resources/context/codingEmptyValueSetSystem.json @@ -1 +1,19 @@ -{"code":{"system":"dummySystem","version":"dummyVersion","code":"dummyCode"},"valueSet":{"resourceType":"ValueSet"},"langs":"[]","useServer":"true","useClient":"true","guessSystem":"true","valueSetMode":"ALL_CHECKS","versionFlexible":"false"} \ No newline at end of file +{ + "code": { + "system": "dummySystem", + "version": "dummyVersion", + "code": "dummyCode" + }, + "valueSet": { + "resourceType": "ValueSet" + }, + "langs": "[]", + "useServer": "true", + "useClient": "true", + "guessSystem": "true", + "valueSetMode": "ALL_CHECKS", + "versionFlexible": "false", + "profile":{ + "resourceType":"Parameters" + } +} \ No newline at end of file diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache new file mode 100644 index 000000000..6b251f61b --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/lang.cache @@ -0,0 +1,14 @@ +------------------------------------------------------------------------------------- +{"hierarchical" : false, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "inactive" : true, + "include" : [{ + "system" : "urn:ietf:bcp:47" + }] + } +}}#### +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" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache new file mode 100644 index 000000000..91823f22f --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/loinc.cache @@ -0,0 +1,46 @@ +------------------------------------------------------------------------------------- +{"hierarchical" : false, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "inactive" : true, + "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" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache new file mode 100644 index 000000000..c8e1d4ded --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/mimetypes.cache @@ -0,0 +1,14 @@ +------------------------------------------------------------------------------------- +{"hierarchical" : false, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "inactive" : true, + "include" : [{ + "system" : "urn:ietf:bcp:13" + }] + } +}}#### +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" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache new file mode 100644 index 000000000..1380054c6 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.r5/ucum.cache @@ -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" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache index 91f32bf98..cb7d81bb8 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/loinc.cache @@ -17,3 +17,21 @@ v: { "version" : "2.74" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3141-9", + "display" : "Weight Measured" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight Measured", + "code" : "3141-9", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache index f3c53193d..285efb519 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/snomed.cache @@ -17,3 +17,21 @@ v: { "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "27113001", + "display" : "Body weight" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight", + "code" : "27113001", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache index 393b4aae8..92c52b7c5 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/1.0.2/ucum.cache @@ -16,3 +16,20 @@ v: { "version" : "2.0.1" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "[lb_av]" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "[lb_av]", + "code" : "[lb_av]", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache index d8e3a5d69..dc5fdf2d6 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/loinc.cache @@ -500,3 +500,39 @@ v: { "version" : "2.74" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "29463-7", + "display" : "Body Weight" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight", + "code" : "29463-7", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3141-9", + "display" : "Body weight Measured" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight Measured", + "code" : "3141-9", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache index b66f13daf..54135cc07 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/snomed.cache @@ -565,3 +565,21 @@ v: { "class" : "UNKNOWN" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "27113001", + "display" : "Body weight" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight", + "code" : "27113001", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache index 7254a0939..68b7695c4 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/3.0.2/ucum.cache @@ -65,3 +65,20 @@ v: { "version" : "2.0.1" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "[lb_av]" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "[lb_av]", + "code" : "[lb_av]", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache index 74852539f..68c280f25 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache @@ -77,3 +77,52 @@ v: { "system" : "urn:ietf:bcp:47" } ------------------------------------------------------------------------------------- +{"code" : { + "code" : "fr-CA" +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "French (Canada)", + "code" : "fr-CA", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "439401001", + "display" : "Diagnosis" +}, "url": "http://hl7.org/fhir/ValueSet/condition-category", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Diagnosis (observable entity)", + "code" : "439401001", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "d" +}, "url": "http://hl7.org/fhir/ValueSet/units-of-time", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "day", + "code" : "d", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache new file mode 100644 index 000000000..712d1ac25 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/lang.cache @@ -0,0 +1,49 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:ietf:bcp:47", + "code" : "fr-CA" +}, "url": "http://hl7.org/fhir/ValueSet/all-languages--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "French (Region=Canada)", + "code" : "fr-CA", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:ietf:bcp:47", + "code" : "fr-CA" +}, "url": "http://hl7.org/fhir/ValueSet/all-languages", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "French (Region=Canada)", + "code" : "fr-CA", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:ietf:bcp:47", + "code" : "fr-CA" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "French (Region=Canada)", + "code" : "fr-CA", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache index 5ae50448b..d1e032d38 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache @@ -555,3 +555,133 @@ v: { "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)' for the language(s) '--' (from Tx-Server)" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "29463-7", + "display" : "Body Weight" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight", + "code" : "29463-7", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3141-9", + "display" : "Body weight Measured" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight Measured", + "code" : "3141-9", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6724-4", + "display" : "Good color all over" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Good color all over", + "code" : "LA6724-4", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6718-6", + "display" : "At least 100 beats per minute" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "At least 100 beats per minute", + "code" : "LA6718-6", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6721-0", + "display" : "Grimace and pulling away, cough, or sneeze during suctioning" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Grimace and pulling away, cough, or sneeze during suctioning", + "code" : "LA6721-0", + "system" : "http://loinc.org", + "version" : "2.74" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6715-2", + "display" : "Active motion " +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Active motion", + "code" : "LA6715-2", + "system" : "http://loinc.org", + "version" : "2.74", + "severity" : "warning", + "error" : "Wrong Display Name 'Active motion ' for http://loinc.org#LA6715-2 - should be 'Active motion' (for the language(s) '--') (from Tx-Server)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6727-7", + "display" : "Good, strong cry; normal rate and effort of breathing " +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Good, strong cry; normal rate and effort of breathing", + "code" : "LA6727-7", + "system" : "http://loinc.org", + "version" : "2.74", + "severity" : "warning", + "error" : "Wrong Display Name 'Good, strong cry; normal rate and effort of breathing ' for http://loinc.org#LA6727-7 - should be 'Good, strong cry; normal rate and effort of breathing' (for the language(s) '--') (from Tx-Server)" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache new file mode 100644 index 000000000..ebab97d31 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ndc.cache @@ -0,0 +1,18 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://hl7.org/fhir/sid/ndc", + "code" : "2501-813-16", + "display" : "Timoptic 5mg/ml solution" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "severity" : "error", + "error" : "Code \"2501-813-16\" not found in NDC; Unknown Code '2501-813-16' in the system 'http://hl7.org/fhir/sid/ndc'; The provided code http://hl7.org/fhir/sid/ndc#2501-813-16 is not in the value set 'http://hl7.org/fhir/ValueSet/@all' (from Tx-Server)", + "class" : "UNKNOWN" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache index b07c11202..eed96ab47 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache @@ -416,3 +416,340 @@ v: { "version" : "http://snomed.info/sct/900000000000207008/version/20230131" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "27113001", + "display" : "Body weight" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Body weight", + "code" : "27113001", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "90655003" +}, "url": "http://hl7.org/fhir/ValueSet/c80-practice-codes--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "severity" : "error", + "error" : "The provided code http://snomed.info/sct#90655003 is not in the value set 'http://hl7.org/fhir/ValueSet/c80-practice-codes--0' (from Tx-Server)", + "class" : "UNKNOWN" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "90655003", + "display" : "Geriatrics specialist" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Geriatrics specialist", + "code" : "90655003", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "439401001" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Diagnosis (observable entity)", + "code" : "439401001", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "24484000" +}, "url": "http://hl7.org/fhir/ValueSet/condition-severity--0", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Severe", + "code" : "24484000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "24484000", + "display" : "Severe" +}, "url": "http://hl7.org/fhir/ValueSet/condition-severity", "version": "5.0.0", "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Severe", + "code" : "24484000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "24484000" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Severe", + "code" : "24484000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "39065001", + "display" : "Burn of ear" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Burn of ear", + "code" : "39065001", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "49521004", + "display" : "Left external ear structure" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Left external ear", + "code" : "49521004", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "443849008", + "display" : "Apgar score at 20 minutes" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Apgar score at 20 minutes (observable entity)", + "code" : "443849008", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "249227004", + "display" : "Apgar color score" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Apgar color score", + "code" : "249227004", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "249223000", + "display" : "Apgar heart rate score" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Apgar heart rate score", + "code" : "249223000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "249226008", + "display" : "Apgar response to stimulus score" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Apgar response to stimulus score", + "code" : "249226008", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "249225007", + "display" : "Apgar muscle tone score" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Apgar muscle tone score", + "code" : "249225007", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "249224006", + "display" : "Apgar respiratory effort score" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Apgar respiratory effort score", + "code" : "249224006", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "194828000", + "display" : "Angina (disorder)" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Angina", + "code" : "194828000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "22298006", + "display" : "Myocardial infarction (disorder)" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Myocardial infarction", + "code" : "22298006", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "54485002", + "display" : "Ophthalmic route (qualifier value)" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Ophthalmic route", + "code" : "54485002", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "421538008", + "display" : "Instill - dosing instruction imperative (qualifier value)" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Instill - dosing instruction imperative (qualifier value)", + "code" : "421538008", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20230131" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache index 50ae1710a..35fa46925 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache @@ -100,3 +100,71 @@ v: { "version" : "2.0.1" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "[lb_av]" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "[lb_av]", + "code" : "[lb_av]", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "{score}" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "{score}", + "code" : "{score}", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "mL" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "mL", + "code" : "mL", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "d" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "d", + "code" : "d", + "system" : "http://unitsofmeasure.org", + "version" : "2.0.1" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache new file mode 100644 index 000000000..8bca6847c --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0136.cache @@ -0,0 +1,18 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0136", + "code" : "Y" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Yes", + "code" : "Y", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0136", + "version" : "2.9" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache new file mode 100644 index 000000000..b07d822e5 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0360_2.7.cache @@ -0,0 +1,19 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0360|2.7", + "code" : "BS", + "display" : "Bachelor of Science" +}, "valueSet" :null, "langs":"[en]", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "profile-url", + "valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Bachelor of Science", + "code" : "BS", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0360|2.7", + "version" : "0360" +} +------------------------------------------------------------------------------------- From 3eeec47815b3e587354f05755e43db2a34645376 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 4 May 2023 13:25:43 +1000 Subject: [PATCH 07/16] support for value set version --- .../fhir/terminology/tests/TerminologyServiceTests.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java index 23da0807b..b1eefac19 100644 --- a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java +++ b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/terminology/tests/TerminologyServiceTests.java @@ -229,7 +229,12 @@ public class TerminologyServiceTests { 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; - ValueSet vs = engine.getContext().fetchResource(ValueSet.class, p.getParameterValue("url").primitiveValue()); + ValueSet vs = null; + if (p.hasParameter("valueSetVersion")) { + vs = engine.getContext().fetchResource(ValueSet.class, p.getParameterValue("url").primitiveValue(), p.getParameterValue("valueSetVersion").primitiveValue()); + } else { + vs = engine.getContext().fetchResource(ValueSet.class, p.getParameterValue("url").primitiveValue()); + } ValidationOptions options = new ValidationOptions(); if (p.hasParameter("displayLanguage")) { options = options.withLanguage(p.getParameterString("displayLanguage")); From ce354c47198c1a5d862a364810362a81deb07c15 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 4 May 2023 16:48:14 +1000 Subject: [PATCH 08/16] set up release --- RELEASE_NOTES.md | 5 +++-- pom.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 7b06c6ab5..e2c277cd5 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,7 +1,8 @@ ## Validator Changes -* no changes +* Fix bug accessing canonical resources on servers ## Other code changes -* no changes \ No newline at end of file +* Various changes to support terminology service testing + diff --git a/pom.xml b/pom.xml index 4d1a57fb0..71223d222 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ 6.4.1 - 1.3.4-SNAPSHOT + 1.3.4 2.14.0 5.9.2 1.8.2 From 83a45f95f9502b351fc096e49e8e7778e9496d87 Mon Sep 17 00:00:00 2001 From: markiantorno Date: Thu, 4 May 2023 07:22:08 +0000 Subject: [PATCH 09/16] Release: v6.0.4 ## Validator Changes * Fix bug accessing canonical resources on servers ## Other code changes * Various changes to support terminology service testing ***NO_CI*** --- org.hl7.fhir.convertors/pom.xml | 2 +- org.hl7.fhir.dstu2/pom.xml | 2 +- org.hl7.fhir.dstu2016may/pom.xml | 2 +- org.hl7.fhir.dstu3/pom.xml | 2 +- org.hl7.fhir.r4/pom.xml | 2 +- org.hl7.fhir.r4b/pom.xml | 2 +- org.hl7.fhir.r5/pom.xml | 2 +- org.hl7.fhir.report/pom.xml | 2 +- org.hl7.fhir.utilities/pom.xml | 2 +- org.hl7.fhir.validation.cli/pom.xml | 2 +- org.hl7.fhir.validation/pom.xml | 2 +- pom.xml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/org.hl7.fhir.convertors/pom.xml b/org.hl7.fhir.convertors/pom.xml index 3c1a8b7ed..6e94ccb65 100644 --- a/org.hl7.fhir.convertors/pom.xml +++ b/org.hl7.fhir.convertors/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.dstu2/pom.xml b/org.hl7.fhir.dstu2/pom.xml index 2bad14e5f..60bde5869 100644 --- a/org.hl7.fhir.dstu2/pom.xml +++ b/org.hl7.fhir.dstu2/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.dstu2016may/pom.xml b/org.hl7.fhir.dstu2016may/pom.xml index 3e9abe2d0..eed1be1fe 100644 --- a/org.hl7.fhir.dstu2016may/pom.xml +++ b/org.hl7.fhir.dstu2016may/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.dstu3/pom.xml b/org.hl7.fhir.dstu3/pom.xml index 6e5010ad6..01e0f4e4a 100644 --- a/org.hl7.fhir.dstu3/pom.xml +++ b/org.hl7.fhir.dstu3/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.r4/pom.xml b/org.hl7.fhir.r4/pom.xml index 71f5ae890..dad6b8bae 100644 --- a/org.hl7.fhir.r4/pom.xml +++ b/org.hl7.fhir.r4/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.r4b/pom.xml b/org.hl7.fhir.r4b/pom.xml index 755fa21e1..f28286150 100644 --- a/org.hl7.fhir.r4b/pom.xml +++ b/org.hl7.fhir.r4b/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.r5/pom.xml b/org.hl7.fhir.r5/pom.xml index b45bb6023..1d0e4870a 100644 --- a/org.hl7.fhir.r5/pom.xml +++ b/org.hl7.fhir.r5/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.report/pom.xml b/org.hl7.fhir.report/pom.xml index 884352f48..43fbbda7d 100644 --- a/org.hl7.fhir.report/pom.xml +++ b/org.hl7.fhir.report/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.utilities/pom.xml b/org.hl7.fhir.utilities/pom.xml index effd8f248..7c0b00973 100644 --- a/org.hl7.fhir.utilities/pom.xml +++ b/org.hl7.fhir.utilities/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.validation.cli/pom.xml b/org.hl7.fhir.validation.cli/pom.xml index 44002937a..bad754db7 100644 --- a/org.hl7.fhir.validation.cli/pom.xml +++ b/org.hl7.fhir.validation.cli/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/org.hl7.fhir.validation/pom.xml b/org.hl7.fhir.validation/pom.xml index e945b8774..47b313899 100644 --- a/org.hl7.fhir.validation/pom.xml +++ b/org.hl7.fhir.validation/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 ../pom.xml diff --git a/pom.xml b/pom.xml index 71223d222..9daf6d078 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ HAPI FHIR --> org.hl7.fhir.core - 6.0.4-SNAPSHOT + 6.0.4 pom From 551fe6d7c016fa13b53ac8c8a7d902439b36730d Mon Sep 17 00:00:00 2001 From: markiantorno Date: Thu, 4 May 2023 13:17:39 +0000 Subject: [PATCH 10/16] Updating version to: 6.0.5-SNAPSHOT and incrementing test cases dependency. --- RELEASE_NOTES.md | 5 ++--- org.hl7.fhir.convertors/pom.xml | 2 +- org.hl7.fhir.dstu2/pom.xml | 2 +- org.hl7.fhir.dstu2016may/pom.xml | 2 +- org.hl7.fhir.dstu3/pom.xml | 2 +- org.hl7.fhir.r4/pom.xml | 2 +- org.hl7.fhir.r4b/pom.xml | 2 +- org.hl7.fhir.r5/pom.xml | 2 +- org.hl7.fhir.report/pom.xml | 2 +- org.hl7.fhir.utilities/pom.xml | 2 +- org.hl7.fhir.validation.cli/pom.xml | 2 +- org.hl7.fhir.validation/pom.xml | 2 +- pom.xml | 2 +- 13 files changed, 14 insertions(+), 15 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e2c277cd5..7b06c6ab5 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,8 +1,7 @@ ## Validator Changes -* Fix bug accessing canonical resources on servers +* no changes ## Other code changes -* Various changes to support terminology service testing - +* no changes \ No newline at end of file diff --git a/org.hl7.fhir.convertors/pom.xml b/org.hl7.fhir.convertors/pom.xml index 6e94ccb65..0a23e6ed5 100644 --- a/org.hl7.fhir.convertors/pom.xml +++ b/org.hl7.fhir.convertors/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.dstu2/pom.xml b/org.hl7.fhir.dstu2/pom.xml index 60bde5869..ecbe30fda 100644 --- a/org.hl7.fhir.dstu2/pom.xml +++ b/org.hl7.fhir.dstu2/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.dstu2016may/pom.xml b/org.hl7.fhir.dstu2016may/pom.xml index eed1be1fe..6ce619ada 100644 --- a/org.hl7.fhir.dstu2016may/pom.xml +++ b/org.hl7.fhir.dstu2016may/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.dstu3/pom.xml b/org.hl7.fhir.dstu3/pom.xml index 01e0f4e4a..e20676faf 100644 --- a/org.hl7.fhir.dstu3/pom.xml +++ b/org.hl7.fhir.dstu3/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.r4/pom.xml b/org.hl7.fhir.r4/pom.xml index dad6b8bae..6f7d13d4d 100644 --- a/org.hl7.fhir.r4/pom.xml +++ b/org.hl7.fhir.r4/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.r4b/pom.xml b/org.hl7.fhir.r4b/pom.xml index f28286150..e3774f28b 100644 --- a/org.hl7.fhir.r4b/pom.xml +++ b/org.hl7.fhir.r4b/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.r5/pom.xml b/org.hl7.fhir.r5/pom.xml index 1d0e4870a..2d2ca8cd8 100644 --- a/org.hl7.fhir.r5/pom.xml +++ b/org.hl7.fhir.r5/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.report/pom.xml b/org.hl7.fhir.report/pom.xml index 43fbbda7d..9b6099993 100644 --- a/org.hl7.fhir.report/pom.xml +++ b/org.hl7.fhir.report/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.utilities/pom.xml b/org.hl7.fhir.utilities/pom.xml index 7c0b00973..ed8976e13 100644 --- a/org.hl7.fhir.utilities/pom.xml +++ b/org.hl7.fhir.utilities/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.validation.cli/pom.xml b/org.hl7.fhir.validation.cli/pom.xml index bad754db7..b299094a4 100644 --- a/org.hl7.fhir.validation.cli/pom.xml +++ b/org.hl7.fhir.validation.cli/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/org.hl7.fhir.validation/pom.xml b/org.hl7.fhir.validation/pom.xml index 47b313899..634adb191 100644 --- a/org.hl7.fhir.validation/pom.xml +++ b/org.hl7.fhir.validation/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT ../pom.xml diff --git a/pom.xml b/pom.xml index 9daf6d078..63b2ef555 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ HAPI FHIR --> org.hl7.fhir.core - 6.0.4 + 6.0.5-SNAPSHOT pom From f5e049cbbe3a72ed939c3927530d440c0afc714f Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 4 May 2023 09:45:58 -0400 Subject: [PATCH 11/16] Fix copy-paste mistake --- .../convertors/conv30_50/ActorDefinition30_50Test.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/ActorDefinition30_50Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/ActorDefinition30_50Test.java index 10cfcba5e..72d94fa4a 100644 --- a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/ActorDefinition30_50Test.java +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/ActorDefinition30_50Test.java @@ -15,17 +15,17 @@ public class ActorDefinition30_50Test { @Test - @DisplayName("Test r5 -> r4 ActorDefinition conversion.") - public void testR5_R4() throws IOException { + @DisplayName("Test r5 -> dstu3 ActorDefinition conversion.") + public void testR5_dstu3() throws IOException { InputStream r5_input = this.getClass().getResourceAsStream("/actordefinition_50_example.json"); org.hl7.fhir.r5.model.ActorDefinition r5_actual = (org.hl7.fhir.r5.model.ActorDefinition) new org.hl7.fhir.r5.formats.JsonParser().parse(r5_input); org.hl7.fhir.dstu3.model.Resource r4_conv = VersionConvertorFactory_30_50.convertResource(r5_actual); - org.hl7.fhir.dstu3.formats.XmlParser r4_parser = new org.hl7.fhir.dstu3.formats.XmlParser(); + org.hl7.fhir.dstu3.formats.XmlParser dstu3_parser = new org.hl7.fhir.dstu3.formats.XmlParser(); ByteArrayOutputStream stream = new ByteArrayOutputStream(); - r4_parser.compose(stream, r4_conv); + dstu3_parser.compose(stream, r4_conv); org.hl7.fhir.dstu3.model.Resource r4_streamed = (org.hl7.fhir.dstu3.model.Basic) new org.hl7.fhir.dstu3.formats.XmlParser().parse(new ByteArrayInputStream(stream.toByteArray())); org.hl7.fhir.r5.model.Resource r5_conv = VersionConvertorFactory_30_50.convertResource(r4_streamed); From bf5f57cbb76ad92480e4538073651d4d2d2b972e Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 4 May 2023 09:46:19 -0400 Subject: [PATCH 12/16] Add tests 1 --- .../CapabilityStatement30_40Test.java | 29 +++ .../CapabilityStatement30_50Test.java | 28 +++ .../resources/capability_statement_40.json | 204 +++++++++++++++++ .../resources/capability_statement_40_30.json | 207 +++++++++++++++++ .../resources/capability_statement_50.json | 215 ++++++++++++++++++ .../resources/capability_statement_50_30.json | 210 +++++++++++++++++ 6 files changed, 893 insertions(+) create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java create mode 100644 org.hl7.fhir.convertors/src/test/resources/capability_statement_40.json create mode 100644 org.hl7.fhir.convertors/src/test/resources/capability_statement_40_30.json create mode 100644 org.hl7.fhir.convertors/src/test/resources/capability_statement_50.json create mode 100644 org.hl7.fhir.convertors/src/test/resources/capability_statement_50_30.json diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java new file mode 100644 index 000000000..40ee14a0e --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java @@ -0,0 +1,29 @@ +package org.hl7.fhir.convertors.conv30_40; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_30_40; +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_30_50; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement30_40Test { + @Test + @DisplayName("Test r4 -> dstu3 CapabilityStatement conversion.") + public void testR4_Dstu3() throws IOException { + InputStream r4_input = this.getClass().getResourceAsStream("/capability_statement_40.json"); + + org.hl7.fhir.r4.model.CapabilityStatement r5_actual = (org.hl7.fhir.r4.model.CapabilityStatement) new org.hl7.fhir.r4.formats.JsonParser().parse(r4_input); + org.hl7.fhir.dstu3.model.Resource dstu3_conv = VersionConvertorFactory_30_40.convertResource(r5_actual); + + org.hl7.fhir.dstu3.formats.JsonParser dstu3_parser = new org.hl7.fhir.dstu3.formats.JsonParser(); + + InputStream dstu3_input = this.getClass().getResourceAsStream("/capability_statement_40_30.json"); + org.hl7.fhir.dstu3.model.CapabilityStatement dstu3_actual = (org.hl7.fhir.dstu3.model.CapabilityStatement) dstu3_parser.parse(dstu3_input); + + assertTrue(dstu3_actual.equalsDeep(dstu3_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java new file mode 100644 index 000000000..874064b78 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java @@ -0,0 +1,28 @@ +package org.hl7.fhir.convertors.conv30_50; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_30_50; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement30_50Test { + @Test + @DisplayName("Test r5 -> dstu3 CapabilityStatement conversion.") + public void testR5_Dstu3() throws IOException { + InputStream r5_input = this.getClass().getResourceAsStream("/capability_statement_50.json"); + + org.hl7.fhir.r5.model.CapabilityStatement r5_actual = (org.hl7.fhir.r5.model.CapabilityStatement) new org.hl7.fhir.r5.formats.JsonParser().parse(r5_input); + org.hl7.fhir.dstu3.model.Resource dstu3_conv = VersionConvertorFactory_30_50.convertResource(r5_actual); + + org.hl7.fhir.dstu3.formats.JsonParser dstu3_parser = new org.hl7.fhir.dstu3.formats.JsonParser(); + + InputStream dstu3_input = this.getClass().getResourceAsStream("/capability_statement_50_30.json"); + org.hl7.fhir.dstu3.model.CapabilityStatement dstu3_actual = (org.hl7.fhir.dstu3.model.CapabilityStatement) dstu3_parser.parse(dstu3_input); + + assertTrue(dstu3_actual.equalsDeep(dstu3_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_40.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_40.json new file mode 100644 index 000000000..af1adc1ee --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/capability_statement_40.json @@ -0,0 +1,204 @@ +{ + "resourceType": "CapabilityStatement", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, update, history, search(name,gender), create and updates.

\n\t\t\t

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t

The EHR Application has a general document profile.\n

\n\t\t
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/3.0/StructureDefinition/extension-CapabilityStatement.acceptUnknown", + "valueCode": "both" + } + ], + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "title": "ACME EHR capability statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "instantiates": [ + "http://ihe.org/fhir/CapabilityStatement/pixm-client" + ], + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "4.0.1", + "format": [ + "xml", + "json" + ], + "patchFormat": [ + "application/xml-patch+xml", + "application/json-patch+json" + ], + "implementationGuide": [ + "http://hl7.org/fhir/us/lab" + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": "http://registry.fhir.org/r4/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416", + "supportedProfile": [ + "http://registry.fhir.org/r4/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + ], + "documentation": "This server does not let the clients create identities.", + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalRead": "full-support", + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://terminology.hl7.org/CodeSystem/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "supportedMessage": [ + { + "mode": "receiver", + "definition": "http://hl7.org/fhir/MessageDefinition/example" + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + ] + } \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_40_30.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_40_30.json new file mode 100644 index 000000000..f444cd2b2 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/capability_statement_40_30.json @@ -0,0 +1,207 @@ +{ + "resourceType": "CapabilityStatement", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, update, history, search(name,gender), create and updates.

\n\t\t\t

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t

The EHR Application has a general document profile.\n

\n\t\t
" + }, + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "title": "ACME EHR capability statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "instantiates": [ + "http://ihe.org/fhir/CapabilityStatement/pixm-client" + ], + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "4.0.1", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "patchFormat": [ + "application/xml-patch+xml", + "application/json-patch+json" + ], + "implementationGuide": [ + "http://hl7.org/fhir/us/lab" + ], + "profile": [ + { + "reference": "http://registry.fhir.org/r4/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://registry.fhir.org/r4/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "documentation": "This server does not let the clients create identities.", + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalRead": "full-support", + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://terminology.hl7.org/CodeSystem/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "supportedMessage": [ + { + "mode": "receiver", + "definition": { + "reference": "http://hl7.org/fhir/MessageDefinition/example" + } + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_50.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_50.json new file mode 100644 index 000000000..663e8001b --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/capability_statement_50.json @@ -0,0 +1,215 @@ +{ + "resourceType": "CapabilityStatement", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t\n

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t\n

The EHR Application has a \n \n general document profile.\n \n

\n\t\t\n
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/3.0/StructureDefinition/extension-CapabilityStatement.acceptUnknown", + "valueCode": "both" + }, + { + "url": "http://hl7.org/fhir/3.0/StructureDefinition/extension-CapabilityStatement.profile", + "valueReference": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + } + ], + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "title": "ACME EHR capability statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "instantiates": [ + "http://ihe.org/fhir/CapabilityStatement/pixm-client" + ], + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "5.0.0", + "format": [ + "xml", + "json" + ], + "patchFormat": [ + "application/xml-patch+xml", + "application/json-patch+json" + ], + "acceptLanguage": [ + "en", + "es" + ], + "implementationGuide": [ + "http://example.org/fhir/us/lab" + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": "http://registry.fhir.org/r5/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416", + "supportedProfile": [ + "http://registry.fhir.org/r5/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + ], + "documentation": "This server does not let the clients create identities.", + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalRead": "full-support", + "conditionalUpdate": false, + "conditionalPatch": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Patient:organization" + ], + "searchRevInclude": [ + "Person:patient" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "supportedMessage": [ + { + "mode": "receiver", + "definition": "http://hl7.org/fhir/MessageDefinition/example" + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_30.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_30.json new file mode 100644 index 000000000..f63472eb8 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_30.json @@ -0,0 +1,210 @@ +{ + "resourceType": "CapabilityStatement", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t\n

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t\n

The EHR Application has a \n \n general document profile.\n \n

\n\t\t\n
" + }, + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "title": "ACME EHR capability statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "instantiates": [ + "http://ihe.org/fhir/CapabilityStatement/pixm-client" + ], + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "5.0.0", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "patchFormat": [ + "application/xml-patch+xml", + "application/json-patch+json" + ], + "implementationGuide": [ + "http://example.org/fhir/us/lab" + ], + "profile": [ + { + "reference": "http://registry.fhir.org/r5/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://registry.fhir.org/r5/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "documentation": "This server does not let the clients create identities.", + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalRead": "full-support", + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Patient:organization" + ], + "searchRevInclude": [ + "Person:patient" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "supportedMessage": [ + { + "mode": "receiver", + "definition": { + "reference": "http://hl7.org/fhir/MessageDefinition/example" + } + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} From 91a8ff379cb0eda570051c89f8cd267f35a1597a Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 4 May 2023 12:06:07 -0400 Subject: [PATCH 13/16] Add 14_50 Test. Will fail until dstu2016may Base.equalsDeep is fixed. --- .../CapabilityStatement14_50Test.java | 29 +++ .../resources/capability_statement_50_14.json | 186 ++++++++++++++++++ 2 files changed, 215 insertions(+) create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java create mode 100644 org.hl7.fhir.convertors/src/test/resources/capability_statement_50_14.json diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java new file mode 100644 index 000000000..ae770a4e0 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java @@ -0,0 +1,29 @@ +package org.hl7.fhir.convertors.conv14_50; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_14_50; +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_30_50; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement14_50Test { + @Test + @DisplayName("Test r5 -> dstu2016 CapabilityStatement conversion.") + public void testR5_Dstu3() throws IOException { + InputStream r5_input = this.getClass().getResourceAsStream("/capability_statement_50.json"); + + org.hl7.fhir.r5.model.CapabilityStatement r5_actual = (org.hl7.fhir.r5.model.CapabilityStatement) new org.hl7.fhir.r5.formats.JsonParser().parse(r5_input); + org.hl7.fhir.dstu2016may.model.Resource dstu2016_conv = VersionConvertorFactory_14_50.convertResource(r5_actual); + + org.hl7.fhir.dstu2016may.formats.JsonParser dstu2016_parser = new org.hl7.fhir.dstu2016may.formats.JsonParser(); + + InputStream dstu2016_input = this.getClass().getResourceAsStream("/capability_statement_50_14.json"); + org.hl7.fhir.dstu2016may.model.Conformance dstu2016_actual = (org.hl7.fhir.dstu2016may.model.Conformance) dstu2016_parser.parse(dstu2016_input); + + assertTrue(dstu2016_actual.equalsDeep(dstu2016_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_14.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_14.json new file mode 100644 index 000000000..b2a3c7f40 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_14.json @@ -0,0 +1,186 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t\n

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t\n

The EHR Application has a \n \n general document profile.\n \n

\n\t\t\n
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/3.0/StructureDefinition/extension-CapabilityStatement.profile", + "valueReference": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + } + ], + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/variant-state", + "code": "positive" + } + ] + }, + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "requirements": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "5.0.0", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "profile": [ + { + "reference": "http://registry.fhir.org/r5/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://registry.fhir.org/r5/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Patient:organization" + ], + "searchRevInclude": [ + "Person:patient" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications" + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} From 3a0e68e08ffaa497d93fbb88ed91b6613846a828 Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 4 May 2023 12:16:48 -0400 Subject: [PATCH 14/16] Tests and fix for Base equals methods --- .../org/hl7/fhir/dstu2016may/model/Base.java | 60 ++-- .../dstu2016may/test/ResourceEqualsTests.java | 65 ++++ .../test/resources/conformance_example_1.json | 282 ++++++++++++++++++ .../test/resources/conformance_example_2.json | 282 ++++++++++++++++++ .../resources/immunization_example_1.json | 135 +++++++++ .../resources/immunization_example_2.json | 135 +++++++++ .../src/test/resources/patient_example_1.json | 154 ++++++++++ .../src/test/resources/patient_example_2.json | 153 ++++++++++ 8 files changed, 1236 insertions(+), 30 deletions(-) create mode 100644 org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json diff --git a/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java b/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java index 232970a71..0ede60f70 100644 --- a/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java +++ b/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java @@ -1,33 +1,33 @@ package org.hl7.fhir.dstu2016may.model; -/* - Copyright (c) 2011+, HL7, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of HL7 nor the names of its contributors may be used to - endorse or promote products derived from this software without specific - prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - */ +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + */ @@ -200,11 +200,11 @@ private Map userData; } public boolean equalsDeep(Base other) { - return other == this; + return other != null; } public boolean equalsShallow(Base other) { - return other == this; + return other != null; } public static boolean compareDeep(List e1, List e2, boolean allowNull) { diff --git a/org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java b/org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java new file mode 100644 index 000000000..c4d75ae88 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java @@ -0,0 +1,65 @@ +package org.hl7.fhir.dstu2016may.test; + + +import org.hl7.fhir.dstu2016may.formats.JsonParser; +import org.hl7.fhir.dstu2016may.model.Resource; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.CsvSource; +import org.junit.jupiter.params.provider.ValueSource; + +import javax.annotation.Nonnull; +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class ResourceEqualsTests { + + private JsonParser dstu2016_parser = new JsonParser();; + + @ParameterizedTest + @ValueSource(strings = { + "conformance_example_1.json", + "immunization_example_1.json", + "patient_example_1.json" + }) + public void testEquals(String resourcePath) throws IOException { + + org.hl7.fhir.dstu2016may.model.Resource resourceA = getResource(resourcePath); + + org.hl7.fhir.dstu2016may.model.Resource resourceB = getResource(resourcePath); + + assertTrue(resourceA.equalsShallow(resourceB)); + assertTrue(resourceA.equalsDeep(resourceB)); + + } + + private Resource getResource(String resource) throws IOException { + Resource resourceA; + InputStream inputA = this.getClass().getResourceAsStream(getResourcePath(resource)); + resourceA = dstu2016_parser.parse(inputA); + return resourceA; + } + + @Nonnull + private static String getResourcePath(String resource) { + return "/" + resource; + } + + /* All files pairs contain a single difference, which can be evaluated with a diff. These differences are at various depths in the element tree. */ + @ParameterizedTest + @CsvSource({ + "conformance_example_1.json,conformance_example_2.json", + "immunization_example_1.json,immunization_example_2.json", + "patient_example_1.json,patient_example_2.json" + }) + public void testEqualsFalse(String resourceAName, String resourceBName) throws IOException { + org.hl7.fhir.dstu2016may.model.Resource resourceA = getResource(resourceAName); + + org.hl7.fhir.dstu2016may.model.Resource resourceB = getResource(resourceBName); + + assertFalse(resourceA.equalsShallow(resourceB)); + assertFalse(resourceA.equalsDeep(resourceB)); + } +} diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json new file mode 100644 index 000000000..5f858df21 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json @@ -0,0 +1,282 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n \n

The EHR System supports the following message: admin-notify::Person.

\n \n

The EHR Application has a \n general document profile.\n

\n \n
" + }, + "url": "68D043B5-9ECF-4559-A57A-396E0D452311", + "_url": { + "fhir_comments": [ + " the identifier for this conformance statement. \n The identifier and version establish identifiers that other specifications etc.may use to \n refer to the conformance statement that this resource represents in a logical manner \n rather than in a literal (URL) fashion \n\n The identifier should be globally unique - a UUID, an OID, or a URL/URI\n " + ] + }, + "version": "20130510", + "name": "ACME EHR Conformance statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR conformance statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR conformance statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "_fhirVersion": { + "fhir_comments": [ + " while the FHIR infrastructure is turning over prior to development, a version is \n required. Note that this may be rescinded later? " + ] + }, + "acceptUnknown": "both", + "_acceptUnknown": { + "fhir_comments": [ + " this system accepts unknown content in the resources " + ] + }, + "format": [ + "xml", + "json" + ], + "_format": [ + { + "fhir_comments": [ + " this system can do either xml or json. (Listing both implies full support for either, with interconversion) " + ] + }, + null + ], + "rest": [ + { + "fhir_comments": [ + " in a real conformance statement, it's unlikely that a single conformance statement \n would declare conformance for REST, messaging and documents, though it is legal. \n This example does so in order to show all the parts of a conformance statement " + ], + "mode": "server", + "_mode": { + "fhir_comments": [ + " this is a server conformance statement. Note that servers are required to provide \n one of these. It can easily be edited by hand - copy this, replace the metadata above, \n delete the messaging and document stuff below, and then replace the details appropriately. " + ] + }, + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "_cors": { + "fhir_comments": [ + " cors support is highly recommended - mandatory if using SMART on FHIR " + ] + }, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=", + "_blob": { + "fhir_comments": [ + " base JWT. this blob is not valid " + ] + } + } + ] + }, + "resource": [ + { + "fhir_comments": [ + " zero or more of these - declaration of support for a resource " + ], + "type": "Patient", + "profile": { + "fhir_comments": [ + " let's assume that HL7 has stood up a profile registry at http://fhir.hl7.org/fhir \n - it's likely to have a registry, though this is not decided, nor is a URL decided. \n This application simply uses a profile registered directly with HL7. For the simplest \n case of a FHIR REST Server, just delete this profile reference. Profile references do \n not need to be a UUID, though a profile registry could insist that they are " + ], + "reference": "http://fhir.hl7.org/base/Profile7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "_updateCreate": { + "fhir_comments": [ + " this server doesn't let the clients create identities " + ] + }, + "conditionalCreate": true, + "_conditionalCreate": { + "fhir_comments": [ + " it's good to support conditional create on patients; this solves a common middleware problem " + ] + }, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "_conditionalDelete": { + "fhir_comments": [ + " 0..1 If allows/uses conditional update " + ] + }, + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN", + "modifier": [ + "missing" + ] + }, + { + "name": "careprovider", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-careprovider", + "type": "reference", + "target": [ + "Organization" + ], + "_target": [ + { + "fhir_comments": [ + " there's not a lot of value in saying this, since it's the only \n choice anyway. but in other cases it's pretty important " + ] + } + ], + "modifier": [ + "missing" + ], + "chain": [ + "name", + "identifier" + ] + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/compartment/Patient" + ] + } + ], + "messaging": [ + { + "fhir_comments": [ + " a messaging conformance statement. Applications are not required to make a conformance \n statement with regard to messaging, though there is active argument that they should. " + ], + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234", + "_address": { + "fhir_comments": [ + " LLP server at 10.1.1.10 on port 9234 " + ] + } + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-type", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "_mode": { + "fhir_comments": [ + " this a receiver - i.e. answers. Not neccessariy a server (though this is) " + ] + }, + "focus": "Patient", + "request": { + "fhir_comments": [ + " specify a profile for the request person. Very often there's no \n point profiling the response, it's not interesting " + ], + "reference": "StructureDefinition/daf-patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "fhir_comments": [ + " a document conformance statement " + ], + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "fhir_comments": [ + " this is the important element: a reference to a published document profile \n note that this is a version specific reference. " + ], + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json new file mode 100644 index 000000000..e080d404e --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json @@ -0,0 +1,282 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n \n

The EHR System supports the following message: admin-notify::Person.

\n \n

The EHR Application has a \n general document profile.\n

\n \n
" + }, + "url": "68D043B5-9ECF-4559-A57A-396E0D452311", + "_url": { + "fhir_comments": [ + " the identifier for this conformance statement. \n The identifier and version establish identifiers that other specifications etc.may use to \n refer to the conformance statement that this resource represents in a logical manner \n rather than in a literal (URL) fashion \n\n The identifier should be globally unique - a UUID, an OID, or a URL/URI\n " + ] + }, + "version": "20130510", + "name": "ACME EHR Conformance statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wilecoyote@acme.org" + } + ] + } + ], + "description": "This is the FHIR conformance statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR conformance statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "_fhirVersion": { + "fhir_comments": [ + " while the FHIR infrastructure is turning over prior to development, a version is \n required. Note that this may be rescinded later? " + ] + }, + "acceptUnknown": "both", + "_acceptUnknown": { + "fhir_comments": [ + " this system accepts unknown content in the resources " + ] + }, + "format": [ + "xml", + "json" + ], + "_format": [ + { + "fhir_comments": [ + " this system can do either xml or json. (Listing both implies full support for either, with interconversion) " + ] + }, + null + ], + "rest": [ + { + "fhir_comments": [ + " in a real conformance statement, it's unlikely that a single conformance statement \n would declare conformance for REST, messaging and documents, though it is legal. \n This example does so in order to show all the parts of a conformance statement " + ], + "mode": "server", + "_mode": { + "fhir_comments": [ + " this is a server conformance statement. Note that servers are required to provide \n one of these. It can easily be edited by hand - copy this, replace the metadata above, \n delete the messaging and document stuff below, and then replace the details appropriately. " + ] + }, + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "_cors": { + "fhir_comments": [ + " cors support is highly recommended - mandatory if using SMART on FHIR " + ] + }, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=", + "_blob": { + "fhir_comments": [ + " base JWT. this blob is not valid " + ] + } + } + ] + }, + "resource": [ + { + "fhir_comments": [ + " zero or more of these - declaration of support for a resource " + ], + "type": "Patient", + "profile": { + "fhir_comments": [ + " let's assume that HL7 has stood up a profile registry at http://fhir.hl7.org/fhir \n - it's likely to have a registry, though this is not decided, nor is a URL decided. \n This application simply uses a profile registered directly with HL7. For the simplest \n case of a FHIR REST Server, just delete this profile reference. Profile references do \n not need to be a UUID, though a profile registry could insist that they are " + ], + "reference": "http://fhir.hl7.org/base/Profile7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "_updateCreate": { + "fhir_comments": [ + " this server doesn't let the clients create identities " + ] + }, + "conditionalCreate": true, + "_conditionalCreate": { + "fhir_comments": [ + " it's good to support conditional create on patients; this solves a common middleware problem " + ] + }, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "_conditionalDelete": { + "fhir_comments": [ + " 0..1 If allows/uses conditional update " + ] + }, + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN", + "modifier": [ + "missing" + ] + }, + { + "name": "careprovider", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-careprovider", + "type": "reference", + "target": [ + "Organization" + ], + "_target": [ + { + "fhir_comments": [ + " there's not a lot of value in saying this, since it's the only \n choice anyway. but in other cases it's pretty important " + ] + } + ], + "modifier": [ + "missing" + ], + "chain": [ + "name", + "identifier" + ] + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/compartment/Patient" + ] + } + ], + "messaging": [ + { + "fhir_comments": [ + " a messaging conformance statement. Applications are not required to make a conformance \n statement with regard to messaging, though there is active argument that they should. " + ], + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234", + "_address": { + "fhir_comments": [ + " LLP server at 10.1.1.10 on port 9234 " + ] + } + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-type", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "_mode": { + "fhir_comments": [ + " this a receiver - i.e. answers. Not neccessariy a server (though this is) " + ] + }, + "focus": "Patient", + "request": { + "fhir_comments": [ + " specify a profile for the request person. Very often there's no \n point profiling the response, it's not interesting " + ], + "reference": "StructureDefinition/daf-patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "fhir_comments": [ + " a document conformance statement " + ], + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "fhir_comments": [ + " this is the important element: a reference to a published document profile \n note that this is a version specific reference. " + ], + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json new file mode 100644 index 000000000..06a5c27cb --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json @@ -0,0 +1,135 @@ +{ + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

date: 10/01/2013

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = '??)

patient: Patient/example

wasNotGiven: false

reported: false

performer: Practitioner/example

requester: Practitioner/example

encounter: Encounter/example

manufacturer: Organization/hl7

location: Location/1

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://hl7.org/fhir/v3/ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: http://unitsofmeasure.org code mg = 'mg')

note: Notes on adminstration of vaccine

Explanations

-Reason
*Procedure to meet occupational requirement (procedure) (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement (procedure))

Reactions

-DateDetailReported
*10/01/2013Observation/exampletrue

VaccinationProtocols

-DoseSequenceDescriptionAuthoritySeriesSeriesDosesTargetDiseaseDoseStatusDoseStatusReason
*1Vaccination Protocol Sequence 1Organization/hl7Vaccination Series 12Congenital rubella syndrome (disorder) (Details : {SNOMED CT code '1857005' = 'Congenital rubella syndrome (disorder))Counts (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status code 'count' = 'Counts', given as 'Counts'})Cold chain break (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status-reason code 'coldchbrk' = 'Cold chain break', given as 'Cold chain break'})
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "date": "2013-01-10", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "wasNotGiven": false, + "reported": false, + "performer": { + "reference": "Practitioner/example" + }, + "requester": { + "reference": "Practitioner/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "manufacturer": { + "reference": "Organization/hl7" + }, + "location": { + "reference": "Location/1" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "explanation": { + "reason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ] + }, + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "vaccinationProtocol": [ + { + "doseSequence": 1, + "description": "Vaccination Protocol Sequence 1", + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1", + "seriesDoses": 2, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + } + ], + "doseStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status", + "code": "count", + "display": "Counts" + } + ] + }, + "doseStatusReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status-reason", + "code": "coldchbrk", + "display": "Cold chain break" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json new file mode 100644 index 000000000..8809343f3 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json @@ -0,0 +1,135 @@ +{ + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

date: 10/01/2013

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = '??)

patient: Patient/example

wasNotGiven: false

reported: false

performer: Practitioner/example

requester: Practitioner/example

encounter: Encounter/example

manufacturer: Organization/hl7

location: Location/1

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://hl7.org/fhir/v3/ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: http://unitsofmeasure.org code mg = 'mg')

note: Notes on adminstration of vaccine

Explanations

-Reason
*Procedure to meet occupational requirement (procedure) (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement (procedure))

Reactions

-DateDetailReported
*10/01/2013Observation/exampletrue

VaccinationProtocols

-DoseSequenceDescriptionAuthoritySeriesSeriesDosesTargetDiseaseDoseStatusDoseStatusReason
*1Vaccination Protocol Sequence 1Organization/hl7Vaccination Series 12Congenital rubella syndrome (disorder) (Details : {SNOMED CT code '1857005' = 'Congenital rubella syndrome (disorder))Counts (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status code 'count' = 'Counts', given as 'Counts'})Cold chain break (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status-reason code 'coldchbrk' = 'Cold chain break', given as 'Cold chain break'})
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "date": "2013-01-10", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "wasNotGiven": false, + "reported": false, + "performer": { + "reference": "Practitioner/example" + }, + "requester": { + "reference": "Practitioner/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "manufacturer": { + "reference": "Organization/hl7" + }, + "location": { + "reference": "Location/1" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "explanation": { + "reason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ] + }, + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "vaccinationProtocol": [ + { + "doseSequence": 1, + "description": "Vaccination Protocol Sequence 1", + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1", + "seriesDoses": 2, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857004" + } + ] + } + ], + "doseStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status", + "code": "count", + "display": "Counts" + } + ] + }, + "doseStatusReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status-reason", + "code": "coldchbrk", + "display": "Cold chain break" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json new file mode 100644 index 000000000..c8e3201e6 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json @@ -0,0 +1,154 @@ +{ + "resourceType": "Patient", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NamePeter James \n Chalmers ("Jim")\n
Address534 Erewhon, Pleasantville, Vic, 3999
ContactsHome: unknown. Work: (03) 5555 6473
IdMRN: 12345 (Acme Healthcare)
\n \n
" + }, + "identifier": [ + { + "fhir_comments": [ + " MRN assigned by ACME healthcare on 6-May 2001 " + ], + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "fhir_comments": [ + " Peter James Chalmers, but called \"Jim\" " + ], + "use": "official", + "family": [ + "Chalmers" + ], + "given": [ + "Peter", + "James" + ] + }, + { + "use": "usual", + "given": [ + "Jim" + ] + } + ], + "telecom": [ + { + "fhir_comments": [ + " home communication details aren't known " + ], + "use": "home" + }, + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + } + ], + "gender": "male", + "_gender": { + "fhir_comments": [ + " use FHIR code system for male / female " + ] + }, + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "Vic", + "postalCode": "3999", + "period": { + "start": "1974-12-25" + } + } + ], + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/patient-contact-relationship", + "code": "partner" + } + ] + } + ], + "name": { + "family": [ + "du", + "Marché" + ], + "_family": [ + { + "extension": [ + { + "fhir_comments": [ + " the \"du\" part is a family name prefix (VV in iso 21090) " + ], + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + "valueCode": "VV" + } + ] + }, + null + ], + "given": [ + "Bénédicte" + ] + }, + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "gender": "female", + "period": { + "start": "2012", + "_start": { + "fhir_comments": [ + " The contact relationship started in 2012 " + ] + } + } + } + ], + "managingOrganization": { + "reference": "Organization/1" + } +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json new file mode 100644 index 000000000..bd2ba01d5 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json @@ -0,0 +1,153 @@ +{ + "resourceType": "Patient", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NamePeter James \n Chalmers ("Jim")\n
Address534 Erewhon, Pleasantville, Vic, 3999
ContactsHome: unknown. Work: (03) 5555 6473
IdMRN: 12345 (Acme Healthcare)
\n \n
" + }, + "identifier": [ + { + "fhir_comments": [ + " MRN assigned by ACME healthcare on 6-May 2001 " + ], + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "fhir_comments": [ + " Peter James Chalmers, but called \"Jim\" " + ], + "use": "official", + "family": [ + "Chalmers" + ], + "given": [ + "Supernintendo" + ] + }, + { + "use": "usual", + "given": [ + "Jim" + ] + } + ], + "telecom": [ + { + "fhir_comments": [ + " home communication details aren't known " + ], + "use": "home" + }, + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + } + ], + "gender": "male", + "_gender": { + "fhir_comments": [ + " use FHIR code system for male / female " + ] + }, + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "Vic", + "postalCode": "3999", + "period": { + "start": "1974-12-25" + } + } + ], + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/patient-contact-relationship", + "code": "partner" + } + ] + } + ], + "name": { + "family": [ + "du", + "Marché" + ], + "_family": [ + { + "extension": [ + { + "fhir_comments": [ + " the \"du\" part is a family name prefix (VV in iso 21090) " + ], + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + "valueCode": "VV" + } + ] + }, + null + ], + "given": [ + "Bénédicte" + ] + }, + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "gender": "female", + "period": { + "start": "2012", + "_start": { + "fhir_comments": [ + " The contact relationship started in 2012 " + ] + } + } + } + ], + "managingOrganization": { + "reference": "Organization/1" + } +} \ No newline at end of file From 17787e7f1782e2cbbaebf293b6c5f163186f1ef4 Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 4 May 2023 14:38:47 -0400 Subject: [PATCH 15/16] Fix for dstu2016may Resource equals methods (#1251) * Tests and fix for Base equals methods * Test for shallow and deep --- .../org/hl7/fhir/dstu2016may/model/Base.java | 60 ++-- .../dstu2016may/test/ResourceEqualsTests.java | 79 +++++ .../test/resources/conformance_example_1.json | 282 ++++++++++++++++++ .../test/resources/conformance_example_2.json | 282 ++++++++++++++++++ .../test/resources/conformance_example_3.json | 282 ++++++++++++++++++ .../resources/immunization_example_1.json | 135 +++++++++ .../resources/immunization_example_2.json | 135 +++++++++ .../resources/immunization_example_3.json | 135 +++++++++ .../src/test/resources/patient_example_1.json | 154 ++++++++++ .../src/test/resources/patient_example_2.json | 153 ++++++++++ .../src/test/resources/patient_example_3.json | 154 ++++++++++ 11 files changed, 1821 insertions(+), 30 deletions(-) create mode 100644 org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_3.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_3.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json create mode 100644 org.hl7.fhir.dstu2016may/src/test/resources/patient_example_3.json diff --git a/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java b/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java index 232970a71..0ede60f70 100644 --- a/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java +++ b/org.hl7.fhir.dstu2016may/src/main/java/org/hl7/fhir/dstu2016may/model/Base.java @@ -1,33 +1,33 @@ package org.hl7.fhir.dstu2016may.model; -/* - Copyright (c) 2011+, HL7, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of HL7 nor the names of its contributors may be used to - endorse or promote products derived from this software without specific - prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - */ +/* + Copyright (c) 2011+, HL7, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of HL7 nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + */ @@ -200,11 +200,11 @@ private Map userData; } public boolean equalsDeep(Base other) { - return other == this; + return other != null; } public boolean equalsShallow(Base other) { - return other == this; + return other != null; } public static boolean compareDeep(List e1, List e2, boolean allowNull) { diff --git a/org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java b/org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java new file mode 100644 index 000000000..c40ba7122 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/java/org/hl7/fhir/dstu2016may/test/ResourceEqualsTests.java @@ -0,0 +1,79 @@ +package org.hl7.fhir.dstu2016may.test; + + +import org.hl7.fhir.dstu2016may.formats.JsonParser; +import org.hl7.fhir.dstu2016may.model.Resource; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.CsvSource; +import org.junit.jupiter.params.provider.ValueSource; + +import javax.annotation.Nonnull; +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class ResourceEqualsTests { + + private JsonParser dstu2016_parser = new JsonParser();; + + @ParameterizedTest + @ValueSource(strings = { + "conformance_example_1.json", + "immunization_example_1.json", + "patient_example_1.json" + }) + public void testEquals(String resourcePath) throws IOException { + + org.hl7.fhir.dstu2016may.model.Resource resourceA = getResource(resourcePath); + + org.hl7.fhir.dstu2016may.model.Resource resourceB = getResource(resourcePath); + + assertTrue(resourceA.equalsShallow(resourceB)); + assertTrue(resourceA.equalsDeep(resourceB)); + + } + + private Resource getResource(String resource) throws IOException { + Resource resourceA; + InputStream inputA = this.getClass().getResourceAsStream(getResourcePath(resource)); + resourceA = dstu2016_parser.parse(inputA); + return resourceA; + } + + @Nonnull + private static String getResourcePath(String resource) { + return "/" + resource; + } + + /* All files pairs contain a single difference, which can be evaluated with a diff. These differences are at various depths in the element tree, but not at the shallow level. */ + @ParameterizedTest + @CsvSource({ + "conformance_example_1.json,conformance_example_2.json", + "immunization_example_1.json,immunization_example_2.json", + "patient_example_1.json,patient_example_2.json" + }) + public void testEqualsDeepFalse(String resourceAName, String resourceBName) throws IOException { + org.hl7.fhir.dstu2016may.model.Resource resourceA = getResource(resourceAName); + + org.hl7.fhir.dstu2016may.model.Resource resourceB = getResource(resourceBName); + assertTrue(resourceA.equalsShallow(resourceB)); + assertFalse(resourceA.equalsDeep(resourceB)); + } + + /* All files pairs contain a single difference, which can be evaluated with a diff. These differences are at the shallow level. */ + @ParameterizedTest + @CsvSource({ + "conformance_example_1.json,conformance_example_3.json", + "immunization_example_1.json,immunization_example_3.json", + "patient_example_1.json,patient_example_3.json" + }) + public void testEqualsShallowFalse(String resourceAName, String resourceBName) throws IOException { + org.hl7.fhir.dstu2016may.model.Resource resourceA = getResource(resourceAName); + + org.hl7.fhir.dstu2016may.model.Resource resourceB = getResource(resourceBName); + assertFalse(resourceA.equalsShallow(resourceB)); + assertFalse(resourceA.equalsDeep(resourceB)); + } +} diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json new file mode 100644 index 000000000..5f858df21 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_1.json @@ -0,0 +1,282 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n \n

The EHR System supports the following message: admin-notify::Person.

\n \n

The EHR Application has a \n general document profile.\n

\n \n
" + }, + "url": "68D043B5-9ECF-4559-A57A-396E0D452311", + "_url": { + "fhir_comments": [ + " the identifier for this conformance statement. \n The identifier and version establish identifiers that other specifications etc.may use to \n refer to the conformance statement that this resource represents in a logical manner \n rather than in a literal (URL) fashion \n\n The identifier should be globally unique - a UUID, an OID, or a URL/URI\n " + ] + }, + "version": "20130510", + "name": "ACME EHR Conformance statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR conformance statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR conformance statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "_fhirVersion": { + "fhir_comments": [ + " while the FHIR infrastructure is turning over prior to development, a version is \n required. Note that this may be rescinded later? " + ] + }, + "acceptUnknown": "both", + "_acceptUnknown": { + "fhir_comments": [ + " this system accepts unknown content in the resources " + ] + }, + "format": [ + "xml", + "json" + ], + "_format": [ + { + "fhir_comments": [ + " this system can do either xml or json. (Listing both implies full support for either, with interconversion) " + ] + }, + null + ], + "rest": [ + { + "fhir_comments": [ + " in a real conformance statement, it's unlikely that a single conformance statement \n would declare conformance for REST, messaging and documents, though it is legal. \n This example does so in order to show all the parts of a conformance statement " + ], + "mode": "server", + "_mode": { + "fhir_comments": [ + " this is a server conformance statement. Note that servers are required to provide \n one of these. It can easily be edited by hand - copy this, replace the metadata above, \n delete the messaging and document stuff below, and then replace the details appropriately. " + ] + }, + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "_cors": { + "fhir_comments": [ + " cors support is highly recommended - mandatory if using SMART on FHIR " + ] + }, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=", + "_blob": { + "fhir_comments": [ + " base JWT. this blob is not valid " + ] + } + } + ] + }, + "resource": [ + { + "fhir_comments": [ + " zero or more of these - declaration of support for a resource " + ], + "type": "Patient", + "profile": { + "fhir_comments": [ + " let's assume that HL7 has stood up a profile registry at http://fhir.hl7.org/fhir \n - it's likely to have a registry, though this is not decided, nor is a URL decided. \n This application simply uses a profile registered directly with HL7. For the simplest \n case of a FHIR REST Server, just delete this profile reference. Profile references do \n not need to be a UUID, though a profile registry could insist that they are " + ], + "reference": "http://fhir.hl7.org/base/Profile7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "_updateCreate": { + "fhir_comments": [ + " this server doesn't let the clients create identities " + ] + }, + "conditionalCreate": true, + "_conditionalCreate": { + "fhir_comments": [ + " it's good to support conditional create on patients; this solves a common middleware problem " + ] + }, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "_conditionalDelete": { + "fhir_comments": [ + " 0..1 If allows/uses conditional update " + ] + }, + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN", + "modifier": [ + "missing" + ] + }, + { + "name": "careprovider", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-careprovider", + "type": "reference", + "target": [ + "Organization" + ], + "_target": [ + { + "fhir_comments": [ + " there's not a lot of value in saying this, since it's the only \n choice anyway. but in other cases it's pretty important " + ] + } + ], + "modifier": [ + "missing" + ], + "chain": [ + "name", + "identifier" + ] + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/compartment/Patient" + ] + } + ], + "messaging": [ + { + "fhir_comments": [ + " a messaging conformance statement. Applications are not required to make a conformance \n statement with regard to messaging, though there is active argument that they should. " + ], + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234", + "_address": { + "fhir_comments": [ + " LLP server at 10.1.1.10 on port 9234 " + ] + } + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-type", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "_mode": { + "fhir_comments": [ + " this a receiver - i.e. answers. Not neccessariy a server (though this is) " + ] + }, + "focus": "Patient", + "request": { + "fhir_comments": [ + " specify a profile for the request person. Very often there's no \n point profiling the response, it's not interesting " + ], + "reference": "StructureDefinition/daf-patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "fhir_comments": [ + " a document conformance statement " + ], + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "fhir_comments": [ + " this is the important element: a reference to a published document profile \n note that this is a version specific reference. " + ], + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json new file mode 100644 index 000000000..e080d404e --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_2.json @@ -0,0 +1,282 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n \n

The EHR System supports the following message: admin-notify::Person.

\n \n

The EHR Application has a \n general document profile.\n

\n \n
" + }, + "url": "68D043B5-9ECF-4559-A57A-396E0D452311", + "_url": { + "fhir_comments": [ + " the identifier for this conformance statement. \n The identifier and version establish identifiers that other specifications etc.may use to \n refer to the conformance statement that this resource represents in a logical manner \n rather than in a literal (URL) fashion \n\n The identifier should be globally unique - a UUID, an OID, or a URL/URI\n " + ] + }, + "version": "20130510", + "name": "ACME EHR Conformance statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wilecoyote@acme.org" + } + ] + } + ], + "description": "This is the FHIR conformance statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR conformance statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "_fhirVersion": { + "fhir_comments": [ + " while the FHIR infrastructure is turning over prior to development, a version is \n required. Note that this may be rescinded later? " + ] + }, + "acceptUnknown": "both", + "_acceptUnknown": { + "fhir_comments": [ + " this system accepts unknown content in the resources " + ] + }, + "format": [ + "xml", + "json" + ], + "_format": [ + { + "fhir_comments": [ + " this system can do either xml or json. (Listing both implies full support for either, with interconversion) " + ] + }, + null + ], + "rest": [ + { + "fhir_comments": [ + " in a real conformance statement, it's unlikely that a single conformance statement \n would declare conformance for REST, messaging and documents, though it is legal. \n This example does so in order to show all the parts of a conformance statement " + ], + "mode": "server", + "_mode": { + "fhir_comments": [ + " this is a server conformance statement. Note that servers are required to provide \n one of these. It can easily be edited by hand - copy this, replace the metadata above, \n delete the messaging and document stuff below, and then replace the details appropriately. " + ] + }, + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "_cors": { + "fhir_comments": [ + " cors support is highly recommended - mandatory if using SMART on FHIR " + ] + }, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=", + "_blob": { + "fhir_comments": [ + " base JWT. this blob is not valid " + ] + } + } + ] + }, + "resource": [ + { + "fhir_comments": [ + " zero or more of these - declaration of support for a resource " + ], + "type": "Patient", + "profile": { + "fhir_comments": [ + " let's assume that HL7 has stood up a profile registry at http://fhir.hl7.org/fhir \n - it's likely to have a registry, though this is not decided, nor is a URL decided. \n This application simply uses a profile registered directly with HL7. For the simplest \n case of a FHIR REST Server, just delete this profile reference. Profile references do \n not need to be a UUID, though a profile registry could insist that they are " + ], + "reference": "http://fhir.hl7.org/base/Profile7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "_updateCreate": { + "fhir_comments": [ + " this server doesn't let the clients create identities " + ] + }, + "conditionalCreate": true, + "_conditionalCreate": { + "fhir_comments": [ + " it's good to support conditional create on patients; this solves a common middleware problem " + ] + }, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "_conditionalDelete": { + "fhir_comments": [ + " 0..1 If allows/uses conditional update " + ] + }, + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN", + "modifier": [ + "missing" + ] + }, + { + "name": "careprovider", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-careprovider", + "type": "reference", + "target": [ + "Organization" + ], + "_target": [ + { + "fhir_comments": [ + " there's not a lot of value in saying this, since it's the only \n choice anyway. but in other cases it's pretty important " + ] + } + ], + "modifier": [ + "missing" + ], + "chain": [ + "name", + "identifier" + ] + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/compartment/Patient" + ] + } + ], + "messaging": [ + { + "fhir_comments": [ + " a messaging conformance statement. Applications are not required to make a conformance \n statement with regard to messaging, though there is active argument that they should. " + ], + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234", + "_address": { + "fhir_comments": [ + " LLP server at 10.1.1.10 on port 9234 " + ] + } + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-type", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "_mode": { + "fhir_comments": [ + " this a receiver - i.e. answers. Not neccessariy a server (though this is) " + ] + }, + "focus": "Patient", + "request": { + "fhir_comments": [ + " specify a profile for the request person. Very often there's no \n point profiling the response, it's not interesting " + ], + "reference": "StructureDefinition/daf-patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "fhir_comments": [ + " a document conformance statement " + ], + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "fhir_comments": [ + " this is the important element: a reference to a published document profile \n note that this is a version specific reference. " + ], + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_3.json b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_3.json new file mode 100644 index 000000000..a4d4a6ea7 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/conformance_example_3.json @@ -0,0 +1,282 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n \n

The EHR System supports the following message: admin-notify::Person.

\n \n

The EHR Application has a \n general document profile.\n

\n \n
" + }, + "url": "68D043B5-9ECF-4559-A57A-396E0D452311", + "_url": { + "fhir_comments": [ + " the identifier for this conformance statement. \n The identifier and version establish identifiers that other specifications etc.may use to \n refer to the conformance statement that this resource represents in a logical manner \n rather than in a literal (URL) fashion \n\n The identifier should be globally unique - a UUID, an OID, or a URL/URI\n " + ] + }, + "version": "20140510", + "name": "ACME EHR Conformance statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR conformance statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR conformance statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "_fhirVersion": { + "fhir_comments": [ + " while the FHIR infrastructure is turning over prior to development, a version is \n required. Note that this may be rescinded later? " + ] + }, + "acceptUnknown": "both", + "_acceptUnknown": { + "fhir_comments": [ + " this system accepts unknown content in the resources " + ] + }, + "format": [ + "xml", + "json" + ], + "_format": [ + { + "fhir_comments": [ + " this system can do either xml or json. (Listing both implies full support for either, with interconversion) " + ] + }, + null + ], + "rest": [ + { + "fhir_comments": [ + " in a real conformance statement, it's unlikely that a single conformance statement \n would declare conformance for REST, messaging and documents, though it is legal. \n This example does so in order to show all the parts of a conformance statement " + ], + "mode": "server", + "_mode": { + "fhir_comments": [ + " this is a server conformance statement. Note that servers are required to provide \n one of these. It can easily be edited by hand - copy this, replace the metadata above, \n delete the messaging and document stuff below, and then replace the details appropriately. " + ] + }, + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "_cors": { + "fhir_comments": [ + " cors support is highly recommended - mandatory if using SMART on FHIR " + ] + }, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=", + "_blob": { + "fhir_comments": [ + " base JWT. this blob is not valid " + ] + } + } + ] + }, + "resource": [ + { + "fhir_comments": [ + " zero or more of these - declaration of support for a resource " + ], + "type": "Patient", + "profile": { + "fhir_comments": [ + " let's assume that HL7 has stood up a profile registry at http://fhir.hl7.org/fhir \n - it's likely to have a registry, though this is not decided, nor is a URL decided. \n This application simply uses a profile registered directly with HL7. For the simplest \n case of a FHIR REST Server, just delete this profile reference. Profile references do \n not need to be a UUID, though a profile registry could insist that they are " + ], + "reference": "http://fhir.hl7.org/base/Profile7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "_updateCreate": { + "fhir_comments": [ + " this server doesn't let the clients create identities " + ] + }, + "conditionalCreate": true, + "_conditionalCreate": { + "fhir_comments": [ + " it's good to support conditional create on patients; this solves a common middleware problem " + ] + }, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "_conditionalDelete": { + "fhir_comments": [ + " 0..1 If allows/uses conditional update " + ] + }, + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN", + "modifier": [ + "missing" + ] + }, + { + "name": "careprovider", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-careprovider", + "type": "reference", + "target": [ + "Organization" + ], + "_target": [ + { + "fhir_comments": [ + " there's not a lot of value in saying this, since it's the only \n choice anyway. but in other cases it's pretty important " + ] + } + ], + "modifier": [ + "missing" + ], + "chain": [ + "name", + "identifier" + ] + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/compartment/Patient" + ] + } + ], + "messaging": [ + { + "fhir_comments": [ + " a messaging conformance statement. Applications are not required to make a conformance \n statement with regard to messaging, though there is active argument that they should. " + ], + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234", + "_address": { + "fhir_comments": [ + " LLP server at 10.1.1.10 on port 9234 " + ] + } + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-type", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "_mode": { + "fhir_comments": [ + " this a receiver - i.e. answers. Not neccessariy a server (though this is) " + ] + }, + "focus": "Patient", + "request": { + "fhir_comments": [ + " specify a profile for the request person. Very often there's no \n point profiling the response, it's not interesting " + ], + "reference": "StructureDefinition/daf-patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "fhir_comments": [ + " a document conformance statement " + ], + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "fhir_comments": [ + " this is the important element: a reference to a published document profile \n note that this is a version specific reference. " + ], + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json new file mode 100644 index 000000000..06a5c27cb --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_1.json @@ -0,0 +1,135 @@ +{ + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

date: 10/01/2013

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = '??)

patient: Patient/example

wasNotGiven: false

reported: false

performer: Practitioner/example

requester: Practitioner/example

encounter: Encounter/example

manufacturer: Organization/hl7

location: Location/1

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://hl7.org/fhir/v3/ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: http://unitsofmeasure.org code mg = 'mg')

note: Notes on adminstration of vaccine

Explanations

-Reason
*Procedure to meet occupational requirement (procedure) (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement (procedure))

Reactions

-DateDetailReported
*10/01/2013Observation/exampletrue

VaccinationProtocols

-DoseSequenceDescriptionAuthoritySeriesSeriesDosesTargetDiseaseDoseStatusDoseStatusReason
*1Vaccination Protocol Sequence 1Organization/hl7Vaccination Series 12Congenital rubella syndrome (disorder) (Details : {SNOMED CT code '1857005' = 'Congenital rubella syndrome (disorder))Counts (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status code 'count' = 'Counts', given as 'Counts'})Cold chain break (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status-reason code 'coldchbrk' = 'Cold chain break', given as 'Cold chain break'})
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "date": "2013-01-10", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "wasNotGiven": false, + "reported": false, + "performer": { + "reference": "Practitioner/example" + }, + "requester": { + "reference": "Practitioner/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "manufacturer": { + "reference": "Organization/hl7" + }, + "location": { + "reference": "Location/1" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "explanation": { + "reason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ] + }, + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "vaccinationProtocol": [ + { + "doseSequence": 1, + "description": "Vaccination Protocol Sequence 1", + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1", + "seriesDoses": 2, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + } + ], + "doseStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status", + "code": "count", + "display": "Counts" + } + ] + }, + "doseStatusReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status-reason", + "code": "coldchbrk", + "display": "Cold chain break" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json new file mode 100644 index 000000000..8809343f3 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_2.json @@ -0,0 +1,135 @@ +{ + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

date: 10/01/2013

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = '??)

patient: Patient/example

wasNotGiven: false

reported: false

performer: Practitioner/example

requester: Practitioner/example

encounter: Encounter/example

manufacturer: Organization/hl7

location: Location/1

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://hl7.org/fhir/v3/ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: http://unitsofmeasure.org code mg = 'mg')

note: Notes on adminstration of vaccine

Explanations

-Reason
*Procedure to meet occupational requirement (procedure) (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement (procedure))

Reactions

-DateDetailReported
*10/01/2013Observation/exampletrue

VaccinationProtocols

-DoseSequenceDescriptionAuthoritySeriesSeriesDosesTargetDiseaseDoseStatusDoseStatusReason
*1Vaccination Protocol Sequence 1Organization/hl7Vaccination Series 12Congenital rubella syndrome (disorder) (Details : {SNOMED CT code '1857005' = 'Congenital rubella syndrome (disorder))Counts (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status code 'count' = 'Counts', given as 'Counts'})Cold chain break (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status-reason code 'coldchbrk' = 'Cold chain break', given as 'Cold chain break'})
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "date": "2013-01-10", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "wasNotGiven": false, + "reported": false, + "performer": { + "reference": "Practitioner/example" + }, + "requester": { + "reference": "Practitioner/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "manufacturer": { + "reference": "Organization/hl7" + }, + "location": { + "reference": "Location/1" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "explanation": { + "reason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ] + }, + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "vaccinationProtocol": [ + { + "doseSequence": 1, + "description": "Vaccination Protocol Sequence 1", + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1", + "seriesDoses": 2, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857004" + } + ] + } + ], + "doseStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status", + "code": "count", + "display": "Counts" + } + ] + }, + "doseStatusReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status-reason", + "code": "coldchbrk", + "display": "Cold chain break" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_3.json b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_3.json new file mode 100644 index 000000000..ac6852742 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/immunization_example_3.json @@ -0,0 +1,135 @@ +{ + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

date: 10/01/2013

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = '??)

patient: Patient/example

wasNotGiven: false

reported: false

performer: Practitioner/example

requester: Practitioner/example

encounter: Encounter/example

manufacturer: Organization/hl7

location: Location/1

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://hl7.org/fhir/v3/ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: http://unitsofmeasure.org code mg = 'mg')

note: Notes on adminstration of vaccine

Explanations

-Reason
*Procedure to meet occupational requirement (procedure) (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement (procedure))

Reactions

-DateDetailReported
*10/01/2013Observation/exampletrue

VaccinationProtocols

-DoseSequenceDescriptionAuthoritySeriesSeriesDosesTargetDiseaseDoseStatusDoseStatusReason
*1Vaccination Protocol Sequence 1Organization/hl7Vaccination Series 12Congenital rubella syndrome (disorder) (Details : {SNOMED CT code '1857005' = 'Congenital rubella syndrome (disorder))Counts (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status code 'count' = 'Counts', given as 'Counts'})Cold chain break (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status-reason code 'coldchbrk' = 'Cold chain break', given as 'Cold chain break'})
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "date": "2013-01-10", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "wasNotGiven": true, + "reported": false, + "performer": { + "reference": "Practitioner/example" + }, + "requester": { + "reference": "Practitioner/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "manufacturer": { + "reference": "Organization/hl7" + }, + "location": { + "reference": "Location/1" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "explanation": { + "reason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ] + }, + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "vaccinationProtocol": [ + { + "doseSequence": 1, + "description": "Vaccination Protocol Sequence 1", + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1", + "seriesDoses": 2, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + } + ], + "doseStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status", + "code": "count", + "display": "Counts" + } + ] + }, + "doseStatusReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status-reason", + "code": "coldchbrk", + "display": "Cold chain break" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json new file mode 100644 index 000000000..c8e3201e6 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_1.json @@ -0,0 +1,154 @@ +{ + "resourceType": "Patient", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NamePeter James \n Chalmers ("Jim")\n
Address534 Erewhon, Pleasantville, Vic, 3999
ContactsHome: unknown. Work: (03) 5555 6473
IdMRN: 12345 (Acme Healthcare)
\n \n
" + }, + "identifier": [ + { + "fhir_comments": [ + " MRN assigned by ACME healthcare on 6-May 2001 " + ], + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "fhir_comments": [ + " Peter James Chalmers, but called \"Jim\" " + ], + "use": "official", + "family": [ + "Chalmers" + ], + "given": [ + "Peter", + "James" + ] + }, + { + "use": "usual", + "given": [ + "Jim" + ] + } + ], + "telecom": [ + { + "fhir_comments": [ + " home communication details aren't known " + ], + "use": "home" + }, + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + } + ], + "gender": "male", + "_gender": { + "fhir_comments": [ + " use FHIR code system for male / female " + ] + }, + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "Vic", + "postalCode": "3999", + "period": { + "start": "1974-12-25" + } + } + ], + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/patient-contact-relationship", + "code": "partner" + } + ] + } + ], + "name": { + "family": [ + "du", + "Marché" + ], + "_family": [ + { + "extension": [ + { + "fhir_comments": [ + " the \"du\" part is a family name prefix (VV in iso 21090) " + ], + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + "valueCode": "VV" + } + ] + }, + null + ], + "given": [ + "Bénédicte" + ] + }, + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "gender": "female", + "period": { + "start": "2012", + "_start": { + "fhir_comments": [ + " The contact relationship started in 2012 " + ] + } + } + } + ], + "managingOrganization": { + "reference": "Organization/1" + } +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json new file mode 100644 index 000000000..bd2ba01d5 --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_2.json @@ -0,0 +1,153 @@ +{ + "resourceType": "Patient", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NamePeter James \n Chalmers ("Jim")\n
Address534 Erewhon, Pleasantville, Vic, 3999
ContactsHome: unknown. Work: (03) 5555 6473
IdMRN: 12345 (Acme Healthcare)
\n \n
" + }, + "identifier": [ + { + "fhir_comments": [ + " MRN assigned by ACME healthcare on 6-May 2001 " + ], + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "fhir_comments": [ + " Peter James Chalmers, but called \"Jim\" " + ], + "use": "official", + "family": [ + "Chalmers" + ], + "given": [ + "Supernintendo" + ] + }, + { + "use": "usual", + "given": [ + "Jim" + ] + } + ], + "telecom": [ + { + "fhir_comments": [ + " home communication details aren't known " + ], + "use": "home" + }, + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + } + ], + "gender": "male", + "_gender": { + "fhir_comments": [ + " use FHIR code system for male / female " + ] + }, + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "Vic", + "postalCode": "3999", + "period": { + "start": "1974-12-25" + } + } + ], + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/patient-contact-relationship", + "code": "partner" + } + ] + } + ], + "name": { + "family": [ + "du", + "Marché" + ], + "_family": [ + { + "extension": [ + { + "fhir_comments": [ + " the \"du\" part is a family name prefix (VV in iso 21090) " + ], + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + "valueCode": "VV" + } + ] + }, + null + ], + "given": [ + "Bénédicte" + ] + }, + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "gender": "female", + "period": { + "start": "2012", + "_start": { + "fhir_comments": [ + " The contact relationship started in 2012 " + ] + } + } + } + ], + "managingOrganization": { + "reference": "Organization/1" + } +} \ No newline at end of file diff --git a/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_3.json b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_3.json new file mode 100644 index 000000000..31f16550d --- /dev/null +++ b/org.hl7.fhir.dstu2016may/src/test/resources/patient_example_3.json @@ -0,0 +1,154 @@ +{ + "resourceType": "Patient", + "id": "other-example", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NamePeter James \n Chalmers ("Jim")\n
Address534 Erewhon, Pleasantville, Vic, 3999
ContactsHome: unknown. Work: (03) 5555 6473
IdMRN: 12345 (Acme Healthcare)
\n \n
" + }, + "identifier": [ + { + "fhir_comments": [ + " MRN assigned by ACME healthcare on 6-May 2001 " + ], + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "fhir_comments": [ + " Peter James Chalmers, but called \"Jim\" " + ], + "use": "official", + "family": [ + "Chalmers" + ], + "given": [ + "Peter", + "James" + ] + }, + { + "use": "usual", + "given": [ + "Jim" + ] + } + ], + "telecom": [ + { + "fhir_comments": [ + " home communication details aren't known " + ], + "use": "home" + }, + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + } + ], + "gender": "male", + "_gender": { + "fhir_comments": [ + " use FHIR code system for male / female " + ] + }, + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "Vic", + "postalCode": "3999", + "period": { + "start": "1974-12-25" + } + } + ], + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/patient-contact-relationship", + "code": "partner" + } + ] + } + ], + "name": { + "family": [ + "du", + "Marché" + ], + "_family": [ + { + "extension": [ + { + "fhir_comments": [ + " the \"du\" part is a family name prefix (VV in iso 21090) " + ], + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier", + "valueCode": "VV" + } + ] + }, + null + ], + "given": [ + "Bénédicte" + ] + }, + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "gender": "female", + "period": { + "start": "2012", + "_start": { + "fhir_comments": [ + " The contact relationship started in 2012 " + ] + } + } + } + ], + "managingOrganization": { + "reference": "Organization/1" + } +} \ No newline at end of file From 76ef9370d0563e4a13824f7f346c3cc723f617d8 Mon Sep 17 00:00:00 2001 From: dotasek Date: Fri, 5 May 2023 16:55:55 -0400 Subject: [PATCH 16/16] Add test coverage for CapabilityStatement.Conformance + fix 10_40/50 Fixes incorrect lastPath preventing ignoring of acceptUnknown extensions --- .../advisors/impl/BaseAdvisor_10_40.java | 2 +- .../advisors/impl/BaseAdvisor_10_50.java | 2 +- .../CapabilityStatement10_30Test.java | 29 +++ .../CapabilityStatement10_40Test.java | 29 +++ .../CapabilityStatement10_50Test.java | 29 +++ .../CapabilityStatement14_30Test.java | 29 +++ .../CapabilityStatement14_40Test.java | 28 +++ .../CapabilityStatement14_50Test.java | 8 +- .../CapabilityStatement30_40Test.java | 3 +- .../CapabilityStatement30_50Test.java | 2 +- .../resources/capability_statement_30.json | 223 ++++++++++++++++++ ...lity_statement_40_with_30_extensions.json} | 0 ...lity_statement_50_with_30_extensions.json} | 0 .../src/test/resources/conformance_30_10.json | 184 +++++++++++++++ .../src/test/resources/conformance_30_14.json | 202 ++++++++++++++++ .../src/test/resources/conformance_40_10.json | 168 +++++++++++++ .../src/test/resources/conformance_40_14.json | 178 ++++++++++++++ .../src/test/resources/conformance_50_10.json | 168 +++++++++++++ ...ment_50_14.json => conformance_50_14.json} | 0 19 files changed, 1275 insertions(+), 9 deletions(-) create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_30/CapabilityStatement10_30Test.java create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/CapabilityStatement10_40Test.java create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_50/CapabilityStatement10_50Test.java create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_30/CapabilityStatement14_30Test.java create mode 100644 org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_40/CapabilityStatement14_40Test.java create mode 100644 org.hl7.fhir.convertors/src/test/resources/capability_statement_30.json rename org.hl7.fhir.convertors/src/test/resources/{capability_statement_40.json => capability_statement_40_with_30_extensions.json} (100%) rename org.hl7.fhir.convertors/src/test/resources/{capability_statement_50.json => capability_statement_50_with_30_extensions.json} (100%) create mode 100644 org.hl7.fhir.convertors/src/test/resources/conformance_30_10.json create mode 100644 org.hl7.fhir.convertors/src/test/resources/conformance_30_14.json create mode 100644 org.hl7.fhir.convertors/src/test/resources/conformance_40_10.json create mode 100644 org.hl7.fhir.convertors/src/test/resources/conformance_40_14.json create mode 100644 org.hl7.fhir.convertors/src/test/resources/conformance_50_10.json rename org.hl7.fhir.convertors/src/test/resources/{capability_statement_50_14.json => conformance_50_14.json} (100%) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_40.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_40.java index 54501bf52..9a4035bab 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_40.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_40.java @@ -28,7 +28,7 @@ public class BaseAdvisor_10_40 extends BaseAdvisor40 paths = Arrays.asList(path.split(",")); final String lastPath = paths.get(paths.size() - 1); - return (lastPath.equals("Conformance")) && (conformanceIgnoredUrls.contains(url)); + return (lastPath.equals("CapabilityStatement")) && (conformanceIgnoredUrls.contains(url)); } @Override diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_50.java index 5653a2dd7..ce43f8876 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_50.java @@ -26,7 +26,7 @@ public class BaseAdvisor_10_50 extends BaseAdvisor50 paths = Arrays.asList(path.split(",")); final String lastPath = paths.get(paths.size() - 1); - return (lastPath.equals("Conformance")) && (conformanceIgnoredUrls.contains(url)); + return (lastPath.equals("CapabilityStatement")) && (conformanceIgnoredUrls.contains(url)); } public boolean ignoreType(@Nonnull String path, diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_30/CapabilityStatement10_30Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_30/CapabilityStatement10_30Test.java new file mode 100644 index 000000000..b3ed1af23 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_30/CapabilityStatement10_30Test.java @@ -0,0 +1,29 @@ +package org.hl7.fhir.convertors.conv10_30; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_10_30; + +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement10_30Test { + @Test + @DisplayName("Test dstu3 -> dstu2 CapabilityStatement conversion.") + public void testDstu3_Dstu2() throws IOException { + InputStream dstu3_input = this.getClass().getResourceAsStream("/capability_statement_30.json"); + + org.hl7.fhir.dstu3.model.CapabilityStatement dstu3 = (org.hl7.fhir.dstu3.model.CapabilityStatement) new org.hl7.fhir.dstu3.formats.JsonParser().parse(dstu3_input); + org.hl7.fhir.dstu2.model.Resource dstu2_conv = VersionConvertorFactory_10_30.convertResource(dstu3); + + org.hl7.fhir.dstu2.formats.JsonParser dstu2_parser = new org.hl7.fhir.dstu2.formats.JsonParser(); + + InputStream dstu2_input = this.getClass().getResourceAsStream("/conformance_30_10.json"); + org.hl7.fhir.dstu2.model.Conformance dstu2_actual = (org.hl7.fhir.dstu2.model.Conformance) dstu2_parser.parse(dstu2_input); + + assertTrue(dstu2_actual.equalsDeep(dstu2_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/CapabilityStatement10_40Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/CapabilityStatement10_40Test.java new file mode 100644 index 000000000..b44bb0185 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/CapabilityStatement10_40Test.java @@ -0,0 +1,29 @@ +package org.hl7.fhir.convertors.conv10_40; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_10_40; + +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement10_40Test { + @Test + @DisplayName("Test r4 -> dstu2 CapabilityStatement conversion.") + public void testR4_Dstu2() throws IOException { + InputStream r4_input = this.getClass().getResourceAsStream("/capability_statement_50_with_30_extensions.json"); + + org.hl7.fhir.r4.model.CapabilityStatement r4_actual = (org.hl7.fhir.r4.model.CapabilityStatement) new org.hl7.fhir.r4.formats.JsonParser().parse(r4_input); + org.hl7.fhir.dstu2.model.Resource dstu2_conv = VersionConvertorFactory_10_40.convertResource(r4_actual); + + org.hl7.fhir.dstu2.formats.JsonParser dstu2_parser = new org.hl7.fhir.dstu2.formats.JsonParser(); + + InputStream dstu2_input = this.getClass().getResourceAsStream("/conformance_40_10.json"); + org.hl7.fhir.dstu2.model.Conformance dstu2_actual = (org.hl7.fhir.dstu2.model.Conformance) dstu2_parser.parse(dstu2_input); + + assertTrue(dstu2_actual.equalsDeep(dstu2_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_50/CapabilityStatement10_50Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_50/CapabilityStatement10_50Test.java new file mode 100644 index 000000000..f33384c97 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_50/CapabilityStatement10_50Test.java @@ -0,0 +1,29 @@ +package org.hl7.fhir.convertors.conv10_50; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_10_50; + +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement10_50Test { + @Test + @DisplayName("Test r5 -> dstu2 CapabilityStatement conversion.") + public void testR5_Dstu2() throws IOException { + InputStream r5_input = this.getClass().getResourceAsStream("/capability_statement_50_with_30_extensions.json"); + + org.hl7.fhir.r5.model.CapabilityStatement r5_actual = (org.hl7.fhir.r5.model.CapabilityStatement) new org.hl7.fhir.r5.formats.JsonParser().parse(r5_input); + org.hl7.fhir.dstu2.model.Resource dstu2_conv = VersionConvertorFactory_10_50.convertResource(r5_actual); + + org.hl7.fhir.dstu2.formats.JsonParser dstu2_parser = new org.hl7.fhir.dstu2.formats.JsonParser(); + + InputStream dstu2_input = this.getClass().getResourceAsStream("/conformance_50_10.json"); + org.hl7.fhir.dstu2.model.Conformance dstu2_actual = (org.hl7.fhir.dstu2.model.Conformance) dstu2_parser.parse(dstu2_input); + + assertTrue(dstu2_actual.equalsDeep(dstu2_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_30/CapabilityStatement14_30Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_30/CapabilityStatement14_30Test.java new file mode 100644 index 000000000..6b9971bea --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_30/CapabilityStatement14_30Test.java @@ -0,0 +1,29 @@ +package org.hl7.fhir.convertors.conv14_30; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_14_30; + +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement14_30Test { + @Test + @DisplayName("Test r4 -> dstu2016 CapabilityStatement conversion.") + public void testDstu3_Dstu2016() throws IOException { + InputStream dstu3_input = this.getClass().getResourceAsStream("/capability_statement_30.json"); + + org.hl7.fhir.dstu3.model.CapabilityStatement dstu3 = (org.hl7.fhir.dstu3.model.CapabilityStatement) new org.hl7.fhir.dstu3.formats.JsonParser().parse(dstu3_input); + org.hl7.fhir.dstu2016may.model.Resource dstu2016_conv = VersionConvertorFactory_14_30.convertResource(dstu3); + + org.hl7.fhir.dstu2016may.formats.JsonParser dstu2016_parser = new org.hl7.fhir.dstu2016may.formats.JsonParser(); + + InputStream dstu2016_input = this.getClass().getResourceAsStream("/conformance_30_14.json"); + org.hl7.fhir.dstu2016may.model.Conformance dstu2016_actual = (org.hl7.fhir.dstu2016may.model.Conformance) dstu2016_parser.parse(dstu2016_input); + + assertTrue(dstu2016_actual.equalsDeep(dstu2016_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_40/CapabilityStatement14_40Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_40/CapabilityStatement14_40Test.java new file mode 100644 index 000000000..cb0b319ed --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_40/CapabilityStatement14_40Test.java @@ -0,0 +1,28 @@ +package org.hl7.fhir.convertors.conv14_40; + +import org.hl7.fhir.convertors.factory.VersionConvertorFactory_14_40; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class CapabilityStatement14_40Test { + @Test + @DisplayName("Test r4 -> dstu2016 CapabilityStatement conversion.") + public void testR4_Dstu3() throws IOException { + InputStream r4_input = this.getClass().getResourceAsStream("/capability_statement_40_with_30_extensions.json"); + + org.hl7.fhir.r4.model.CapabilityStatement r4_actual = (org.hl7.fhir.r4.model.CapabilityStatement) new org.hl7.fhir.r4.formats.JsonParser().parse(r4_input); + org.hl7.fhir.dstu2016may.model.Resource dstu2016_conv = VersionConvertorFactory_14_40.convertResource(r4_actual); + + org.hl7.fhir.dstu2016may.formats.JsonParser dstu2016_parser = new org.hl7.fhir.dstu2016may.formats.JsonParser(); + + InputStream dstu2016_input = this.getClass().getResourceAsStream("/conformance_40_14.json"); + org.hl7.fhir.dstu2016may.model.Conformance dstu2016_actual = (org.hl7.fhir.dstu2016may.model.Conformance) dstu2016_parser.parse(dstu2016_input); + + assertTrue(dstu2016_actual.equalsDeep(dstu2016_conv), "should be the same"); + } +} diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java index ae770a4e0..65d982174 100644 --- a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv14_50/CapabilityStatement14_50Test.java @@ -1,7 +1,7 @@ package org.hl7.fhir.convertors.conv14_50; import org.hl7.fhir.convertors.factory.VersionConvertorFactory_14_50; -import org.hl7.fhir.convertors.factory.VersionConvertorFactory_30_50; + import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @@ -13,15 +13,15 @@ import static org.junit.jupiter.api.Assertions.assertTrue; public class CapabilityStatement14_50Test { @Test @DisplayName("Test r5 -> dstu2016 CapabilityStatement conversion.") - public void testR5_Dstu3() throws IOException { - InputStream r5_input = this.getClass().getResourceAsStream("/capability_statement_50.json"); + public void testR5_Dstu2016() throws IOException { + InputStream r5_input = this.getClass().getResourceAsStream("/capability_statement_50_with_30_extensions.json"); org.hl7.fhir.r5.model.CapabilityStatement r5_actual = (org.hl7.fhir.r5.model.CapabilityStatement) new org.hl7.fhir.r5.formats.JsonParser().parse(r5_input); org.hl7.fhir.dstu2016may.model.Resource dstu2016_conv = VersionConvertorFactory_14_50.convertResource(r5_actual); org.hl7.fhir.dstu2016may.formats.JsonParser dstu2016_parser = new org.hl7.fhir.dstu2016may.formats.JsonParser(); - InputStream dstu2016_input = this.getClass().getResourceAsStream("/capability_statement_50_14.json"); + InputStream dstu2016_input = this.getClass().getResourceAsStream("/conformance_50_14.json"); org.hl7.fhir.dstu2016may.model.Conformance dstu2016_actual = (org.hl7.fhir.dstu2016may.model.Conformance) dstu2016_parser.parse(dstu2016_input); assertTrue(dstu2016_actual.equalsDeep(dstu2016_conv), "should be the same"); diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java index 40ee14a0e..7743da5b3 100644 --- a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_40/CapabilityStatement30_40Test.java @@ -1,7 +1,6 @@ package org.hl7.fhir.convertors.conv30_40; import org.hl7.fhir.convertors.factory.VersionConvertorFactory_30_40; -import org.hl7.fhir.convertors.factory.VersionConvertorFactory_30_50; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @@ -14,7 +13,7 @@ public class CapabilityStatement30_40Test { @Test @DisplayName("Test r4 -> dstu3 CapabilityStatement conversion.") public void testR4_Dstu3() throws IOException { - InputStream r4_input = this.getClass().getResourceAsStream("/capability_statement_40.json"); + InputStream r4_input = this.getClass().getResourceAsStream("/capability_statement_40_with_30_extensions.json"); org.hl7.fhir.r4.model.CapabilityStatement r5_actual = (org.hl7.fhir.r4.model.CapabilityStatement) new org.hl7.fhir.r4.formats.JsonParser().parse(r4_input); org.hl7.fhir.dstu3.model.Resource dstu3_conv = VersionConvertorFactory_30_40.convertResource(r5_actual); diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java index 874064b78..095bfea3c 100644 --- a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50Test.java @@ -13,7 +13,7 @@ public class CapabilityStatement30_50Test { @Test @DisplayName("Test r5 -> dstu3 CapabilityStatement conversion.") public void testR5_Dstu3() throws IOException { - InputStream r5_input = this.getClass().getResourceAsStream("/capability_statement_50.json"); + InputStream r5_input = this.getClass().getResourceAsStream("/capability_statement_50_with_30_extensions.json"); org.hl7.fhir.r5.model.CapabilityStatement r5_actual = (org.hl7.fhir.r5.model.CapabilityStatement) new org.hl7.fhir.r5.formats.JsonParser().parse(r5_input); org.hl7.fhir.dstu3.model.Resource dstu3_conv = VersionConvertorFactory_30_50.convertResource(r5_actual); diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_30.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_30.json new file mode 100644 index 000000000..787c70c14 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/capability_statement_30.json @@ -0,0 +1,223 @@ +{ + "resourceType": "CapabilityStatement", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t

The EHR Application has a \n general document profile.\n

\n\t\t
" + }, + "url": "urn:uuid:68D043B5-9ECF-4559-A57A-396E0D452311", + "version": "20130510", + "name": "ACME-EHR", + "title": "ACME EHR capability statement", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "instantiates": [ + "http://ihe.org/fhir/CapabilityStatement/pixm-client" + ], + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "patchFormat": [ + "application/xml-patch+xml", + "application/json-patch+json" + ], + "implementationGuide": [ + "http://hl7.org/fhir/us/lab" + ], + "profile": [ + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=" + } + ] + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://fhir.hl7.org/base/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "documentation": "This server does not let the clients create identities.", + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalRead": "full-support", + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-events", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "focus": "Patient", + "request": { + "reference": "StructureDefinition/Patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_40.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_40_with_30_extensions.json similarity index 100% rename from org.hl7.fhir.convertors/src/test/resources/capability_statement_40.json rename to org.hl7.fhir.convertors/src/test/resources/capability_statement_40_with_30_extensions.json diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_50.json b/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_with_30_extensions.json similarity index 100% rename from org.hl7.fhir.convertors/src/test/resources/capability_statement_50.json rename to org.hl7.fhir.convertors/src/test/resources/capability_statement_50_with_30_extensions.json diff --git a/org.hl7.fhir.convertors/src/test/resources/conformance_30_10.json b/org.hl7.fhir.convertors/src/test/resources/conformance_30_10.json new file mode 100644 index 000000000..be6774a1b --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/conformance_30_10.json @@ -0,0 +1,184 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t

The EHR Application has a \n general document profile.\n

\n\t\t
" + }, + "url": "urn:uuid:68D043B5-9ECF-4559-A57A-396E0D452311", + "version": "20130510", + "name": "ACME-EHR", + "status": "draft", + "experimental": true, + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "date": "2012-01-04", + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "profile": [ + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=" + } + ] + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://fhir.hl7.org/base/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "transactionMode": "transaction", + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-events", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "focus": "Patient", + "request": { + "reference": "StructureDefinition/Patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} diff --git a/org.hl7.fhir.convertors/src/test/resources/conformance_30_14.json b/org.hl7.fhir.convertors/src/test/resources/conformance_30_14.json new file mode 100644 index 000000000..b0d0263b3 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/conformance_30_14.json @@ -0,0 +1,202 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t

The EHR Application has a \n general document profile.\n

\n\t\t
" + }, + "url": "urn:uuid:68D043B5-9ECF-4559-A57A-396E0D452311", + "version": "20130510", + "name": "ACME-EHR", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/variant-state", + "code": "positive" + } + ] + }, + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "requirements": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "1.0.0", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "profile": [ + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation", + "certificate": [ + { + "type": "application/jwt", + "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=" + } + ] + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://fhir.hl7.org/base/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications", + "event": [ + { + "code": { + "system": "http://hl7.org/fhir/message-events", + "code": "admin-notify" + }, + "category": "Consequence", + "mode": "receiver", + "focus": "Patient", + "request": { + "reference": "StructureDefinition/Patient" + }, + "response": { + "reference": "StructureDefinition/MessageHeader" + }, + "documentation": "Notification of an update to a patient resource. changing the links is not supported" + } + ] + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/test/resources/conformance_40_10.json b/org.hl7.fhir.convertors/src/test/resources/conformance_40_10.json new file mode 100644 index 000000000..0893409b4 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/conformance_40_10.json @@ -0,0 +1,168 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t\n

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t\n

The EHR Application has a \n \n general document profile.\n \n

\n\t\t\n
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/3.0/StructureDefinition/extension-CapabilityStatement.profile", + "valueReference": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + } + ], + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "status": "draft", + "experimental": true, + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "date": "2012-01-04", + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "5.0.0", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "profile": [ + { + "reference": "http://registry.fhir.org/r5/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://registry.fhir.org/r5/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Patient:organization" + ], + "searchRevInclude": [ + "Person:patient" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "transactionMode": "transaction", + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications" + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} diff --git a/org.hl7.fhir.convertors/src/test/resources/conformance_40_14.json b/org.hl7.fhir.convertors/src/test/resources/conformance_40_14.json new file mode 100644 index 000000000..2812f406e --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/conformance_40_14.json @@ -0,0 +1,178 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, update, history, search(name,gender), create and updates.

\n\t\t\t

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t

The EHR Application has a general document profile.\n

\n\t\t
" + }, + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "status": "draft", + "experimental": true, + "date": "2012-01-04", + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "useContext": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/variant-state", + "code": "positive" + } + ] + }, + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "requirements": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "4.0.1", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "profile": [ + { + "reference": "http://registry.fhir.org/r4/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://registry.fhir.org/r4/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Organization" + ], + "searchRevInclude": [ + "Person" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://terminology.hl7.org/CodeSystem/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications" + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/test/resources/conformance_50_10.json b/org.hl7.fhir.convertors/src/test/resources/conformance_50_10.json new file mode 100644 index 000000000..0893409b4 --- /dev/null +++ b/org.hl7.fhir.convertors/src/test/resources/conformance_50_10.json @@ -0,0 +1,168 @@ +{ + "resourceType": "Conformance", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.

\n\t\t\t\n

The EHR System supports the following message: admin-notify::Person.

\n\t\t\t\n

The EHR Application has a \n \n general document profile.\n \n

\n\t\t\n
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/3.0/StructureDefinition/extension-CapabilityStatement.profile", + "valueReference": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" + } + } + ], + "url": "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311", + "version": "20130510", + "name": "ACMEEHR", + "status": "draft", + "experimental": true, + "publisher": "ACME Corporation", + "contact": [ + { + "name": "System Administrator", + "telecom": [ + { + "system": "email", + "value": "wile@acme.org" + } + ] + } + ], + "date": "2012-01-04", + "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", + "requirements": "Main EHR capability statement, published for contracting and operational support", + "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", + "kind": "instance", + "software": { + "name": "EHR", + "version": "0.00.020.2134", + "releaseDate": "2012-01-04" + }, + "implementation": { + "description": "main EHR at ACME", + "url": "http://10.2.3.4/fhir" + }, + "fhirVersion": "5.0.0", + "acceptUnknown": "both", + "format": [ + "xml", + "json" + ], + "profile": [ + { + "reference": "http://registry.fhir.org/r5/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Main FHIR endpoint for acem health", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/restful-security-service", + "code": "SMART-on-FHIR" + } + ] + } + ], + "description": "See Smart on FHIR documentation" + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://registry.fhir.org/r5/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" + }, + "interaction": [ + { + "code": "read" + }, + { + "code": "vread", + "documentation": "Only supported for patient records since 12-Dec 2012" + }, + { + "code": "update" + }, + { + "code": "history-instance" + }, + { + "code": "create" + }, + { + "code": "history-type" + } + ], + "versioning": "versioned-update", + "readHistory": true, + "updateCreate": false, + "conditionalCreate": true, + "conditionalUpdate": false, + "conditionalDelete": "not-supported", + "searchInclude": [ + "Patient:organization" + ], + "searchRevInclude": [ + "Person:patient" + ], + "searchParam": [ + { + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token", + "documentation": "Only supports search by institution MRN" + }, + { + "name": "general-practitioner", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", + "type": "reference" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "history-system" + } + ], + "transactionMode": "transaction", + "compartment": [ + "http://hl7.org/fhir/CompartmentDefinition/patient" + ] + } + ], + "messaging": [ + { + "endpoint": [ + { + "protocol": { + "system": "http://hl7.org/fhir/message-transport", + "code": "mllp" + }, + "address": "mllp:10.1.1.10:9234" + } + ], + "reliableCache": 30, + "documentation": "ADT A08 equivalent for external system notifications" + } + ], + "document": [ + { + "mode": "consumer", + "documentation": "Basic rules for all documents in the EHR system", + "profile": { + "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" + } + } + ] +} diff --git a/org.hl7.fhir.convertors/src/test/resources/capability_statement_50_14.json b/org.hl7.fhir.convertors/src/test/resources/conformance_50_14.json similarity index 100% rename from org.hl7.fhir.convertors/src/test/resources/capability_statement_50_14.json rename to org.hl7.fhir.convertors/src/test/resources/conformance_50_14.json