Stream: hapi
Topic: Uploading StructureDefinition/ValueSets/CodeSystem to FHIR
NARASIMHA MURTHY (Mar 18 2021 at 02:52):
Hi,
We are trying to implement Patient Access API and Provider directory APIs using HAPI FHIR.
We are following various profiles for each resource.
Ex:
PATIENT ACCESS API
=================
Patient - http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient,
http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
Coverage - http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage
PROVIDER DIRECTORY API
======================
Practitioner - http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Practitioner
When we do a validation for any of these resources using $validate operation, we are getting validation errors and the reason being the missing structuredefinitions , ValueSets and CodeSystem for these profiles.
Is there a standard way or best practice to load the structuredefinitions , ValueSets and CodeSystem for all these new profiles in an elegant way into the FHIR Server.
I know I can get the JSON for each StructureDefiniton, ValueSet, CodeSystems and load them one by one using the POST method to the base fhir url.
I am not sure that is the right way to go when we have hundreds of valuesets, code systems and strcturedefinitions resources etc for each profile.
I also tried to use hapi-fhir-cli upload-definitions command to load the definitions, but they are loading just the fhir standard valuesets, codesystems etc but not the other profile information.
Please let us know your guidance or recommendations on this.
Thank you in advance.
Lin Zhang (Mar 18 2021 at 14:20):
Using npm packages to install them?
NARASIMHA MURTHY (Mar 18 2021 at 16:28):
Hi Lin,
Thanks for your feedback.
Could you point me to any URL where it is done so that I can leverage it.
thanks,
Narasimha
Lin Zhang (Mar 18 2021 at 23:34):
https://docs.fire.ly/projects/Firely-Terminal/Using-NPM-instead.html
NARASIMHA MURTHY (Mar 19 2021 at 05:41):
Thanks Lin. Appreciate your help. I am able to install packages using Firely Terminal. I am checking with firely if it is an open source tool or a licensed one.
Ward Weistra (Mar 22 2021 at 10:36):
@NARASIMHA MURTHY Most of Firely Terminal is free to use, including installing packages. Currently only expanding ValueSets (expand
) and running Quality Control (check
) needs a Simplifier.net plan, but the tool will inform you whenever that's the case.
Last updated: Apr 12 2022 at 19:14 UTC