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

Solution: Import the 'Identifier' module

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

from fhir import Identifier

 

For more information:
Python fhir Identifier