LinuxForHealth / hl7v2-fhir-converter

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

No support for getting the length of a field #499

Open JessicaWNava opened 1 year ago

JessicaWNava commented 1 year ago

Describe the bug https://docs.google.com/spreadsheets/d/1_MOAJOykRWct_9cBG-EcPcWSpSObQFLboPB579DIoAI/edit?usp=sharing specifies that for PID.7 we need to check the length of the field in order to determine which value to display. As far as my team and I can tell, there is no way for us to get the length of a field.

To Reproduce

Expected behavior There is a LENGTH BiPredicate added to ConditionBiPredicates that allows us to get the length of the value passed in.

Screenshots

Desktop (please complete the following information):

Additional context