How to Solve NameError: name 'HumanName' is not defined -- fhir

Solution: Import the 'HumanName' module

To Solve the error, add the following line to the top of your code.

from fhir import HumanName

 

For more information:
Python fhir HumanName