Stream: implementers
Topic: Custom FHIR Resources using HAPI FHIR Java Library
Shankar (Mar 20 2019 at 06:27):
Hi we have the requirement to define custom resources in addition to standard resources. How can we ensure HAPI FHIR Java library understands custom structure definitions and then create new custom resource instances. any pointers on this is highly appreciated. thanks.
Lloyd McKenzie (Mar 20 2019 at 07:01):
@James Agnew
Lloyd McKenzie (Mar 20 2019 at 07:01):
(Note that using custom resources means that that aspect of your system - and any resources that reference the custom resources - would not be FHIR conformant.)
Jens Villadsen (Mar 20 2019 at 08:36):
Check out the http://hapifhir.io/doc_custom_structures.html section
nicola (RIO/SS) (Mar 20 2019 at 08:54):
Or try aidbox - https://docs.aidbox.app/tutorials/getting-started-with-custom-resources :)
Georg Fette (Mar 20 2019 at 09:33):
here ist a repository in which HAPI-Java-classes are created from StructureDefinitions: https://gitlab2.informatik.uni-wuerzburg.de/gef18bg/archetype_2_structuredef
Jens Villadsen (Mar 20 2019 at 10:22):
@Georg Fette does your generator also support extensions and slicing?
Jens Villadsen (Mar 20 2019 at 10:24):
@nicola (RIO/SS) (this part is awesome!: https://docs.aidbox.app/tutorials/compartments )
Georg Fette (Mar 20 2019 at 10:26):
no, it is not very sophisticated, but it suits our needs in our project
James Agnew (Mar 20 2019 at 10:52):
Whoa, that is neat @Georg Fette .
Last updated: Apr 12 2022 at 19:14 UTC