cladteam / CCDA_OMOP_by_Python

2 stars 3 forks source link

text values from elements didn't work, add unit tests #141

Closed chrisroederucdenver closed 2 weeks ago

chrisroederucdenver commented 2 weeks ago
Denver

The code in data_driven_parse.py wasn't picking up this value.

Fixed, recording for posterity. It's a different call in the API. attribute_value = ''.join(field_element[0].itertext())

I added test code to check the different FIELD types and verify these value fetches work. They live in a directory, test and are run by a script in bin, test.sh. They aren't ALL done, but FIELD and DERIVED. The latter for looking up concepts in different maps.

chrisroederucdenver commented 2 weeks ago

This is done.