-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import api: fix patient name extraction (#5309)
There was a goof-up with name extraction. Staring at the deeply nested semi-uniform patterns of the FHIR spec has caused semantic satiation in this author which has introduced this bug in the patient importer, where instead of trying to extract `patient.name.text` for the name (as per the FHIR spec), the code is trying to extract `patient.name.value`, which always returns `nil`. This is promptly fixed, with some unit tests that should have been there to catch this slip in the first place.
- Loading branch information
1 parent
8b60577
commit 1162488
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters