add debugging code
This commit is contained in:
parent
a3ffe348fb
commit
686f0afaca
|
@ -3157,11 +3157,14 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
|||
|
||||
private <T extends Resource> T doFindTxResource(Class<T> class_, String canonical) {
|
||||
// well, we haven't found it locally. We're going look it up
|
||||
System.out.println("doFindTxResource: "+canonical);
|
||||
if (class_ == ValueSet.class) {
|
||||
SourcedValueSet svs = null;
|
||||
if (txCache.hasValueSet(canonical)) {
|
||||
System.out.println("doFindTxResource - in cache");
|
||||
svs = txCache.getValueSet(canonical);
|
||||
} else {
|
||||
System.out.println("doFindTxResource - not in cache");
|
||||
svs = terminologyClientManager.findValueSetOnServer(canonical);
|
||||
txCache.cacheValueSet(canonical, svs);
|
||||
}
|
||||
|
|
|
@ -15,7 +15,6 @@ v: {
|
|||
"system" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats",
|
||||
"version" : "20210222",
|
||||
"server" : "http://tx-dev.fhir.org/r4",
|
||||
"unknown-systems" : "",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
@ -32,6 +31,28 @@ v: {
|
|||
"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",
|
||||
"version" : "20210222",
|
||||
"server" : "http://tx-dev.fhir.org/r4",
|
||||
"issues" : {
|
||||
"resourceType" : "OperationOutcome"
|
||||
}
|
||||
|
||||
}
|
||||
-------------------------------------------------------------------------------------
|
||||
{"code" : {
|
||||
"system" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats",
|
||||
"code" : "COVAST"
|
||||
}, "valueSet" :null, "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" : "COVID-19 Vaccine AstraZeneca",
|
||||
"code" : "COVAST",
|
||||
|
|
Loading…
Reference in New Issue