Stream: hapi
Topic: Validation of custom profiles
Thomas Johansen (Jun 08 2018 at 04:34):
Hello,
I've implemented a HAPI FHIR server at my project and I've got a bunch of Structure Definitions from profiling. I am trying to validate these profiles on their way through my system. So I've got two questions:
1. Can I add my validation to the base validation - 'on entry'?
2. How do you solve validating? I've tried loading the SD's from my resource folder etc, but I'm not able to make the system choose correct schema, and if I force it - it doesn't recognise it as a valid FHIR resource. Really frustrating.
Hope I'm not the only one not getting this, and if I am not, maybe this should be further documented in the HAPI docs.
Grahame Grieve (Jun 08 2018 at 04:37):
first, do things validate if you use the validator stand alone? See http://wiki.hl7.org/index.php?title=Using_the_FHIR_Validator. if things work there, then it's time to ask the HAOPI question
Thomas Johansen (Jun 14 2018 at 08:51):
Well, if it would fail hard I would be happy. I would be happy to anything happen at this point, really.
Lisa Nelson (Aug 30 2018 at 12:11):
Hi All, I am working with Grahame Grieve and Jean Duteau on a project to map CCDA documents to FHIR documents. Grahame has developed a transform which produces a FHIR Bundle of type Document which contains the Composition Resource and any accompanying resources needed to compose the fHIR document from the supplied C-CDA. I've attached one document bundle example. Went I attempted to post this bundle on the HAPI server, I got a message that Bundles of type Document are not supported. What is the correct way to post a document to HAPI? test-allscripts-iataug2018.xml
David Hay (Sep 03 2018 at 01:20):
does this help: http://hl7.org/fhir/documents.html#bundle ?
Last updated: Apr 12 2022 at 19:14 UTC