update for turning tx tests off
This commit is contained in:
parent
4155a9be6a
commit
7796c93066
|
@ -98,8 +98,12 @@ public class TxTester {
|
|||
ITerminologyClient tx = connectToServer();
|
||||
boolean ok = checkClient(tx);
|
||||
for (JsonObject suite : tests.getJsonObjects("suites")) {
|
||||
if (!suite.has("mode") || modes.contains(suite.asString("mode"))) {
|
||||
ok = runSuite(suite, tx, modes, filter, json.forceArray("suites")) && ok;
|
||||
if ((!suite.has("mode") || modes.contains(suite.asString("mode")))) {
|
||||
if (suite.asBoolean("disabled")) {
|
||||
ok = true;
|
||||
} else {
|
||||
ok = runSuite(suite, tx, modes, filter, json.forceArray("suites")) && ok;
|
||||
}
|
||||
}
|
||||
}
|
||||
TextFile.stringToFile(JsonParser.compose(json, true), Utilities.path(output, "test-results.json"));
|
||||
|
@ -169,7 +173,11 @@ public class TxTester {
|
|||
List<Resource> setup = loadSetupResources(suite);
|
||||
boolean ok = true;
|
||||
for (JsonObject test : suite.getJsonObjects("tests")) {
|
||||
ok = runTest(test, tx, setup, modes, filter, outputS.forceArray("tests")) && ok;
|
||||
if (test.asBoolean("disabled")) {
|
||||
ok = true;
|
||||
} else {
|
||||
ok = runTest(test, tx, setup, modes, filter, outputS.forceArray("tests")) && ok;
|
||||
}
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
|
|
@ -133,6 +133,9 @@ public class TerminologyServiceTests {
|
|||
Resource res = loadResource(s);
|
||||
engine.seeResource(res);
|
||||
}
|
||||
if (setup.suite.asBoolean("disabled") || setup.test.asBoolean("disabled")) {
|
||||
return;
|
||||
}
|
||||
Resource req = loadResource(setup.test.asString("request"));
|
||||
String fn = setup.test.has("response:tx.fhir.org") ? setup.test.asString("response:tx.fhir.org") : setup.test.asString("response");
|
||||
String resp = TestingUtilities.loadTestResource("tx", fn);
|
||||
|
|
|
@ -13,7 +13,6 @@ v: {
|
|||
"code" : "fi",
|
||||
"system" : "urn:ietf:bcp:47",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -35,7 +34,6 @@ v: {
|
|||
"system" : "http://unitsofmeasure.org",
|
||||
"version" : "2.0.1",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -63,7 +61,6 @@ v: {
|
|||
"code" : "image/jpg",
|
||||
"system" : "urn:ietf:bcp:13",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -91,7 +88,6 @@ v: {
|
|||
"code" : "image/jpg",
|
||||
"system" : "urn:ietf:bcp:13",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -119,7 +115,6 @@ v: {
|
|||
"code" : "application/pdf",
|
||||
"system" : "urn:ietf:bcp:13",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -147,7 +142,6 @@ v: {
|
|||
"code" : "application/pdf",
|
||||
"system" : "urn:ietf:bcp:13",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -168,7 +162,6 @@ v: {
|
|||
"code" : "de-CH",
|
||||
"system" : "urn:ietf:bcp:47",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -250,7 +243,6 @@ v: {
|
|||
"system" : "urn:iso:std:iso:3166",
|
||||
"version" : "2018",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -271,6 +263,250 @@ v: {
|
|||
"code" : "en",
|
||||
"system" : "urn:ietf:bcp:47",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"code" : "uri"
|
||||
}, "valueSet" :{
|
||||
"resourceType" : "ValueSet",
|
||||
"compose" : {
|
||||
"include" : [{
|
||||
"system" : "http://hl7.org/fhir/search-param-type"
|
||||
}]
|
||||
}
|
||||
}, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "URI",
|
||||
"code" : "uri",
|
||||
"system" : "http://hl7.org/fhir/search-param-type",
|
||||
"version" : "3.0.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome",
|
||||
"issue" : [{
|
||||
"extension" : [{
|
||||
"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server",
|
||||
"valueUrl" : "http://tx-dev.fhir.org/r3"
|
||||
}],
|
||||
"severity" : "information",
|
||||
"code" : "business-rule",
|
||||
"details" : {
|
||||
"coding" : [{
|
||||
"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type",
|
||||
"code" : "status-check"
|
||||
}],
|
||||
"text" : "Reference to draft CodeSystem http://hl7.org/fhir/search-param-type|3.0.2"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"code" : "uri"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/search-param-type", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "URI",
|
||||
"code" : "uri",
|
||||
"system" : "http://hl7.org/fhir/search-param-type",
|
||||
"version" : "3.0.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"code" : "composite"
|
||||
}, "valueSet" :{
|
||||
"resourceType" : "ValueSet",
|
||||
"compose" : {
|
||||
"include" : [{
|
||||
"system" : "http://hl7.org/fhir/search-param-type"
|
||||
}]
|
||||
}
|
||||
}, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Composite",
|
||||
"code" : "composite",
|
||||
"system" : "http://hl7.org/fhir/search-param-type",
|
||||
"version" : "3.0.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome",
|
||||
"issue" : [{
|
||||
"extension" : [{
|
||||
"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server",
|
||||
"valueUrl" : "http://tx-dev.fhir.org/r3"
|
||||
}],
|
||||
"severity" : "information",
|
||||
"code" : "business-rule",
|
||||
"details" : {
|
||||
"coding" : [{
|
||||
"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type",
|
||||
"code" : "status-check"
|
||||
}],
|
||||
"text" : "Reference to draft CodeSystem http://hl7.org/fhir/search-param-type|3.0.2"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"code" : "composite"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/search-param-type", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Composite",
|
||||
"code" : "composite",
|
||||
"system" : "http://hl7.org/fhir/search-param-type",
|
||||
"version" : "3.0.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "MR",
|
||||
"display" : "Medical Record Number"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/identifier-type", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Medical record number",
|
||||
"code" : "MR",
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"code" : "completed"
|
||||
}, "valueSet" :{
|
||||
"resourceType" : "ValueSet",
|
||||
"compose" : {
|
||||
"include" : [{
|
||||
"system" : "http://hl7.org/fhir/medication-dispense-status"
|
||||
}]
|
||||
}
|
||||
}, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Completed",
|
||||
"code" : "completed",
|
||||
"system" : "http://hl7.org/fhir/medication-dispense-status",
|
||||
"version" : "3.0.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome",
|
||||
"issue" : [{
|
||||
"extension" : [{
|
||||
"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server",
|
||||
"valueUrl" : "http://tx-dev.fhir.org/r3"
|
||||
}],
|
||||
"severity" : "information",
|
||||
"code" : "business-rule",
|
||||
"details" : {
|
||||
"coding" : [{
|
||||
"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type",
|
||||
"code" : "status-check"
|
||||
}],
|
||||
"text" : "Reference to draft CodeSystem http://hl7.org/fhir/medication-dispense-status|3.0.2"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"code" : "completed"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/medication-dispense-status", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Completed",
|
||||
"code" : "completed",
|
||||
"system" : "http://hl7.org/fhir/medication-dispense-status",
|
||||
"version" : "3.0.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "MR"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/identifier-type", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Medical record number",
|
||||
"code" : "MR",
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
|
|
|
@ -0,0 +1,95 @@
|
|||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"code" : "<",
|
||||
"display" : "Off scale low"
|
||||
}, "valueSet" :null, "langs":"fi", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Off scale low",
|
||||
"code" : "<",
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"code" : "<"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation--0", "version": "3.0.2", "langs":"fi", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Off scale low",
|
||||
"code" : "<",
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"code" : "<",
|
||||
"display" : "Off scale low"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation", "version": "3.0.2", "langs":"fi", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Off scale low",
|
||||
"code" : "<",
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"code" : "LU"
|
||||
}, "valueSet" :null, "langs":"fi", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Very low",
|
||||
"code" : "LU",
|
||||
"system" : "http://hl7.org/fhir/v2/0078",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
|
@ -0,0 +1,200 @@
|
|||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "HC",
|
||||
"display" : "Health Card Number"
|
||||
}, "valueSet" :null, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Health Card Number",
|
||||
"code" : "HC",
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "HC"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/identifier-type--0", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Health Card Number",
|
||||
"code" : "HC",
|
||||
"severity" : "error",
|
||||
"error" : "The provided code 'http://hl7.org/fhir/v2/0203#HC' was not found in the value set 'http://hl7.org/fhir/ValueSet/identifier-type--0|3.0.2'",
|
||||
"class" : "UNKNOWN",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome",
|
||||
"issue" : [{
|
||||
"extension" : [{
|
||||
"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server",
|
||||
"valueUrl" : "http://tx-dev.fhir.org/r3"
|
||||
}],
|
||||
"severity" : "error",
|
||||
"code" : "code-invalid",
|
||||
"details" : {
|
||||
"coding" : [{
|
||||
"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type",
|
||||
"code" : "not-in-vs"
|
||||
}],
|
||||
"text" : "The provided code 'http://hl7.org/fhir/v2/0203#HC' was not found in the value set 'http://hl7.org/fhir/ValueSet/identifier-type--0|3.0.2'"
|
||||
},
|
||||
"location" : ["Coding.code"],
|
||||
"expression" : ["Coding.code"]
|
||||
}]
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "MR",
|
||||
"display" : "Medical Record Number"
|
||||
}, "valueSet" :null, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Medical record number",
|
||||
"code" : "MR",
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "MR"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/identifier-type--0", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Medical record number",
|
||||
"code" : "MR",
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "MR"
|
||||
}, "valueSet" :null, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Medical record number",
|
||||
"code" : "MR",
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "RN"
|
||||
}, "valueSet" :null, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Registered Nurse Number",
|
||||
"code" : "RN",
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"version" : "2.8.2",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v2/0203",
|
||||
"code" : "RN"
|
||||
}, "url": "http://hl7.org/fhir/ValueSet/identifier-type--0", "version": "3.0.2", "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "Registered Nurse Number",
|
||||
"code" : "RN",
|
||||
"severity" : "error",
|
||||
"error" : "The provided code 'http://hl7.org/fhir/v2/0203#RN' was not found in the value set 'http://hl7.org/fhir/ValueSet/identifier-type--0|3.0.2'",
|
||||
"class" : "UNKNOWN",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome",
|
||||
"issue" : [{
|
||||
"extension" : [{
|
||||
"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server",
|
||||
"valueUrl" : "http://tx-dev.fhir.org/r3"
|
||||
}],
|
||||
"severity" : "error",
|
||||
"code" : "code-invalid",
|
||||
"details" : {
|
||||
"coding" : [{
|
||||
"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type",
|
||||
"code" : "not-in-vs"
|
||||
}],
|
||||
"text" : "The provided code 'http://hl7.org/fhir/v2/0203#RN' was not found in the value set 'http://hl7.org/fhir/ValueSet/identifier-type--0|3.0.2'"
|
||||
},
|
||||
"location" : ["Coding.code"],
|
||||
"expression" : ["Coding.code"]
|
||||
}]
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
|
@ -0,0 +1,43 @@
|
|||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "http://hl7.org/fhir/v3/RoleCode",
|
||||
"code" : "MTH",
|
||||
"display" : "Cother"
|
||||
}, "valueSet" :null, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"false", "profile": {
|
||||
"resourceType" : "Parameters",
|
||||
"parameter" : [{
|
||||
"name" : "profile-url",
|
||||
"valueString" : "http://hl7.org/fhir/ExpansionProfile/dc8fd4bc-091a-424a-8a3b-6198ef146891"
|
||||
}]
|
||||
}}####
|
||||
v: {
|
||||
"display" : "mother",
|
||||
"code" : "MTH",
|
||||
"severity" : "error",
|
||||
"error" : "Wrong Display Name 'Cother' for http://hl7.org/fhir/v3/RoleCode#MTH. Valid display is 'mother' (for the language(s) '--')",
|
||||
"class" : "UNKNOWN",
|
||||
"server" : "http://tx-dev.fhir.org/r3",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome",
|
||||
"issue" : [{
|
||||
"extension" : [{
|
||||
"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server",
|
||||
"valueUrl" : "http://tx-dev.fhir.org/r3"
|
||||
}],
|
||||
"severity" : "error",
|
||||
"code" : "invalid",
|
||||
"details" : {
|
||||
"coding" : [{
|
||||
"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type",
|
||||
"code" : "invalid-display"
|
||||
}],
|
||||
"text" : "Wrong Display Name 'Cother' for http://hl7.org/fhir/v3/RoleCode#MTH. Valid display is 'mother' (for the language(s) '--')"
|
||||
},
|
||||
"location" : ["Coding.display"],
|
||||
"expression" : ["Coding.display"]
|
||||
}]
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"http://hl7.org/fhir/ValueSet/risk-probability" : null,
|
||||
"http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.1.1--20171231000000" : null,
|
||||
"http://hl7.org/fhir/ValueSet/languages" : null,
|
||||
"http://hl7.org/fhir/ValueSet/observation-status" : null,
|
||||
"http://hl7.org/fhir/ValueSet/mimetypes" : null,
|
||||
"http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.5.1--20171231000000" : null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue