Reference Identifier error on pregnancy visit. Closes #3176.
Merge pull request #22 from NUBIC/bug_3152

Reference Identifier error on pregnancy visit. Closes #3176.