LinuxForHealth / hl7v2-fhir-converter

Converts HL7 v2 Messages to FHIR Resources
Apache License 2.0
86 stars 34 forks source link

510: support adding extension to FHIR primitives #511

Closed mkalish closed 9 months ago

mkalish commented 11 months ago

Provides a fix for #510

This PR updates Expression.getKeyName to maintain a leading underscore if the key name includes one. It adds a new CustomPatient resource used with the CUSTOM_PAT and updates the HL7CustomMessageTest to checks that the primitive is converted along with the extension.

snesm commented 10 months ago

@LisaWellman any possibility of getting this fix in (and released)?

LisaWellman commented 10 months ago

@pbhallam can you do a code review while I am out? A quick peek just a tiny change to the base code. Thanks for including a testcase @snesm

snesm commented 9 months ago

Thank you @LisaWellman. Code and testcase credit to @mkalish