FHIR Chat · Vonk R4 Sql Server · dotnet

Stream: dotnet

Topic: Vonk R4 Sql Server


view this post on Zulip Nilesh Pagare (Sep 10 2020 at 08:47):

Hi @Ewout Kramer and vonk team,
I am trying to run vonk server inside docker for windows using > docker-compose -f docker-compose.mssqlserver_host.yml up -d. My preference is to have the docker-compose to create vonk databases in sql server.

I am getting following error at the start up - Unable to auto update database "VonkR4": "Globalization Invariant Mode is not supported."
Startup failed: Globalization Invariant Mode is not supported.

The sql server user has been granted dbcreator, public and sysadmin roles. (created in the security panel not via scripts).

What am I missing ?

Thank you

view this post on Zulip Ewout Kramer (Sep 10 2020 at 11:32):

I'll page @Christiaan Knaap or @Marco Visser for you!

view this post on Zulip Christiaan Knaap (Sep 10 2020 at 13:58):

Hello Nilesh, Thanks for calling out!
That has been reported before, we are looking into it. I probably has to do with the very much trimmed down base Alpine image that we introduced with version 3.7.0. Because of the FHIR Connectathon that we obviously actively participate in, we may need until next week to get to an answer.

view this post on Zulip Nilesh Pagare (Sep 10 2020 at 14:13):

Hello @Christiaan Knaap , that's great. In the meantime, I am trying Vonk v3.6.1 ? Is there any DB upgrade between 3.6.1 and 3.8 ?

view this post on Zulip Nilesh Pagare (Sep 10 2020 at 16:02):

(deleted)

view this post on Zulip Marco Visser (Sep 11 2020 at 07:07):

Hi Nilesh, yes there is DB upgrade in v3.7.0 for SQL Server. See here for the release notes.

view this post on Zulip Nilesh Pagare (Sep 11 2020 at 11:37):

Hi @Marco Visser , greetings ! how are you ?
Thank you for that pointer. So far, I have set up my 3.6.1 eval server pointing to SQL Server 2019.
Will be using VonkLoader to load FHIR population in the database.

  • Will VonkLoader work for only for VonkServer or any other FHIR server ?
    Thank you.

view this post on Zulip Nilesh Pagare (Sep 14 2020 at 03:01):

Christiaan Knaap said:

Hello Nilesh, Thanks for calling out!
That has been reported before, we are looking into it. I probably has to do with the very much trimmed down base Alpine image that we introduced with version 3.7.0. Because of the FHIR Connectathon that we obviously actively participate in, we may need until next week to get to an answer.

HI @Christiaan Knaap , I have tried to use v3.6.1 but have run into multiple issues from setting up the Administration APIs to successfully loading Synthea generated population using VonkLoader. Not sure if it is worthwhile to get the 3.8.0 fixed against the issue I reported and then I try uploading the data.
Is there a github repo that you can recommend for me to file these issues ? Thank you.

view this post on Zulip Christiaan Knaap (Sep 14 2020 at 11:12):

Hi Nilesh,
VonkLoader generates transaction bundles that should be processable by other FHIR servers as well. (Probably not just any FHIR server - transactions are not always supported).
A new version of VonkLoader is coming up that also supports FHIR R4 and adds some other features.
We have a ticketing system in Jira for licensed users, but you can still report issues in the vonk inbox (vonk@fire.ly). We look forward to solving them, but we cannot guarantee the response time of course.

view this post on Zulip Nilesh Pagare (Sep 14 2020 at 12:33):

Hi Christiaan, thank you for your response.

  1. can you please confirm if 3.6.1 supports R4 ?
  2. Any fix for the issue I reported against vonk server 3.8.0 ?
  3. what's the ETA for VonkLoader that will support R4 ?
  4. It will be great if I and the community could post issues against VonkLoader in a github repo. Any thoughts on making this open source as it is available free? In the meantime, I will communicate via email.
    Thanks.

view this post on Zulip Mirjam Baltus (Sep 14 2020 at 13:04):

Hi Nilesh,
Vonk supports both R3 and R4 as of Vonk version 3.0. Please be aware that you have to change the "InformationModel.Default" setting of the Vonk configuration to "Fhir4.0" if you want the default FHIR version used by Vonk to be R4. If you do not want to run R3 and R4 both, you can change your "PipelineOptions" configuration to only include the version you want. See https://docs.fire.ly/vonk/configuration/appsettings.html for more information about all the configuration options.

view this post on Zulip Nilesh Pagare (Sep 14 2020 at 14:19):

Hi @Mirjam Baltus , thank you. Your help will be appreciated.

  1. Here are my settings -
    - VONK_InformationModel=Fhir4.0
    - VONK_InformationModel:Default=Fhir4.0
    

Even then I see lots of errors in the console where Vonk Server fails to load conformance resources.

  1. When I tried validating Administration URL - http://localhost:8086/administration , I get two errors in the response body -
    {
    "resourceType": "OperationOutcome",
    "id": "751f7bb1-260b-4852-80de-d048b91e10ee",
    "meta": {
    "versionId": "80d77ea9-3639-4514-a5b1-f89675ea353b",
    "lastUpdated": "2020-09-14T14:16:39.600+00:00"
    },
    "issue": [
    {
    "severity": "warning",
    "code": "not-supported",
    "details": {
    "coding": [
    {
    "system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
    "code": "5003"
    }
    ],
    "text": "Argument is not supported"
    },
    "diagnostics": "_count=10"
    },
    {
    "severity": "warning",
    "code": "not-supported",
    "details": {
    "coding": [
    {
    "system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
    "code": "5003"
    }
    ],
    "text": "Argument is not supported"
    },
    "diagnostics": "_sort=-_lastUpdated"
    }
    ]
    }

  2. When tried to reset the database via http://localhost:8086/administration/reset , I get either 403 or 501
    {
    "resourceType": "OperationOutcome",
    "id": "0ba4d217-6a27-4153-ac0e-423d17d59c25",
    "meta": {
    "versionId": "d3b3088b-73be-4ddd-9154-f2174bd18efa",
    "lastUpdated": "2020-09-14T14:18:30.592+00:00"
    },
    "issue": [
    {
    "severity": "error",
    "code": "security",
    "details": {
    "coding": [
    {
    "system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
    "code": "5013"
    }
    ],
    "text": "No access to this operation"
    }
    }
    ]
    }

view this post on Zulip Nilesh Pagare (Sep 14 2020 at 17:55):

here are some sample errors -
2020-09-14 14:32:06.143 +00:00 [Information] [ReqId: ] StartupRunner started for Fhir4.0.
2020-09-14 14:32:06.144 +00:00 [Information] [ReqId: ] Loading conformance resources at startup for Fhir4.0.
2020-09-14 14:32:06.144 +00:00 [Information] [ReqId: ] Loading conformance resources ...
2020-09-14 14:32:06.187 +00:00 [Information] [ReqId: ] Reading conformance resources from "/app/specification_Fhir4_0.zip".
2020-09-14 14:32:06.187 +00:00 [Information] [ReqId: ] This could take a few minutes.
2020-09-14 14:32:07.500 +00:00 [Information] [ReqId: ] This import source returned (new) results. All subsequent sources will be (re-)read.
2020-09-14 14:32:18.918 +00:00 [Error] [ReqId: ] Artifact /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml could not be imported. Error message: Found multiple conflicting resources with the same resource uri identifier.

Url: http://hl7.org/fhir/StructureDefinition/de-Quantity.value
File: /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml
File: /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml
File: /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml

2020-09-14 14:32:18.918 +00:00 [Error] [ReqId: ] Artifact /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml could not be imported. Error message: Found multiple conflicting resources with the same resource uri identifier.

Url: http://hl7.org/fhir/StructureDefinition/de-Quantity.comparator
File: /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml
File: /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml
File: /tmp/FhirArtifactCache-1.6.0-Hl7.Fhir.R4.Specification/specification_Fhir4_0/dataelements.xml
.
.
.
.
2020-09-14 14:34:43.905 +00:00 [Information] [ReqId: ] Reading conformance resources from "/app/specification_Fhir4_0.zip" - done.
2020-09-14 14:34:43.911 +00:00 [Information] [ReqId: ] Reading conformance resources from "/app/errataFhir4.0.zip".
2020-09-14 14:34:43.920 +00:00 [Information] [ReqId: ] Reading conformance resources from "/app/errataFhir4.0.zip" - done.
2020-09-14 14:34:43.921 +00:00 [Information] [ReqId: ] Directory "/app/vonk-import.R4" contains no zip files to read from.
2020-09-14 14:34:43.921 +00:00 [Information] [ReqId: ] Directory "/app/vonk-import.R4" does not contain any individual files to read.
2020-09-14 14:34:43.921 +00:00 [Information] [ReqId: ] No Simplifier projects specified to import conformance resources from.
2020-09-14 14:36:50.720 +00:00 [Error] [ReqId: ] Error on updating resource with id "SearchParameter/RequestGroup-instantiates-canonical-Fhir4.0": "SearchParameter of type Reference should contain a target element."
2020-09-14 14:40:01.897 +00:00 [Error] [ReqId: ] Error on updating resource with id "CodeSystem/v2-2.7-0360-Fhir4.0": "An existing resource with id CodeSystem/v2-2.3.1-0360-Fhir4.0 has the same canonical url http://terminology.hl7.org/CodeSystem/v2-0360|2.7."
2020-09-14 14:40:02.281 +00:00 [Error] [ReqId: ] Error on updating resource with id "CodeSystem/v2-2.4-0391-Fhir4.0": "An existing resource with id CodeSystem/v2-2.6-0391-Fhir4.0 has the same canonical url http://terminology.hl7.org/CodeSystem/v2-0391|2.4."
2020-09-14 14:40:02.434 +00:00 [Error] [ReqId: ] Error on updating resource with id "CodeSystem/v2-2.4-0006-Fhir4.0": "An existing resource with id CodeSystem/v2-2.1-0006-Fhir4.0 has the same canonical url http://terminology.hl7.org/CodeSystem/v2-0006|2.4."
2020-09-14 14:40:44.332 +00:00 [Information] [ReqId: ] Loading conformance resources - done
2020-09-14 14:40:44.332 +00:00 [Information] [ReqId: ] Loading conformance resources at startup - done.

view this post on Zulip Mirjam Baltus (Sep 15 2020 at 12:57):

Hi @Nilesh Pagare,
The errors you see on the log output when loading R4 conformance resources result from errors in the specification files, that contain resources with duplicate canonical URLs. This is a known error, and we have created a ticket to improve the specification See https://docs.fire.ly/vonk/faq.html.

The second error you mention is when you try to access the /administration endpoint without specifying a resource type or operation. Vonk does not have a homepage on that endpoint as we have on the regular server. If you would request http://localhost:8086/administration/StructureDefinition for example, you should get a normal response. We will work on improving the message, so it will be more clear that there's nothing to see on /administration directly.

Your third issue will take a bit more investigation into your configuration. The error states 'no access to this operation'. In the "Administration.Security.AllowedNetworks" setting you can specify the networks that are allowed to access the protected operations on /administration, that are listed in the "Administration.Security.OperationsToBeSecured" setting. Apparently you try to perform the reset operation from a netword that is not listed.

view this post on Zulip Nilesh Pagare (Sep 15 2020 at 13:04):

Hi @Mirjam Baltus , thank you for your response.

  1. Any fix for the issue I reported against vonk server 3.8.0 ?
  2. what's the ETA for VonkLoader that will support R4 ?
  3. It will be great if I and the community could post issues against VonkLoader in a github repo. Any thoughts on making this open source as it is available free?
    Thanks.

view this post on Zulip Nilesh Pagare (Sep 17 2020 at 17:34):

Hi @Mirjam Baltus , any input on my request ?
Thank you for your help.


Last updated: Apr 12 2022 at 19:14 UTC