Uploading StructureDefinition/ValueSets/CodeSystem to FHIR

127 views
Skip to first unread message

pvnmur...@gmail.com

unread,
Mar 17, 2021, 5:38:57 PM3/17/21
to HAPI FHIR
Hi James,

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
=================


PROVIDER DIRECTORY API
======================

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 recommendations on this.
Thanks in advance.

thanks,
Narasimha
Reply all
Reply to author
Forward
0 new messages