Stream: hapi
Topic: Set up local HAPI Server to test custom IG
Peter Robinson (Sep 01 2021 at 17:55):
Hi everybody,
I am still pretty new to the FHIR community and so this may be a DQ but here goes. We have implemented a FHIR IG to represent the Global Alliance for Genomics and Health Phenopacket (https://phenopacket-schema.readthedocs.io/en/v2/). Here is the published IG (https://github.com/phenopackets/core-ig). Now, I would like to start a local FHIR server, import the IG to this server, and validate some simulated instances of the Phenopacket against the server. I have found a few tutorials on how to do this with the FHIR Patient resource for example (https://nhsconnect.github.io/CareConnectAPI/build_patient_server.html). However, I am struggling to figure out where to start to do this for our IG. Any suggestions/help would be most appreciated!
Oliver Egger (Sep 01 2021 at 19:20):
you can use https://github.com/hapifhir/hapi-fhir-jpaserver-starter and provide the implementation guide in the configuration, the configuration can be also provided during startup. i don't know if the $validate operation is supported by default on the resources, but there is for sure a parameter.
Oliver Egger (Sep 01 2021 at 19:22):
we are using a top-level $validate operation based on the hapi-fhir-jpaserver-starter project with https://github.com/ahdis/matchbox-validator where we configure the validation to our needs, we are however just upgrading to the latest hapi-release ...
Last updated: Apr 12 2022 at 19:14 UTC