Closed adamkells closed 3 months ago
Made some bug fixes and added tests. Of note:
EntryRelationship
can be list in allergy extractionoverwrite
wasn't working quite right when there are existing entries - fixed this and added testsallergy_type
to AllergyConcept
Let's merge it before I lose the will to live
What does this do?
This PR adds the CDA fields of Medication and Allergy which were omitted from the original Clinical Documentation PR #47 . In particular it makes the following concrete changes:
get_concept_from_cda_value
toget_medication_concept_from_cda_value
._extract_problems
function to be more concise and less nested._extract_medications
and_extract_allergies
.test_cda.xml
file