Stream: implementers
Topic: Implement Patient Resource
Jerry Xu (Oct 25 2021 at 22:13):
Hi all. So I'm pretty new to all these. Right now I'm trying to implement a Patient Resource into the FHIR server in my org. But some of the fields we have are not in the default Patient structure. For example, there is this birthSex fields we have that's supposed be an extension, but I couldn't find the correct way to implement it. I took a look at the FHIRPatient.php in FHIRDomainResource but it doesn't have anything related to extensions. I would really appreciate your help if you could give me some instructions or show me some examples. Also, do I need to include any other packages other besides FHIRPatient
since it doesn't provide anything to do with extension? The Patient structure I'm referring to is http://hl7.org/fhir/us/mcode/2019Sep/StructureDefinition-obf-Patient-definitions.html
Lloyd McKenzie (Oct 25 2021 at 22:14):
What language are you implementing with?
Jerry Xu (Oct 25 2021 at 22:16):
I'm using PHP with Laravel framework.
Lloyd McKenzie (Oct 25 2021 at 23:22):
@Matthew Koch ?
Jerry Xu (Oct 26 2021 at 08:49):
Matt works for a different company now. I don't think he'll ever be back on Fhir anytime soon. :)
Lloyd McKenzie (Oct 26 2021 at 13:25):
:( I don't know who else to ping for PHP questions I'm afraid. Anyone else who knows something, feel free to chime in...
Ashwin Djorai (Oct 27 2021 at 08:38):
Check the stackoverflow forums on the Hl7 + PHP tag: https://stackoverflow.com/search?q=hl7+php maybe you can find your answer there
Jerry Xu (Oct 27 2021 at 14:24):
Thanks. I'll take a look.
Vijay Aggarwal (Nov 08 2021 at 19:42):
@Jerry Xu Hi Jerry, Looks like you are using php to implement FHIR. I'm new to this and trying to navigate my way. I found https://github.com/dcarbone/php-fhir-generated but looks like this is for parsing the input. I'm trying to write in php a generator that will create patient and other resources from our DB. Any suggestions on how to go about this, or any FHIR framework available for generating where I can plugin my DB and SELECT statements? Thanks for any suggestions towards this.
Jerry Xu (Nov 23 2021 at 17:38):
Hi @Vijay Aggarwal , sorry for the delayed response. I'm pretty novice to this as well so I'm afraid I couldn't be much of help here.
Ved Prakash (Nov 23 2021 at 18:34):
Vijay Aggarwal said:
Any suggestions on how to go about this, or any FHIR framework available for generating where I can plugin my DB and SELECT statements? Thanks for any suggestions towards this.
Hi @Vijay Aggarwal If you are comfortable with Java you can use Hapi Fhir Plain Server https://hapifhir.io/hapi-fhir/docs/server_plain/introduction.html for such type of implementation.
keshav Bist (Dec 16 2021 at 16:11):
Hi,
Can anyone please provide me some insights on XXXX_RESOURCE tables? What value is stored in the data column? Is it encrypted? If so how can we decrypt it?
Vassil Peytchev (Dec 16 2021 at 16:25):
Hi @keshav Bist,
Please create a separate topic to ask a specific question. In this case you can edit the topic of your post to disassociate from the "Validity of a Service Request" topic.
Vassil Peytchev (Dec 16 2021 at 16:28):
What implementation is this referring to?
keshav Bist (Dec 16 2021 at 16:28):
Thanks @Vassil Peytchev
Last updated: Apr 12 2022 at 19:14 UTC