Stream: implementers
Topic: Validation and Custom Structure Definitions
Josh Lamb (Oct 30 2019 at 16:12):
I am trying to implement resource validation. Specifically I would like to validate resources against custom structure definitions. I tried using a Vonk test server to validate against the US core patient profile: e.g. POST https://vonk.fire.ly/Patient/$validate?profile=http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
but i get a "Unable to resolve reference to profile" error. Are their any public test servers that have the US Core profiles added? Better yet, are there any public test servers that will allow you to publish your own structure definition and validate against that definition?
I have also tried client side validation through the fire.ly .net implementation, but I am struggling to get this to work. I am also having a hard time finding sample client side validation examples. Are there any options for client side validation that the community would suggest? The only concrete implementation I found so far involves running a stand alone Java validator: https://wiki.hl7.org/index.php?title=Using_the_FHIR_Validator.
Any links to documentation or suggestions would be greatly appreciated.
Thanks!
Lloyd McKenzie (Oct 30 2019 at 16:14):
test.fhir.org should have all of the IG profiles - @Grahame Grieve ?
Josh Lamb (Oct 30 2019 at 16:53):
currently getting errors when i try to get an OAuth token, "No Database Connections Available for "clients"". When i try the http url instead of https i get this error: "Access violation at address 0000000000B95467 in module 'FHIRServer.exe'. Read of address 0000000000000030". I am using this post command: http://test.fhir.org/r4/Patient/$validate?profile=http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
I get the same error when I hit this in a browser: http://test.fhir.org/r4/Patient
Grahame Grieve (Oct 31 2019 at 11:18):
I will restart the server- it should work
Grahame Grieve (Oct 31 2019 at 11:19):
but the validator on test.fhir.org is a long way behind. I just don't have time to update it.
Grahame Grieve (Oct 31 2019 at 11:19):
hapi runs the command line java validator internally
Josh Lamb (Oct 31 2019 at 17:17):
Thanks! Appreciate the help and fast responses.
Last updated: Apr 12 2022 at 19:14 UTC