Stream: implementers
Topic: German base profiles with HAPI
Linus Barkow (Oct 14 2019 at 06:49):
Hello,
I have a question and maybe you can help me.
We want to implement a FHIR-System with HAPI by using the German base profiles like the HumanName (https://simplifier.net/BasisprofilDE/humanname-de-basis-0.2) and Address (https://simplifier.net/basisprofilde/address-de-basis-0.2) . The biggest problem for me is that the family and prefix tag in the Human Name and the line tag in the Address must include a String and Extension-Datatype. Do you know an easy way to include these Structure Definitions in the HAPI-project?
Thanks
Linus
Grahame Grieve (Oct 14 2019 at 08:26):
what does 'include these structure definitions in the HAPI project' mean?
Linus Barkow (Oct 14 2019 at 08:54):
I would like to use for example new HumanNameDE (this should be the Structure of the German base profile of Human Name) and then add an extension to the family tag like HumanNameDE.setFamily(new Extension()) …
Grahame Grieve (Oct 14 2019 at 08:57):
you can just add the extension. I don't think there's any reason to 'include the structure definitions'
Linus Barkow (Oct 14 2019 at 09:15):
The .setFamily method of HumanName expects a String and not an Extension-Type.
Therefore I am searching for a method to include an Extension in the family tag.
Grahame Grieve (Oct 14 2019 at 09:23):
.getX/.setX for simple types are facades that set the value of a sub-object. .getXElement and .setXElement are the methods that give you access to that sub-object, and in particular, it's extensions
Linus Barkow (Oct 14 2019 at 09:39):
Okay, now it works :)
Thank you very much
Simone Heckmann (Oct 16 2019 at 19:04):
@Linus Barkow ,
please be aware that we have a german Stream to discuss all questions regarding the German profiles: https://chat.fhir.org/#narrow/stream/179183-german-(d-a-ch)
and that the project you‘re referencing is based on FHIR STU3.
Please find the latest version (R4) of the German Profiles here:
https://simplifier.net/basisprofil-de-r4/
Frank Oemig (Oct 17 2019 at 08:30):
If it is about implementing "generic" national profiles it should be discussed here. Content related stuff should go to the other streams...
Last updated: Apr 12 2022 at 19:14 UTC