Closed evekhm closed 2 years ago
Checked the logging, I do have:
Creating new FHIR context for FHIR version [R4] 2021-11-16 15:40:18.972 INFO 89776 --- [ main] o.h.davinci.endpoint.vsac.ValueSetCache : VSACLoader sucessfully initialized. 2021-11-16 15:40:18.972 INFO 89776 --- [ main] o.h.davinci.endpoint.vsac.ValueSetCache : ValueSetCache directory already exists at /Users/evekhm/drls/CRD/server/ValueSetCache
And then immediately first error: Failed to fetch ValueSet (2.16.840.1.113762.1.4.1219.108): ValueSet 2.16.840.1.113762.1.4.1219.108 Not Found.
org.hl7.davinci.endpoint.vsac.errors.VSACValueSetNotFoundException: ValueSet 2.16.840.1.113762.1.4.1219.108 Not Found. at org.hl7.davinci.endpoint.vsac.VSACLoader.getValueSet(VSACLoader.java:227) ~[main/:na] at org.hl7.davinci.endpoint.vsac.ValueSetCache.fetchValueSetFromVSAC(ValueSetCache.java:212) ~[main/:na] at org.hl7.davinci.endpoint.vsac.ValueSetCache.fetchValueSet(ValueSetCache.java:174) ~[main/:na] at org.hl7.davinci.endpoint.files.CommonFileStore.findAndFetchRequiredVSACValueSets(CommonFileStore.java:445) ~[main/:na] at org.hl7.davinci.endpoint.files.CommonFileStore.processFhirResource(CommonFileStore.java:359) ~[main/:na] at org.hl7.davinci.endpoint.files.CommonFileStore.processFhirFolder(CommonFileStore.java:329) ~[main/:na] at org.hl7.davinci.endpoint.files.CommonFileStore.reloadFromFolder(CommonFileStore.java:270) ~[main/:na] at org.hl7.davinci.endpoint.files.local.LocalFileStore.reload(LocalFileStore.java:48) ~[main/:na] at org.hl7.davinci.endpoint.Application.lambda$setup$0(Application.java:42) ~[main/:na] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:804) ~[spring-boot-2.4.1.jar:2.4.1] at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:788) ~[spring-boot-2.4.1.jar:2.4.1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:333) ~[spring-boot-2.4.1.jar:2.4.1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1309) ~[spring-boot-2.4.1.jar:2.4.1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1298) ~[spring-boot-2.4.1.jar:2.4.1] at org.hl7.davinci.endpoint.Application.main(Application.java:30) ~[main/:na]
Got resolved after my VSAC account added to the special DRLS CRD group.
Help needed,
Demo not working for me, because step 10 of the 'The fun part' demo never completes and following log also shows:
What is strange, is that if I manually do (and provide Api key): http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.133 I am getting HTTP 200 OK
And I do have VSAC_API_KEY set as env variable to that working key
If I do http://localhost:8090/fhir/r4/ValueSet/$expand?url=http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1219.133 - I am getting HTTP ERROR 404
Also when loading CRD data, using my KEY API I am getting errors that some data could not be loaded (not for all value sets though):
2021-11-16 15:40:50.130 INFO 89776 --- [main] o.h.d.endpoint.files.CommonFileStore : VSAC ValueSet reference found: 2.16.840.1.113762.1.4.1219.77 2021-11-16 15:40:50.656 ERROR 89776 --- [main] o.h.davinci.endpoint.vsac.ValueSetCache : Failed to fetch ValueSet (2.16.840.1.113762.1.4.1219.77): ValueSet 2.16.840.1.113762.1.4.1219.77 Not Found.
Any suggestions on how to debug loading of VSAC ValueSets? Cause for some items this is working:
2021-11-16 15:40:52.298 INFO 89776 --- [ main] o.h.d.endpoint.files.CommonFileStore : VSAC ValueSet reference found: 2.16.840.1.113883.17.4077.3.2006 2021-11-16 15:40:52.948 INFO 89776 --- [ main] o.h.davinci.endpoint.vsac.ValueSetCache : Replacing ValueSet (2.16.840.1.113883.17.4077.3.2006) in cache dir. 2021-11-16 15:40:52.952 INFO 89776 --- [ main] o.h.davinci.endpoint.vsac.ValueSetCache : Added ValueSet (2.16.840.1.113883.17.4077.3.2006) to FhirResourceRepository